1 reply [Last post]
antsa's picture
Offline
Joined: 02/18/2013
Juice: 90
Was this information Helpful?

Hi,

I'm working on a Drupal 7 / Ubercart 3 site, and I'm currently theming the product pages.

The problem I'm facing is that when all the product images I upload are show up the same size. What I'd like to do is to have the first product image as the class uc_product and the rest of the images as the uc_product_list class. I would also like have the thumbnails on one line instead of being on multiple lines (see attachment).

I have colorbox installed and functioning well.

At the moment my node--product.tpl.php looks this for the images:

  <?php  if ($view_mode == 'teaser')
    print
render($content['uc_product_image']['0']);
    else
    print
render($content['uc_product_image']);
   
?>
PreviewAttachmentSize
Screen Shot 2013-04-08 at 12.50.54.pngScreen Shot 2013-04-08 at 12.50.54.png123.47 KB
anil's picture
Offline
Joined: 01/08/2014
Juice: 3
Ubercart

Dear Sir,
I am beginner in drupal. I have working on a e-commerce project. I use ubercart module. I create more product post. but really i want like this :

http://www.flipkart.com/mens-clothing/winter-seasonal-wear/pr?p%5B%5D=fa...

plz check it.

Plz help me sir.

what requirement