Package DE_EPAGES::ProductPortal::API::XML::PortalExportDriver
Functions
- allProducts
- currencyID
- descriptionAttribute
- exportXML
- formatPrice
- imageAttribute
- imageUrl
- isProductValidPortal
- isProductValidPortalExt1
- items
- languageID
- portalSite
- productPrice
- productUrl
- shippingMethod
- shippingPrice
- startMonitor
- taxModel
- useAddToBasket
allProducts
Returns the product identifiers to be exported. If the option "ExportAllVariation" is selected all SubProducts of a MasterProduct are exported, else only default SubProducts are exported.
Syntax |
$aProductIDs = $self->allProducts; |
Return |
|
currencyID
Exports to site of portal.
Syntax |
$CurrencyID = $self->currencyID; |
Return |
|
descriptionAttribute
used description attribute of portal config.
Syntax |
$DescriptionAttribute = $self->descriptionAttribute; |
Return |
|
exportXML
Exports objects into an XML file.
Syntax |
$self->exportXML($FileName, $hFileFormat, $aColumnNames, $ViewObject, $NoMonitor); |
Input |
|
formatPrice
formats prices (from shipping or products) to portal specific format.
Syntax |
$FormattedValue = $self->formatPrice($Value); |
Example |
$FormattedShippingValue = $self->formatPrice($self->shippingPrice($Product)); |
Input |
|
Return |
|
imageAttribute
used image attribute of portal config.
Syntax |
$ImageAttribute = $self->imageAttribute; |
Return |
|
imageUrl
Returns url to product image.
Syntax |
$URL = $self->imageUrl($Product, $ImageAttribute); |
Example |
$URL = $self->imageUrl($Product, $self->imageAttribute); |
Return |
|
isProductValidPortal
Throws error if not valid, (not visible).
Syntax |
$self->isProductValidPortal; |
isProductValidPortalExt1
Throws error if not valid (not visible, no name or no price).
Syntax |
$self->isProductValidPortalExt1; |
items
Returns all product identifier of portal config, initialize monitor.
Syntax |
$aProductIDs = $self->items; |
Return |
|
languageID
Exports to site of portal.
Syntax |
$LanguageID = $self->languageID; |
Return |
|
portalSite
Exports to site of portal.
Syntax |
$PortalSite = $self->portalSite; |
Return |
|
productPrice
get price of product with vars of portal config.
Syntax |
$Value = $self->productPrice($Product); |
Return |
|
productUrl
Returns url to product.
Syntax |
$URL = $self->productUrl($Product); |
Return |
|
shippingMethod
used shipping method of portal config.
Syntax |
$ShippingMethod = $self->shippingMethod; |
Return |
|
shippingPrice
get shipping price for product with vars of portal config.
Syntax |
$Value = $self->shippingPrice($Product); |
Return |
|
startMonitor
starts the monitor
Syntax |
$self->startMonitor($PageTypeName); |
Input |
|
taxModel
Tax model used for export.
Syntax |
$TaxModel = $self->taxModel; |
Return |
|
useAddToBasket
use add to basket link.
Syntax |
$UseAddToBasket = $self->useAddToBasket; |
Return |
|