Best way to add a default supplier to new products
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!
Best way to add a default supplier to new products
Hi
My Aimeos setup has multiple sub-sites. I have also created a single supplier for each sub-site. What is the best way of automatically assigning each sub-site's supplier to all newly created products automatically?
e.g. Sub-site 1 is assigned the supplier Supplier-1. I would like all Sub-site 1's products to automatically be assigned Supplier-1 as the supplier.
Would it be better to use a decorator or to override the Aimeos\AdminJQAdm\Product\Supplier\Standard class?
Thanks
My Aimeos setup has multiple sub-sites. I have also created a single supplier for each sub-site. What is the best way of automatically assigning each sub-site's supplier to all newly created products automatically?
e.g. Sub-site 1 is assigned the supplier Supplier-1. I would like all Sub-site 1's products to automatically be assigned Supplier-1 as the supplier.
Would it be better to use a decorator or to override the Aimeos\AdminJQAdm\Product\Supplier\Standard class?
Thanks
Re: Best way to add a default supplier to new products
The easiest way might be a decorator adding the supplier to the view so it will be displayed by the supplier subpart template and automatically added if it's not removed manually in the supplier sub-panel.
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: Best way to add a default supplier to new products
This is a good idea, thank you.