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

#   Removing old data because of gdpr rules

##

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

Less More

- Posts: 7
- Thank you received: 1
-
-

1 year 5 months ago [\#367314](#367314) by [Frednet](/forum/user/59563-frednet "View Frednet's Profile")  *[Removing old data because of gdpr rules](/forum/35-orders-management/909455-removing-old-data-because-of-gdpr-rules#367314 "I would like an option for our shopkeeper to remove old orders including all email and address data. It should only remove users created in Hikashop and not those created in Joomla user management. Am I overlooking the obvious or is this feature missing?  Best regards Fred")* was created by *[Frednet](/forum/user/59563-frednet "View Frednet's Profile")*

I would like an option for our shopkeeper to remove old orders including all email and address data.
It should only remove users created in Hikashop and not those created in Joomla user management.
Am I overlooking the obvious or is this feature missing?

Best regards Fred

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

Less More

- Posts: 86564
- Thank you received: 14311
-
-

1 year 5 months ago [\#367316](#367316) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Removing old data because of gdpr rules](/forum/35-orders-management/909455-removing-old-data-because-of-gdpr-rules#367316 "I would like an option for our shopkeeper to remove old orders including all email and address data. It should only remove users created in Hikashop and not those created in Joomla user management. Am I overlooking the obvious or is this feature missing?  Best regards Fred")*

Hi,

The regarding email data, I suppose that you're talking about the emails in the Customers&gt;Emails history menu.
These are handled by the email history plugin. Edit its settings via the Joomla plugins manager and you'll find a setting "number of days" where you can configure the retention period for the emails.
If left empty, emails won't be deleted.

Regarding the addresses of a user, there is no mechanism to delete them after a certain period of time. This has to happen at the user account level and at the order level.
When you delete a Joomla user account, HikaShop will automatically delete its associated addresses.
Similarly, when you delete orders in the backend, HikaShop will automatically delete its billing and shipping addresses.

For the Joomla user accounts, you can use a task plugin like this:
[ extensions.joomla.org/extension/manage-inactive-users-task/](https://extensions.joomla.org/extension/manage-inactive-users-task/)

And if you need to automate the deletion of old orders, you can create a mass action for that in the System&gt;Mass actions menu:
- with the trigger "every hour"
- with a filter on the "order_created" column being lower than "{time}-xxx" where xxx is the number of seconds you wish to keep an order on your website.
- with a limitation of 100 instead of the default 500, in order to not delete too many orders at once
- with an action "delete elements"

Note that it won't necessarily be the oldest orders that will be deleted first unless you also add a filter "order column" with the value "order_created" and a filter "order direction" with the value ascending to your massaction.

You can read more about mass actions here:
[ www.hikashop.com/support/documentation/167-massaction-form.html](https://www.hikashop.com/support/documentation/167-massaction-form.html)

The following user(s) said Thank You: [Frednet](/forum/user/59563-frednet "View Frednet's Profile")

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

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

Less More

- Posts: 7
- Thank you received: 1
-
-

1 year 5 months ago [\#367333](#367333) by [Frednet](/forum/user/59563-frednet "View Frednet's Profile")  Replied by *[Frednet](/forum/user/59563-frednet "View Frednet's Profile")* on topic *[Removing old data because of gdpr rules](/forum/35-orders-management/909455-removing-old-data-because-of-gdpr-rules#367333 "I would like an option for our shopkeeper to remove old orders including all email and address data. It should only remove users created in Hikashop and not those created in Joomla user management. Am I overlooking the obvious or is this feature missing?  Best regards Fred")*

Thank you for pointing out these options, that will help organizing things.![:)](/media/kunena/emoticons/3.png ":)") :

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

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