NB: Make sure you do a back up of your theme, files and database before attempting the tutorials

Woocommerce: Offer a 30-day Deferred Payment Options for Customers
Intermediate
Web Hosting Canada

Last modified : Oct 01 2022

Estimated reading time : 0 minutes, 42 seconds - 145 words

Here we will show you how to hide payment methods when a coupon is used in your WooCommerce cart. For example, you want to give 30 days for your customers to pay as you want then to grab as much as they can from your shop.

The idea behind this function is that we create a special coupon for resellers and when they order online, using the coupon will disable online payment method and triggers the 30 days delay and any other delays you might have configured.

The first thing we need to do is enabling Woocommerce’ payment on delivery payment method. In the description box, we can write “Payment in 30 days”.

And then we add a filter which will enable Payment on delivery if the reseller uses his coupon. All other users/customers will have to choose from the available payment methods.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>