In categories tab / category setting (AOM control panel), we have "Category Descriptions", if provided, this description will be displayed at the top of the first page for that Category.
The problem with this is if we put more paragraph / long contents, it will push the store products to the bottom and it looks ugly.
Is it possible to have "Category Descriptions" that also can be displayed at the bottom of the first page for that category?
So we can put more contents (more paragraphs) for SEO purpose (Store products stay at the top and contents at the bottom of first page of category.
Thanks in advance
Category description at the bottom of the category firstpage
Re: Category description at the bottom of the category first
You should be able to edit the category.tpl.php file to move the cat descriptions from the top to the bottom.
Open the file and find this section of code:
Copy it to your clipboard, and delete it from the file. Scroll down to this area:
And paste the description code after the </div> tag:
I would suggest making a copy of the default template with a different name (other than 'default') and edit the copy. Then select it from your Themes tab in the AOM control panel.
Open the file and find this section of code:
Code: Select all
<?php if (isset($category['Description'])): ?>
<div><?php echo $category['Description'] ?></div>
<?php endif; ?>
Code: Select all
<div class="aom_hr"></div>
</div>
<?php if (isset($category['Pagination'])): ?>
<?php $this->aom->displayPagination($category['Pagination']); ?>
<?php endif; ?>
Code: Select all
<div class="aom_hr"></div>
</div>
<?php if (isset($category['Description'])): ?>
<div><?php echo $category['Description'] ?></div>
<?php endif; ?>
<?php if (isset($category['Pagination'])): ?>
<?php $this->aom->displayPagination($category['Pagination']); ?>
<?php endif; ?>
Re: Category description at the bottom of the category first
Thanks Mike for super fast reply.
I will give it a try.
I need to sleep now, cause here is 2:00 am in the morning.
I will post back here and let you know.
Once again thank you very much.
I will give it a try.
I need to sleep now, cause here is 2:00 am in the morning.
I will post back here and let you know.
Once again thank you very much.
Re: Category description at the bottom of the category first
Don't forget you can also create a custom box and set it to only display at the bottom of the first page of any particular category.
Re: Category description at the bottom of the category first
Thanks Mike to remind me about that feature.mcarp555 wrote:Don't forget you can also create a custom box and set it to only display at the bottom of the first page of any particular category.
I am not aware that we can set it on custom box to only display at the bottom of the first page of any particular category.
This is actually better than editing the code. I prefer not to touch the code and this way I also can use file paths.
Once again thanks for reminding me about this feature.

Re: Category description at the bottom of the category first
Set the box Location to Body Bottom.
Check the 1st Pg Only box.
Under Category Display Rules, put the Category ID ("CatID") in the green box. You get the CatID from the Categories tab of your AOM control panel.
Check the 1st Pg Only box.
Under Category Display Rules, put the Category ID ("CatID") in the green box. You get the CatID from the Categories tab of your AOM control panel.
Who is online
Users browsing this forum: No registered users and 2 guests