Will Oller .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:
  1. <a href="product.php?productid={$products[prod_num].productid}">{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}</a>

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

del.icio.us:XCart Thumbnails on checkout page digg:XCart Thumbnails on checkout page reddit:XCart Thumbnails on checkout page

No Comments, Comment or Ping

Reply to “XCart Thumbnails on checkout page”