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)
-   -   How do I remove Images for Products throughout the entire .. (https://forum.x-cart.com/showthread.php?t=14907)

staalejg 06-30-2005 09:59 AM

How do I remove Images for Products throughout the entire ..
 
Does someone know how to disable images for products throughout an entire x-cart site.

Thanks.

ETInteractive.com 06-30-2005 10:44 AM

Take out the img tag from /skin1/customer/main/:

product.tpl
products.tpl
products_t.tpl

Realsecurity 08-24-2006 12:35 PM

Re: How do I remove Images for Products throughout the entire ..
 
Just tried removing the images from the site !!! using this method all it seemed to do was leave images in place and error code........

what i am trying to do is keep the thumbnail images, keep the catagory icon images, just not have the PRODUCT image when clickin on the details !!!! as the product page has its own image in a template.......need to remove altogether the image on product page, and not showing either the NO IMAGE icon !!!! even removing just the icon when not using an image would be better......any ideas appreciated

balinor 08-24-2006 01:15 PM

Re: How do I remove Images for Products throughout the entire ..
 
Huh? You want to remove the X-Cart generated image from the product detail page or your own image you called in the product detail text?

Realsecurity 08-24-2006 01:22 PM

Re: How do I remove Images for Products throughout the entire ..
 
What i mean is on the product page you get a list of say 6 products per page.....a small thumbnail image and some brief text. WHEN clicking on this it opens the main product description page with the same thumbnail image, with option to click to enlarge !!!!

i want to REMOVE that image from the main product page, as i have a html template wich has an image already to place. so i only require a thumbnail on the page listing.

there must be a way of removing x-cart images from that page, !!!! let me know if there is any ideas for this.....many thanks

balinor 08-24-2006 01:23 PM

Re: How do I remove Images for Products throughout the entire ..
 
Sure there is, comment out this code in customer/main/product.tpl:

{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail"} 

Realsecurity 08-25-2006 05:07 AM

Re: How do I remove Images for Products throughout the entire ..
 
Thanks i will try this many thanks

Realsecurity 08-25-2006 01:47 PM

Re: How do I remove Images for Products throughout the entire ..
 
Many thanks, i removed the code altogether and it appears to be fine, image thumbnail shows on other pages as normal,

one thing i would like is to remove X-carts NO IMAGE icon, as if this was removed i think it would be better allround, as that way if i did want an image on any products that didnt include it in the descritpion would make it easier......any ideas appreciated.

balinor 08-26-2006 04:54 AM

Re: How do I remove Images for Products throughout the entire ..
 
Easiest way is to replace the no image .gif with a transparent 1x1 gif.

Realsecurity 09-24-2010 04:46 AM

Re: How do I remove Images for Products throughout the entire ..
 
Upgraded to 4.4 ! looking at doing the same, remove image from product description page...seems a total different layout on the tpl files! anyone have any ideas what file and line of code is responsible for displaying the thumbnail image? seems a lot more complicated then the earlier versions.....any comments appreciated.

www.dvdinfo.org

V4.4

balinor 09-24-2010 05:11 AM

Re: How do I remove Images for Products throughout the entire ..
 
Use webmaster mode - figure out what template contains it, comment it out.

Realsecurity 09-24-2010 01:13 PM

Re: How do I remove Images for Products throughout the entire ..
 
Thats what ive always done in the past, but this new version DOES NOT have a product.tpl file where you can simply blank out the if statement for include thumbnail on the description page!!! the only files available on the VIVID DREAMS CHROMO skin is products.tpl, product_details.tpl, products_list.tpl and products_t.tpl and searching through the code in those files does not reveal anything to do with listing or not listing the thumbnail image!!!! the webmaster mode brings up a list of tpl files that dont even exsist! complete mess this new version everything seems more dificult to learn......if anyone finds a solution to this problem then will be very very greatfull

www.dvdinfo.org

V4.4 latest Xcart

balinor 09-24-2010 01:17 PM

Re: How do I remove Images for Products throughout the entire ..
 
4.4 has two folders to look in - the template you are using AND the common_files folder. In this case, it is the common files, customer/main/product.tpl

Realsecurity 09-24-2010 01:55 PM

Re: How do I remove Images for Products throughout the entire ..
 
Your a STAR.....found the product.tpl and commented out <!--{include file="product_thumbnail.tpl" productid=$product.image_id image_x=$product.image_x image_y=$product.image_y product=$product.product|escape tmbn_url=$product.image_url id="product_thumbnail" type=$product.image_type}
--> this has now removed the thumbnail image from the product description, just gota learn the new layout of folders and files for this skin... Many thanks and hopefully this can be used by others who get stuck.

darren

www.dvdinfo.org

V4.4


All times are GMT -8. The time now is 02:07 AM.

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