Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

changing the alt for thumbnail in products page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-08-2005, 03:01 PM
 
Dorette Dorette is offline
 

Advanced Member
  
Join Date: Jun 2005
Posts: 71
 

Default 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.
__________________
Version 4.0.17
Reply With Quote
  #2  
Old 07-08-2005, 04:47 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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
Reply With Quote
  #3  
Old 07-17-2005, 10:54 PM
 
Dorette Dorette is offline
 

Advanced Member
  
Join Date: Jun 2005
Posts: 71
 

Default

Hi Ryan,
Can you please show me what line it is?
__________________
Version 4.0.17
Reply With Quote
  #4  
Old 07-18-2005, 12:14 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default

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.
Reply With Quote
  #5  
Old 07-18-2005, 12:33 AM
 
Dorette Dorette is offline
 

Advanced Member
  
Join Date: Jun 2005
Posts: 71
 

Default

Thanks a lot, found it
__________________
Version 4.0.17
Reply With Quote
  #6  
Old 07-18-2005, 01:07 AM
 
Dorette Dorette is offline
 

Advanced Member
  
Join Date: Jun 2005
Posts: 71
 

Default

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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:19 AM.

   

 
X-Cart forums © 2001-2020