How to auto delete no completed orders

  • Posts: 93
  • Thank you received: 3
11 years 6 months ago #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

Please Log in or Create an account to join the conversation.

  • Posts: 26323
  • Thank you received: 4064
  • MODERATOR
11 years 6 months ago #167593

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

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 103
  • Thank you received: 5
5 years 9 months ago #319098

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 or Create an account to join the conversation.

  • Posts: 85238
  • Thank you received: 13915
  • MODERATOR
5 years 9 months ago #319099

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

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 1
  • Hikashop Business
3 days 1 hour ago #370705

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 or Create an account to join the conversation.

  • Posts: 85238
  • Thank you received: 13915
  • MODERATOR
2 days 10 hours ago #370707

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>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
The mass action will then delete the newly cancelled orders once every day.

Please Log in or Create an account to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum