willoller.com

Avatar

Learning to match the beat of the Old World man.

XCart Thumbnails on checkout page

Change customer/main/cart_details.tpl

Change {section name=prod_num loop=$cart.products} to {section name=prod_num loop=$products}

Add [php]{if $products[prod_num].is_pimage eq ‘W’ }{as sign var=”imageid” value=$products[prod_num].variantid}{else}{assign var=”imageid” value=$products[prod_num].productid}{/if}{include file=”product_thumbnail.tpl” productid=$imageid image_x=80 product=$products[prod_num].product tmbn_url=$products[prod_num].pimage_url type=$products[prod_num].is_pimage}[/php]

Note the bit image_x=80; change to taste.
Also, you can restore the config default by making it image_x=$config.Appearance.thumbnail_width

No Comments, Comment or Ping

Reply to “XCart Thumbnails on checkout page”

Before you go