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

Dropping short description

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-08-2005, 10:31 AM
 
campi54 campi54 is offline
 

Advanced Member
  
Join Date: Dec 2004
Location: Anaheim, CA
Posts: 91
 

Default Dropping short description

Hi all,

This is sort of two parts:
I am working from the customer/main/products.tpl

I would like to drop the short description from the list page but keep it in the detail page. Can't quite find the code.
Here is what I am talking about:
http://www.caltape.com/caltape/home.php?cat=3
I would like to remove the redundancy.

The same goes for the sku, but if I remove the following it also removes it from the detail page as well.
Code:
{$lng.lbl_sku}: {$products[product].productcode}
Should I be working in another tpl?

any help would be great
__________________
x-cart Gold 4.0.12
Server Linux
Accessing from Mac OS 10.4
Reply With Quote
  #2  
Old 02-08-2005, 10:41 AM
 
balinor balinor is offline
 

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

Default

Need to open up the shop for us to see it, or at least give us the key

Are you working with a single column or multiple columns? Removing the SKU from the products page won't affect the detail page.....
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-08-2005, 11:14 AM
 
campi54 campi54 is offline
 

Advanced Member
  
Join Date: Dec 2004
Location: Anaheim, CA
Posts: 91
 

Default

Sorry about that. Try it now
__________________
x-cart Gold 4.0.12
Server Linux
Accessing from Mac OS 10.4
Reply With Quote
  #4  
Old 02-08-2005, 11:20 AM
 
balinor balinor is offline
 

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

Default

Ok, you are indeed in the right template, products.tpl. To remove the short description, just remove or comment out this line:

Code:
{$products[product].descr|truncate:300:"...":true}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 02-08-2005, 12:04 PM
 
campi54 campi54 is offline
 

Advanced Member
  
Join Date: Dec 2004
Location: Anaheim, CA
Posts: 91
 

Default

Works perfect! Thanks a ton.

Michael
__________________
x-cart Gold 4.0.12
Server Linux
Accessing from Mac OS 10.4
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 05:00 AM.

   

 
X-Cart forums © 2001-2020