Brickan Posted December 14, 2012 Share Posted December 14, 2012 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 More sharing options...
tomerg3 Posted December 14, 2012 Share Posted December 14, 2012 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 More sharing options...
Brickan Posted December 14, 2012 Author Share Posted December 14, 2012 (edited) 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 December 14, 2012 by Brickan (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts