All posts in Tutorials

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 Keep Reading…

WordPress Settings API Hidden Field

This short article covers one way of creating hidden fields with the WordPress Settings API. This is useful for more than just creating hidden input fields; for instance I used it when I wanted to render a number of checkboxes in a single field, yet still have the checkbox options managed by the Settings API. The WordPress Settings API The WordPress Settings API is a great, if poorly documented addition Keep Reading…

Creating a Custom Plugin For Your WooCommerce Shop

I plan to put together a mini series covering the basics of properly planning, engineering, launching and maintaining a WooCommerce shop. In the future as I write additional articles I will link them together, for now this first article will cover the basics of creating a custom plugin for your WooCommerce site, and provide you with a plugin skeleton to download and use as a starting point. This article assumes Keep Reading…

Configure Magento Products by URL

Being able to link to a configurable product page with particular product options configured is clearly a valuable feature to have in an ecommerce platform. Both to satisfy one of the primary goals of ecommerce: reducing friction in the sales process (by having a product configured and ready for purchase for a visitor), and to meet requirements of services like Google Checkout by providing unique URLs to pre-configured products, are Keep Reading…

Add a WordPress Custom Bulk Action

Like me you probably woke up this morning assuming that adding a new bulk action to WordPress would be as easy tracking down the correct filter or implementing the right action hook. If so, then you might have had a rude awakening when you attempted to make use of the promising-looking filter named bulk-actions-screenid and failed. Thanks to a couple of posts on the subject I was able to create Keep Reading…

Theming WooCommerce: How to Override WooCommerce Template Files

To override WooCommerce template files in your theme (or better yet, child theme) simply make a folder named ‘woocommerce’ within your theme directory, and then create the folders/template file you wish to override within it. Example As an example, lets override the price template for the single product page to add a notice. First we locate the template file in question at: woocommerce/templates/single-product/price.php (see the full list of templates). Next, Keep Reading…

Magento/WordPress Development and Deployment

First off, this post owes a debt of gratitude to Ashley Schroder and Colin Mollenhour, without whom it would not exist. The goal of this article is to describe a development environment configuration that’s ideally suited for developing and deploying version controlled plugin/extension code, that is plugged in to a much larger system codebase. This is precisely the situation when developing extensions/override code for Magento, or plugins for WordPress and Keep Reading…

Date Range Picker Similar to Google Analytics

I’ve always loved the calendar date range selector in Google Analytics, it’s extremely user-friendly for the task of selecting a range of dates; much more so than the typical dual input boxes with independent calendars. There are a few options out there for replicating the Google Analytics range picker, however I couldn’t seem to find any that offered the functionality, looks, and ease of use right out of the box. Keep Reading…

How to Add Custom Product Tabs to WooCommerce

The free Custom Product Tabs plugin for WooCommerce lets you add a custom tab to the product view page. The new tab is easily configured from the Product admin page where you can set the tab name, and content containing plaintext, HTML or shortcodes. This plugin has been tested with the Wootique theme, but should be compatible with any WooCommerce theme. Create the Custom Tab View the Custom Tab Installation Keep Reading…

WordPress Comments Feed 404 Fixed

I logged in to Google Webmaster Tools today and was greeted with a new crawl error, specifically a 404 Not Found for the Comments Feed url https://www.skyverge.com/comments/feed/. I requested the page and sure enough, it was indeed a 404. A quick search turned up a number of threads and discussions regarding this issue, which seems to stem from having a new site without a single comment yet. How embarrassing. Now, Keep Reading…