All posts in Tutorials

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…

Adding a Notification Bar to Magento

One of the first modifications I wanted to make to my first installation of Magento was to create a simple notification bar across the top of the site for displaying announcements and notices to visitors and customers. My initial solution was to simply make use of the built-in Magento Demo Store notice, which I will describe next. Magento Notices Template A quick and easy way to display a notification bar 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…

WooCommerce 1.4 SSL Admin Mixed Content Bug

2/10/2012 Update – The good people of WooCommerce have fixed this issue as of the 1.4.2 release, so the modification described in this article is no longer needed. I have left the rest of the article untouched for historical curiosity. As I described in my most recent news posting, WooCommerce 1.4 while a great update to the excellent E-Commerce offering from WooThemes, did include at least one very minor bug. Keep Reading…

How to Exclude Traffic From Google Analytics in Magento

The Problem There are two typical ways of stopping your internal requests from appearing in and skewing your Google Analytics metrics. Both are outlined in this article from Google, but they boil down to two options: Filter by IP Filter by cookie Both are ok choices, but the first becomes unmanageable without a static IP, and doesn’t fit the laptop-based mobile development style that I prefer; and the second relies Keep Reading…