Zen Cart Logo
Forums / Contribution-Writing Guidelines / Return price before adding to cart

Return price before adding to cart

Locked

Views: 1,930

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
14 Sep 2007, 5:16 PM
#1
allusiv avatar

allusiv

New Zenner

Join Date:
Jul 2007
Posts:
10
Plugin Contributions:
0

Return price before adding to cart

Sorry if this is not in the right forum.

I've used Chrome's dynamic price updator mod, but because I have coded custom attributes into my zencart, his module does not work as it is based entirely on the DOM.

I want to build an 'update price' button for my products that updates the price using the back-end instead. What PHP function returns the price before adding to cart (but includes attributes)? I plan to export that function to AJAX and pass the return to a script that updates price using the DOM.

Any help, tips, starting points, other threads, etc would be very appreciated.

When I get the functionally in place, I will release it as a module for everyone.