Bug reports with selection product and variants
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Bug reports with selection product and variants
1/ Adding two variant products of a selection product with one variant attribute for each will result in creating two variants products but :
- the first one will get the first and the second variant attributes
- the second one will have no variant attribute at all.
expected : what i get after saving : 2/ Copying a selection product will only copy the "master" select product but not the "sub" default products of the selection product duplicated.
- the first one will get the first and the second variant attributes
- the second one will have no variant attribute at all.
expected : what i get after saving : 2/ Copying a selection product will only copy the "master" select product but not the "sub" default products of the selection product duplicated.
Re: Bug reports with selection product and variants
We are currently in the process of rewriting that part for the next version. Please stay tuned till next week
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Bug reports with selection product and variants
Thank you very much
Re: Bug reports with selection product and variants
That part has been rewritten now
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Bug reports with selection product and variants
It this also fixed? Duplicating a selection product seems to be as before : only the selection product is duplicated but the default products, including the variants are not created.2/ Copying a selection product will only copy the "master" select product but not the "sub" default products of the selection product duplicated.
Thank you a lot in advance,
sbn
Re: Bug reports with selection product and variants
Yes, that's still the same and we don't know if it's a good thing to copy the articles as well, especially because we need to improve performance of that part if you have 100s of articles in a selection product.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Bug reports with selection product and variants
Ok thank you for your answer !
In my case, duplicating a product is done just to save time and find the new selection product as the original one, so it seems logical to me that the new defaults product are created too, but the way it works is already better and faster than nothing
I also have a problem (bug?) when duplicating a selection product, sometimes the preview image of the original one is deleted. I'm still trying to understand when exactly.
Thank you,
sbn
In my case, duplicating a product is done just to save time and find the new selection product as the original one, so it seems logical to me that the new defaults product are created too, but the way it works is already better and faster than nothing
I also have a problem (bug?) when duplicating a selection product, sometimes the preview image of the original one is deleted. I'm still trying to understand when exactly.
Thank you,
sbn
Re: Bug reports with selection product and variants
I'm still thinking about the duplication of a select products AND ITS VARIANTS. I think it's really useful and logical to have this option. I understand that a loop with 1000 variants to create could cause unstable results because of the max-execution-time of php that will be different on the users' server.
So, I suggest to :
1/ set a safe limit of variants that can be duplicated
2/ count the amount of variants that the select product has got.
3/ if the amount of variants is bigger thant the limit value, the select product is duplicated without variants
4/ else, the product is duplicated and its variants and subproducts are created too.
I'll try to work on it and make a PR.
I'm interested in any help, if you have information i.e. about where this job is done.
Thank you
So, I suggest to :
1/ set a safe limit of variants that can be duplicated
2/ count the amount of variants that the select product has got.
3/ if the amount of variants is bigger thant the limit value, the select product is duplicated without variants
4/ else, the product is duplicated and its variants and subproducts are created too.
I'll try to work on it and make a PR.
I'm interested in any help, if you have information i.e. about where this job is done.
Thank you
Re: Bug reports with selection product and variants
Wouldn't limit the number of variants when copying a product. Either all or nothing
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star