Jump to content

form for customising a product


Recommended Posts

Hi I am pretty new to prestashop, I understand html and css coding but I am very new to php and the smarty template system.

I have products listed that need to be customised by the viewer, the customisations are pretty complex and dependent on one another. I couldnt find a way to do this using the attributes and have even looked at the attribute wizard pro module, none of these allow the complex combinations I need.

I have written a form using radioboxes with a little javascript so when they are checked more options appear. I have added this on as a module hooked to the product footer. I know the module is not really editable by the backoffice but I don't see this as an issue as every product in the shop will work with this same form.

you can see the form here http://www.wonderingalice.co.uk/shoptest/product.php?id_product=10 where it says customise your lenses.

The issue I am having is that I need some of the options when checked to increase the price of the product and for this to be displayed either in the area to the left of the product image or at the bottom of my form. I have tried to use various lines of code to display the product price but they are all just showing the value as £0.00

Is there a way to perhaps add a custom table in the database to effect the price to make this form work?

Link to comment
Share on other sites

  • 3 weeks later...

Creating your own attributes on the fly with price impact, is probably one of the hardest things to hack in Prestashop.

I don't want to discourage you from trying, but I don't think you will find much help on the subject here as it is very complex and advanced and requires changing many files.

Link to comment
Share on other sites

×
×
  • Create New...