Drupal 7 Commerce's Customer Profiles Seem to Endlessly Duplicate

In Drupal 7's Commerce module there's an annoying feature that clones a shipping and billing address when the smallest changes are performed on an existing order. This is how to fix that.

Read more

Drupal 7 Rules Guide

A short list of tricks to work with different parts of Rules. I'll continue adding to this guide as I learn. RulesAnd Object Ubercart tax rules are configured to use the RulesAnd (rules_and function) which changes how you retrieve getElementName() and settings(). Their file uc_taxes.rules_defaults.inc is responsible for creating a settings page where you can add conditions to a new tax rate.  Here's the code:

Read more

Drupal 7 Creating New Actions for Rules

Code dump for my personal reference. I'll build on this topic as I continue to learn.

Read more
  •  
  • 1 of 2