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

Featured Products Multicolumn Format w/Descriptions

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-18-2011, 09:36 AM
 
Dawn Howard Dawn Howard is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 229
 

Default Featured Products Multicolumn Format w/Descriptions

Can it be done? Currently the only way I can display featured products with descriptions is as a single column.
__________________
Dawn
X-Cart Business 5.3.6.3
Mods:
Qty input - Custom Mod
Part numbers near title - Custom Mod
Membership approval before ordering - Custom Mod
Order Forms - Custom Mod
Freight on Board - Custom Mod
Catalog Order Form
Call For Price
Template: Crisp White skin
Running on Windows
Reply With Quote
  #2  
Old 10-18-2011, 10:33 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Featured Products Multicolumn Format w/Descriptions

Yes. You need to modify products_t.tpl and include description in it. If you need it to work on feature dproducts only you can make a copy of that file and use it for featured products only
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 10-25-2011, 07:52 AM
 
Dawn Howard Dawn Howard is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 229
 

Default Re: Featured Products Multicolumn Format w/Descriptions

Thanks CFL. Could anyone give me some more info on what to modify within the file? I do only need it to work on the featured products.
__________________
Dawn
X-Cart Business 5.3.6.3
Mods:
Qty input - Custom Mod
Part numbers near title - Custom Mod
Membership approval before ordering - Custom Mod
Order Forms - Custom Mod
Freight on Board - Custom Mod
Catalog Order Form
Call For Price
Template: Crisp White skin
Running on Windows
Reply With Quote
  #4  
Old 10-30-2011, 03:17 AM
 
Eyeglasses Expert Eyeglasses Expert is offline
 

eXpert
  
Join Date: May 2010
Posts: 307
 

Default Re: Featured Products Multicolumn Format w/Descriptions

I like this function also.
Reply With Quote
  #5  
Old 11-07-2011, 05:41 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Featured Products Multicolumn Format w/Descriptions

1. Copy the "skin/common_files/customer/main/products_t.tpl" template to "skin/%your_skin%/customer/main/products_t.tpl"
(e.g. "skin/2-columns/customer/main/products_t.tpl" in case of 2-columns skin).

2. Add the following code:

Code:
<tr{interline name=products_matrix additional_class="product-description-row"}> {*Display product description *} {foreach from=$row item=product name=products} {if $product} <td{interline name=products additional_class="product-cell"} style="width: {$cell_width}%;"> <span class="product-descr">{$product.descr|amp}</span> </td> {/if} {/foreach} </tr>

e.g. right before the following one:
Code:
{*Display product code*}
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
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 11:25 AM.

   

 
X-Cart forums © 2001-2020