Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
Hi everyone,

When products have sliding price scale (the more you order the cheaper the product unit), is it possible to have the pp_price update itself to show the price based on the quantity selected (while remaining on the same, product page).

I see that the Couch CMS is able to display this new price but only on the cart.php page:
Code: Select all
<cms:if line_discount><span class="compare-price">$<cms:number_format orig_price /></span></cms:if> 
                                            $<cms:number_format price />
where price is the correct price, after the pp_price was adjusted for the discount.

-Is there a way to pull the price from cart.php to product-page.php somehow using available functions?

Any suggestion is much appreciated.
Hi,

The calculation is done server-side so, I suppose, you can use AJAX to invoke that backend routine and display the returned results every time the selected quantity changes. Not available out of the box though - you'll need to code it up yourself.
Thanks KK, this helps, now I know what to search for.
3 posts Page 1 of 1