Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | delete_commerce_customer_theme-1873736-1.patch | 655 bytes | serialjaywalker |
Comments
Comment #1
serialjaywalker CreditAttribution: serialjaywalker commentedThe attached patch removes the function commerce_customer_theme().
Comment #2
serialjaywalker CreditAttribution: serialjaywalker commentedComment #3
rszrama CreditAttribution: rszrama commentedMight this be a duplicate of: #1342374: Commerce entities should define their templates (which actually takes the reverse approach to simply removing the theme hook)
Comment #4
rszrama CreditAttribution: rszrama commentedYeah, 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.