Package DE_EPAGES::Product::API::Shop
This package provides shop functions of Customer.
@EXPORT_OK |
Functions
GetProduct
Checks if there is a product for a given product alias and returns it. If 'UseMaster' is set then also super-products are returned, else the default sub-product is returned. If the alias doesn't clearly identify one product, e.g. in the case of sub-products, the first sub-product with this alias which is found will be returned. In case of entering the product number of a master product the default sub product will be returned. This function returns also termin resources (e.g. for cross-selling).
Syntax |
$Product = GetProduct($Shop, $Alias); |
Input |
|
Return |
|