Product attributes related on each other

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!
MikaelNazarenko
Expert
Posts: 274
Joined: 27 Jun 2019, 16:19

Product attributes related on each other

Post by MikaelNazarenko » 29 Nov 2021, 17:41

Hello community..

Seems I faced to difficult problem which is not implemented in aimeos..

When I am on FE single product page I need to have possibility to select the color and size. But the problem is that each color has specific sizes. So when you select specific color - specific sizes is possible to select. Prices and media also depends on the SIZE & COLOR choice...

Can you please suggest me something ?

Thank you very much !

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

Re: Product attributes related on each other

Post by aimeos » 30 Nov 2021, 08:45

This is already possible:
- Create a section product with variant articles
- Assign one size and one color to each variant article
- Go to the variant articles and assign a price to them

In the frontend, customers can choose the color and only the available sizes will be available while the price of the variant article will be shown.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

MikaelNazarenko
Expert
Posts: 274
Joined: 27 Jun 2019, 16:19

Re: Product attributes related on each other

Post by MikaelNazarenko » 09 Dec 2021, 12:27

Yeah I checked this, this is great, thank you !

But another question - is there a good simple way to make impossible to put product to basket if customer did not select COLOR AND SIZE ?

Best regards!

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

Re: Product attributes related on each other

Post by aimeos » 10 Dec 2021, 13:16

When nothing is selected, which product should be added to the basket?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

MikaelNazarenko
Expert
Posts: 274
Joined: 27 Jun 2019, 16:19

Re: Product attributes related on each other

Post by MikaelNazarenko » 11 Dec 2021, 12:13

When nothing is selected - must not be possible to put product to basket. Only is color && size is selected then should be possible to put product to basket.. This is my task now..

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

Re: Product attributes related on each other

Post by aimeos » 11 Dec 2021, 12:24

This is the default case if the JS is working. Only after selecting the variant attributes, the "add to basket" button is enabled.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply