New Zenner
- Join Date:
- Jul 2007
- Posts:
- 69
- Plugin Contributions:
- 0
Calculating the price of a product
I would like to create a custom Product Type to handle donations. The user will have a number of options for inputting the amount, including radio buttons with predefined values, an Other: text field, and a recurring monthly donation text field. The reason I think I need a custom product is that my requirements for entering donation amounts surpass what standard attributes will do (and also I want to heavily modify the product layout).
My question is: where does Zen Cart calculate the total price of the product? I would like to rewrite this code to take into account the array of options I have provided. I've been digging through the code but haven't been able to find this yet.
Any fingers pointing in the right direction much appreciated.
Kevin