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

Manufacturers in SUB-categories.....

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 06-24-2005, 11:02 AM
 
maildodge maildodge is offline
 

Senior Member
  
Join Date: Feb 2005
Posts: 109
 

Default

I was searching ages for something like this. All the other posts just didnt seem to work.

This was simple and works great. Thanks
Reply With Quote
  #12  
Old 06-25-2005, 04:05 PM
  KCAutosound's Avatar 
KCAutosound KCAutosound is offline
 

eXpert
  
Join Date: Feb 2005
Posts: 220
 

Default

I was trying to put this into the product.tpl as well so I would display under the product name but all it shows is Manufacturer: as if it isn't grabbing from the database. Any ideas?
[/b]
__________________
X-Cart version 4.7.6 Gold
xcartmods.co.uk - Ultra Template
Reply With Quote
  #13  
Old 06-26-2005, 04:00 PM
 
dgrif dgrif is offline
 

Advanced Member
  
Join Date: Sep 2003
Posts: 68
 

Default

I tried this and it didn't change anything. It didn't give me any errors.
Is there a certain place I am suppose to add the code to product_t.tpl?

Thanks for any help.

Donna
__________________
x-cart-4.0.13 gold
Reply With Quote
  #14  
Old 09-11-2005, 05:50 PM
 
casey casey is offline
 

Newbie
  
Join Date: Aug 2005
Posts: 4
 

Default Same problem

Quote:
Originally Posted by KCAutosound
I was trying to put this into the product.tpl as well so I would display under the product name but all it shows is Manufacturer: as if it isn't grabbing from the database. Any ideas?

Same problem here...Nothing happens and I NEED this. Anyone?

The only thing I can think of is that when I was pre-savvy I changed "Manufacturers" to "Designers" in the search and replace lang variables on the backend instead of using webmaster mode.
__________________
X-Cart version 4.0.14
Apache/1.3.33 (Unix)
PHP 4.3.11
Reply With Quote
  #15  
Old 09-11-2005, 06:15 PM
 
casey casey is offline
 

Newbie
  
Join Date: Aug 2005
Posts: 4
 

Default restored

::fixed::

and I'd be glad to post what I did but it was a variation of trial and error fom many of the posts here.
__________________
X-Cart version 4.0.14
Apache/1.3.33 (Unix)
PHP 4.3.11
Reply With Quote
  #16  
Old 09-11-2005, 06:50 PM
 
LouOffroad LouOffroad is offline
 

Member
  
Join Date: Nov 2004
Posts: 14
 

Default

Quote:
Originally Posted by KCAutosound
I was trying to put this into the product.tpl as well so I would display under the product name but all it shows is Manufacturer: as if it isn't grabbing from the database. Any ideas?
[/b]

In product.tpl after
Code:
{$product.avail}</SPAN>{else}{$lng.txt_no}{/if} {$lng.txt_items_available}</TD></TR> {/if}

Place this code
Code:
{if $product.manufacturer eq 0} {else} <TR><TD align="left" valign="middle">{$lng.lbl_manufacturer}:</TD><TD>{$product.manufacturer}</TD></TR>{/if}


This works for us in 4.0.12 perfectly. Granted this will not show under the product name but will show under the DETAILS section of the product page. You'll have to play with it a bit but put the code where you want in product.tpl. Should work anywhere.

NOTE: This code will not display a manufacturer if one is not assigned to that particular product.

Cheers!
__________________
New X-Cart - Still in development
Reply With Quote
  #17  
Old 07-13-2006, 06:30 AM
 
Amy Amy is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 147
 

Default

anyone have any success with this for Pro yet?
__________________
X-Cart Pro 4.0.19; Unix

Other:
XAOM
XOffers
XGift Reg

Other Mods:
Customers Who Also Bought, Download Link Regenerate, Easy Checkout, Newest Products, SEO/CDSEO, Marketing Manager Pro, View Wishlist for Providers (custom by xcart), Email New Releases (a fav!), Telefirma's Dynamic Image Generator, Download Links on Invoice
Reply With Quote
  #18  
Old 12-11-2006, 04:33 PM
 
gastu gastu is offline
 

Senior Member
  
Join Date: Oct 2005
Location: Chile
Posts: 105
 

Default Re: Manufacturers in SUB-categories.....

no work in 4.1.x
__________________
Gonzalo Astudillo Pizarro | https://about.me/gonzaloastudillo
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 10:57 AM.

   

 
X-Cart forums © 2001-2020