OpenCart gurus,
Can you please tell me how to remove:
Product Compare, Sort by dropdown, and Show dropdown
from this, and like pages:
https://blueavocadodesign.com/a1/index. ... ry&path=69
As shown, there will typically be one or a few products on a category page.
In our case, categories are customers and not to be compared.
OpenCart 3.0.3.8
Default Template
Thank you!
Can you please tell me how to remove:
Product Compare, Sort by dropdown, and Show dropdown
from this, and like pages:
https://blueavocadodesign.com/a1/index. ... ry&path=69
As shown, there will typically be one or a few products on a category page.
In our case, categories are customers and not to be compared.
OpenCart 3.0.3.8
Default Template
Thank you!
you can do the following on your catalog/view/theme/default/stylesheet/stylesheet.css
then add the following
save it go to extensions -> modification -> click on the refresh button and go to your front store and check.
if that doesn't work because I think opencart removed the classes "sort" and "limit"
then you need to do this on catalog/view/theme/default/template/product/category.twig
find the first
after that, you will see
and you need to replace it with the following ( or just add the hide after the row)
then add the following
Code: Select all
.sort, #input-sort,.limit, #input-limit, #compare-total {
display: none;
}
if that doesn't work because I think opencart removed the classes "sort" and "limit"
then you need to do this on catalog/view/theme/default/template/product/category.twig
find the first
Code: Select all
{% if products %}
Code: Select all
<div class="row">
Code: Select all
<div class="row hide">
I'm sure this has been asked and answered before - did you search the forum before asking?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Legendary Member
This doesn't make sense to me.In our case, categories are customers and not to be compared.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
In the same vein as Opencart3.0
Stylesheet.css
remember to refresh
This might be a better solution
Stylesheet.css
remember to refresh
This might be a better solution
Code: Select all
#product-category #input-sort, #product-category label[for="input-sort"], #product-category label[for="input-limit"], #product-category #input-limit, #product-category #compare-total {
display: none;
}
#product-category #list-view {
margin-bottom:45px;
}
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Perhaps they give each customer their own category? Who knows!
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Legendary Member
Who is online
Users browsing this forum: No registered users and 31 guests