Quite often I recommend template overrides for customizing WooCommerce. Using template overrides provides a way to exercise a great deal of control over the layout and presentation of your WooCommerce shop, but they also come with the responsibility of maintenance – if functions are deprecated or removed from WooCommerce your template overrides are likely to break, or worse, cause […]
Allow Customers to Select Variations on the Shop Page
By default, the WooCommerce Shop Page only outputs an “Add to Cart” button for simple products. It will output a “Select Options” button for variable products. This is probably very useful for most use-cases. On the other hand, perhaps you would like to give your customers the option to select product variations directly from the […]
Add JavaScript Confirmation for WooCommerce Subscriptions Cancellation
Snippet UPDATED FOR WooCommerce 2.6 By default, WooCommerce Subscriptions allows for users to cancel their subscriptions via their “My Account” page via a “Cancel” button. Currently, there is no confirmation – the workflow goes something like this: press cancel button, subscription is cancelled. For some shop owners this may be undesirable – these shop owners […]
Remove Cost From WooCommerce Bookings Resource Dropdown
If you’re using customer selected resources with your WooCommerce Bookings products and those resources have costs then an indication of a price adjustment for those resources is output in the dropdown select. You can remove those if you would like. There are a couple of ways to do that. The first approach would be to […]
Use the Default WordPress Login Page Instead of “My Account”
For whatever reason, you might not want to use the login/registration form on the WooCommerce “My Account” page. This is possible with the addition of a small bit of code. Not sure what to do with code snippets? See What Do I Do With These Code Snippets?