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)
-   -   changing the alt for thumbnail in products page (https://forum.x-cart.com/showthread.php?t=15086)

Dorette 07-08-2005 03:01 PM

changing the alt for thumbnail in products page
 
Currently the alt for the my thumbnail tag is the title but I want to add a few more words to it, where do I edit that.

balinor 07-08-2005 04:47 PM

You can't really edit it on an individual basis. You can see how it is coded in product_thumbnail.tpl

Dorette 07-17-2005 10:54 PM

Hi Ryan,
Can you please show me what line it is?

pauldodman 07-18-2005 12:14 AM

The bit you need is right at the end; look for the "alt" code

alt="{$product|escape}" border="0">{/if}

the text then goes between the quotes, but don't forget this will appear on each thumbnail.

Dorette 07-18-2005 12:33 AM

Thanks a lot, found it

Dorette 07-18-2005 01:07 AM

Can you please help me with this?
I want to include the product type on the product details page but when I use

{if $product.product_type}{$product.product_type}{/if}

nothing shows up.
I am using the right code for product_type


All times are GMT -8. The time now is 04:23 PM.

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