- Posts: 93
- Thank you received: 5
How to Disable delete orders
15 years 9 months ago #2877
by reace
you Guys are Awesome and have excellent Support! Keep up the great Work!.
How to Disable delete orders was created by reace
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
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 or Create an account to join the conversation.
15 years 9 months ago #2879
by nicolas
Replied by nicolas on topic Re: How to Disable delete 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(&$elements){
}
However, the second option will be overwritten when you update hikashop so I would recommend option no. 1
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(&$elements){
}
However, the second option will be overwritten when you update hikashop so I would recommend option no. 1
Please Log in or Create an account to join the conversation.
15 years 9 months ago #2954
by reace
you Guys are Awesome and have excellent Support! Keep up the great Work!.
Replied by reace on topic Re: How to Disable delete orders
thanks mate , legend
you Guys are Awesome and have excellent Support! Keep up the great Work!.
Please Log in or Create an account to join the conversation.
Time to create page: 0.178 seconds