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.

#1 delete_commerce_customer_theme-1873736-1.patch655 bytesserialjaywalker
PASSED: [[SimpleTest]]: [MySQL] 3,570 pass(es). View


serialjaywalker’s picture

655 bytes
PASSED: [[SimpleTest]]: [MySQL] 3,570 pass(es). View

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.