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

#   Return URL Customisation from Cancelled Order

##

- **[olstadesigns](/forum/user/39848-olstadesigns "View olstadesigns's Profile")**
- [![olstadesigns's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39848.jpg)](/forum/user/39848-olstadesigns "View olstadesigns's Profile") Topic Author
- [ Offline](/forum/user/39848-olstadesigns)

Less More

- Posts: 56
- Thank you received: 9
-
- [](https://olstadesigns.com.au)
-

9 years 5 months ago [\#272646](#272646) by [olstadesigns](/forum/user/39848-olstadesigns "View olstadesigns's Profile")  *[Return URL Customisation from Cancelled Order](/forum/27-checkout/890873-return-url-customisation-from-cancelled-order#272646 "-- url of the page with the problem -- :   afterpay.olstadesigns.com.au/checkout/step-0  -- HikaShop version -- : 3.1.1 &#91;1706191839&#93; -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google Chrome  Hi,  I want to be able to have a popup with &quot;Your payment has been declined or cancelled. Please choose another form of payment&quot; if the cancelled return path is triggered.  Return path: index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=cancel&#95;order  I have had a look a Display&gt;template&gt;checkout&gt;steps but nothing worked there.  Please help.")* was created by *[olstadesigns](/forum/user/39848-olstadesigns "View olstadesigns's Profile")*

-- url of the page with the problem -- : [ afterpay.olstadesigns.com.au/checkout/step-0](https://afterpay.olstadesigns.com.au/checkout/step-0)
-- HikaShop version -- : 3.1.1 [1706191839]
-- Joomla version -- : 3.7.2
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Google Chrome

Hi,

I want to be able to have a popup with "Your payment has been declined or cancelled. Please choose another form of payment" if the cancelled return path is triggered.

Return path: index.php?option=com_hikashop&amp;ctrl=order&amp;task=cancel_order

I have had a look a Display&gt;template&gt;checkout&gt;steps but nothing worked there.

Please help.

---

I can't change the direction of the wind, but I can adjust my sails to always reach my destination.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDg3My1yZXR1cm4tdXJsLWN1c3RvbWlzYXRpb24tZnJvbS1jYW5jZWxsZWQtb3JkZXI/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: 86587
- Thank you received: 14326
-
-

9 years 5 months ago [\#272657](#272657) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Return URL Customisation from Cancelled Order](/forum/27-checkout/890873-return-url-customisation-from-cancelled-order#272657 "-- url of the page with the problem -- :   afterpay.olstadesigns.com.au/checkout/step-0  -- HikaShop version -- : 3.1.1 &#91;1706191839&#93; -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google Chrome  Hi,  I want to be able to have a popup with &quot;Your payment has been declined or cancelled. Please choose another form of payment&quot; if the cancelled return path is triggered.  Return path: index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=cancel&#95;order  I have had a look a Display&gt;template&gt;checkout&gt;steps but nothing worked there.  Please help.")*

Hi,

Turn on the "display view files" setting of the HikaShop configuration and you'll see which view files are used on the pages of HikaShop. That way, you can easily find the view you need to edit in order to see the change on the page you're looking at.

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

- **[olstadesigns](/forum/user/39848-olstadesigns "View olstadesigns's Profile")**
- [![olstadesigns's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39848.jpg)](/forum/user/39848-olstadesigns "View olstadesigns's Profile") Topic Author
- [ Offline](/forum/user/39848-olstadesigns)

Less More

- Posts: 56
- Thank you received: 9
-
- [](https://olstadesigns.com.au)
-

9 years 5 months ago -  9 years 5 months ago [\#272668](#272668) by [olstadesigns](/forum/user/39848-olstadesigns "View olstadesigns's Profile")  Replied by *[olstadesigns](/forum/user/39848-olstadesigns "View olstadesigns's Profile")* on topic *[Return URL Customisation from Cancelled Order](/forum/27-checkout/890873-return-url-customisation-from-cancelled-order#272668 "-- url of the page with the problem -- :   afterpay.olstadesigns.com.au/checkout/step-0  -- HikaShop version -- : 3.1.1 &#91;1706191839&#93; -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google Chrome  Hi,  I want to be able to have a popup with &quot;Your payment has been declined or cancelled. Please choose another form of payment&quot; if the cancelled return path is triggered.  Return path: index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=cancel&#95;order  I have had a look a Display&gt;template&gt;checkout&gt;steps but nothing worked there.  Please help.")*

Thanks Nicholas, So I have done that and the displays that show are the standard cart displays so how to I ensure that this cancellation popup would be displayed only on a cancellation return to the Checkout?
There is no difference between the pages of

[ afterpay.olstadesigns.com.au/checkout/step-0](https://afterpay.olstadesigns.com.au/checkout/step-0)
and
[ afterpay.olstadesigns.com.au/checkout/](https://afterpay.olstadesigns.com.au/checkout/)

---

I can't change the direction of the wind, but I can adjust my sails to always reach my destination.

Last edit: 9 years 5 months ago by [olstadesigns](/forum/user/39848-olstadesigns "View olstadesigns's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDg3My1yZXR1cm4tdXJsLWN1c3RvbWlzYXRpb24tZnJvbS1jYW5jZWxsZWQtb3JkZXI/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: 86587
- Thank you received: 14326
-
-

9 years 5 months ago [\#272671](#272671) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Return URL Customisation from Cancelled Order](/forum/27-checkout/890873-return-url-customisation-from-cancelled-order#272671 "-- url of the page with the problem -- :   afterpay.olstadesigns.com.au/checkout/step-0  -- HikaShop version -- : 3.1.1 &#91;1706191839&#93; -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google Chrome  Hi,  I want to be able to have a popup with &quot;Your payment has been declined or cancelled. Please choose another form of payment&quot; if the cancelled return path is triggered.  Return path: index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=cancel&#95;order  I have had a look a Display&gt;template&gt;checkout&gt;steps but nothing worked there.  Please help.")*

Hi,

You can check for example the parameter Code:

$_SERVER['HTTP_REFERER']

That variable should be different and should allow you to display a message only when the referer is the cancel URL.

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

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