ePages 6.11.0 - DE_EPAGES/CrossSelling/API/CrossSelling.pm

Package DE_EPAGES::CrossSelling::API::CrossSelling

collects statistics for cross selling

@EXPORT_OK
ExistsCrossSelling
FindCrossSelling

Functions

ExistsCrossSelling
FindCrossSelling

ExistsCrossSelling

Check if a cross selling exists with given parameters

Syntax
ExistsCrossSelling( $Product, $TargetProduct, $Type )
Input
$Product (product object)
Product
$TargetProduct (product object)
TargetProduct
$Type (String)
Type (CrossSelling, Accessory, ProductComparison)
Return
$Exists (Boolean)
True if assignment for product and targetproduct exists

FindCrossSelling

Returns the crossselling object if exists for given parameters, otherwise undef.

Syntax
FindCrossSelling( $Product, $TargetProduct, $Type )
Input
$Product (product object)
Product
$TargetProduct (product object)
TargetProduct
$Type (String)
Type (CrossSelling, Accessory, ProductComparison)
Return
$CrossSelling (object)
object of type $Type