If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Contribution-Writing Guidelines / Return price before adding to cart

Return price before adding to cart

Locked

Started by allusiv on 14 Sep 2007, 5:16 PM · Views: 1,938

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

Post #1 by allusiv

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.