WooCommerce, Remote Work & Other Fancy Stuff

Just another WordPress site

Move WooCommerce Box Office Form Fields

May 31, 2016 by Will 9 Comments

By Default, WooCommerce Box Office renders the add to cart/buy ticket now button before the form fields. In some cases this may be undesirable. If you would rather render the fields before the button, use the below snippet of code: Not sure what to do with code snippets? See What Do I Do With These […]

Filed Under: Box Office Tagged With: snippet

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

Hide WooCommerce sub menus from Shop Managers

March 25, 2016 by Will Leave a Comment

You may wish to hide certain sub menu items from your Shop Managers, WooCommerce Settings, Add-ons and the System Status report for example. The snippet below will do exactly that, but you can adjust as necessay by adding or removing submenu slugs from the `$remove` array. Add this snippet to your theme’s functions.php file or […]

Filed Under: WooCommerce Tagged With: snippet, snippets

Add Custom Subscription Length

March 25, 2016 by Will Leave a Comment

By default, WooCommerce Subscriptions, provides a large number of subscription durations that should be sufficient for most users. However, some users may wish to provide custom subscription lengths. Fortunately WooCommerce Subscriptions provides a filter called woocommerce_subscription_lengths which can be leveraged to add custom subscription durations. Below is an example of how to implement this filter: […]

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

Get Full Country Name in CSV Export

March 25, 2016 by Will Leave a Comment

The Order/Customer CSV Export extension is often used for forwarding orders to fulfillment services or for generating mailing labels for shipping products. If your shop is based in the U.S. and you are shipping products to overseas locations, the U.S. postal service requires the country name to be fully spelled out, but by default, the […]

Filed Under: WooCommerce Tagged With: snippet, snippets

WooCommerce Database Version Out of Sync?

March 10, 2016 by Will Leave a Comment

For various reasons, your WooCommerce database update might fail which will lead to your database version being out of sync with the WooCommerce version. You can force the database update by hitting this url: wp-admin/admin.php?page=wc-settings&do_update_woocommerce=1. That probably won’t solve the underlying issue of why the update failed, but you can turn on debugging or check your log file […]

Filed Under: WooCommerce

WooCommerce Powered Haggling

March 8, 2016 by Will Leave a Comment

Moving, Must Sell The arguments in favor of using WooCommerce to power my moving/yard sale were many. I can accept various payment methods, items which have been sold will automatically be marked, etc, etc, etc. One feature of a yard sale that is hard to pull of via an online solution is the haggling part […]

Filed Under: WooCommerce

Filter Sensei Content Drip Start Time

February 25, 2016 by Will Leave a Comment

If you are using the Sensei Content Drip extension, the drip emails get scheduled for whatever time of day you happen to activate the extension. If you would like to assert some control over what time of day the emails get sent, you can use the WordPress provided filter named schedule_event to alter the timestamp that is […]

Filed Under: Sensei Tagged With: snippet, snippets

Add WooCommerce billing interval

February 16, 2016 by Will Leave a Comment

Caution: be careful with this – if the payment gateway you are using does not support the interval that you are adding this may result in undesirable behaviour. If you need to add billing intervals to WooCommerce Subscriptions this can be done using the Subscriptions provided filter named woocommerce_subscription_period_interval_strings – a very basic example below adds “every 8th” to […]

Filed Under: WooCommerce Subscriptions Tagged With: snippet, snippets

How to Replace Sensei Course Archive Label Text

February 12, 2016 by Will Leave a Comment

The default label text for Sensei course archives can be changed by implementing the sensei_archive_course_filter_by_options filter. Below is an example of how you might change the ‘All’ and ‘Featured’ labels:   Not sure what to do with code snippets? See What Do I Do With These Code Snippets?

Filed Under: Sensei Tagged With: snippet, snippets

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

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