News & Blog

Limit WooCommerce Product Quantity to One

October 23rd, 2014 - Posted by Steve Marks to PHP, Software, Web Development.
Sometimes you might want to restrict customers of a WooCommerce site from purchasing more than one of any product. Fortunately this is made simple through use of the options already available in WooCommerce. Simply edit the product in question, navigate to the ‘Inventory’ tab a...

How To Bulk Delete Product Variations in WooCommerce

June 3rd, 2014 - Posted by Steve Marks to MySQL, PHP, Software, Web Development.
When building any kind of E-Commerce site in WordPress I always have, and will for the foreseeable future, use the fantastic WooCommerce plugin. I’ve blogged about WooCommerce a few times in the past as I’ve come across various special requirements. Today is no different as I d...

How To Automatically Set WooCommerce PayPal Orders as Completed

October 22nd, 2013 - Posted by Steve Marks to MySQL, PHP, Software, Web Development.
In a normal E-commerce operation an order will be made, the customer will pay for it, the order will be fulfilled and the item(s) dispatched, at which point the order will probably be marked as ‘Completed’. This process is supported in WooCommerce and allows the order to go fro...

Product Variation post_parent Set Incorrectly From WooCommerce Import Suite

September 6th, 2013 - Posted by Steve Marks to PHP, Software, Web Development.
I’ve posted quite a lot recently about WooCommerce. It really is my first point of call when building an e-commerce solution in WordPress. In my latest project I’ve been dealing with a site that contains thousands of product variations which, to manage manually, is not feasible...

Fixing SagePay Error 4006 – The TxType requested is not supported on this account

July 6th, 2013 - Posted by Steve Marks to Web Development.
On an e-commerce site I was recently working on, the client wanted to use SagePay as their payment gateway. Integrating this was made easy due to the fact I was using WordPress and the WooCommerce plugin meaning, at the click of a button, SagePay is instantly available when the customer ch...

WooCommerce Not Working After Moving It To New Server

July 3rd, 2013 - Posted by Steve Marks to PHP, Web Development.
I’ve just moved an e-commerce WordPress site that uses the WooCommerce plugin to another server and, when going to view the new site, I started receiving the following error: PHP Fatal error: Call to a member function is_visible() on a non-object in /public_html/wp-content/plugins/wo...

How To Display WooCommerce Featured Products Without a Shortcode

June 22nd, 2013 - Posted by Steve Marks to MySQL, PHP, Web Development.
WooCommerce comes with a number of useful shortcodes to allow quick insertion of WooCommerce related content within posts and pages. One of these shortcodes can be used to display featured products like so: [featured_products per_page="12" columns="4"] The above would output the featured p...
WooCommerce attributes

Listing, Linking And Refining By Attributes In WooCommerce

February 21st, 2013 - Posted by Steve Marks to (X)HTML / CSS, MySQL, PHP, Web Development.
I’ve been working on an e-commerce WordPress website that uses the WooCommerce plugin to power the shop and checkout process. The plugin has made the setup of the shop very simple and handles the majority of the tasks associated with an online store. One thing that I did struggle wit...