please can you help me. I looking to show the images of the cub Category in the main Category. Like the pic below and not just a list.
Thank you Mark
https://www.opencart.com/index.php?rout ... load_id=55
or make yourself a html module, and use the below code, changing the images and urls of course.
Code: Select all
<div class="col-md-3">
<div style="text-align: center; "><a href="https://demo.opencart.com/"><img src="https://demo.opencart.com/image/cache/catalog/demo/macbook_1-200x200.jpg" alt="Macs"></a></div>
<div style="text-align: center;">
<a href="https://demo.opencart.com/">Macs</a>
</div>
</div>
<div class="col-md-3">
<div style="text-align: center; "><a href="https://demo.opencart.com/"><img src="https://demo.opencart.com/image/cache/catalog/demo/macbook_1-200x200.jpg" alt="Macs"></a></div>
<div style="text-align: center;">
<a href="https://demo.opencart.com/">Macs</a>
</div>
</div>
<div class="col-md-3">
<div style="text-align: center; "><a href="https://demo.opencart.com/"><img src="https://demo.opencart.com/image/cache/catalog/demo/macbook_1-200x200.jpg" alt="Macs"></a></div>
<div style="text-align: center;">
<a href="https://demo.opencart.com/">Macs</a>
</div>
</div>
<div class="col-md-3">
<div style="text-align: center; "><a href="https://demo.opencart.com/"><img src="https://demo.opencart.com/image/cache/catalog/demo/macbook_1-200x200.jpg" alt="Macs"></a></div>
<div style="text-align: center;">
<a href="https://demo.opencart.com/">Macs</a>
</div>
</div>
https://www.waxedperfection.co.uk/ Car Detailing Product Blog's and Review's
So open wanted Grey and then I will have a list with pictures of the sub categories
Thank you
Mark
Home >> Extensions >> HTML Content
insert the code and enable
now go to
Home >> Design >> Layouts >> Category
and add the html module you created before and they will show in your location
Example - https://image.ibb.co/cVK7hF/sub_cats_as_images.jpg
https://www.waxedperfection.co.uk/ Car Detailing Product Blog's and Review's
@WaxedPerfection: I really don't understand why would someone want to create all that manually with HTML, and then to create different layouts for different categories, etc.?
See all my extensions: https://www.opencart.com/index.php?rout ... 20OpenCart
Its was free!! and the quickest way of doing it, other than a Module, you would only need to edit it once, and have it in more than one location. or you would edit it to have different ones in different locations.
https://www.waxedperfection.co.uk/ Car Detailing Product Blog's and Review's
See all my extensions: https://www.opencart.com/index.php?rout ... 20OpenCart
https://www.waxedperfection.co.uk/ Car Detailing Product Blog's and Review's
Also, here's another example of the same HTML suggestion from you:
viewtopic.php?f=10&t=186594#p682178
At which, as you can see, I also replied...
From what I can see, you're quite new to OpenCart (at least as a member to this forum), so get some more practice with OpenCart, become more experienced with it, and you're more than welcome to provide useful help on the forum
And since you've mentioned it, speaking about my customers, feel free to check the response time of the comments, and also read all the nice and positive comments, and see all the five stars votes, for all of my modules, and you'll get the idea on what kind of a support all of my customers receive from me
See all my extensions: https://www.opencart.com/index.php?rout ... 20OpenCart
Is there a way to do this as I can't find any extensions compatible with 3.0.2.0?? Any help much appreciated. I would like to show the sub category images on the page when someone selects show all images. It looks rubbish showing just a list of products!
Many thanks
Attachments
Screenshot.jpg (349.33 KiB) Viewed 7108 times
https://www.opencart.com/index.php?rout ... n_id=30021
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
This is a OCmod file. You can see in Extensions-Modifications and work only with Default theme.
Clear Theme and SASS cache.
On the link is for oc 2.3, my converted is for oc 3.0
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
xxvirusxx, I downloaded and installed this modification. The upload says it's successful, and the modifications log adds thisxxvirusxx wrote: ↑Mon Apr 23, 2018 7:45 amConverted to 3.0.2.0
https://www.opencart.com/index.php?rout ... n_id=30021
Code: Select all
MOD: Subcategories Thumbnails
FILE: catalog/controller/product/category.php
CODE: 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '_' . $result['category_id'] . $url)
LINE: 148
FILE: catalog/view/theme/default/template/product/category.twig
CODE: {% if categories|length <= 5 %}
LINE: 28
CODE: {{ header }}
LINE: 23
----------------------------------------------------------------
Thanks for your work by the way, I hope to get this working on my store. I can't believe that OC wouldn't make this an available option when it seems like it's just 1 or 2 lines of code!?!
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Attachments
images to the refine search
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
Hi, great helpful extention!! However I've installed on pavo theme and kind of works. Looks like it wants to load an image but doesn't. Any suggestions?xxvirusxx wrote: ↑Mon Apr 23, 2018 7:45 amConverted to 3.0.2.0
https://www.opencart.com/index.php?rout ... n_id=30021
Attachments
Screenshot_20190810-230916_Chrome.jpg (188.7 KiB) Viewed 4840 times
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Users browsing this forum: ravikumar22, Semrush [Bot] and 81 guests