• Resolved dasnyal

    (@dasnyal)


    The 5 star reviews are shown 2 times on the [cusrev_reviews] shortcode.
    I tried to disable all unnecessary plugins and I used the storefront theme for testing.
    I am not able to fix it or find the root cause.
    What can I do to show only 5 stars and not 10 stars?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    Thank you for using CusRev.

    If you want to use the shortcode [cusrev_reviews] on the product page, you need to remove the default reviews section of WooCommerce also.

    Please try to add this custom PHP code to the file functions.php in the theme/child theme folder to remove the default reviews section.

    add_filter( 'woocommerce_product_tabs', 'woo_remove_reviews_tab', 99 );
    function woo_remove_reviews_tab($tabs) {
        unset($tabs['reviews']);
        return $tabs;
    }

    Let me know how it goes.

    Thread Starter dasnyal

    (@dasnyal)

    I added your code to the themes child functions.php and cleared the cache, but the stars are still displayed 2 times.

    Hi,

    I see the review form is not created by the standard WooCommerce review form or by the shortcode [cusrev_reviews]. I also do not see the shortcode [cusrev_reviews] available on the product page, there is another shortcode [cusrev_reviews_slider] which does not support adding the review form.

    If the form is created by another plugin or the theme, please contact their support to get further assistance. Thanks.

    Thread Starter dasnyal

    (@dasnyal)

    It is created from the shortcode [cusrev_reviews]. I also tried to disable all plugins and changed the theme to storefront.
    Please see the attached screenshot: https://ibb.co/w6Gkxmw

    Plugin Support pear8398

    (@pear8398)

    Hi,

    Mostly, the issue happens if there are two review forms on a page. Do you add another review form on the product page?
    Or if you remove the custom code above, display the standard review form of WooCommerce and deactivate our plugin, is the issue resolved?

    Thread Starter dasnyal

    (@dasnyal)

    I disabled all the plugins and activated them again. There was no additional review-plugin, but somehow the problem is gone now. Thank you very much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘5 Stars are duplicated’ is closed to new replies.