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

Allow Customers to Select Variations on the Shop Page

June 13, 2015 by Will 17 Comments

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

Filed Under: WooCommerce Tagged With: snippet, snippets, WooCommerce customization

WooCommerce Product Category Shortcode – Only Show Sale Items

May 15, 2015 by Will Leave a Comment

Perhaps you would like to showcase items on sale in a given product category – how can this be done? It’s quite trivial to use the WooCommerce provided Product category shortcode to display only products in that particular category. Likewise, it is just as easy to implement the WooCommerce provided Sale Products shortcode. But how […]

Filed Under: WooCommerce Tagged With: shortcodes, snippet

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

Use the Default WordPress Login Page Instead of “My Account”

May 9, 2015 by Will Leave a Comment

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?

Filed Under: My Account, WooCommerce, WordPress Tagged With: 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

Hello world!

April 18, 2015 by Will 1 Comment

Stay tuned for WooCommerce tips & tricks and other related topics.

Filed Under: WooCommerce

  • « Previous Page
  • 1
  • …
  • 4
  • 5
  • 6

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