WP Development

Debugging WordPress

The following are some techniques I use nearly every day for debugging WordPress and WooCommerce, and can be used for plugin or theme development equally. Echoing or printing to the screen will only get you so far when debugging, especially in a complex framework like WordPress; to really understand the code flow, and to trace and fix issues, you need to be able to log messages to a file. For this WordPress makes use of…

WooCommerce reviews + tutorials

How to Determine the WooCommerce Current Page

WooCommerce makes it a snap to programmatically determine the current page through the use of their Conditional Tags. These functions can be used to check whether the current page is the shop page: is_shop(), or a product page: is_product(). See WooCommerce Conditional for the full list. These functions are based on the standard WordPress Conditional Tags, and thus behave in the same manner. Meaning that if you try to determine your current page from within…

WooCommerce reviews + tutorials

Add ‘Sold Out’ to WooCommerce Variable Product Dropdown

Note: Due to a change in WooCommerce 2.0 the following code no longer works, and I’m not seeing any way of making it compatible again – Justin This is a quick little ‘how to’ that came up in a recent client WooCommerce request. The client wanted to add the text ‘sold out’ to the variable product configuration dropdowns on the product page to make it more clear to customers when a variation was out of…

WooCommerce extension updates & releases

CyberSource Payment Gateways for WooCommerce

The CyberSource payment gateway is now available for WooCommerce. Recently FoxRunSoftware released two CyberSource payment gateway plugins for accepting credit card payments on your WooCommerce storefront, and which described below. CyberSource SOAP The CyberSource SOAP payment gateway is a “direct” or “server-to-server” implementation which uses the CyberSource SOAP protocol to provide the most seamless checkout process possible for accepting credit cards. Though customer credit card data is not stored on your server, it is handled…

WooCommerce extension updates & releases

WooCommerce Sequential Order Numbers Pro Released

Today marks the release of the WooCommerce Sequential Order Numbers “Pro” plugin, the first of many practical and useful WooCommerce extensions to be released by Fox Run Software. If you don’t like the essentially random order numbers that WooCommerce uses, and you perhaps want to customize them a bit as well, then this plugin could be a good fit for you. The Pro version of the plugin builds upon the limited functionality of the free…

GitHub Repository Not Found Workaround

Today I encountered an issue with GitHub where I was unable to fetch a remote repository to merge into my local clone. Everything seemed to be configured correctly, and I am able to fetch repositories from the same user without a problem, so it seems like there is some issue with this particular repository. Although I have a support ticket open with GitHub to try and determine the root cause of the issue, for now…

WooCommerce Sage ERP MAS Connector Plugin Available

Update: We no longer sell or support this extension for new customers, but we have open-sourced the code for the integration. Please read this post for more details! SkyVerge announces the release of the WooCommerce-Sage Connector plugin. This plugin allows you to easily export order and customer data from your WooCommerce storefront to your WebServices-enabled Sage ERP MAS 90/200 backend, for order processing. WooCommerce orders are assigned an MAS order number, and WooCommerce customer records…

How to Upgrade Magento

I’ve been meaning to write an article on safely upgrading Magento for some time now, and with the release of Magento CE version 1.7.0 yesterday, April 24, 2011, now seems like a great time. These steps and commands are the actual ones I follow to upgrade client Magento sites, and I perform these core upgrades from the command line only. Please read through and understand all the steps before starting to follow them. Backup –…