Post by opencartsocal » Thu Nov 24, 2011 5:26 pm

Hi,

Please help, I been trying for weeks to find a solution to display the sub-categories in the homepage. I have list of sub-categories under the Product and want those sub-cats to show in the homepage like the image below. However, it only shows in the product page but not the homepage. Any help would be appreciated. Thanks 8)
homepageCAT.png

homepageCAT.png (12.45 KiB) Viewed 1920 times


Newbie

Posts

Joined
Thu Nov 24, 2011 5:17 pm

Post by dwwebdesign » Sat Jan 21, 2012 6:40 am

Has anyone got a solution as to how to perform what "opencartsocal" is asking.

I am in the same boat. I have a categories box on my front page which has been modified to show the parent categories in two columns however I can't seem to tweak it to show all of the child categories as well as parent categories.

I would post a link to the front page but the site is not live yet however it's not critical that you need to see it.

Any help would be great I am on latest 1.5.1.3 opencart

Dean
DW Website Designs a division of GS Systems
http://www.dwwebdesigns.co.uk | http://www.gssystems.biz


User avatar
Newbie

Posts

Joined
Sat Jan 21, 2012 6:35 am

Post by travist6983 » Thu Apr 26, 2012 10:26 am

I am looking for the same thing?

New member

Posts

Joined
Sun Jan 09, 2011 1:49 am

Post by amdev » Thu Apr 26, 2012 12:18 pm

catalog/view/theme/default/stylesheet/stylesheet.css

Code: Select all

.box-category > ul > li ul {
	display: none;
}
Change to

Code: Select all

.box-category > ul > li ul {
	text-decoration: none;
	color: #333;
}
it done!!! :-* :-* :-*

ร้านค้าออนไลน์
OpenCart Thailand Support Forum
How to Upgrade oc1.5 to 2.0.1.1
Upgrading OpenCart From v.1.4 or v.1.5 to V.2.2 Step by step


User avatar
Active Member

Posts

Joined
Fri Nov 27, 2009 3:40 pm
Location - Bangkok - Thailand

Post by mbstreasurista » Thu Sep 27, 2012 9:39 am

I would like this as well. Has anyone have a solution, with out using a module. I tried the above code change and it did nothing.
Thanks,
Misty


Posts

Joined
Tue Aug 14, 2012 4:15 am

Post by shunmyo » Sat Jul 06, 2013 5:21 pm

Hi,
Amdev's solution works flawlessly for me (OC 1.5.5.1) to display all sub-categories in all pages (including the home page); but what I would like to do is to show all sub-categories in the home page only, and have the default category module work normally on the other pages.
Regards

Newbie

Posts

Joined
Sat Jul 06, 2013 5:12 pm
Who is online

Users browsing this forum: Bing [Bot] and 36 guests