Buyer can send messages from product detail page

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!
User avatar
aimeos
Administrator
Posts: 7889
Joined: 01 Jan 1970, 00:00

Re: Buyer can send messages from product detail page

Post by aimeos » 02 Jan 2022, 16:07

You need to add a new data domain including a table (mshop_faq), create
manager and item implementations, add a panel to the admin backend for
managing these FAQs, create a controller in the ai-controller-frontend
extension and add a HTML client component as well as a JSON API endpoint.

The CMS extension is a good code base for copy&paste of the necessary code:
https://github.com/aimeos/ai-cms-grapesjs

Migrations:
https://github.com/aimeos/ai-cms-grapes ... stom/setup

Manager+Item:
https://github.com/aimeos/ai-cms-grapes ... /MShop/Cms

Tests:
https://github.com/aimeos/ai-cms-grapes ... stom/tests

Business logic:
https://github.com/aimeos/ai-cms-grapes ... r/frontend

Admin panel:
https://github.com/aimeos/ai-cms-grapes ... dmin/jqadm

JSON Admin API:
https://github.com/aimeos/ai-cms-grapes ... in/jsonadm

HTML client component:
https://github.com/aimeos/ai-cms-grapes ... lient/html

JSON REST API:
https://github.com/aimeos/ai-cms-grapes ... nt/jsonapi

For 2021.10, the code looks a bit different, especially the migrations
because we've switched to Upscheme (https://upscheme.org):

https://github.com/aimeos/ai-cms-grapesjs/tree/2021.10
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply