Double title for hikashop content module

  • Posts: 2293
  • Thank you received: 315
6 years 7 months ago #278358

-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.7.5
-- PHP version -- : 7.1

Here is the screenshot of the problem



As we can see - there are two identical headers for the module.
This is bug that appears recently after upgrade from from 3.1.1 to 3.2.0

If I choose to disable module title it disappears both.

Address of the problem URL is evastyle.by/odezhda-dlya-devochek


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 200
  • Thank you received: 75
6 years 7 months ago #278381

Hi,

after updating to 3.2.0 we had the same issue. It's not so much a bug, but likely because you have an older view override which does not work correctly anymore with the recent changes.

If we're not mistaken you have a view override of the file listing.php. In order to get rid of the double title, in your override you just need to update the line

if(!empty($title) && JRequest::getVar('hikashop_front_end_main', 0) && (!$this->module || $this->pageInfo->elements->total)) {
to
if(!empty($title) && hikaInput::get()->getVar('hikashop_front_end_main', 0) && (!$this->module || $this->pageInfo->elements->total)) {
and that should fix it. Hope that helps.

The following user(s) said Thank You: Jerome, progreccor

Please Log in or Create an account to join the conversation.

  • Posts: 2293
  • Thank you received: 315
6 years 7 months ago #278415

yes, it's really helped with the problem.
Thank you for your help!
I can't imagine that the problem could be with override of this file.


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

Please Log in or Create an account to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum