Extend Catalog

Help for integrating the Laravel package
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!
jramirezgranada
Posts: 40
Joined: 12 Jul 2018, 19:57

Extend Catalog

Post by jramirezgranada » 08 Aug 2018, 19:12

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
--
Jorge A Ramirez
System Engineer
PHP Developer

User avatar
aimeos
Administrator
Posts: 7893
Joined: 01 Jan 1970, 00:00

Re: Extend Catalog

Post by aimeos » 09 Aug 2018, 15:56

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
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

jramirezgranada
Posts: 40
Joined: 12 Jul 2018, 19:57

Re: Extend Catalog

Post by jramirezgranada » 09 Aug 2018, 19:21

Hey Thanks, it works ... :D :D
--
Jorge A Ramirez
System Engineer
PHP Developer

Post Reply