Request a quote form

You are here:
Estimated reading time: 1 min

Rey has a built-in “Request a quote” functionality which is much primitive than a dedicated plugin for such tasks, however could get the job done.

To enable, access Customizer > WooCommerce > Product page – Components eg:

Enabling Request a quote functionality

What it’ll do, is it will publish a button on specific products pages (of your choice) and by clicking the button it will open a modal window with a form inside eg: https://d.pr/i/3MxJvB .

Currently this functionality works with Contact Form 7 and WPForms plugins. Once any of these are enabled and a form is created, it could be selected to be used as the Request quote form.

Rey will append some extra information such as Name, ID and SKU.

You can change some settings with this code that can be added into the child theme’s functions.php .

add_filter('reycore/woocommerce/request_quote_defaults', function($settings){
    $settings['title'] = 'Request a Quote';
    $settings['product_title'] = 'PRODUCT: ';
    $settings['close_position'] = 'inside';
    $settings['show_in_quickview'] = false;
    return $settings;
});
Was this article helpful?
Dislike 0
Views: 249

Suggest article improvements

Please use this form to suggest improvements and report missing or outdated content. Support requests will most likely not be answered and it's best to use the Support Request Form instead. Thanks!