In an earlier post I provided a code snippet to allow you to add variation selections to products on the WooCommerce Shop page. That snippet also adds a quantity input to simple products as well as variable products. What if you only want to add the quantity input to simple products? Oddly, doing that is […]
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 […]
Rearrange Product Add-ons & Product Variation Selectors
You have a variable product and that product also has Product Add-ons – but you want to change the display order, i.e. the add-ons should be presented to the viewer above the product variations. How can this be done? Template overrides is one answer. Here is the default output – the product variations come first, […]