NO BUG: Woocommerce Extra Product Options not showing

Browser: Chrome 110
OS: macOS

I’m using an Extra Product Options plugin for Woocommerce but the options are not displaying.

The plugin requires the following hooks in the Single Product Template:

  1. woocommerce_before_single_product

  2. woocommerce_before_add_to_cart_button or woocommerce_after_add_to_cart_button

Are these hooks missing in the Bricks single product template?

Hopefully this will be helpful to someone else with the same problem: you need to add a do_action tag to insert the hook.

In this case I added a code block at the bottom of the template and added:

{do_action:woocommerce_before_single_product}

You do not need to even execute the code by the looks of it as it works with or without switching the Execute code toggle.

It would appear that woocommerce_before_add_to_cart_button or woocommerce_after_add_to_cart_button are not supported as those did not work.

1 Like