• Resolved Andreslav

    (@andreslav)


    Hey! I want to display additional information in the product card, using the woocommerce_shop_loop_item_title hook.

    The data is displayed in the catalog, and when using shortcodes, but in the product cards added through the “handpicked” block – empty. Is there a way to output in them as well?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Saif

    (@babylon1999)

    Hello @andreslav,

    This is expected as default WooCommerce templates and WooCommerce blocks operate differently and don’t share the same hooks.

    WooCommerce hooks are a way to modify the functionality of WooCommerce in conjunction with themes or plugins.

    On the other hand, WooCommerce blocks provide a more visual approach to customizing the layout and design of your store without requiring coding knowledge.

    If you’re trying to build a custom solution around WooCommerce blocks, I suggest you check this part of the GitHub repository.

    Cheers!

    Thread Starter Andreslav

    (@andreslav)

    Understood.

    Unfortunately, I haven’t found a quick example of how to achieve what I want, so I’ll use shortcodes for now ??

    Hi @andreslav

    I’m glad you were able to find a workaround to your inquiry here and thanks for sharing it with the community too! ??

    Meanwhile, if you have a moment to spare, we would love it if you could share your thoughts with us by leaving a review or feedback. Your experience and feedback are important to help us improve and ensure we’re always providing the best possible support.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using the woocommerce_shop_loop hook_*’ is closed to new replies.