hi,
- copy node.tpl.php and rename node--product.tpl.php - if your product type is "product" otherwise node--yourproductname.tpl.php in your theme directory
(node.tpl.php file is too in your theme directory)
- to be replace the following lines, line 102:
<?php print render($content); ?>- you have to print the necessary ubercart variables, in required format,
for example:
<?php
if ($view_mode == 'teaser')
print render($content['uc_product_image']['0']); <!-- in teaser print only the first product image -->
else
print render($content['uc_product_image']); <!-- in full product node view the images style product_image -->
print('<div class="sell">' . $sell_price) . '</div>');
print render($content['add_to_cart']);
print render($content['body']);
print(...);
?>- variables name by drupal devel modul,
...of course, still needs to be formatted in a css file
my drupal 7 + ubercart 3 product (theme based on PSD - test drupal site): http://drupalthemes.gevapc.hu/hu/product/business-psd
and a category list width teasers of the products: http://drupalthemes.gevapc.hu/hu/catalog/9
This will help you?
