By default opencart's category module shows only top categories and sub categories of active category. This VQmod shows all sub-categories in category module.
This is designed for default opencart template and might not work with other templates.
not very useful if you have lot of subcategories
Download it from here :
http://www.opencart.com/index.php?route ... n_id=10123
This is designed for default opencart template and might not work with other templates.
not very useful if you have lot of subcategories
Download it from here :
http://www.opencart.com/index.php?route ... n_id=10123
Hi Chetan, I am using 1.5.5.1 and have uploaded the vqmod file but i am still unable to see the sub-category images
this vqmod is not supposed to that .. it just expands the category sidebar to show sub categories of all categories ...bobmartinusa wrote:Hi Chetan, I am using 1.5.5.1 and have uploaded the vqmod file but i am still unable to see the sub-category images
You need the attached vQmodbobmartinusa wrote:Hi Chetan, I am using 1.5.5.1 and have uploaded the vqmod file but i am still unable to see the sub-category images

Attachments
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Hello there,
Thanks for this. It was (almost!) just what I was looking for.
How do I make it so it shows all child categories as well. I am basically looking to display the entire category tree.
I'll buy you a beer if you can do this ;-)
~ Jamie
Thanks for this. It was (almost!) just what I was looking for.
How do I make it so it shows all child categories as well. I am basically looking to display the entire category tree.
I'll buy you a beer if you can do this ;-)
~ Jamie
both that 2 sites have opencart 1.5.5.1 installed and default theme, but on one is all rioght and the other don't change..
http://www.egioiellerie.com/
http://www.etetti.eu/compra/
How I can understand why on egioiellerie.com this vqmod desn't work?
http://www.egioiellerie.com/
http://www.etetti.eu/compra/
How I can understand why on egioiellerie.com this vqmod desn't work?
http://www.restaurantsupplies.eu Restaurant Supplies
Opencart 1.5.6.4 VQMOD 2.4.1
Languages: Italian, French, German, Hungarian, English, Russian, Polish and Spanish
http://www.egioiellerie.com/ didn't had vqmod installed , i installed it by url http://www.egioiellerie.com/vqmod/install
now both are working as expected
now both are working as expected

Hi, i installed your extension on opencart 1.5.5.1 and 1.5.6, but i get the same error in both versions :
I am using Sellya theme for opencart. Please help me to fix it i really need to get this work.
Thank you.
Code: Select all
Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\Singartysilver\vqmod\vqcache\vq2-catalog_view_theme_sellya_template_module_category.tpl on line 135
Thank you.
How I made this extension compatible with my install of OpenCart 1.5.6.1 & VQMod 2.4.1
[/color]
Code: Select all
<!-- "Display all subcategories on category module" created by Chetan Paliwal ( ChetanCx on opencart Community forums: http://www.opencart.com/index.php?route=extension/extension/info&extension_id=10123
Modified by Brandon Leudke, September 8, 2014, as per: https://code.google.com/p/vqmod/wiki/Scripting
- to make compatible with my install of OpenCart 1.5.6.1 & VQMod 2.4.1
Changelog:
- removed a few lines of code from category.tpl (span, etc.)
- changed the offset value to 35 to match the number of lines of code in the original category.tpl
-->
<modification>
<id>Display all subcategories on category module</id>
<version>1.1></version>
<vqmver>2.2.1></vqmver>
<author>Chetan Paliwal ( ChetanCx on OC community forums)</author>
<file name="catalog/view/theme/*/template/module/category.tpl" error="skip">
<operation>
<search position="replace" offset="35"><![CDATA[<div class="box">]]></search>
<add><![CDATA[<div class="box">
<div class="box-heading"><?php echo $heading_title; ?></div>
<div class="strip-line"></div>
<div class="box-content box-category">
<ul class="accordion" id="accordion-category">
<?php $i = 0; foreach ($categories as $category) { $i++; ?>
<li class="accordion">
<?php if ($category['category_id'] == $category_id) { ?>
<a href="<?php echo $category['href']; ?>" class="active"><?php echo $category['name']; ?></a>
<?php } else { ?>
<a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a>
<?php } ?>
<?php if ($category['children']) { ?>
<?php if(!empty($category['children'])) { ?>
<div id="category<?php echo $i; ?>" class="panel-collapse collapse in" style="clear:both">
<ul>
<?php foreach ($category['children'] as $child) { ?>
<li>
<?php if ($child['category_id'] == $child_id) { ?>
<a href="<?php echo $child['href']; ?>" class="active"><?php echo $child['name']; ?></a>
<?php } else { ?>
<a href="<?php echo $child['href']; ?>"><?php echo $child['name']; ?></a>
<?php } ?>
</li>
<?php } ?>
</ul>
</div>
<?php } ?>
<?php } ?>
</li>
<?php } ?>
</ul>
</div>
</div>]]></add>
</operation>
</file>
</modification>
Who is online
Users browsing this forum: No registered users and 3 guests