eZPublish
4.7
|
The class eZShippingManager does. More...
Static Public Member Functions | |
static | getShippingInfo ($productCollectionID) |
static | purgeShippingInfo ($productCollectionID) |
static | updatePriceInfo ($productCollectionID, &$basketInfo) |
static | updateShippingInfo ($productCollectionID) |
static | vatPriceInfo ($shippingInfo) |
Static Private Member Functions | |
static | loadBasketInfoHandler () |
static | loadShippingHandler () |
The class eZShippingManager does.
|
static |
The function are fetching the shipping info and need to be reimplemented in a new shippinghandler. It's also possible to return additional parameters to use in the templates.
An example for the shippingvalues with only one shippingitem.
The returned array for each shipping item should consist of these keys:
Referenced by eZShopOperationCollection\handleShipping(), and eZDefaultBasketInfoHandler\updatePriceInfo().
|
staticprivate |
Load basketinfo handler (if specified).
Referenced by updatePriceInfo().
|
staticprivate |
Load shipping handler (if specified).
Referenced by getShippingInfo(), purgeShippingInfo(), and updateShippingInfo().
|
static |
Purge shipping information for a stale product collection that is about to be removed.
Should be used when a basket is removed. All shipping information related to the productCollectionID should be removed.
Referenced by eZProductCollection\cleanupList(), and eZShopOperationCollection\handleShipping().
|
static |
Update shipping price with calculated information based on original values. All values are changed or added directly in the array $basketInfo
Example on a calculated $basketInfo variable:
Referenced by eZBasket\itemsInfo().
|
static |
The function to update any additional shippinginfo and need to be reimplemented in a new shippinghandler.
Referenced by eZBasket\updatePrices(), and eZShopOperationCollection\updateShippingInfo().
|
static |
Calculate the vat prices returned by the shippinghandler.
Need to receive the following values (In the arrays will also consist of additional parameters, see the function getShippingInfo() for more information):
Option 1: An array with shipping items with atleast these values:
Option 2, backwards compatible:
Referenced by eZDefaultBasketInfoHandler\updatePriceInfo().