Unwanted modules

  • Posts: 54
  • Thank you received: 7
2 years 2 months ago #339661

Hi,

Let me try to explain my problem here,
For example whenever i'm on my home page and go to my cart using the minicart module everything works fine as shown in the attachments.
But whenever i'm on my product listing page and go to my cart using the minicart module unwanted modules are also showing in the cart page as shown in the attachment.
This is probably because my product listing page has an itemid in its url. This itemid seems to be staying in the url whenever i navigate to my cart causing the modules to appear. I want the itemid to never show in the cart page url.
This is also the case when i navigate from my product listing page to my search page.
I hope you can understand what im saying,
Thanks in advance,

Ismael

Attachments:

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

  • Posts: 81513
  • Thank you received: 13067
  • MODERATOR
2 years 2 months ago #339666

Hi,

You can hide these modules on that page with CSS.
Normally, if you look at the HTML of the page, you get this:
i.imgur.com/bw5k3HC.png
There, you can see on the "body" tag the classes com_hikashop and view-cart
And then, you need to look at the id for the module you want to hide. For example, the "categories on 2 levels" module on my screenshot has the id hikashop_module_112
So I can use the CSS code below to hide that module only on that page:
.com_hikashop.view-cart #hikashop_module_112 { display:none; }

In your case, you'll have to look for the id of these modules to adapt the code above.

www.hikashop.com/support/documentation/1...ize-the-display.html

The following user(s) said Thank You: ismael

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

Time to create page: 0.058 seconds
Powered by Kunena Forum