Package DE_EPAGES::PriceList::Hooks::Product
set prices and discounts
Functions
OnAfterProductClone
Duplicate pricelist after duplication of product. Triggered Hook AfterProductClone.
Syntax |
OnAfterProductClone( $hParams ); |
Input |
|
OnInsertProduct
Duplicate pricelist from super product. Triggered Hook AfterProductClone.
Syntax |
OnInsertProduct( $hParams ); |
Input |
|
ProductDiscount
Hook function for the ProductDiscount hook. Sets the Discount parameter if a quantity discount and/or value discount is applicable for the given quantity of the given product. If no line item container is specified, the absolute discount value is set according to the price quantity of the product.
Syntax |
ProductDiscount( $hParams ); |
Input |
|
Output |
|
ProductPrice
Hook function for the ProductPrice hook. Sets the Price parameter if a scale price is applicable for the given quantity of the given product.
Syntax |
ProductPrice( $hParams ); |
Input |
|
Output |
|