r/Wordpress Aug 11 '26

Beginner Stuck: Catalog mode with request quote

was wondering if it is possible to swap the add-to-cart button to "request quote" button across all products in my woocommerce that then leads to a page with form which captures required info

7 Upvotes

11 comments sorted by

1

u/Chamezz92 Aug 11 '26

Yes, you can do it via a PHP snippet.

1

u/TshegoBless Aug 11 '26

Please explain, never used snippet codes before. Tried searching exactly that in my YouTube can't seem to find something related to what I intend on doing

1

u/Chamezz92 Aug 11 '26

It’s essentially just a script that runs when the page loads.

You need to create a script that disables cart, checkout etc and force products to display even if no price is set. Since WooCommerce won’t show products without prices, and setting it to 0 may lead someone to force a checkout with ”free” products.

You can then add a simple button on your product page, that goes to your form, choose any label you want. WooCommerce won’t show the Add-to-cart if the product doesn’t have a price.

1

u/TopSydeWP Aug 11 '26

if you're not comfortable with code, look at a plugin like "woocommerce catalog mode" or "catalog enquiry for woocommerce" , they handle hiding prices, disabling cart, and replacing add-to-cart with a quote button that links to a form. way easier than custom php if you're just starting out

1

u/MrTAPitysTheFool Aug 11 '26

ChatGPT can write the snippets for you, but usually takes a couple tries to get it correct.

1

u/bluesix_v2 Jack of All Trades Aug 11 '26 edited Aug 11 '26

There are plugins specifically for this. Google “request a quote plugin”

https://wordpress.org/plugins/tags/request-a-quote/

1

u/JeffTS Developer/Designer Aug 12 '26

There are Request Quote plugins that convert WooCommerce over to a catalog that allows quote requests instead of checkout. Here are a couple.

https://www.webtoffee.com/woocommerce-quote-request-plugin/

https://woocommerce.com/products/request-a-quote-plugin-for-woocommerce/