Jump to content

Product Attributes done on product list. How to update the display price


centivasoftwares

Recommended Posts

Hi

 

  I have follow the post "Add Attributes in product list" and added the combinations in Product List TPL.

 

 Its works fine and i can select a product based on attributes and add it in cart.

 

But I want to change the display cost, when user select any combination in product list tpl.

 

Either way is  display the price also along the Combination in select box.

 

 Like

 

30 ml - $50

 

50 ml - $80

 

Or directly change the display cost when select any combination from list. How to do that ?

 

I really appreciate if you could help.

 

 

 

 

 

Link to comment
Share on other sites

The products prices vary when you select the combination.

 

Url(product list with all commbinations) :- Click Here

 

You can see here the products with the combination. But when you select any combination, the display price still the same.

 

Now please see the product detail page : Click here

 

On this page, if you click on the combination, the display cost will also change.

 

PS :- The combinations comes from Backoffice admin

Link to comment
Share on other sites

I don't get your problem. 

 

Prestashop stores a base price for each product and it stores an additional price for each combination. So if your 50 gram product is 2 dollar and the 100 gram is 3 dollar  it will store an additional price of 1 dollar for the combination. 

Link to comment
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...