WooCommerce, Remote Work & Other Fancy Stuff

Just another WordPress site

Prevent WooCommerce From Changing WordPress User Display Name

April 26, 2017 by Will Leave a Comment

WooCommerce, by default, will change the WordPress display name for any given user to their First Name Last Name when that user makes a purchase through WooCommerce. This probably makes a lot of sense in the interest of customer relationships, but there may be cases where this is undesirable, say in the case of a forum […]

Filed Under: WooCommerce Tagged With: snippet, snippets

Remove Free Shipping for Non Members

February 3, 2017 by Will 2 Comments

WooCommerce Memberships offers some member perks out of the box and there are more perks that are being discussed here – one of which is free shipping for members. This has not been implemented yet, but it could be achieved via custom code. WooCommerce provides a filter named woocommerce_shipping_zone_shipping_methods which can be used to remove free shipping for non-members. […]

Filed Under: WooCommerce Memberships Tagged With: snippet, snippets

WooCommerce Memberships – Hide Product

October 12, 2016 by Will Leave a Comment

WooCommerce and many of its extensions are highly customizable. WooCommerce Memberships is certainly included in the list of highly customizable extensions. As an example – suppose a merchant is selling products that grant access to a memberships plan and once a purchase of one of those products has been made, the merchant doesn’t want to show that product […]

Filed Under: WooCommerce Memberships Tagged With: snippet, snippets

Conditionally Hide Gravity Form

October 7, 2016 by Will Leave a Comment

Suppose you’re using WooCommerce Gravity Forms Product Add-ons on a variable product but your Gravity Form is really only applicable to one of your variations. How can you conditionally display the form for only the applicable variation? A tiny bit of inspecting the product page and a code snippet can do the trick. The code snippet that […]

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

Add Northern Ireland to WooCommerce Shipping Zones

October 4, 2016 by Will Leave a Comment

WooCommerce, by default, only recognizes countries/regions which are listed in the ISO 3166 standard. The body who determines valid countries is a trusted and reliable source and it has been the stance of the development team to use this list as the “source of truth”. This does tend to cause problems for example, if a […]

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

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

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

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • Next Page »

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