Buyer can send messages from product detail page
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!
Re: Buyer can send messages from product detail page
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
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, give us a star
If you like Aimeos, give us a star