WooCommerce, Remote Work & Other Fancy Stuff

Just another WordPress site

Add Quantity Inputs to Simple Products on the WooCommerce Shop Page

June 14, 2015 by Will Leave a Comment

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 […]

Filed Under: Template Overrides, WooCommerce Tagged With: WooCommerce customization

Add JavaScript Confirmation for WooCommerce Subscriptions Cancellation

May 13, 2015 by Will Leave a Comment

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 […]

Filed Under: Template Overrides, WooCommerce, WooCommerce Subscriptions Tagged With: JavaScript, snippets, subscriptions

Remove Cost From WooCommerce Bookings Resource Dropdown

May 13, 2015 by Will 3 Comments

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 […]

Filed Under: Bookings, Template Overrides, WooCommerce Tagged With: bookings, regex, snippets

Rearrange Product Add-ons & Product Variation Selectors

April 18, 2015 by Will Leave a Comment

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, […]

Filed Under: Product Add-ons, Template Overrides, WooCommerce

© 2021 · WooCommerce, Remote Work & Other Fancy Stuff · Epstein didn't kill himself

We use cookies to ensure that we give you the best experience on our website. Continued use of this site is interpreted as your acceptance of our cookie policy.OkSee Our Cookie Policy