Jump to content

Create product attribute combination dinamically on product page


Recommended Posts

Hello there,
I'm Carlo from Italy and i need to manage  attribute combination to product dinamically before adding product to cart.
My shop is pizza restaurant, so its products can be customized with one or more variants (i.e onion, garlic, peperoni,salame...)  and every variant has its own price.

With 150 product and 50 variants, standard prestashop combination is really difficult and expensive.

I'm tryng to write code showing four variant selectbox in page product: on select change, combination is saved and product page is refreshed with new  product attribute id.

It works fine with first select change but on another change event it seems product page can't be refreshed correctly in spite of combination successfully saved.

Is there anyone who managed this problem?

Any help will be appreciated,

thanks in advance and sorry for my english,
Carlo.


 

Edited by Carlo Monaco (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More