Using a version of Table Rate Shipping equal to or greater than 3.0.11 and now price based shipping is using the tax inclusive price of products to calculate shipping rates? That is expected behavior and was a bug fix from an earlier version. However, in some instances, perhaps you want to calculate the shipping on […]
WooCommerce Stripe – Force 3D Secure
By default, the WooCommerce Stripe Gateway will only redirect to a 3D Secure page if 3D Secure is required on the source credit card. There are some cards, however, which support 3D Secure but do not require 3D Secure, i.e. the 3D Secure is optional. These types of cards, by default, will not redirect to the 3D Secure page. The Stripe […]
Hide WooCommerce Extensions Menu
As of WooCommerce 3.1, the WooCommerce extension updater (known as the WooCommerce Helper) was moved into the WooCommerce plugin and no longer requires a separate plugin. The menu item to access the new helper screen is shown to any user who has the ‘manage_woocommerce’ capability. You can remove that capability from any admin users that […]
Search WooCommerce Customers With Numeric Usernames
WooCommerce versions prior to 3.0 would allow for the search of customers whose usernames were numeric only. That changed in version 3.0 and if the search is numeric, the search will only search by user id. If you have usernames that are numeric, however, you can hook into the AJAX action before WooCommerce does and use […]
Retrieve Booking Meta Data
Since the introduction of Bookings version 1.10.0 meta data associated with a booking has been removed from WooCommerce orders. This may add a level of frustration, particularly when using some sort of exporter which would have effortlessly fetched the booking data if that data were part of the order line item data. This is an unfortunate side […]
Display WooCommerce Photography Products in Shop
By default, WooCommerce Photography products are not displayed in the WooCommerce shop or any other normal product archives. The idea behind that is that this particular extension is meant for wedding photographers and similar use cases. Suppose, however, that you wish to sell all of your photographs to the public at large. How can this […]
Prevent WooCommerce From Changing WordPress User Display Name
WooCommerce, by default, will change the WordPress display name for any given user to their First Name Last Name when that user makes a purchase through WooCommerce. This probably makes a lot of sense in the interest of customer relationships, but there may be cases where this is undesirable, say in the case of a forum […]
Revert Product Addons Display to 2.7.21 Behavior
Version 2.7.22 of Product Addons changed the way that addons are displayed. This was done because of an issue with variable products which have long variation descriptions not displaying properly. Unfortunately, this has broken other use-cases or at the very least, caused undesirable behavior and display issues. There is a way to revert the display […]
Remove Free Shipping for Non Members
WooCommerce Memberships offers some member perks out of the box and there are more perks that are being discussed here – one of which is free shipping for members. This has not been implemented yet, but it could be achieved via custom code. WooCommerce provides a filter named woocommerce_shipping_zone_shipping_methods which can be used to remove free shipping for non-members. […]
WooCommerce Memberships – Hide Product
WooCommerce and many of its extensions are highly customizable. WooCommerce Memberships is certainly included in the list of highly customizable extensions. As an example – suppose a merchant is selling products that grant access to a memberships plan and once a purchase of one of those products has been made, the merchant doesn’t want to show that product […]