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:
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
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 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?