質問

I've not been able to find anything. No built-in functionality, no modules, and nothing about anyone trying to do this. Now, the reason I need to know this is because I have a customer that would like this functionality.

How do I add a link in the "My reviews" page when a user/ customer is logged in, that allows them to remove their reviews?

役に立ちましたか?

解決

You need to create your own module with a controller which is able to delete specific reviews. To start, take a look how this is done in the admin where the admin can delete reviews. You can use layout xml to add a new section "My reviews" to the user area. When the user clicks on it, you should use your indexAction in your controller to render all those reviews which belong to the user in the session. This definitely needs quite a bit custom coding experience.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top