WooCommerce: Free Shipping For A Single Product, Standard Shipping For All Other Products

Tutorials for setting up free shipping for a single product typically include the following steps:

  1. Creating a new Shipping Class under WooCommerce > Settings > Shipping > Shipping Classes > Add Shipping Class, typically called “Free Shipping”.
  2. Assigning the new Shipping Class to the individual product under Product data > Shipping > Shipping Class
  3. Setting up a Flat Rate shipping method based on the Shipping Class under WooCommerce > Settings > Shipping > Shipping Zones.

However, in setting up this flat rate, it is assumed there is a flat rate shipping cost for all of the other products. This was not the case for a store I was administering.

Continue reading “WooCommerce: Free Shipping For A Single Product, Standard Shipping For All Other Products”

RGB Values as CSS Variables

I was working on a site that was color-coding project types and there was a need to use one color with varying opacity per project type. For the full opacity colors, I could use the hex value, the rgb syntax, or the rbga syntax with “1” as the opacity. But with so many style declarations I wanted to use a CSS variable (custom property) to define the color in one location.

Continue reading “RGB Values as CSS Variables”

Joomla’s Email Protection Script in an AJAX Response

jQuery is great. In previous posts, I have written at length about my admiration for jQuery and how it helped lay the foundation for modern Javascript with it’s intuitive API. I was using jQuery for my AZDirectory module for things like event handlers and AJAX calls. I wanted to remove the jQuery dependency, and replacing that functionality with vanilla Javascript was pretty straightforward. I ran into a huge roadblock, however.

Continue reading “Joomla’s Email Protection Script in an AJAX Response”

The National Air Traffic Controllers Association

This is my first post since July. I’ve been working almost exclusively on the development and build for the National Air Traffic Controllers Association (NATCA) website. As with projects of this caliber, I like to do a thorough write-up of my experiences during the process — the good, the bad, and the ugly.

Continue reading “The National Air Traffic Controllers Association”

The A-Z Directory Module – Version 5.3.5

Engaging with the open source community continues to be an extremely rewarding experience. I have used the open source Joomla and WordPress content management systems to run a small web development business and the A-Z Directory module for Joomla is my contribution back to the community.

Over the past 2 weeks, I have had the privilege to work with Roman Zipaj and the team at the Natural Resources Institute, University of Greenwich on a security-related matter with the module.

Continue reading “The A-Z Directory Module – Version 5.3.5”