| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
changing the alt for thumbnail in products page | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
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.
__________________
Version 4.0.17 |
|||||||
|
#2
|
|||||||
|
|||||||
|
You can't really edit it on an individual basis. You can see how it is coded in product_thumbnail.tpl
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#3
|
|||||||
|
|||||||
|
Hi Ryan,
Can you please show me what line it is?
__________________
Version 4.0.17 |
|||||||
|
#4
|
|||||||||
|
|||||||||
|
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.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
|
#5
|
|||||||
|
|||||||
|
Thanks a lot, found it
__________________
Version 4.0.17 |
|||||||
|
#6
|
|||||||
|
|||||||
|
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
__________________
Version 4.0.17 |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||