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.

Before starting, if you want to disable ecommerce capabilites (such as adding to cart), you can access Customizer > WooCommerce > Catalog > Misc. options, and enable Catalogue mode eg: https://d.pr/i/y1Sxe4 .

So to enable the “Request a quote” button in product pages, access Customizer > WooCommerce > Product page > Components in Summary > Request a quote eg:

Options.

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 plugins are enabled and a Form is created inside them, it could be selected to be used as the Request Quote form. Learn more on creating Contact Form 7 forms or creating WPForms forms.

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

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!