Hi,
Can anyone help me with this.... and very new to zencart and php.
Basically, my requirement was: For a product, I have to calculate the price depending upon the values entered by the user and that price selected by the user should be become unit price.
To achieve that, I created the attributes for the product(baseprice=$0.00). I collected the values entered in those attributes text field using javascript in the tpl_modules_attributes.php page. An ajax calculate button would post those values to the CalculationScript.php where i calculate the price of the product and display the price table(which displays prices and quantity and days of shipping accordingly).
Upon the selection of one price and Addcart event, corresponding values of Unitprice, quantity, days of shipping should be reflected in the corresponding values of Shopping cart.
I able to overwrite the Unit price..by manuplating final prcie but not quantity and totals.. can anybody please give me some suggestions... !!!how to modify the quantity? and days of Shipping..? Plz iam pretty much in the bad. shape.. !!!
Thanx in advance.