• Resolved theotheo

    (@theotheo)


    I installed your woocommerce addon and i can’t seem to find how to remove the stars from the product loop.
    Can i somehow unhook it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    Woocommerce provides a hook to do this.

    // Remove the product rating display on product loops
    remove_action('woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5);
    
    Thread Starter theotheo

    (@theotheo)

    Thank you so much! It works!

    By the way, i started using your plugin yesterday so i still have queries to be answered. Of course you may not answer if it is not easy to do so.

    My questions about the woocommerce site reviews addon:
    1. I saw that schema is automatically enabled for woocommerce products, can it be disabled?
    2. Can i use plugin shortcode in woocommerce product templates to show the review summary, reviews and review form?
    3. Is schema code added even if reviews don’t show anywhere in the product page (meaning that i have unhooked review summary, reviews and review form and haven’t used any shortcode in the template)?

    • This reply was modified 3 years, 4 months ago by theotheo.
    • This reply was modified 3 years, 4 months ago by theotheo.
    Plugin Author Gemini Labs

    (@geminilabs)

    1. The schema is added by Woocommerce.

    2. You can use the Site Reviews shortcodes in the Woocommerce product templates. Please see the Woocommerce Reviews Add-on settings to see how these are already used.

    3. See #1

    Thread Starter theotheo

    (@theotheo)

    Ok, i understand.

    About 2, these shortcodes are used in the product template using a hook right?
    To better understand, do you remove woocommerce review widgets and then add your own or do you filter woocommerce widgets with your own review functionality?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove stars from wc loop’ is closed to new replies.