WooCommerce, Remote Work & Other Fancy Stuff

Just another WordPress site

WooCommerce Stripe – Force 3D Secure

April 25, 2018 by Will 4 Comments

By default, the WooCommerce Stripe Gateway will only redirect to a 3D Secure page if 3D Secure is required on the source credit card. There are some cards, however, which support 3D Secure but do not require 3D Secure, i.e. the 3D Secure is optional. These types of cards, by default, will not redirect to the 3D Secure page. The Stripe […]

Filed Under: WooCommerce Tagged With: snippet, snippets

Search WooCommerce Customers With Numeric Usernames

June 14, 2017 by Will Leave a Comment

WooCommerce versions prior to 3.0 would allow for the search of customers whose usernames were numeric only. That changed in version 3.0 and if the search is numeric, the search will only search by user id. If you have usernames that are numeric, however, you can hook into the AJAX action before WooCommerce does and use […]

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

Display WooCommerce Photography Products in Shop

April 27, 2017 by Will Leave a Comment

By default, WooCommerce Photography products are not displayed in the WooCommerce shop or any other normal product archives. The idea behind that is that this particular extension is meant for wedding photographers and similar use cases. Suppose, however, that you wish to sell all of your photographs to the public at large. How can this […]

Filed Under: Photography Tagged With: snippet, snippets

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

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

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