ePages 6.12.0 - DE_EPAGES/MultiStoreMaster/Hooks/Basket.pm

Package DE_EPAGES::MultiStoreMaster::Hooks::Basket

MultiStoreMaster basket hooks

Functions

OnBasket2Order
OnCreateMasterShopBasket

OnBasket2Order

API_Basket2Order triggered, copies AffiliateShopID and AffiliateBasketID from basket to order.

Syntax
OnBasket2Order( $hInfo );

OnCreateMasterShopBasket

API_CreateMasterShopBasket triggered, sets Basket attributes AffiliateShopID, AffiliateBasketID, AffiliateBasketBacklink

Syntax
OnCreateMasterShopBasket($hParams);
Input
$hParams (ref.hash.*)
hook arguments, used keys are
  • Basket - local object
  • hAttributes - attributes hash ref. (out-param)