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

#   How to auto delete no completed orders

##

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

Less More

- Posts: 93
- Thank you received: 3
-
-

12 years 2 months ago [\#167554](#167554) by [bettston](/forum/user/30280-bettston "View bettston's Profile")  *[How to auto delete no completed orders](/forum/35-orders-management/870386-how-to-auto-delete-no-completed-orders#167554 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3  Hi, The system creates a lot of orders that never get completed and stay at status created. My customer has asked that and orders in this status after 1 month get automatically deleted. Is this possible or is there another way to handle these.  Thanks  Tony")* was created by *[bettston](/forum/user/30280-bettston "View bettston's Profile")*

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3

Hi,
The system creates a lot of orders that never get completed and stay at status created. My customer has asked that and orders in this status after 1 month get automatically deleted. Is this possible or is there another way to handle these.

Thanks

Tony

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

12 years 2 months ago [\#167593](#167593) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to auto delete no completed orders](/forum/35-orders-management/870386-how-to-auto-delete-no-completed-orders#167593 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3  Hi, The system creates a lot of orders that never get completed and stay at status created. My customer has asked that and orders in this status after 1 month get automatically deleted. Is this possible or is there another way to handle these.  Thanks  Tony")*

Hi,

HikaShop have a plugin to automatically cancel the order which are still "created" after a certain time.
It's a plugin that you can use in order to not have "created" orders ; they will be cancelled.

After that, to delete some order after 1 month (or another time), it will require a specific custom plugin which will use the HikaShop cron trigger (to be called automatically every day) and which will delete the unwanted orders.
It requires some PHP/development skills.
[ www.hikashop.com/support/support/documen...r-documentation.html](http://www.hikashop.com/support/support/documentation/62-hikashop-developer-documentation.html)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 103
- Thank you received: 5
-
-

6 years 5 months ago [\#319098](#319098) by [n00bster](/forum/user/56367-n00bster "View n00bster's Profile")  Replied by *[n00bster](/forum/user/56367-n00bster "View n00bster's Profile")* on topic *[How to auto delete no completed orders](/forum/35-orders-management/870386-how-to-auto-delete-no-completed-orders#319098 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3  Hi, The system creates a lot of orders that never get completed and stay at status created. My customer has asked that and orders in this status after 1 month get automatically deleted. Is this possible or is there another way to handle these.  Thanks  Tony")*

> Jerome wrote: Hi,
> HikaShop have a plugin to automatically cancel the order which are still "created" after a certain time.
> It's a plugin that you can use in order to not have "created" orders ; they will be cancelled.

what plugin is this exactly?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3MDM4Ni1ob3ctdG8tYXV0by1kZWxldGUtbm8tY29tcGxldGVkLW9yZGVycz90bXBsPW1hcmtkb3du) 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: 86363
- Thank you received: 14296
-
-

6 years 5 months ago [\#319099](#319099) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to auto delete no completed orders](/forum/35-orders-management/870386-how-to-auto-delete-no-completed-orders#319099 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3  Hi, The system creates a lot of orders that never get completed and stay at status created. My customer has asked that and orders in this status after 1 month get automatically deleted. Is this possible or is there another way to handle these.  Thanks  Tony")*

Hi,

The plugin is called "Hikashop Orders Automatic Cancel Plugin" and you can configure it via the Joomla plugins manager. Note that it requires that you first setup your cron under the Cron tab of the Hikashop configuration:
[ www.hikashop.com/support/documentation/5...ashop-cron-task.html](https://www.hikashop.com/support/documentation/55-hikashop-cron-task.html)

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

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

Less More

- Posts: 28
- Thank you received: 2
-
-

8 months 3 days ago [\#370705](#370705) by [haraldundandrea](/forum/user/58773-haraldundandrea "View haraldundandrea's Profile")  Replied by *[haraldundandrea](/forum/user/58773-haraldundandrea "View haraldundandrea's Profile")* on topic *[How to auto delete no completed orders](/forum/35-orders-management/870386-how-to-auto-delete-no-completed-orders#370705 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3  Hi, The system creates a lot of orders that never get completed and stay at status created. My customer has asked that and orders in this status after 1 month get automatically deleted. Is this possible or is there another way to handle these.  Thanks  Tony")*

Hallo Zusammen,

gibt es inzwischen ein Plugin, das abgebrochene oder stornierte Bestellungen nach einer gewissen Zeit auch löscht?

Viele Grüße - Harald

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3MDM4Ni1ob3ctdG8tYXV0by1kZWxldGUtbm8tY29tcGxldGVkLW9yZGVycz90bXBsPW1hcmtkb3du) 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: 86363
- Thank you received: 14296
-
-

8 months 3 days ago [\#370707](#370707) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to auto delete no completed orders](/forum/35-orders-management/870386-how-to-auto-delete-no-completed-orders#370707 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3  Hi, The system creates a lot of orders that never get completed and stay at status created. My customer has asked that and orders in this status after 1 month get automatically deleted. Is this possible or is there another way to handle these.  Thanks  Tony")*

Hi,

No, you don't need a plugin for this.
Once you've configured the plugin called "Hikashop Orders Automatic Cancel Plugin" via the Joomla plugins manager to cancel the orders after some time, you can create a mass action via the menu System&gt;Mass action with a trigger "every day", a filter on the order status being equal to "cancelled", and an action "delete the elements".
Then, make sure the cron task is configured and running:
[ www.hikashop.com/support/documentation/5...ashop-cron-task.html](https://www.hikashop.com/support/documentation/55-hikashop-cron-task.html)
The mass action will then delete the newly cancelled orders once every day.

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

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

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

Less More

- Posts: 28
- Thank you received: 2
-
-

7 months 5 days ago -  7 months 5 days ago [\#371403](#371403) by [haraldundandrea](/forum/user/58773-haraldundandrea "View haraldundandrea's Profile")  Replied by *[haraldundandrea](/forum/user/58773-haraldundandrea "View haraldundandrea's Profile")* on topic *[How to auto delete no completed orders](/forum/35-orders-management/870386-how-to-auto-delete-no-completed-orders#371403 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3  Hi, The system creates a lot of orders that never get completed and stay at status created. My customer has asked that and orders in this status after 1 month get automatically deleted. Is this possible or is there another way to handle these.  Thanks  Tony")*

Hallo Nicolas,

ich versuche gerade eine geeignete Massenaktion zu erstellen.

Aktuell lasse ich mir die Bestellungen zuerst nur anzeigen.

Ich habe noch Schwierigkeiten einen geeigneten Filter einzurichten.

Ich möchte Bestellungen löschen, wenn

=&gt; der Bestellstatus storniert ist (hier habe ich Bestellstatus Storniert gefunden, ich denke das ist so richtig)

=&gt; keine Kundendaten eingegeben wurden: welches Feld eignet sich dafür, in welcher Feldgruppe finde ich das entsprechende Feld und wie muss der Filter dafür dann aussehen?

=&gt; die Bezahlungsart PayPal Express ist: in welcher Feldgruppe bzw. welchem Feld finde ich die Bezahlungsart? Kann ich nach Bestellungen filtern, die mit PayPal Express erstellt wurden?

Ich hoffe Du kannst mir helfen, einen geeigneten Filter zu finden, damit ich keine falschen Bestellungen lösche.

Viele Grüße - Harald

Last edit: 7 months 5 days ago by [haraldundandrea](/forum/user/58773-haraldundandrea "View haraldundandrea's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3MDM4Ni1ob3ctdG8tYXV0by1kZWxldGUtbm8tY29tcGxldGVkLW9yZGVycz90bXBsPW1hcmtkb3du) 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: 86363
- Thank you received: 14296
-
-

7 months 5 days ago [\#371404](#371404) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to auto delete no completed orders](/forum/35-orders-management/870386-how-to-auto-delete-no-completed-orders#371404 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3  Hi, The system creates a lot of orders that never get completed and stay at status created. My customer has asked that and orders in this status after 1 month get automatically deleted. Is this possible or is there another way to handle these.  Thanks  Tony")*

Hallo Harald,

Ja, der Filter auf den Bestellstatus "Storniert" ist richtig.

Fuer die anderen beiden Filter muessen Sie den Filtertyp "Bestell-Spalte" (Order column) verwenden:

1. Keine Kundendaten: Erstellen Sie einen Filter vom Typ "Bestell-Spalte", waehlen Sie das Feld &#96;order_user_id&#96; und setzen Sie den Operator auf &#96;=&#96; mit dem Wert &#96;0&#96;. Bestellungen ohne Kundenkonto haben eine User-ID von 0.

2. Zahlungsart PayPal Express: Erstellen Sie einen weiteren Filter vom Typ "Bestell-Spalte", waehlen Sie das Feld &#96;order_payment_method&#96; und setzen Sie den Operator auf &#96;=&#96; mit dem Wert &#96;paypalexpress&#96;. Sie koennen den genauen Wert in einer bestehenden Bestellung im Reiter "Allgemein" unter "Zahlungsart" nachschauen.

Vergessen Sie nicht, zuerst mit der Aktion "Ergebnisse anzeigen" zu testen, bevor Sie die Loesch-Aktion aktivieren, damit Sie sehen koennen, welche Bestellungen betroffen sind.

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

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

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

Less More

- Posts: 28
- Thank you received: 2
-
-

7 months 4 days ago [\#371414](#371414) by [haraldundandrea](/forum/user/58773-haraldundandrea "View haraldundandrea's Profile")  Replied by *[haraldundandrea](/forum/user/58773-haraldundandrea "View haraldundandrea's Profile")* on topic *[How to auto delete no completed orders](/forum/35-orders-management/870386-how-to-auto-delete-no-completed-orders#371414 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3  Hi, The system creates a lot of orders that never get completed and stay at status created. My customer has asked that and orders in this status after 1 month get automatically deleted. Is this possible or is there another way to handle these.  Thanks  Tony")*

Hallo Nicolas,

der Filter scheint jetzt zu stimmen.

Ist Elemente löschen dann der richtige Vorgang, um die ausgewählten Bestellungen zu löschen?

Viele Grüße - Harald

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3MDM4Ni1ob3ctdG8tYXV0by1kZWxldGUtbm8tY29tcGxldGVkLW9yZGVycz90bXBsPW1hcmtkb3du) 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: 86363
- Thank you received: 14296
-
-

7 months 4 days ago [\#371415](#371415) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to auto delete no completed orders](/forum/35-orders-management/870386-how-to-auto-delete-no-completed-orders#371415 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3  Hi, The system creates a lot of orders that never get completed and stay at status created. My customer has asked that and orders in this status after 1 month get automatically deleted. Is this possible or is there another way to handle these.  Thanks  Tony")*

Hallo Harald,

Ja, "Elemente loeschen" ist die richtige Aktion, um die ausgewaehlten Bestellungen dauerhaft zu loeschen. Stellen Sie einfach sicher, dass Sie vorher mit "Ergebnisse anzeigen" getestet haben, damit nur die richtigen Bestellungen betroffen sind.

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

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

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

Less More

- Posts: 28
- Thank you received: 2
-
-

7 months 3 days ago [\#371430](#371430) by [haraldundandrea](/forum/user/58773-haraldundandrea "View haraldundandrea's Profile")  Replied by *[haraldundandrea](/forum/user/58773-haraldundandrea "View haraldundandrea's Profile")* on topic *[How to auto delete no completed orders](/forum/35-orders-management/870386-how-to-auto-delete-no-completed-orders#371430 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3  Hi, The system creates a lot of orders that never get completed and stay at status created. My customer has asked that and orders in this status after 1 month get automatically deleted. Is this possible or is there another way to handle these.  Thanks  Tony")*

Hallo Nicolas,

es scheint soweit jetzt alles zu funktionieren. Nach dem letzten Backup kamen bisher keine Bot-Bestellungen mehr dazu.

Ich habe die Massenaktion jetzt so eingestellt, dass einmal täglich bis zu 500 entsprechende Bestellungen gelöscht werden.

Neue, unvollständige Bestellungen setze ich erst nach 14 Tagen auf storniert, damit ich nicht versehentlich eine Bestellung lösche, die doch noch, z.B. per Überweisung oder manuell per PayPal bezaht wird. So haben Kunden bei Bedarf auch noch die Möglichkeit Kontakt aufzunehmen, falls sie Schwierigkeiten mit ihrer Bestellung haben/hatten.

Viele Grüße - Harald

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

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