Extend Catalog
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: 40
- Joined: 12 Jul 2018, 19:57
Extend Catalog
Laravel: 5.6
Aimeos: 2018.04
PHP: 7.x
Hi there;
I've added new fields to others domains like attributes and they worked as expected, now I'm trying to add new fields to Catalog domain but Always I get the error that number of binds doesn't match, I've debugged the process to insert a new catalog item and I found that you use DBNestedSet class, Do i have to extend this class ? or can you explain to me how can I do this ?
Thanks
Aimeos: 2018.04
PHP: 7.x
Hi there;
I've added new fields to others domains like attributes and they worked as expected, now I'm trying to add new fields to Catalog domain but Always I get the error that number of binds doesn't match, I've debugged the process to insert a new catalog item and I found that you use DBNestedSet class, Do i have to extend this class ? or can you explain to me how can I do this ?
Thanks
--
Jorge A Ramirez
System Engineer
PHP Developer
Jorge A Ramirez
System Engineer
PHP Developer
Re: Extend Catalog
The nested set tree manager is shared so you shouldn't change it.
Instead, you can adapt the config and the updateUsage() method of the catalog manager:
- https://github.com/aimeos/aimeos-core/b ... g.php#L246
- https://github.com/aimeos/aimeos-core/b ... d.php#L821
Instead, you can adapt the config and the updateUsage() method of the catalog manager:
- https://github.com/aimeos/aimeos-core/b ... g.php#L246
- https://github.com/aimeos/aimeos-core/b ... d.php#L821
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: 40
- Joined: 12 Jul 2018, 19:57