- This vqmod will add categories to your single product page.
- Opencart only shows by default the product's Manufacturer but not the categories that the product is included in.
- This vqmod shows the list of categories, including name and href for each category.
- This will help SEO as the number of links in your website increases, you will have more links for your categories and to your products lists.
DOCUMENTATION
====================
- If you want to display categories in your custom template, please paste the html code:
<?php if( $categories ): ?>
<span><?php echo $text_category; ?></span>
<?php foreach( $categories as $category ): ?>
<a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a>
<?php endforeach; ?>
<br />
<?php endif; ?>
TROUBLESHOOTING
==================================
- This module has only been tested with OpenCart 1.5.4.1 and OpenCart 1.5.5.1.
- It might not work with previous versions of OpenCart, use at own risk! It only virtually modifies OpenCart files, so no need to worry.
Andrei
andrei.opencart[at]yahoo.com
Themes and Extensions
Here you go for 2.0.3.1 (not tested other versions)
Who is online
Users browsing this forum: No registered users and 6 guests