Jump to content

Custermer commet restrictions


Recommended Posts

Question about allowing customers to comment products in the shop.

 

It is all to allow all so that everyone can comment on if we want to,

but I but I would like to lock so that only customers who have purchased from us which may comment on our products.

 

is it posible ??

Link to comment
Share on other sites

Everything is possible when it comes to open source, if you know how to do it...

 

The easy solution would be to only approve comments from customers who purchased before.

 

The harder solution would be to modify the product comments module, to only display if the current customer has placed an order,

The Customer class has a function getBoughtProducts(), you can check if it returns any results, if it does, the you display the hook to show the comments, otherwise do not.

Link to comment
Share on other sites

Everything is possible when it comes to open source, if you know how to do it...

 

The easy solution would be to only approve comments from customers who purchased before.

 

 

HMM yes If you know but i dont *smile* at the moment...

 

this feature should be a Check box....

Edited by Brickan (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...