[Solved] Order: send an email to the supplier
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!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
[Solved] Order: send an email to the supplier
I got following question:
In a shop, multiple suppliers offer the same sort of product.
As the products concerned are "fresh" (low stock) the supplier/producer of the ordered product would like to receive the order as well.
Is this possible?
(I could not find a solution in the documentation).
In a shop, multiple suppliers offer the same sort of product.
As the products concerned are "fresh" (low stock) the supplier/producer of the ordered product would like to receive the order as well.
Is this possible?
(I could not find a solution in the documentation).
Last edited by ivanp on 03 Nov 2021, 14:58, edited 1 time in total.
Re: Order: send an email to the supplier
Yes, implement a service decorator which you can add to the shipping options and sends and e-mail to the supplier when the orders is processed by the order/service/delivery job controller:
https://aimeos.org/docs/latest/provider ... ecorators/
There's already an Email delivery provider where you can see the necessary code:
https://github.com/aimeos/aimeos-core/b ... /Email.php
https://aimeos.org/docs/latest/provider ... ecorators/
There's already an Email delivery provider where you can see the necessary code:
https://github.com/aimeos/aimeos-core/b ... /Email.php
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