Closed (fixed)
Project:
Commerce Kickstart
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2013 at 10:19 UTC
Updated:
22 Feb 2013 at 15:00 UTC
Hi all,
I'm Having the same problem as http://drupal.org/node/1844228 , so on I found useful to add theme hook suggestion with node type to let themers change product depending if it is for example a t-shirt or a book.
So you can override the default node--product--type.tpl.php with node--book--product--type.tpl.php or/and node--tshirt--product--type.tpl.php.
| Comment | File | Size | Author |
|---|---|---|---|
| tplbynodetype.patch | 1.84 KB | aleix |
Comments
Comment #1
jsacksick commentedI commited a different patch in dev that adds a lot of template suggestions, you're now able to override by node type and view mode, here's the list of the possible templates.
Comment #2
jsacksick commentedHere's the commit.
https://code.drupalcommerce.org/#/c/621/