![]() |
Manufacturers In Place of Categories - home.tpl issue.
Thanks for taking a few minutes to help me with this, here's the issue:
Last year we realized we have WAY too many categories to look good on a page but considerably less named brands. So, we switched out the manufacturers for "brand names" and on the home.tpl page where we found categories.tpl we replaced it with the [if] statements for the manufacturers.tpl Below is the edit I've done to the home.tpl page on our test store but for some reason we keep seeing the categories but not the manufacturers ... even when I took the whole [if] statement for the categories out of the file. And I'm stumped as to why. Perhaps I need to edit another page that I'm not thinking of? I don't think I handled the code wrong but maybe? I tried cleanup.php thinking it was the cache but no good there either... so yea, I could use a clue. :oops: The code I replaced is in red and the code that I replaced it with is in green. Any advice would be GREATLY appreciated. Code:
{* |
Re: Manufacturers In Place of Categories - home.tpl issue.
did you edit the home.tpl in the customer folder or the skin1 folder?
all .tpl are in the customer folder for 4.2 |
Re: Manufacturers In Place of Categories - home.tpl issue.
We're going in through the Admin Panel, Edit Templates, which I believe takes you directly into the skin1 folder.
|
Re: Manufacturers In Place of Categories - home.tpl issue.
all templates are in the akin1/customer folder.
if you edit the home.tpl in the skin1 folder there will be no changes |
Re: Manufacturers In Place of Categories - home.tpl issue.
Went in and double checked where we were at when editing. We are definitely in the right place ie: skin1/customer/home.tpl
Yet the problem still persists . . . . Tried different browsers, used the cleanup.php all to make sure it was not a cache issue. |
Re: Manufacturers In Place of Categories - home.tpl issue.
Thank you for trying to help Ashley. Sorry it didn't work. :(
Okay, so is there anywhere else that we'd need to edit other than skin1/customer/home.tpl to make the manufacturers appear where the categories are in my test store? I'm fiddling around with this again today and even with fresh eyes of being away from the code for a while I'm still not seeing how to make it work. Oddly I got it working on my 4.1.12 store (see signature for link) but I can't get it to work in 4.2 and their both on the same host so I'm sure it's not some problem on server side. *sigh* I'm open to any suggestions right now... hammers, pick axes, alien abductions... anyone got any ideas? :roll: |
Re: Manufacturers In Place of Categories - home.tpl issue.
Maybe you've done this already but check your general settings / manufacturers and make sure that "Show manufacturers list in the menu column" is ticked
|
Re: Manufacturers In Place of Categories - home.tpl issue.
Double checked that also, it is checked so that does not seem to be the problem.
|
Re: Manufacturers In Place of Categories - home.tpl issue.
For everyone who may read this thread in the future; if you use the fashion mosaic skin with X-Cart 4.2.x then you have to edit two templates to hide the categories menu:
1. skin1/customer/main/welcome.tpl - to hide the categories from the index page. 2. skin1/customer/home.tpl - to hide the categories from the rest part of the store. Both must be edited to make the changes apply. Just thought I'd share what I learned. |
All times are GMT -8. The time now is 03:50 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.