Post by andrei.bogdan » Wed Sep 04, 2013 4:06 pm

- 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>&nbsp;
<?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.

Attachments


Andrei
andrei.opencart[at]yahoo.com
Themes and Extensions


Active Member

Posts

Joined
Mon Mar 25, 2013 4:52 am

Post by motion2082 » Wed Aug 05, 2015 10:18 am

Would be great if someone could Update this for OpenCart Version 2 O0

Active Member

Posts

Joined
Tue May 12, 2015 8:48 pm

Post by dafmktg » Sun Oct 11, 2015 9:40 pm

Does anyone have this solution for Opencart version 2.0.3.1...please!

Newbie

Posts

Joined
Thu Jun 25, 2015 1:53 pm

Post by uksitebuilder » Sun Oct 18, 2015 7:33 pm

Here you go for 2.0.3.1 (not tested other versions)

Attachments


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by teclive » Thu Feb 18, 2016 1:56 am

Could that same code (one posted above my post) also work with 2.1.0.1?

New member

Posts

Joined
Fri Jul 09, 2010 2:29 am
Who is online

Users browsing this forum: No registered users and 6 guests