Home Page - Mall option is not showing sub categories

Get answers to your installation and setup questions.
Post Reply
winkleink
Experience Level 2
Experience Level 2
Posts: 77
Joined: Mon Aug 16, 2010 1:36 pm

Home Page - Mall option is not showing sub categories

Post by winkleink » Mon Aug 27, 2012 1:20 pm

On my site http://www.pinkdivashop.com I have the home page set to Mall which according to the description should Lists links to your site categories along with 3-4 related subcategories (see the documentation on how to customize these subcategories).

All I am getting is links to my categories not the sub categories and unlike the example image I do not get a picture either.

I checked the documentation on the AOM site and it doesn't give me any more details.

Any advice on how to get this sorted would be appreciated.

Thanks,
Albert.
Associate-O-Matic is changing. For the better. 8)

Please CLICK HERE for our important announcement.

mcarp555
Admin
Admin
Posts: 4088
Joined: Thu Sep 14, 2006 5:19 pm
Location: United Kingdom
Contact:

Re: Home Page - Mall option is not showing sub categories

Post by mcarp555 » Tue Aug 28, 2012 12:59 am

The Mall setting will not display custom subcategories, or subcategories from a non-default category node. So if you build a category using Printers instead of Computers, it won't show the various printer subcats.

As for the images:

You can display icons next to your category names with this setting. It requires turning on the Category Icons setting under the Categories tab. Then you would need to rename the icons located in the /aom/themes/default/images folder (or whatever theme you're using) to include your category ID. For example, if you have an Apparel category, and the category ID from the Categories tab is app, then you would need to rename the icon_Apparel.gif image to icon_app.gif instead.

To use a custom image in place of the default one, you would rename the custom image to icon_app.gif and place it in the /aom/themes/default/images folder (or whatever theme you're using). The image would then display next to the category name.
Associate-O-Matic is changing. For the better. 8)

Please CLICK HERE for our important announcement.

ThanksGod
Experience Level 1
Experience Level 1
Posts: 31
Joined: Wed Feb 01, 2012 8:16 pm

Re: Home Page - Mall option is not showing sub categories

Post by ThanksGod » Sat Nov 02, 2013 5:25 am

if I use bigger size image (100 x 100) the category name (e.g. : Apparel category) is pushed too much to the right side of the image.

How do I make that category name to show right under the image?
Please help...
Thanks.
Associate-O-Matic is changing. For the better. 8)

Please CLICK HERE for our important announcement.

mcarp555
Admin
Admin
Posts: 4088
Joined: Thu Sep 14, 2006 5:19 pm
Location: United Kingdom
Contact:

Re: Home Page - Mall option is not showing sub categories

Post by mcarp555 » Sat Nov 02, 2013 11:53 am

Try this:

In the list of files for your theme (default or otherwise), open the home_mall.tpl.php file and find this section:

Code: Select all

		<div class="aom_home_mall_cat">
		<?php if (isset($category['Icon'])): ?>
			<img src="<?php echo $category['Icon'] ?>" alt="" style="margin-right:10px;">
		<?php endif; ?>
Add a line break after the endif statement:

Code: Select all

		<div class="aom_home_mall_cat">
		<?php if (isset($category['Icon'])): ?>
			<img src="<?php echo $category['Icon'] ?>" alt="" style="margin-right:10px;">
		<?php endif; ?><br>
That should start the category name on a new line below the icon image.
Associate-O-Matic is changing. For the better. 8)

Please CLICK HERE for our important announcement.

ThanksGod
Experience Level 1
Experience Level 1
Posts: 31
Joined: Wed Feb 01, 2012 8:16 pm

Re: Home Page - Mall option is not showing sub categories

Post by ThanksGod » Sun Nov 03, 2013 7:22 am

Thanks Mike.
It works.

Thank you so much for your help :D
Associate-O-Matic is changing. For the better. 8)

Please CLICK HERE for our important announcement.

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests