How can I make products rating for each order stand alone

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!
tekgroup
Posts: 7
Joined: 03 Oct 2023, 11:02

How can I make products rating for each order stand alone

Post by tekgroup » 21 Feb 2024, 16:17

I need to make reviews grouped by order that delivered and from order details can review each products

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

Re: How can I make products rating for each order stand alone

Post by aimeos » 23 Feb 2024, 10:34

Aimeos support reviews only for ordered products and sites (=vendors) at the moment. If you want to implement ratings for orders too, you have to

- extend the mshop_order table by these columns:
https://github.com/aimeos/aimeos-core/b ... hp#L45-L46

- implement the Rating item interface in a customized order item:
https://github.com/aimeos/aimeos-core/b ... /Iface.php

- implement the Rating manager interface in a customized order manager:
https://github.com/aimeos/aimeos-core/b ... /Iface.php

- implement a frontend for the customers so they can rate the order itself
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply