X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   change image size on "checkout" and "download (https://forum.x-cart.com/showthread.php?t=18872)

Amy 12-25-2005 04:51 PM

change image size on "checkout" and "download
 
How could I change it to either a) not display a thumbnail image on either of these pages and/or display just a 150x150 image insteat of the "full size" 800x800 let's say image on those pages?

balinor 12-26-2005 04:42 AM

Edit cart.tpl and either delete this whole part:

Code:

<TD width="90" align="center" valign="top">
{if $active_modules.Special_Offers ne "" and $products[product].have_offers}
{include file="modules/Special_Offers/customer/product_offer_thumb.tpl" product=$products[product]}
{else}
{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$products[product].image_x image_y=$products[product].image_y product=$products[product].product tmbn_url=$products[product].tmbn_url}
{/if}
</TD>


or just change the image_x=$products[product].image_x to image_x=150 and delete the image_y part.

Amy 12-30-2005 06:26 PM

this worked perfectly on the cart checkout page - what about where I could alter the image that is found when they hit the download.php page for downloading a linK?

Amy 12-30-2005 06:39 PM

Got it and posting in case anyone else needs it:

In the Admin - Edit Templates

modules/Egoods/main.tpl

Change same as above.


All times are GMT -8. The time now is 07:46 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.