Visual hook of collection pages – Woocommerce

This topic has 4 replies, 2 voices, and was last updated 5 years ago ago by Olga Barlow

  • Avatar: Kozley
    Kozley
    Participant
    May 12, 2020 at 12:45

    Hi!
    Developer of plugin Judge.me asked me about what’s right “visual hook” for elements under the product name on collection pages. They use these visual hooks to auto install elementals:

    Preview Badge on Category page: woocommerce_single_product_summary
    Preview Badge on Product page: woocommerce_after_shop_loop_item_title
    Review Widget on Product Page: woocommerce_after_single_product_summary

    So collections page need to add manually. Give me right visual hook so I can send them to help me.

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    May 12, 2020 at 17:36

    Hello,

    “for elements under the product name on collection pages” – could you, please, explain to me in more detail what do you mean by “collection pages” and what elements do you mean? Maybe provide screenshots for better understanding. Because you mentioned default WooCommerce hooks and that we included and use in our theme. So, I don’t understand what are you trying to implement to give you the correct answer.

    Regards

    Avatar: Kozley
    Kozley
    Participant
    May 12, 2020 at 17:56

    As you see an image of Judge.me setup https://prnt.sc/sfh30i, there you see “Review Badge on Collection Page” is uninstalled because it can’t add element auto so it need edit manually. I followed instruction https://help.judge.me/help/add-judge-dot-me-star-rating-to-woocommerce-product-widget and it don’t work. Because developer of Judge.me asked me about visual hooks.

    “for elements under the product name on collection pages” – Woocommerce have default star rating and it should replace to Judge.me star rating.

    Judge.me need to know specifically which visual hook to use.

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    May 13, 2020 at 08:12

    Hello,

    Try these hooks:
    Preview Badge on Category page: woocommerce_before_shop_loop_item_title
    Preview Badge on Product page: woocommerce_single_product_summary
    Review Widget on Product Page: woocommerce_after_single_product_summary

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Visual hook of collection pages – Woocommerce’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.