[Skip to main content](#vessel-content)

#   temporary checkout redirect

##

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

10 years 3 months ago [\#244746](#244746) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  *[temporary checkout redirect](/forum/27-checkout/885415-temporary-checkout-redirect#244746 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  is it possible to temporarily disable the checkout process? i would like site users to view the site but not checkout as it is not yet finish. Can i disable or redirect it temporarily to a page?  thanks again")* was created by *[ronron](/forum/user/40399-ronron "View ronron's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : none

hi

is it possible to temporarily disable the checkout process? i would like site users to view the site but not checkout as it is not yet finish. Can i disable or redirect it temporarily to a page?

thanks again

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NTQxNS10ZW1wb3JhcnktY2hlY2tvdXQtcmVkaXJlY3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

10 years 3 months ago [\#244747](#244747) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[temporary checkout redirect](/forum/27-checkout/885415-temporary-checkout-redirect#244747 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  is it possible to temporarily disable the checkout process? i would like site users to view the site but not checkout as it is not yet finish. Can i disable or redirect it temporarily to a page?  thanks again")*

Hi,

Yes. Edit the file "step" of the view "checkout" via the menu Display&gt;Views add add such code at the top: Code:

Checkout is disabled&lt;?php return; ?&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NTQxNS10ZW1wb3JhcnktY2hlY2tvdXQtcmVkaXJlY3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

10 years 3 months ago [\#244818](#244818) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[temporary checkout redirect](/forum/27-checkout/885415-temporary-checkout-redirect#244818 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  is it possible to temporarily disable the checkout process? i would like site users to view the site but not checkout as it is not yet finish. Can i disable or redirect it temporarily to a page?  thanks again")*

hi

can we redirect it to a page? or article?

thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NTQxNS10ZW1wb3JhcnktY2hlY2tvdXQtcmVkaXJlY3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

10 years 3 months ago [\#244820](#244820) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[temporary checkout redirect](/forum/27-checkout/885415-temporary-checkout-redirect#244820 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  is it possible to temporarily disable the checkout process? i would like site users to view the site but not checkout as it is not yet finish. Can i disable or redirect it temporarily to a page?  thanks again")*

Hello,

Using some code like this will probably do the job : Code:

$app = JFactory::getApplication(); $ App-&gt; redirect ( 'Your_URL');

The following user(s) said Thank You: [ronron](/forum/user/40399-ronron "View ronron's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NTQxNS10ZW1wb3JhcnktY2hlY2tvdXQtcmVkaXJlY3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

10 years 3 months ago -  10 years 3 months ago [\#245761](#245761) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[temporary checkout redirect](/forum/27-checkout/885415-temporary-checkout-redirect#245761 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  is it possible to temporarily disable the checkout process? i would like site users to view the site but not checkout as it is not yet finish. Can i disable or redirect it temporarily to a page?  thanks again")*

hi

Its working .

Anothe question of mine. How can u disable checkout for products or suppliers based on a custom field.

Example:

custom field = allow checkout = yes button
Do not Allow = No button

So if do not allow is checked / ticked it will be redirected to the page i created.

thanks

Last edit: 10 years 3 months ago by [ronron](/forum/user/40399-ronron "View ronron's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NTQxNS10ZW1wb3JhcnktY2hlY2tvdXQtcmVkaXJlY3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

10 years 3 months ago [\#245807](#245807) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[temporary checkout redirect](/forum/27-checkout/885415-temporary-checkout-redirect#245807 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  is it possible to temporarily disable the checkout process? i would like site users to view the site but not checkout as it is not yet finish. Can i disable or redirect it temporarily to a page?  thanks again")*

Hi,

You need to load the list of products of the cart, loop through them to check the value of a custom product field for each one of them:
[ www.hikashop.com/support/documentation/6...umentation.html#code](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#code)

The following user(s) said Thank You: [ronron](/forum/user/40399-ronron "View ronron's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NTQxNS10ZW1wb3JhcnktY2hlY2tvdXQtcmVkaXJlY3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.093 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
