Turn Off Checkout Only

  • Posts: 303
  • Thank you received: 18
5 years 11 months ago #301738

-- HikaShop version -- : 3.5.1

Is there any simple way to turn off ONLY the checkout area of the website. We are trying to prevent orders from being placed during an inventory period. Aside from changing all quantities to zero and/or hiding the add to cart button, is there a good way to only take the checkout offline to prevent any further orders?

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

  • Posts: 20
  • Thank you received: 8
5 years 11 months ago #301764

You can switch to Catalogue mode: Configuration > Features.
This will result in 'no cart' options at all.

I'm not sure though if you can switch back and forth without any consequenses, so you should best test this with a copy of the site.


Cheers,
Maurice
Last edit: 5 years 11 months ago by webcase.
The following user(s) said Thank You: mojooutdoors-holden

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
5 years 11 months ago #301741

Hi,

Yes. You can also add the code:
<?php echo 'Store in maintenance'; return; ?>
at the beginning of the file "show" of the view "checkout" via the menu Display>Views. that will remove the checkout interfaces.
The advantage is that you'll be able to use the cart/wishlist while with the catalogue mode, you won't.

Last edit: 5 years 11 months ago by nicolas.
The following user(s) said Thank You: mojooutdoors-holden

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

  • Posts: 303
  • Thank you received: 18
5 years 11 months ago #301784

Works perfectly! I just pulled in a module position to display before the 'return'

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

Time to create page: 0.054 seconds
Powered by Kunena Forum