If ever..for 1.5.5... If the team thinks these events have to be included in next release.
NOTIFY_HEADER_SHOPPING_CART_OPTION_PRICE is called in /includes/modules/pages/shopping_cart/header_php.php
line 119
Code:
$attr_value = $attributes_values->fields['products_options_values_name'];
}
$zco_notifier->notify('NOTIFY_HEADER_SHOPPING_CART_OPTION_PRICE',array('rs'=>&$attributes_values,'products_id'=>$products[$i]['id']));
$attrArray[$option]['products_options_name'] = $attributes_values->fields['products_options_name'];
NOTIFIER_CART_ATTRIBUT_SELECT
and
NOTIFY_HEADER_SHOPPING_CART_OPTION_PRICE are called in /includes/classes/shopping_cart.php
line 682
Code:
$attribute_price = $db->Execute($attribute_price_query);
$this->notify('NOTIFIER_CART_CALCULATE_ATTRIBUTE', array('cart'=>$this,'rs'=>&$attribute_price,'products_id'=>$products_id,'options_id'=>$option,'options_values_id'=>$value));
$new_attributes_price = 0;
and
line 891
Code:
$attribute_price = $db->Execute($attribute_price_query);
$this->notify('NOTIFIER_CART_ATTRIBUTE_PRICE_SELECT',array('cart'=>&$this,'rs'=>&$attribute_price,'products_id'=>$products_id,'options_id'=>$option,'options_values_id'=>$value));
$new_attributes_price = 0;
which seems logical to me.
And just to notice that it works with Dynamic Price Updater 2.0, i.e., when I change the size (first attrib), the price of other attributes is changed, and when I check the box of one of these changed attributes the final price is good thanks to DPU.
Bookmarks