It’s possible to conditionally remove shipping methods on the checkout page and there are several examples of how this can be done with code. Some of these examples can be seen here: https://docs.woocommerce.com/document/hide-other-shipping-methods-when-free-shipping-is-available/ However, what if we want to hide those shipping methods only if the purchase is done via a WooCommerce Stripe provided payment […]
One Coupon Code – Two Discounts
WooCommerce Subscriptions provides a couple of coupon types that are specific to subscription type products. These are documented here Subscription Coupons – however, it is often desirable to be able to offer a promotional code that would apply a discount to both a sign-up fee and a recurring discount. The use case would be for […]
Conditionally Allow Customer Registration
A recent change in WooCommerce has resulted in some cases where customers may be unable to check out if their cart contains a subscription product. This happens if the “Allow customers to create an account during checkout” option is disabled in combination with WooCommerce Subscriptions requiring an account at checkout. Effectively, customers are locked out […]
Logging XHR Requests
If your WooCommerce site is having problems at checkout, but you’re not really sure what is behind it (i.e. steps to reproduce have not been identified) logging XHR requests (and JavaScript errors) from the checkout page can provide some insight into what is happening. This technique would require that you had a listener setup somewhere […]
WooCommerce Bookings Block Number Discount
If we visit the wayback machine and look at the changelog for WooCommerce Bookings we can see that in November of 2015 a new coupon type was added to discount bookable persons. There is no equivalent coupon to discount by some number of blocks. Fortunately, the WooCommerce Coupon class provides a filter that can be […]
Jetpack SSO & WooCommerce
Jetpack SSO provides many benefits for ease of use of the site as well as security. By default, the ‘Log in with WordPress.com’ button is only output on wp-admin. WooCommerce does not output that button on the my account login form. However, WooCommerce does provide an action hook (or two) that could be used to […]
I’d Love To ❤️ You More
I’ve become interested in expanding my music appreciation lately and as a result, I’m listening to a lot of things that I haven’t had any exposure to previously. A great deal of my music listening happens while I’m working and that work can often require very intense focus. Task switching is a productivity killer. Moving […]
Streamlining My Workflow
My typical work day may require me to generate several passwords per day. Up until today, I had been spending a whopping 9 seconds each time I needed to do that. I use 1Password as my password manager and it has a rather nice password generator. Unfortunately, it requires me to lift my hand off […]
Remove Subscriptions Follow-Ups
WooCommerce Follow-Ups allows store owners to send emails after a renewal order goes into a failed status with the idea being that a subscriber would need to resolve whatever is causing the renewal payment to fail. The same WooCommerce extension provides some settings for these emails to remove them (not send) if the order status […]
Subscription Renewal Email to Product Vendors
Using WooCommerce Product Vendors in conjunction with WooCommerce Subscriptions and want to send the vendor an email when a subscription renews? This is requested on the WooCommerce ideas board here but if you would like to implement some code to do this, here is an example of how this could be done using the Subscriptions provided filter named woocommerce_email_recipient_customer_processing_renewal_order […]
- 1
- 2
- 3
- …
- 6
- Next Page »