i want show Categories block in product page but product list page i want hide

  • Posts: 12
  • Thank you received: 2
3 years 4 months ago #336435

-- url of the page with the problem -- : jm-drginger.conutri.com/index.php
-- HikaShop version -- : 4.4.4
-- Joomla version -- : 3.8
-- PHP version -- : 7.3

As attachments
p1 is product list page
p2 is product page
Left block is Categories block by HikaShop Content Module
I want show this block in product page but hide in product page
How can i do ?
Thank you

Attachments:

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

  • Posts: 83402
  • Thank you received: 13496
  • MODERATOR
3 years 4 months ago #336441

Hi,

Edit your module via the Joomla modules manager. There, under the "hikashop options" tab, you'll have a section with display settings where you can enable or disable the display of the module based on the type of the page:
i.imgur.com/Ty3m0UC.png

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

  • Posts: 12
  • Thank you received: 2
3 years 4 months ago #336461

Thanks
but i enable this module
product page is ok
list page layout is twisted as attachments p3
http://jm-drginger.conutri.com/zh/products.htmlhttp://jm-drginger.conutri.com/zh/products.html

Attachments:
Last edit: 3 years 4 months ago by clkuo.

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

  • Posts: 83402
  • Thank you received: 13496
  • MODERATOR
3 years 4 months ago #336470

Hi,

That's because your template doesn't detect that the modules on the left sidebar position are empty and still displays that area.
And thus, you have the blank space on the left side which shrinks the center area when the products listing displays.
We can't help with that as it's the job of the template to check if the position is empty or not before displaying it.

However, the fact that the images of the products go out of the product box can be fixed independently from the template. Of course, if the template doesn't display the left sidebar when it shouldn't, then the problem with the images will fix itself. But if they can't/don't want to change the template for that issue, you could simply reduce the size of the thumbnails so that they fit in the space available or reduce the number of columns of the listing from 3 to 2. These can be done under the "products options" tab of your listing menu item in the Joomla menu manager.

The following user(s) said Thank You: clkuo

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

  • Posts: 12
  • Thank you received: 2
3 years 4 months ago #336476

I change Image width to 200 px for fix this problem
thank for your help

Attachments:

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

Time to create page: 0.063 seconds
Powered by Kunena Forum