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.

Files: 
CommentFileSizeAuthor
tplbynodetype.patch1.84 KBaleix

Comments

Status:Active» Fixed

I 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.

  • node--product--type (For the generic one)
  • node--(node-type) : e.g node--bags-cases.tpl.php
  • node--product--type--(view-mode).tpl.php
  • node--product--type--(view--mode).tpl.php (For backward compatibility)
  • node--(node-type)--(view-mode).tpl.php : eg node--bags-cases--product-list.tpl.php

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.