Quote button on product pages without price
-
Dear Support!
I have tried to contact you via e-mail, but I have not got any answer so far. We have a highly customized site based on divi child theme. Unfortunately we can not integrate the plugin out of the box. But it is promising ?? The problems I should be able to solve with the plugin:
- I need to show add to quote button only on single product pages, IF the price of the product is empty or zero. I tried this code I saw on your site, but it did not work, the quote button was there all the time:
add_action('init', 'gpls_woo_rfq_check', 999); function gpls_woo_rfq_check(){ if ( is_single() ) { global $product; $product = $product->get_price(); if ( ! empty($product) || $product > 0 ) { gpls_woo_rfq_purchase_only(); } else { gpls_woo_rfq_purchase_or_quote(); } } }
- I don’t want the plugin to touch my customized archive pages and woocommerce listings. Is that possible?
- How to disable to change stock information on product pages (now it hides ‘out of stock’ and ‘backordered’ stock notices, or replaces with a text set in settings).
Can you please help with these problems?
Regards,
Hefterbrumi
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Quote button on product pages without price’ is closed to new replies.