All db columns for customer profiles should have token support.

Comments

pcambra’s picture

rszrama’s picture

Status: Needs review » Fixed

Committed with two minor changes:

  1. Currently, we're using $profile to refer to a customer profile object throughout the Customer module. I updated the token integration to use this, though there was a bit of discussion I had with Bojhan about possibly changing "Customer profile" to just "Customer." I'm still undecided, as I'm not sure that will send the right message to a store administrator when 1 physical customer (a Drupal user) is represented as X customers of Y customer types.
  2. I changed author to owner, as with the Order tokens. We don't really know who "authored" a customer profile... it could've been an administrator or the user through checkout, but the uid does tell us who the profile belongs to. This makes is consistent with the language in the schema as well (see the foreign keys definition for the commerce_customer_profile table).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.