Skip to main content

Turn Off Checkout Only

More
7 years 9 months ago #301738 by mojooutdoors-holden
-- 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.

More
7 years 9 months ago - 7 years 9 months ago #301764 by webcase
Replied by webcase on topic Turn Off Checkout Only
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: 7 years 9 months ago by webcase.
The following user(s) said Thank You: mojooutdoors-holden

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

More
7 years 9 months ago - 7 years 9 months ago #301741 by nicolas
Replied by nicolas on topic Turn Off Checkout Only
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: 7 years 9 months ago by nicolas.
The following user(s) said Thank You: mojooutdoors-holden

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

More
7 years 9 months ago #301784 by mojooutdoors-holden
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.178 seconds
Powered by Kunena Forum