I created a custom template file for myproducttype display and placed it under commerce_kickstart -> omega_kickstart -> template directory.
But the file wasn't picked up even after numerous Cache flushes & reinstalling theme.
Then I installed Themer to see the order of template files.
In case of product, the template files are always picked up in below order & thats the reason that our custom template files will never be picked up.
Candidate template files:
node--product--type.tpl.php < node--20.tpl.php < node--myproducttype.tpl.php < node.tpl.php
May I know the reason for this hardcoding?
and what is the workaround to resolve it without hacking into.
Comments
Comment #1
Cookiz CreditAttribution: Cookiz commentedComment #2
kent_drupal CreditAttribution: kent_drupal commentedAny update on this issue?
Comment #3
jsacksick CreditAttribution: jsacksick commentedThis has been fixed here (#1911600: template suggestion by node type in commerce_kickstart_product_ui submodule).