Divide order product
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!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Divide order product
Hi.
In this case I should divide order product, when product quantity is greater then 1.
For example, when quantity is equal to 4, I have to save this product in 4 different rows at database (In each row quantity is equal 1).
How can I implement this ?
In this case I should divide order product, when product quantity is greater then 1.
For example, when quantity is equal to 4, I have to save this product in 4 different rows at database (In each row quantity is equal 1).
How can I implement this ?
Re: Divide order product
Should the basket also show four lines if the customer have chosen a quantity of "4"?
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: Divide order product
Only after basket 'Summary' step.
Re: Divide order product
You can overwrite this method in you own order base manager implementation:
https://github.com/aimeos/aimeos-core/b ... #L561-L611
https://github.com/aimeos/aimeos-core/b ... #L561-L611
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