Selection Product

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
stiller
Posts: 88
Joined: 05 Mar 2016, 15:59

Selection Product

Post by stiller » 21 Jun 2023, 08:17

hi there

the input fields of a selection product don't remember their status when the selection of the first attribute changes.
e.g. why should one change size of a shirt after selecting a different color.
see behaviour of the demo system
https://typo3.demo.aimeos.org/detail/d/ ... le/1?C=EUR
whats the underlying rational and what is needed so that other attributes remain the same while the choice of the first attribute changes.

cheers

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

Re: Selection Product

Post by aimeos » 23 Jun 2023, 07:18

Which colors and sizes are available depends on the stock level of the variant articles, so there are dependencies between each other and keeping the selected attributes would lead to the selection of non-buyable articles. The dependency management is implemented here if you want to change it:
https://github.com/aimeos/ai-client-htm ... os.js#L310
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply