How to get Shopping Cart to only show up on Checkout page?

  • Posts: 15
  • Thank you received: 0
5 years 7 months ago #305410

-- HikaShop version -- : 4.0.3
-- Joomla version -- : 3.9.4
-- PHP version -- : 7.1.24
-- Browser(s) name and version -- : Any

Hi there,

So I have setup the Hikashop Cart Module to show up on only 1 page [the Booking Page], and that makes it show up on the Checkout page as well - but what I really want is the booking page to NOT have the Cart, the Product Page where the person selects the Options to have it and the Checkout page to have it?

How do I get it to show up that way?


See Screenshots - Wrong / Right / Product Page...


If that can't be possible, then do I have to get this:
thehikashop.com/our-products/the-hikashop-mini-cart-ajax to hide the Cart in a nice AJAX icon?

[tried using the built-in cart solution but it wasn't nearly as sleek]

I tried searching the Forums to no avail.

Sincerely,

M.

Attachments:

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
5 years 7 months ago #305435

Hi,

Int he settings of the cart module, under the "HikaShop options" tab, you can display settings to choose on which pages you want to display the cart module on top of the menu assignemnt restrictions you can configure under the tab of the same name:
monosnap.com/file/e3BCUROgbd66dtUtnoEBGp60IK8rRu

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

  • Posts: 15
  • Thank you received: 0
5 years 7 months ago #305437

Hi Nicolas,

Thanks but that doesn't seem to be working as expected...

If you check 1st screenshot:
updated-settings.jpg, I believe that it is now set correctly to NOT show the Cart on the Product Listings page...

2nd screenshot:
new-product-listing-page.jpg - shows a blank column without it auto-disappearing?! It seems to be just hiding [like a display:none;] instead of not adjusting the width to 100% or equivalent.

when it should look like this:
RIGHT-not-squeezing-Product-Layout-sweet.jpg

What am I doing incorrectly? :(
Cheers,

M.

Attachments:

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
5 years 7 months ago #305441

Hi,

It's not hiding. It's really removed. The issue there is that your template still sees that the module is configured for that position and doesn't take into account that the module doesn't return any HTML and still allocates the area for the module.
Some templates handle that properly, some don't. Here is a page talking about that:
joomla.stackexchange.com/questions/4215/...-from-being-rendered
As mentioned by the answer joomla.stackexchange.com/a/18775 some templates check the HTML of the modules being displayed in a position so that they skip the position if there is nothing to display.
Your template apparently doesn't do that.
I would recommend to check with the support of your template provider.

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

Time to create page: 0.066 seconds
Powered by Kunena Forum