WooCommerce, Remote Work & Other Fancy Stuff

Just another WordPress site

Date Based Person Cost Adjustment

April 21, 2021 by Will Leave a Comment

If you’re using WooCommerce Bookings and you are trying to add a cost adjustment to one particular person type based on dates, you will find that this is not possible as the only cost adjustments available via the product configuration options will apply to the bookable block as opposed to the person’s booking cost. If […]

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

WooCommerce Bookings Block Number Discount

October 21, 2020 by Will Leave a Comment

If we visit the wayback machine and look at the changelog for WooCommerce Bookings we can see that in November of 2015 a new coupon type was added to discount bookable persons. There is no equivalent coupon to discount by some number of blocks. Fortunately, the WooCommerce Coupon class provides a filter that can be […]

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

Retrieve Booking Meta Data

June 1, 2017 by Will 8 Comments

Since the introduction of Bookings version 1.10.0 meta data associated with a booking has been removed from WooCommerce orders. This may add a level of frustration, particularly when using some sort of exporter which would have effortlessly fetched the booking data if that data were part of the order line item data. This is an unfortunate side […]

Filed Under: Bookings, Order/Customer Export, WooCommerce Tagged With: snippet, snippets

Complex Pricing in WooCommerce Bookings

May 21, 2016 by Will 12 Comments

WooCommerce Bookings provides a way for people to sell time based products and it can be made to work with a wide variety of use-cases. Unfortunately, in order to be able to work with this wide range of use-cases the configuration can be quite challenging and the interface can get difficult to use to set up […]

Filed Under: Bookings, 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

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

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

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