Help Centre Forum

TOTECS Forums

Product Detail "volume_discount_table" Hook
Author
Thread

Author Alectro Manager
25th June 2020
Not sure if this is a bug or not?

I am using this following hook ""volume_discount_table" in our product details page to list the volume discounts available on our combination product.

example: https://www.alectro.com.au/wall_plate_product_detail/CWPFH601-XLR-Wall-Plate-A_item.html?ref_cat_id=XLR-Wall-Plate

Volume
Discount
Qty $Inc / $Ex
2.00+ $7.25 / $6.59

unfortunately when one of the attributes are changed... example:
remove text above connections --> text above each connection

The volume discount table does not update, should you add this child product to cart and then view the product details page of the child product, as per the below link. The updated volume discount table shows the correct pricing.

https://www.alectro.com.au/Product_Detail/CWPFH601_item.html

Volume
Discount
Qty $Inc / $Ex
2.00+ $19.68 / $17.89
3.00+ $18.65 / $16.95
9.00+ $16.58 / $15.07
19.00+ $15.54 / $14.13

can you please confirm if this product details "volume_discount_table" hook should dynamically update once an attribute has changed?

Thank you.