Setting a product with different prices

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Amir
Posts: 13
Joined: 15 Feb 2020, 16:30

Setting a product with different prices

Post by Amir » 19 Feb 2020, 23:27

I want to add a product with two variant that changes their price when selected ( because of different sizes ex. [ 5 kg, 10 kg ] ). I've added a selection product with two articles that one of them have a price and I the selection itself has price as a price for the default product. And in the product details it shows me the price but when I click on the variation attribute it doesn't change. How can I do that?

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Setting a product with different prices

Post by aimeos » 20 Feb 2020, 11:25

Give each variant product its own price
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Amir
Posts: 13
Joined: 15 Feb 2020, 16:30

Re: Setting a product with different prices

Post by Amir » 20 Feb 2020, 12:30

When I do that, Both prices for the two variations shows at the same time

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Setting a product with different prices

Post by aimeos » 22 Feb 2020, 09:09

Did you change the HTML/CSS/JS of the page?
The Aimeos JS looks up the HTML price section by its CSS selectors and displays/hides the price that is associated to the article matched by the variant attributes (also CSS selector lookup).
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply