How to Add product manualy from custom controller
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!
-
- Posts: 86
- Joined: 12 Jan 2019, 15:17
How to Add product manualy from custom controller
We want to add product from custom controller with product category and attributes(options) ,media with type
Please tell us step by step guide to do that.
We don't want to use csv file.
Thanks .
Please tell us step by step guide to do that.
We don't want to use csv file.
Thanks .
Re: How to Add product manualy from custom controller
The product panel of the admin interface is a good way to see how you can implement that:
https://github.com/aimeos/ai-admin-jqad ... dm/Product
Check the save() and fromArray() methods, e.g. in
- https://github.com/aimeos/ai-admin-jqad ... d.php#L317
You don't have to use the fromArray() methods of the items and you can use the set*() methods instead, e.g.
https://aimeos.org/api/2018/class-Aimeo ... Iface.html
https://github.com/aimeos/ai-admin-jqad ... dm/Product
Check the save() and fromArray() methods, e.g. in
- https://github.com/aimeos/ai-admin-jqad ... d.php#L317
You don't have to use the fromArray() methods of the items and you can use the set*() methods instead, e.g.
https://aimeos.org/api/2018/class-Aimeo ... Iface.html
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