How can customers rate products in the store?

Hello Dolphin Pro's.

I dont understand how its possible that a customer who bought a product from the store can rate it (give stars)?

At the time here only admins can rate products. So how is it possible that also the customers of the products can rate it?

Best regards.

Quote · 18 Jul 2012

PS: I mean in Dolphins Store Module at my own website. Not at Boonex.com Cool

Quote · 18 Jul 2012

See code change below if you want to allow only admin to rate :

 

In modules\boonex\store\classes\BxStoreModule.php

Find :

    function isAllowedRate(&$aDataEntry) {
        return $this->isAdmin() || $this->isCustomer ($aDataEntry);
    }

Replace with :

    function isAllowedRate(&$aDataEntry) {
        return $this->isAdmin() ;
    }

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 18 Jul 2012

Hi.

No I want that a customer can rate it. But at the time just admins can rate. And customers not.

Maybe its because of custom store module modifications.

I will ask.

Thanks!

Quote · 18 Jul 2012

 Yes, you must have had some customizations done because by default, customers can rate.

Hi.

No I want that a customer can rate it. But at the time just admins can rate. And customers not.

Maybe its because of custom store module modifications.

I will ask.

Thanks!

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 18 Jul 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.