Filter displayed twice if there is no products found
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
Less
More
7 years 8 months ago - 7 years 8 months ago #304661
by progreccor
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Filter displayed twice if there is no products found was created by progreccor
-- url of the page with the problem -- :
watchmoscow.ru/kupit-chasy
-- HikaShop version -- : 4.0.3
-- Joomla version -- : 3.9.4
-- PHP version -- : 7.2
If I filter products it works ok.
But if I choose manufacture that there is not have any products I got filter twice on the page:
to replicate this error try to choose VACHERON CONSTANTIN
As this is production site I need to hide second filter with
rule in css, but you can find it in the html code:
-- HikaShop version -- : 4.0.3
-- Joomla version -- : 3.9.4
-- PHP version -- : 7.2
If I filter products it works ok.
But if I choose manufacture that there is not have any products I got filter twice on the page:
to replicate this error try to choose VACHERON CONSTANTIN
As this is production site I need to hide second filter with
Code:
h1 + .hikashop_filter_main_div {
display: none;
}
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Last edit: 7 years 8 months ago by progreccor.
Please Log in or Create an account to join the conversation.
7 years 8 months ago - 7 years 8 months ago #304679
by Philip
Replied by Philip on topic Filter displayed twice if there is no products found
Hello,
I just had a look on your website, and was able to see your issue, but so far unfortunately I wasn't able to get the root issue...
Can you try to process a test while using a default template (like ProtoStar) to see if the issue is still there...
If it disappear, 2 possibilities :
- You have an override that leads to this, maybe since you update to the 4.0.3 ?...
- Your template leads to this, by editing the html ?...
Awaiting news from you to move forward on your subject.
Regards
I just had a look on your website, and was able to see your issue, but so far unfortunately I wasn't able to get the root issue...
Can you try to process a test while using a default template (like ProtoStar) to see if the issue is still there...
If it disappear, 2 possibilities :
- You have an override that leads to this, maybe since you update to the 4.0.3 ?...
- Your template leads to this, by editing the html ?...
Awaiting news from you to move forward on your subject.
Regards
Last edit: 7 years 8 months ago by Philip.
Please Log in or Create an account to join the conversation.
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
7 years 8 months ago - 7 years 8 months ago #304709
by progreccor
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Replied by progreccor on topic Filter displayed twice if there is no products found
there is no this bug in protostar.
so this is bug in my overrides.
I'll try to find it
so this is bug in my overrides.
I'll try to find it
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Last edit: 7 years 8 months ago by progreccor.
Please Log in or Create an account to join the conversation.
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
7 years 8 months ago - 7 years 8 months ago #304806
by progreccor
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Replied by progreccor on topic Filter displayed twice if there is no products found
I found the wrong override.
And so another one question - if there is no products found buy filter I get this icon:
Is there a way to override this message?
And so another one question - if there is no products found buy filter I get this icon:
Is there a way to override this message?
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Last edit: 7 years 8 months ago by progreccor.
Please Log in or Create an account to join the conversation.
7 years 8 months ago #304823
by nicolas
Replied by nicolas on topic Filter displayed twice if there is no products found
Hi,
This is done with the code:
in the file "listing" of the view "product" that you can edit via the menu Display>Views.
As you can see, you should already have a message "no results found" there.
If you don't, it's either that this line was changed on your end, or that you have a translation override on that translation key.
This is done with the code:
Code:
echo '<div class="hk-well hika_no_products"><i class="fa fa-search"></i> ' . JText::_('HIKASHOP_NO_RESULT') . '</div>';
As you can see, you should already have a message "no results found" there.
If you don't, it's either that this line was changed on your end, or that you have a translation override on that translation key.
Please Log in or Create an account to join the conversation.
Time to create page: 0.057 seconds