Show long description of variant products

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!
schoelli
Posts: 15
Joined: 25 Oct 2017, 17:21

Show long description of variant products

Post by schoelli » 19 Sep 2018, 13:17

We have a selection product which defines 3 variant products. Each variant product defines a long description. When the user chooses a specific variant of a product via the dropdown, then the long description is not updated to the variant one's, but stays the same as for the selection product one's. Can you help me fix this? The same applies to the short description.

Aimeos 2018.07
Laravel 5.4

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

Re: Show long description of variant products

Post by aimeos » 21 Sep 2018, 12:21

The short and long descriptions are available in the product items in the template. You can add the texts to the template and show/hide them by some Javascript code depending on the selected variant. We would love to get that into the core as well, so if you are able to create a PR on GitHub ... :-)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply