Selections in bundles

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
gilbertsoft
Posts: 28
Joined: 18 Nov 2016, 10:35

Selections in bundles

Post by gilbertsoft » 28 Nov 2016, 15:11

Hello again!

I got some serious problems with selections in bundles, where should the user select the variant attributes? There's nothing shown. Then I tried the demo data, if I add the "Demo bundle article" to the basket there is the error "Preis-Item nicht verfügbar" shown. There is also no variant attribute shown, so I think that's the reason of the error message, no unique product can be found because no variants are specified!

Thanks
Simon

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

Re: Selections in bundles

Post by aimeos » 30 Nov 2016, 10:03

The demo is OK and works, e.g.:
http://laravel.demo.aimeos.org/default/ ... _article/2

The bundle product has some limitations. Bundles of articles are perfectly fine and work as you expect. Bundles of selection products are not fully supported because only the selection product itself is added to the order. You need to add the possible variant attributes to the bundle product so you can determine the right article afterwards.

This is not perfect but bundles are problematic if you try to use
- several selection products in a bundle
- bundles of bundles
In these cases, the shop can't resolve the articles any more even if a single selection product in a bundle would work.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

gilbertsoft
Posts: 28
Joined: 18 Nov 2016, 10:35

Re: Selections in bundles

Post by gilbertsoft » 30 Nov 2016, 16:04

Are there any plans to extend this functionality?

If not I'll do it myself: my idea is to show the attributes of selections in bundles grouped by the selection. This should solve the first issue, but not the one with bundles in bundles. Should not be a big thing, what do you think? Any other suggestions? Of course I'll push it to the repo at the end.

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

Re: Selections in bundles

Post by aimeos » 01 Dec 2016, 10:29

We would happily accept a PR for implementing this feature :-)
You need to adapt the basket controller too, so it's able to select the variant based on the chosen attributes. That's the hard part.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

gilbertsoft
Posts: 28
Joined: 18 Nov 2016, 10:35

Re: Selections in bundles

Post by gilbertsoft » 01 Dec 2016, 11:59

Will work on this the next weeks, but for now I got other things to solve...

Post Reply