Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jessestu/9573bfaaf72936a8114b80a04b811064 to your computer and use it in GitHub Desktop.
Save jessestu/9573bfaaf72936a8114b80a04b811064 to your computer and use it in GitHub Desktop.

Here's one way to set up an “Add to Quote” function in WooCommerce. It’s that awkward space where it’s not quite a static catalogue, nor is it a full-on e-commerce site. Well, with some creative thinking – it’s perfectly possible.

You’ll need to do the following:

  • Change all the Add to Cart buttons to say Add to Quote. This can be done with Loco Translate (a bit of an overkill in my opinion), a bit of code or with a simple 3rd party plugin like Change WooCommerce Add to Cart Button Text;
  • Add a Flat Rate shipping method under the Locations not covered by other zones section and change the shipping method title to “Shipping Costs TBD” (Screenshot here);
  • Disable all payment gateways under WooCommerce > Settings > Checkout except for Cash On Delivery. In the Cash on Delivery payment method settings, change the payment method title to Send Quote.

On the “Checkout” page, your Quote Builder is now taking shape:

If this image fails to load, please visit: http://cld.wthms.co/meZ8DB

Something Extra

If you’d like to reduce the number of fields the customer has to fill in for the “Quote”, have a look at the Checkout Field Editor extension. If you’d also like to change the “Place Order” button text on the “Checkout” page, have a look at this article.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment