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)
-   -   Dropping short description (https://forum.x-cart.com/showthread.php?t=12039)

campi54 02-08-2005 10:31 AM

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

balinor 02-08-2005 10:41 AM

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.....

campi54 02-08-2005 11:14 AM

Sorry about that. Try it now

balinor 02-08-2005 11:20 AM

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}

campi54 02-08-2005 12:04 PM

Works perfect! Thanks a ton.

Michael


All times are GMT -8. The time now is 11:44 PM.

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