Product not accessible after creating from my own controller

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!
awaidqureshi
Posts: 86
Joined: 12 Jan 2019, 15:17

Product not accessible after creating from my own controller

Post by awaidqureshi » 20 Feb 2020, 14:49

When i create product with my own controller and want to access then it can't be accessable ,But if i go to admin panel and click save button on product then it become accessable

What should i do to overcome this issue.

Please ans ASAP.


Thanks

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

Re: Product not accessible after creating from my own controller

Post by aimeos » 22 Feb 2020, 09:11

The product needs to be added to the index and you should call "rebuildIndex( [$product->getId() => $product] )" of the index manager to add your product.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply