Price calculation script

robke

Avatar: robke

2012-03-23 13:00

Hi everyone
I want to modify my item prices by entering the amount of material. For example i open item and it's price is 10 Eur for 1m2. I want to add field where i could enter amount of let's say 5m2 and that it calculate me final price total of 50Eur and only then i can add it to my basket. Basically i want to add one field for amount entry and second price for sub total.
Hope my question is clear enough.

Thank's in advance!

» Quick.Cart v4.x

beholder

Avatar: beholder

2012-03-23 13:15

this sounds like you need the quantity field that is currently disabled and shows only in basket. Or not?

http://cicmanec.sk/easyplugins/

robke

Avatar: robke

2012-03-23 13:19

yes, this also should solve my problem. How could i enable this in items pages?

Thanks

beholder

Avatar: beholder

2012-03-29 00:54

it's there but literally hidden on the page.
You must edit template products_default.tpl and look for iQuantity
Then in the input you find change type="hidden" to type="text"

And you also need to disable adding products to basket from list in pages_default.tpl. This requires to remove the whole basket from the template.

Alltogether there are more little changes to be done for this to work well everywhere but I don't have time to write it out here.. it's easier just to do it. So if you want more help, do let me know on my personal email, I will do the changes for you on your test site.

http://cicmanec.sk/easyplugins/

Back to top
about us | contact