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

#   How a customer could cancel a "Created" command ?

##

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

Less More

- Posts: 190
- Thank you received: 0
-
-

14 years 1 month ago -  14 years 1 month ago [\#66733](#66733) by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")  *[How a customer could cancel a "Created" command ?](/forum/2-general-talk-about-hikashop/66733-how-a-customer-could-cancel-a-created-command#66733 "I have many customers creating commands (probably on smartphones) that don't go through the paypal payment process. Then, their commands stays created and some time after, they re-create command(s), until they pay the last one.  My problem is with the previous created commands. Mainly the customers don't want to pay again and agree to cancel the orders.  I don't want (for administration charge reasons) to cancel myself the commands in the backend, after contact with customers. I would like that they have the ability, in their Customer Panel to click on a &quot;Delete order&quot; button, like they have one to pay with a delay a created order. I observed that on Paypal site, when you click on the &quot;Cancel and go back to the site&quot; link, the command is really cancelled in Hikashop. It's a way, but not fine for customers. Of course, the &quot;Delete&quot; button should only appear for &quot;Created&quot; orders, not for &quot;Confirmed&quot; ones.  Do you know a way to add a such &quot;Delete&quot; button ? Thanks by advance. Regards")* was created by *[codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")*

I have many customers creating commands (probably on smartphones) that don't go through the paypal payment process.
Then, their commands stays created and some time after, they re-create command(s), **until they pay the last one**.

My problem is with the previous created commands. Mainly the customers don't want to pay again and agree to cancel the orders.

I don't want (for administration charge reasons) to cancel myself the commands in the backend, after contact with customers.
I would like that they have the ability, in their Customer Panel to click on a "Delete order" button, like they have one to pay with a delay a created order.
I observed that on Paypal site, when you click on the "Cancel and go back to the site" link, the command is really cancelled in Hikashop.
It's a way, but not fine for customers.
**Of course, the "Delete" button should only appear for "Created" orders, not for "Confirmed" ones.**

Do you know a way to add a such "Delete" button ?
Thanks by advance.
Regards

Last edit: 14 years 1 month ago by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile").

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

14 years 1 month ago [\#66936](#66936) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: How a customer could cancel a "Created" command ?](/forum/2-general-talk-about-hikashop/66733-how-a-customer-could-cancel-a-created-command#66936 "I have many customers creating commands (probably on smartphones) that don't go through the paypal payment process. Then, their commands stays created and some time after, they re-create command(s), until they pay the last one.  My problem is with the previous created commands. Mainly the customers don't want to pay again and agree to cancel the orders.  I don't want (for administration charge reasons) to cancel myself the commands in the backend, after contact with customers. I would like that they have the ability, in their Customer Panel to click on a &quot;Delete order&quot; button, like they have one to pay with a delay a created order. I observed that on Paypal site, when you click on the &quot;Cancel and go back to the site&quot; link, the command is really cancelled in Hikashop. It's a way, but not fine for customers. Of course, the &quot;Delete&quot; button should only appear for &quot;Created&quot; orders, not for &quot;Confirmed&quot; ones.  Do you know a way to add a such &quot;Delete&quot; button ? Thanks by advance. Regards")*

Hi codewarrior,

A cancel button already exist, you can change the check of cancel button displaying.
Edit the file "order / listing" in HikaShop &gt; Display &gt; Views.
And change or remove the line: Code:

if( isset($row-&gt;show_cancel_button) &amp;&amp; $row-&gt;show_cancel_button ) {

By this way the customers will be able to cancel their orders.

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

Less More

- Posts: 86555
- Thank you received: 14304
-
-

14 years 1 month ago [\#67004](#67004) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How a customer could cancel a "Created" command ?](/forum/2-general-talk-about-hikashop/66733-how-a-customer-could-cancel-a-created-command#67004 "I have many customers creating commands (probably on smartphones) that don't go through the paypal payment process. Then, their commands stays created and some time after, they re-create command(s), until they pay the last one.  My problem is with the previous created commands. Mainly the customers don't want to pay again and agree to cancel the orders.  I don't want (for administration charge reasons) to cancel myself the commands in the backend, after contact with customers. I would like that they have the ability, in their Customer Panel to click on a &quot;Delete order&quot; button, like they have one to pay with a delay a created order. I observed that on Paypal site, when you click on the &quot;Cancel and go back to the site&quot; link, the command is really cancelled in Hikashop. It's a way, but not fine for customers. Of course, the &quot;Delete&quot; button should only appear for &quot;Created&quot; orders, not for &quot;Confirmed&quot; ones.  Do you know a way to add a such &quot;Delete&quot; button ? Thanks by advance. Regards")*

You can just configure the option "Cancellable orders statuses" of the configuration and your users will be able to cancel their created orders. No code change needed

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

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

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

Less More

- Posts: 190
- Thank you received: 0
-
-

14 years 1 month ago [\#68100](#68100) by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")  Replied by *[codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")* on topic *[Re: How a customer could cancel a "Created" command ?](/forum/2-general-talk-about-hikashop/66733-how-a-customer-could-cancel-a-created-command#68100 "I have many customers creating commands (probably on smartphones) that don't go through the paypal payment process. Then, their commands stays created and some time after, they re-create command(s), until they pay the last one.  My problem is with the previous created commands. Mainly the customers don't want to pay again and agree to cancel the orders.  I don't want (for administration charge reasons) to cancel myself the commands in the backend, after contact with customers. I would like that they have the ability, in their Customer Panel to click on a &quot;Delete order&quot; button, like they have one to pay with a delay a created order. I observed that on Paypal site, when you click on the &quot;Cancel and go back to the site&quot; link, the command is really cancelled in Hikashop. It's a way, but not fine for customers. Of course, the &quot;Delete&quot; button should only appear for &quot;Created&quot; orders, not for &quot;Confirmed&quot; ones.  Do you know a way to add a such &quot;Delete&quot; button ? Thanks by advance. Regards")*

Thanks Nicolas, it works fine !

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

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