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

Displaying the manufacturer

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

Advanced Member
  
Join Date: Jan 2005
Location: San Diego, California
Posts: 42
 

Default Displaying the manufacturer

I would like to display the manufacturer for each of my products right below the title in both the product listing and the product details displays. I created a new label called "lbl_brand" and I would like it to diplay the manufacturer.

Here is what I have so far in the products.tpl.

rigth under the Product Title line, I have:

{$lng.lbl_brand} : {$products[product].xxxxxxx} where xxxxxx stands for the name of the field that contains the manufacturer information. What is the value of xxxxxx???? i tried "manufacturer" and it didnt work.


Alternatively:
I also tried creating an EXTRA FIELD called "Brand" and inputting the names of the manufacturers in there. Then I changed the code in products.tpl by substituting "Brand" for the xxxxxxx. Tha didnt work either.

Please help.
__________________
X-Cart 4.0.9
Reply With Quote
  #2  
Old 01-20-2005, 07:37 PM
 
MetalLaw MetalLaw is offline
 

Advanced Member
  
Join Date: Jan 2005
Location: San Diego, California
Posts: 42
 

Default

no one knows?
__________________
X-Cart 4.0.9
Reply With Quote
  #3  
Old 01-21-2005, 03:46 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default

Please learn to search the forum thoroughly.

http://forum.x-cart.com/search.php

This does the trick...

http://forum.x-cart.com/viewtopic.php?t=11767&start=0&postdays=0&postorder =asc&highlight=manufacturer
__________________
xcartmods.co.uk
Reply With Quote
  #4  
Old 01-21-2005, 06:44 AM
 
MetalLaw MetalLaw is offline
 

Advanced Member
  
Join Date: Jan 2005
Location: San Diego, California
Posts: 42
 

Default

"The trick" didn't really work for me. But thanks for the patronizing remark, nonetheless. I'm glad there are helpful people like you on this board.

Balinor, where are you? I need your help.
__________________
X-Cart 4.0.9
Reply With Quote
  #5  
Old 01-21-2005, 06:51 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default

it works, read it properly
__________________
xcartmods.co.uk
Reply With Quote
  #6  
Old 01-21-2005, 07:02 AM
 
MetalLaw MetalLaw is offline
 

Advanced Member
  
Join Date: Jan 2005
Location: San Diego, California
Posts: 42
 

Default

Speaking of reading things properly, if you scroll up, you will notice that my primary aim was to include the manufaturer in the product LISTING right underneath the title. The "trick" in the link you submitted talks only about displaying the manufacturer in the produt detail page, and even as such, it does not work FOR ME.
__________________
X-Cart 4.0.9
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 03:57 PM.

   

 
X-Cart forums © 2001-2020