- Posts: 303
- Thank you received: 18
Turn Off Checkout Only
- mojooutdoors-holden
-
Topic Author
- Offline
Less
More
7 years 9 months ago #301738
by mojooutdoors-holden
Turn Off Checkout Only was created 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?
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.
7 years 9 months ago - 7 years 9 months ago #301764
by webcase
Cheers,
Maurice
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.
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.
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.
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.
- mojooutdoors-holden
-
Topic Author
- Offline
Less
More
- Posts: 303
- Thank you received: 18
7 years 9 months ago #301784
by mojooutdoors-holden
Replied by mojooutdoors-holden on topic Turn Off Checkout Only
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