WooCommerce, Remote Work & Other Fancy Stuff

Just another WordPress site

Programmatically Add Gravity Form to WooCommerce Product

February 11, 2016 by Will 2 Comments

The WooCommerce Gravity Forms Product Add-ons extension allows you to add some very powerful customization options to your WooCommerce products. However, the form must be added on a per-product basis. This works fine for most use-cases but there are cases where it may be desirable to attach the form to all products or to all products […]

Filed Under: Gravity Forms Product Add-ons, WooCommerce Tagged With: snippet, snippets

Increase WooCommerce Variations per page in the Admin Product Screen

September 17, 2015 by Will 1 Comment

WooCommerce 2.4 made some performance improvements to the variable product interface. There’s an overview of the changes here: Improving the Variations Interface in 2.4 Where this helps most is in the case of products which have many variations – unfortunately, in some cases this may hinder re-ordering the variations due to the pagination. It is possible […]

Filed Under: WooCommerce Tagged With: snippet, snippets

Shortcode in WooCommerce Variation Description

September 14, 2015 by Will Leave a Comment

WooCommerce 2.4 added the ability to add a description to each variation of a variable product. By default, that field does not support shortcodes (the value is stored in the postmeta table – not the post table) – but, what if you would like to use shortcodes in the variation description? It is possible with […]

Filed Under: WooCommerce Tagged With: snippet, snippets

Remove ‘today’ from ‘fully booked days’ in WooCommerce Bookings

September 11, 2015 by Will Leave a Comment

WooCommerce Bookings will count ‘today’ as ‘fully booked’ if the product in question can no longer be booked (it’s too late in the day) or if today is not available due to availability rules. This is mostly done as a shortcut to save on system resources but it may cause confusion or even FOMO for […]

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

Memberships, Discounts & Subscriptions Sign-up Fee

September 4, 2015 by Will Leave a Comment

One of the features of the WooCommerce Memberships extension is the ability to offer purchasing discounts to your customers if they are a member of a qualifying membership plan. Many site owners sell subscription products and in many cases these subscription products are configured with a sign-up fee to cover on-boarding costs for the subscriber. Since […]

Filed Under: WooCommerce, WooCommerce Memberships, WooCommerce Subscriptions Tagged With: snippet, snippets

Bookings Resource Dropdown Behaviour

July 4, 2015 by Will Leave a Comment

If you’re using WooCommerce Bookings and your bookable product has customer selected resources, you may find that customers are inadvertently choosing the incorrect resource since, by default, the booking form outputs the resources dropdown selector with one resource pre-selected. You can, however, hook in to a Bookings provided filter named booking_form_fields and effectively de-select the default resource, thereby […]

Filed Under: Bookings, WooCommerce Tagged With: bookings, snippet, snippets

A Better Way to Add Quantity Inputs on the WooCommerce Shop Page

June 17, 2015 by Will Leave a Comment

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

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

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

  • « Previous Page
  • 1
  • …
  • 4
  • 5
  • 6
  • 7
  • Next Page »

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