| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Manufacturers in SUB-categories..... | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Manufacturers in SUB-categories.....
Just trying to get each products Manufacturer listed in the Sub-Categories rather then listing the SKU#
Anybody know the code to pop in the 'products.tpl' or 'products_t.tpl' file to make that happen? Much obliged'... - Shannon
__________________
- www.TheShotList.com X-Cart version 4.0.13 PHP 4.3.10 MySQL 4.0.23 Web server Apache Operation system Linux Perl 5.008004 XML parser (expat) 1.95.6 |
|||||||
#2
|
|||||||
|
|||||||
This code should work
It took a while but I think i figured it out. This code works for me (X-Cart 4.0.13)
in include/search.php add this code after $products[$k]['fulldescr'] = str_replace("\n"," ",$products[$k]['fulldescr']); Code:
In products_t.tpl: Code:
__________________
|| E L E V E N || |
|||||||
#3
|
|||||||
|
|||||||
works like a charm!
this should be moved to completed free mods. - Shannon
__________________
- www.TheShotList.com X-Cart version 4.0.13 PHP 4.3.10 MySQL 4.0.23 Web server Apache Operation system Linux Perl 5.008004 XML parser (expat) 1.95.6 |
|||||||
#4
|
|||||||
|
|||||||
Done!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
What exactly does this do? Very interested. Couldn't figure out what the change does though. Thanks.
__________________
xcart v3.5.8 (Unix) and xcart v4.0.13 |
|||||||
#6
|
|||||||
|
|||||||
what does it do?
On the thumbnail pages, it displays a product's manufacturer and links to the manufacturer's page. Previously (as far as I know), you could only do that on the product detail pages.
__________________
|| E L E V E N || |
|||||||
#7
|
|||||||
|
|||||||
Oh Ok I see how it works now. Cool mod. Thanks for sharing!
__________________
xcart v3.5.8 (Unix) and xcart v4.0.13 |
|||||||
#8
|
|||||||
|
|||||||
Re: This code should work
The code is not working for me, i have xcart pro- 4.0.13.
the correct templete for modifications is...products_t.tpl or products.tpl thanks Quote:
__________________
xcart Pro - Version 4.0.13 |
|||||||
#9
|
|||||||
|
|||||||
The mod was written for Gold, it may take some tweaking for Pro...
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#10
|
|||||||
|
|||||||
location?
i can't even find products_t.tpl
I put the code for products.tpl and when i preview it gives error: Fatal error: Smarty error: [in ./main/products.tpl line 10]: syntax error: invalid attribute name: '=' (Smarty_Compiler.class.php, line 1512) in /www/e/eyeballstore/htdocs/store/Smarty-2.6.3/Smarty.class.php on line 1082 using X-cart gold 4.0.13
__________________
Jubin Kim Eyeball Records X-Cart Gold 4.0.13 |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|