\BulkPriceShoppingCart
Extension class responsible for updating the price of items in the shopping cart, based on any bulk discounts set via the admin
- Author: i-lateral (http://www.i-lateral.com)
Synopsis
class BulkPriceShoppingCart
extends Extension
{
- // methods
- private void calculate_bulk_price()
- public void onBeforeAdd()
- public void onAfterUpdate()
Hierarchy
Extends
- Extension
Methods
private
public
- onAfterUpdate() — Calculate the item price, based on any bulk discounts set
- onBeforeAdd() — Calculate the item price, based on any bulk discounts set