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

Have short description under item title on products page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-01-2006, 12:48 PM
 
tahirfayyaz tahirfayyaz is offline
 

Senior Member
  
Join Date: May 2006
Posts: 125
 

Default Have short description under item title on products page

Hey,

I am trying to display the short description under the title of an item on the products page. Can this be done and how.

So i want it be like this in this order from top to bottom;

Product thumbnail [link]
product title [link]
product short description
Product price [link]
more info [link]

Thanks. I hope it makes sense
__________________
Tahir
X-Cart Gold v4.4.4 [win]
Reply With Quote
  #2  
Old 06-01-2006, 01:55 PM
 
balinor balinor is offline
 

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

Default

Are you using a single column layout or multi-column for your products display?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 06-02-2006, 07:07 AM
 
tahirfayyaz tahirfayyaz is offline
 

Senior Member
  
Join Date: May 2006
Posts: 125
 

Default

Hi,

I am using a 3 column layout.
__________________
Tahir
X-Cart Gold v4.4.4 [win]
Reply With Quote
  #4  
Old 06-02-2006, 07:09 AM
 
balinor balinor is offline
 

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

Default

All you need to do is open up customer/main/produts_t.tpl and re-arrange the items the way you want them to appear. Just borrow the smarty variables for each piece from customer/main/products.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 06-02-2006, 07:31 AM
 
tahirfayyaz tahirfayyaz is offline
 

Senior Member
  
Join Date: May 2006
Posts: 125
 

Default

Ok thanks I will try that now
__________________
Tahir
X-Cart Gold v4.4.4 [win]
Reply With Quote
  #6  
Old 06-02-2006, 07:48 AM
 
tahirfayyaz tahirfayyaz is offline
 

Senior Member
  
Join Date: May 2006
Posts: 125
 

Default

Hi, I have tried to borrow the variable but It only displays one letter. This is what I have done in the products_t.tpl file

{$products[product].product}

{$products[product].product.descr}

I think I am using the incorrect product description variable.
__________________
Tahir
X-Cart Gold v4.4.4 [win]
Reply With Quote
  #7  
Old 06-02-2006, 07:50 AM
 
balinor balinor is offline
 

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

Default

Yea, it is {$products[product].descr}

You had an extra .product in there
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 06-02-2006, 07:56 AM
 
tahirfayyaz tahirfayyaz is offline
 

Senior Member
  
Join Date: May 2006
Posts: 125
 

Default

Hey. Done it. Thanks for your help. This forum is great. Im having fun modding my site and this forum helps a lot.
__________________
Tahir
X-Cart Gold v4.4.4 [win]
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 02:14 PM.

   

 
X-Cart forums © 2001-2020