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

#   View order online link when guest checkout

##

- **[yannickv](/forum/user/28156-yannickv "View yannickv's Profile")**
- [![yannickv's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28156-yannickv "View yannickv's Profile") Topic Author
- [ Offline](/forum/user/28156-yannickv)

Less More

- Posts: 13
- Thank you received: 0
-
-

12 years 11 months ago [\#133717](#133717) by [yannickv](/forum/user/28156-yannickv "View yannickv's Profile")  *[View order online link when guest checkout](/forum/3-bug-report/863833-view-order-online-link-when-guest-checkout#133717 "Hi,  In my shop I have the option enabled to checkout as guest.  In the order creation notification email, there is a link to view the status of the order online. However, if the user checked out as guest (which usually means the person has no account on the website) the page redirects to the standard login form, and the person cannot see anything about the order.  I have two questions regarding this: 1) is it possible for someone that checked out as guest to see the order online? 2) if not, is there a way to hide that message from the email in case it concerns a guest checkout?  Shop:   www.kvcv.be/index.php/webshop  Using Hikashop essential 2.2.2")* was created by *[yannickv](/forum/user/28156-yannickv "View yannickv's Profile")*

Hi,

In my shop I have the option enabled to checkout as guest.

In the order creation notification email, there is a link to view the status of the order online. However, if the user checked out as guest (which usually means the person has no account on the website) the page redirects to the standard login form, and the person cannot see anything about the order.

I have two questions regarding this:
1) is it possible for someone that checked out as guest to see the order online?
2) if not, is there a way to hide that message from the email in case it concerns a guest checkout?

Shop: [ www.kvcv.be/index.php/webshop](http://www.kvcv.be/index.php/webshop)

Using Hikashop essential 2.2.2

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjM4MzMtdmlldy1vcmRlci1vbmxpbmUtbGluay13aGVuLWd1ZXN0LWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14274
-
-

12 years 11 months ago [\#133750](#133750) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[View order online link when guest checkout](/forum/3-bug-report/863833-view-order-online-link-when-guest-checkout#133750 "Hi,  In my shop I have the option enabled to checkout as guest.  In the order creation notification email, there is a link to view the status of the order online. However, if the user checked out as guest (which usually means the person has no account on the website) the page redirects to the standard login form, and the person cannot see anything about the order.  I have two questions regarding this: 1) is it possible for someone that checked out as guest to see the order online? 2) if not, is there a way to hide that message from the email in case it concerns a guest checkout?  Shop:   www.kvcv.be/index.php/webshop  Using Hikashop essential 2.2.2")*

Hi,

1. That's not possible.

2. Yes, you can edit the email files under media/com_hikashop/mail and change the line:
if($config-&gt;get('simplified_registration',0)!=2) {
to:
if(!empty($customer-&gt;user_cms_id)) {

in the preload files of the emails.

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

- **[yannickv](/forum/user/28156-yannickv "View yannickv's Profile")**
- [![yannickv's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28156-yannickv "View yannickv's Profile") Topic Author
- [ Offline](/forum/user/28156-yannickv)

Less More

- Posts: 13
- Thank you received: 0
-
-

12 years 11 months ago [\#133772](#133772) by [yannickv](/forum/user/28156-yannickv "View yannickv's Profile")  Replied by *[yannickv](/forum/user/28156-yannickv "View yannickv's Profile")* on topic *[View order online link when guest checkout](/forum/3-bug-report/863833-view-order-online-link-when-guest-checkout#133772 "Hi,  In my shop I have the option enabled to checkout as guest.  In the order creation notification email, there is a link to view the status of the order online. However, if the user checked out as guest (which usually means the person has no account on the website) the page redirects to the standard login form, and the person cannot see anything about the order.  I have two questions regarding this: 1) is it possible for someone that checked out as guest to see the order online? 2) if not, is there a way to hide that message from the email in case it concerns a guest checkout?  Shop:   www.kvcv.be/index.php/webshop  Using Hikashop essential 2.2.2")*

Hi

I changed that in the file order_creation_notification.preload.php, but when I do a checkout as guest, the email to the customer is still showing the link.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjM4MzMtdmlldy1vcmRlci1vbmxpbmUtbGluay13aGVuLWd1ZXN0LWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14274
-
-

12 years 11 months ago [\#133863](#133863) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[View order online link when guest checkout](/forum/3-bug-report/863833-view-order-online-link-when-guest-checkout#133863 "Hi,  In my shop I have the option enabled to checkout as guest.  In the order creation notification email, there is a link to view the status of the order online. However, if the user checked out as guest (which usually means the person has no account on the website) the page redirects to the standard login form, and the person cannot see anything about the order.  I have two questions regarding this: 1) is it possible for someone that checked out as guest to see the order online? 2) if not, is there a way to hide that message from the email in case it concerns a guest checkout?  Shop:   www.kvcv.be/index.php/webshop  Using Hikashop essential 2.2.2")*

Hi,

Maybe you're not looking at the correct email.
There are two emails that are sent by HikaShop to the user:
the order creation notification (at the end of the checkout) and the order status notification (once the payment is done).
So make sure that you do the modification to both.

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

- **[yannickv](/forum/user/28156-yannickv "View yannickv's Profile")**
- [![yannickv's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28156-yannickv "View yannickv's Profile") Topic Author
- [ Offline](/forum/user/28156-yannickv)

Less More

- Posts: 13
- Thank you received: 0
-
-

12 years 11 months ago [\#133882](#133882) by [yannickv](/forum/user/28156-yannickv "View yannickv's Profile")  Replied by *[yannickv](/forum/user/28156-yannickv "View yannickv's Profile")* on topic *[View order online link when guest checkout](/forum/3-bug-report/863833-view-order-online-link-when-guest-checkout#133882 "Hi,  In my shop I have the option enabled to checkout as guest.  In the order creation notification email, there is a link to view the status of the order online. However, if the user checked out as guest (which usually means the person has no account on the website) the page redirects to the standard login form, and the person cannot see anything about the order.  I have two questions regarding this: 1) is it possible for someone that checked out as guest to see the order online? 2) if not, is there a way to hide that message from the email in case it concerns a guest checkout?  Shop:   www.kvcv.be/index.php/webshop  Using Hikashop essential 2.2.2")*

I made the change to the following three files:

/media/com_hikashop/mail/order_notification.preload.php
/media/com_hikashop/mail/order_creation_notification.preload.php
/media/com_hikashop/mail/order_status_notification.preload.php

When I do a checkout as guest, the email that follows immediately after placing the order is still showing the link.

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 11 months ago [\#134095](#134095) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[View order online link when guest checkout](/forum/3-bug-report/863833-view-order-online-link-when-guest-checkout#134095 "Hi,  In my shop I have the option enabled to checkout as guest.  In the order creation notification email, there is a link to view the status of the order online. However, if the user checked out as guest (which usually means the person has no account on the website) the page redirects to the standard login form, and the person cannot see anything about the order.  I have two questions regarding this: 1) is it possible for someone that checked out as guest to see the order online? 2) if not, is there a way to hide that message from the email in case it concerns a guest checkout?  Shop:   www.kvcv.be/index.php/webshop  Using Hikashop essential 2.2.2")*

Thanks to try with: Code:

if(!empty($customer-&gt;user_cms_id) &amp;&amp; (int)$customer-&gt;user_cms_id != 0)

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

- **[yannickv](/forum/user/28156-yannickv "View yannickv's Profile")**
- [![yannickv's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28156-yannickv "View yannickv's Profile") Topic Author
- [ Offline](/forum/user/28156-yannickv)

Less More

- Posts: 13
- Thank you received: 0
-
-

12 years 11 months ago [\#134152](#134152) by [yannickv](/forum/user/28156-yannickv "View yannickv's Profile")  Replied by *[yannickv](/forum/user/28156-yannickv "View yannickv's Profile")* on topic *[View order online link when guest checkout](/forum/3-bug-report/863833-view-order-online-link-when-guest-checkout#134152 "Hi,  In my shop I have the option enabled to checkout as guest.  In the order creation notification email, there is a link to view the status of the order online. However, if the user checked out as guest (which usually means the person has no account on the website) the page redirects to the standard login form, and the person cannot see anything about the order.  I have two questions regarding this: 1) is it possible for someone that checked out as guest to see the order online? 2) if not, is there a way to hide that message from the email in case it concerns a guest checkout?  Shop:   www.kvcv.be/index.php/webshop  Using Hikashop essential 2.2.2")*

Hi

Now I realize that we are probably looking at different things.

In the order number there is a link to see the order online, and I was able to disable that link for guest checkout using the code replacement you suggested.
At the very top of the message there is a sentence "If you can't read this message, click here to view your order online" (or similar, I translated from Dutch). This sentence also links to the order detail page, and thus redirects to the standard login page in case of guest checkout.

How can I completely hide this sentence in case of guest checkout?

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 11 months ago [\#134278](#134278) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[View order online link when guest checkout](/forum/3-bug-report/863833-view-order-online-link-when-guest-checkout#134278 "Hi,  In my shop I have the option enabled to checkout as guest.  In the order creation notification email, there is a link to view the status of the order online. However, if the user checked out as guest (which usually means the person has no account on the website) the page redirects to the standard login form, and the person cannot see anything about the order.  I have two questions regarding this: 1) is it possible for someone that checked out as guest to see the order online? 2) if not, is there a way to hide that message from the email in case it concerns a guest checkout?  Shop:   www.kvcv.be/index.php/webshop  Using Hikashop essential 2.2.2")*

Hi,

Ok to remove this link, you can edit the files:

> /media/com\_hikashop/mail/order\_notification.php
> /media/com\_hikashop/mail/order\_creation\_notification.php
> /media/com\_hikashop/mail/order\_status\_notification.php

And at the top of the files remove: Code:

&lt;div class="hikashop_online" style="font-family:Arial, Helvetica,sans-serif;font-size:11px;line-height:18px;color:#6a5c6b;text-decoration:none;margin:10px;text-align:center;"&gt; &lt;a style="cursor:pointer;color:#2d9cbb;text-decoration:none;border:none;" href="{VAR:URL}"&gt; &lt;span class="hikashop_online" style="color:#6a5c6b;text-decoration:none;font-size:11px;margin-top:10px;margin-bottom:10px;text-align:center;"&gt; {TXT:MAIL_HEADER} &lt;/span&gt; &lt;/a&gt; &lt;/div&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjM4MzMtdmlldy1vcmRlci1vbmxpbmUtbGluay13aGVuLWd1ZXN0LWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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.099 seconds

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

[](#top)
