A few weeks back one of our customers began using the WooCommerce Product Bundles plugin and reported an issue to us where the cart total was double what it should be. After some investigation we found there to be a conflict with the WooCommerce Wholesale Prices plugin. In this article we’ll outline the details of the conflict and how we were able to fix it.
Today we received a report from a customer that her WooCommerce checkout was malfunctioning, preventing her own customers from completing the checkout process. After some investigation we were able to determine that the issue is specific to the latest version of WooCommerce (2.3.6) and only affects visitors using Internet Explorer (versions 10 and 11 in our testing).
Today on the WordPress subreddit, someone asked if it was possible to have posts from a custom post type (recipes, in their example) show up in the main blog at a set frequency (ie. every 5th post). My initial thought was, probably not. But I decided to do a little digging anyway. Turns out there’s a handy filter called
the_posts that I didn’t know existed.
Last week a user on WordPress StackExchange inquired about excluding categories from a nav menu on they fly if the category contained no posts. I was able to provide a very simple solution using the
wp_get_nav_menu_items action filter and the global
$wpdb object [codex]. Today we will expand on this solution slightly to remove empty terms from any taxonomy.
The Dynamic Pricing extension for WooCommerce is a great plugin that allows you to change prices on the fly under a number of different circumstances. One way in which we see this plugin being used quite often is per-product pricing for registered customers with a specific role – wholesalers, for example. However, when this approach is used the adjusted price is not displayed in the catalog – only in the cart. We’re going to fix that.
Here’s a quick tip for importing products into WordPress: use WP All Import.
It’s the easiest way we’ve found to import data from a CSV or Excel file into WordPress. We often use it for importing products into WooCommerce but it can be used to import custom post types, taxonomies, custom fields and more.
The obvious way to create a manual order in WooCommerce is to navigate to the orders page in the admin panel. Just click ‘Add New’ at the top and enter the details. But sometimes there’s specific functionality that only shows up on the front-end and is not included on the orders page.
A few weeks ago I ran into someone on the WordPress StackExchange wanting to sort his list of authors by recent activity – the author with the most recently published article first, etc. This type of sorting isn’t currently possible using the
get_users() function(codex), nor the
WP_User_Query class (codex), but it can be done – here’s how: