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

#   How to Disable delete orders

##

- **[reace](/forum/user/272-reace "View reace's Profile")**
- [![reace's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar272.gif)](/forum/user/272-reace "View reace's Profile") Topic Author
- [ Offline](/forum/user/272-reace)
- Entrepreneur

Less More

- Posts: 93
- Thank you received: 5
-
-
-
-

15 years 11 months ago [\#2877](#2877) by [reace](/forum/user/272-reace "View reace's Profile")  *[How to Disable delete orders](/forum/4-how-to/2877-how-to-disable-delete-orders#2877 "Hi nicholas,  Just wondering , is there an easy way of being able to disable the ability to delete orders through the shop?  Thanks.  I need to be able to track all orders")* was created by *[reace](/forum/user/272-reace "View reace's Profile")*

Hi nicholas,

Just wondering , is there an easy way of being able to disable the ability to delete orders through the shop?

Thanks.

I need to be able to track all orders

---

you Guys are Awesome and have excellent Support! Keep up the great Work!.

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

15 years 11 months ago [\#2879](#2879) 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 to Disable delete orders](/forum/4-how-to/2877-how-to-disable-delete-orders#2879 "Hi nicholas,  Just wondering , is there an easy way of being able to disable the ability to delete orders through the shop?  Thanks.  I need to be able to track all orders")*

If you want to remove the order suppression, the best you can do is remove the DELETE access rights on the jos_hikashop_order table in phpmyadmin. That way, you will be sure that nothing can delete the data in there. That can be done in phpmyadmin providing that you have enough access rights to do it.

Alternatively, you can empty the delete function from the file administrator/components/com_hikashop/classes/order.php so that you leave only that code:
function delete(&amp;$elements){
}

However, the second option will be overwritten when you update hikashop so I would recommend option no. 1

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

- **[reace](/forum/user/272-reace "View reace's Profile")**
- [![reace's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar272.gif)](/forum/user/272-reace "View reace's Profile") Topic Author
- [ Offline](/forum/user/272-reace)
- Entrepreneur

Less More

- Posts: 93
- Thank you received: 5
-
-
-
-

15 years 11 months ago [\#2954](#2954) by [reace](/forum/user/272-reace "View reace's Profile")  Replied by *[reace](/forum/user/272-reace "View reace's Profile")* on topic *[Re: How to Disable delete orders](/forum/4-how-to/2877-how-to-disable-delete-orders#2954 "Hi nicholas,  Just wondering , is there an easy way of being able to disable the ability to delete orders through the shop?  Thanks.  I need to be able to track all orders")*

thanks mate , legend ![:)](/media/kunena/emoticons/3.png ":)")

---

you Guys are Awesome and have excellent Support! Keep up the great Work!.

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

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