How to turn “Quote Request” mode off conditionally

Set the setting to RFQ mode in setting 1 in general setting. Do not show prices. That will be the default.

Add the following to your functions.php

add_action(‘init’, ‘gpls_woo_rfq_check’, 1000);
function gpls_woo_rfq_check(){
//check if the user should be able to see prices and purchase ( the normal WooCommerce setting)
//if so..
gpls_woo_rfq_purchase_only(); // user can see prices and purchase normally
gpls_woo_rfq_purchase_or_quote();// user can see prices, purchase or request a quote
}