ePages 6.11.0 - DE_EPAGES/Colissimo/Hooks/Basket.pm

Package DE_EPAGES::Colissimo::Hooks::Basket

Hook functions for order created action.

Functions

OnBasket2OrderShippingColissimo
OnUpdateBasketShippingColissimo

OnBasket2OrderShippingColissimo

OnBasket2OrderShippingColissimo is triggered, to prepare the basket. prepareOrder is calles to check if IsColissimoShippingOK

Syntax
OnBasket2OrderShippingColissimo( $hParams );
Input
$hParams (ref.hash.*)
hook arguments, used key is
  • Basket

OnUpdateBasketShippingColissimo

OnUpdateBasketShippingColissimo is triggered, to prepare the basket. resets IsColissimoShippingOK if the shipping address has changed

Syntax
OnUpdateBasketShippingColissimo( $hParams );
Input
$hParams (ref.hash.*)
hook arguments, used key is
  • Object