| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
X-Cart 4.0.0 Showing Manufacturer on Product Page | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
I did get this to work in the product.tpl but I could not get it to work in products.tpl.
Is there a difference or a change needed? Thanks in advance. Hmm, the version listed below is wrong, I'm 0n 4.0.13
__________________
X-Cart version 4.1.6 PHP 5.1.1 MySQL server 5.0.27 MySQL client 4.1.7 Web server Microsoft-IIS/6.0 Operation system Windows |
|||||||
#12
|
|||||||
|
|||||||
pls post example link
none of the live site links above show the functionality of this mod.
can someone pls post?
__________________
Akira Graphics - www.akiragraphics.com Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_perl/1.26 PHP/4.3.3 FrontPage/5.0.2 mod_ssl/2.8.12 OpenSSL/0.9.6b/xCart 4.0 Live X-Cart Sites: www.JACAutoDesign.com |
|||||||
#13
|
|||||||||
|
|||||||||
Yes I would like to know if the manufacturers logo can be placed in the product.tpl as well as the products.tpl file?
|
|||||||||
#14
|
|||||||
|
|||||||
Isn't that in Modules/Manufacturers/customer_manufacturer_products.tpl?
Something like: Code:
__________________
4.1.9 |
|||||||
#15
|
|||||||||
|
|||||||||
Quote:
http://www.vortex-online.com/store/product.php?productid=42&cat=0&bestseller
__________________
"The point is, to make so much money, that money isn't the point anymore." Pro Version 4.0.19 Gold Version 4.1.3 Linux |
|||||||||
#16
|
|||||||||
|
|||||||||
Wow that site looks good, but I am still having problems getting the manufacturers logo to show for me.
I am just getting the standard Xcart image holder. Could someone please post the correct code to display the manufacturers logo at the top of the products template? Thnaks |
|||||||||
#17
|
|||||||
|
|||||||
Ok, this is how I did it and it works like a charm in 4.0.13. The following code first checks to see if a manufacturers image is available. If so, the image is shown as a link. I also created a language file called {$lng.lbl_click_more_manuf_products} which basically say "Click above image to see all toys under this manufacturer".
In the product.tpl add this code wherever you want the image to appear. If you cut and paste this code as is and insert it just after the "</TR></TABLE></TD>" code at around row 142, the image will appear to the right hand side in a column of it's own. Code:
In product.php at the following code just after: $main = "product"; $smarty->assign("main",$main); (you should find it near row 50) Code:
This is a great mod so I hope it works for you as well as it works for me.
__________________
X-Cart 5.3.5.4 |
|||||||
#18
|
|||||||
|
|||||||
Does anyone know how to get the manufacturer's description to display on product.tpl ? {$manufacturer.descr} isn't working. Thanks in advance for any replies! -christa
__________________
4.0.18 |
|||||||
#19
|
|||||||
|
|||||||
I figured it out...
In product.php, under this code provided above: ($smarty->assign("manufacturer", $manufacturer[0]["manufacturer"]) Add: $smarty->assign("thedescr", $manufacturer[0]["descr"]); Then in product.tpl, add: {$thedescr}
__________________
4.0.18 |
|||||||
#20
|
|||||||
|
|||||||
Re: X-Cart 4.0.0 Showing Manufacturer on Product Page
This worked for me as well. I have 4.1.10
Quote:
__________________
xcart 4.5.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|