| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Display manufacturer logo in product.tpl | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
Re: Display manufacturer logo in product.tpl
{$manufacturer.manufacturerid}
I'm getting the first letter of the manufacturer instead of the ID http://myshop.com/manufacturers.php?manufacturerid=C (wrong) instead of: http://myshop.com/manufacturers.php?manufacturerid=2 (correct) any other ideas how to get the current manufacturers id? these smarty functions are just not intuitive - even "Advanced Member"s get the basics wrong... can we re-write them in plain php like wordpress does?
__________________
SouqBazaar |
|||||||||
#12
|
|||||||||
|
|||||||||
Re: Display manufacturer logo in product.tpl
version,
check if you've modified php code according to my previous post. Having first letter instead of manufacturerid takes place with code from post #7. Modified code is in post #10.
__________________
Regards, Piotr Markushin X-Cart PDF Catalog Generator NEW Professional X-Cart Skins Store (7 new skins added in August 2008!) ahedOffice.com - Web 2.0 Online Groupware |
|||||||||
#13
|
|||||||||
|
|||||||||
Re: Display manufacturer logo in product.tpl
thanks - works perfectly
__________________
SouqBazaar |
|||||||||
#14
|
|||||||||
|
|||||||||
Re: Display manufacturer logo in product.tpl
well almost perfect....
where can i specify the order? at the moment it is by id i would like it to be alphabetical also what options do we have when the page get's full? a few list display options in the module settings would be good: - pagination - anchor link list (by first letter) - scroller/carousel
__________________
SouqBazaar |
|||||||||
#15
|
|||||||
|
|||||||
Re: Display manufacturer logo in product.tpl
where in product.php should this code line be located
__________________
X-Cart DB Version: 5 |
|||||||
#16
|
|||||||
|
|||||||
Re: Display manufacturer logo in product.tpl
i can confirm this code works in 4.3.2
but i used {$product.manufacturer} to display name if no image is there
__________________
X-cart - 4.3.2 loads of mods and custom code |
|||||||
|
|||
X-Cart forums © 2001-2020
|