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.