Insert product into catalog right after creating it
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: 44
- Joined: 24 Jun 2019, 14:46
Insert product into catalog right after creating it
Hi,
What I want:
1 - I have an array with catalog item ids
2 - I create the product
3- The product is automatically added to the catalog item I have in the array.
Example:
The array has the ids: 1, 2.
I create the product and it will be displayed into the catalog item 1 and 2.
Is that possibile?
What do I have to override?
I have laravel 5.8 and Aimeos 2019.07
Thank you very much
What I want:
1 - I have an array with catalog item ids
2 - I create the product
3- The product is automatically added to the catalog item I have in the array.
Example:
The array has the ids: 1, 2.
I create the product and it will be displayed into the catalog item 1 and 2.
Is that possibile?
What do I have to override?
I have laravel 5.8 and Aimeos 2019.07
Thank you very much
Re: Insert product into catalog right after creating it
In the admin interface or within your self written code?
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
-
- Posts: 44
- Joined: 24 Jun 2019, 14:46
Re: Insert product into catalog right after creating it
Written code.
I think I have to override the function "save" inside
I think I have to override the function "save" inside
Code: Select all
ext/ai-admin-jqadm/admin/jqadm/src/Admin/JQAdm/Product/Standard.php
Re: Insert product into catalog right after creating it
You can use the product category subpart as reference:
https://github.com/aimeos/ai-admin-jqad ... #L382-L404
https://github.com/aimeos/ai-admin-jqad ... #L382-L404
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
-
- Posts: 44
- Joined: 24 Jun 2019, 14:46
Re: Insert product into catalog right after creating it
Great as always! Thank you very much!
Aimeos product is fantastic
Aimeos product is fantastic