NO BUG: YITH WooCommerce Request a Quote - Button doesn´t show up

Hey
I would like to use the plugin " YITH WooCommerce Request a Quote" to add a “add to quote” button underneath the “add to cart” - button.

Unfortunately the button doesn´t show up.
Is there anything I need to setup inside bricks?

I´m not sure if it is a bricks problem or plugin or something in between.

Thank you :slight_smile:

Hi Patrick,
Thanks so much for your report.

The plugin uses the WooCommerce hook woocommerce_single_product_summary to print the button. By default, Bricks does not use this hook, but you can easily insert it where you want the button to be.

Insert the following dynamic data tag into a basic text element:

{do_action:woocommerce_single_product_summary}

More info:

Best regards,
timmse

Hi timmse

thank you so much. Saved my day :slight_smile:

I was searching for the hook but couldn´t find it.

Have a nice weekend

Hi timmse,

how did you find out which hook was used by the plugin?
I purchased the premium version and now i can´t get it to work in the new installation :confused:

I have rummaged through the code. It would probably be easier to look in the documentation (if there is a detailed one), or to ask the plugin developers :slight_smile:

Hello, did you manage to resolve this issue?

Hello everyone,
I wanted to know if you have found a solution for displaying the “Add a Quote” button from the YITH Request a Quote for WooCommerce plugin when using a custom Bricks Builder template for the single product page.
I’m encountering the same issue.
I found a solution by adding a “Custom Code” element and inserting this function :

<?php if (function_exists('YITH_YWRAQ_Frontend')) { echo do_shortcode('[yith_ywraq_button_quote]'); } ?>

Cyril

@Cyril or you can just use the short code element? I’m working on a site which has quote buttons on all products so I don’t need to run a check but I’m interested to hear if just using the short code element falls back gracefully?