Blog Archives

Disable Specific States in Ubercart

Here’s a quick example that illustrates how to remove a few State/Province options from the billing and shipping panes of the Ubercart checkout form, as well as the order edit/create form. Please understand there are other ways to do this (like altering the united_states_840_1.cif file and

Tagged with: , , ,
Posted in Development

Get the Value of the Cheapest Option for an Ubercart Product

This is just a quick code example. Imaging you have an Ubercart attribute that has several options and you’d like to show an “As low as $X.XX” price on the frontend. Here’s a simple solution. Note that if you wanted

Tagged with: , , ,
Posted in Development

Adding a Custom Token to the Ubercart (before version 2.3) Email Templates

This tutorial is for Ubercart versions earlier than version 2.3. There is a newer version of this example for Ubercart 2.3 or later. In this post I’ll show how to set up an extra token for use in an Ubercart template. This will

Tagged with: , , , , ,
Posted in Development

Adding a Custom Token to the Ubercart (version 2.3 or newer) Email Templates

This tutorial is for Ubercart versions later than version 2.3. If you’re using an older version of Ubercart, you’ll want to see this example. This example is very similar, but accommodates the changes made to the template system in Ubercart. In this post I’ll show how

Tagged with: , , , , ,
Posted in Development