commerce_customer_theme defines the commerce_customer_profile theme hook, but doesn't implement a theme hook or template. The result is that (by default) customer profiles aren't themed in accordance with entity.tpl.php, which is inconsistent with the other Commerce entities.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

serialjaywalker’s picture

The attached patch removes the function commerce_customer_theme().

serialjaywalker’s picture

Status: Active » Needs review
rszrama’s picture

Might this be a duplicate of: #1342374: Commerce entities should define their templates (which actually takes the reverse approach to simply removing the theme hook)

rszrama’s picture

Category: bug » task
Priority: Minor » Normal
Status: Needs review » Closed (duplicate)

Yeah, let's go ahead and mark this a duplicate of the one I linked above and get that issue into the 1.6 release. No point committing a patch to take it out here when we're just gonna add it back in (with the additional required code) there.