How to Delete Chat Data and Attachment Files in Live Chat
Managing and periodically cleaning up chat data is essential for maintaining your PrestaShop store's performance and organization. This guide will show you how to delete chat data using the clean-up chat data feature in the "Live Chat, Contact Form & Ticket System" module for PrestaShop.
Why you should clean up chat data?
Deleting chat data helps to free up storage, improve performance, and maintain the organization of your store's communication records. This feature is useful in scenarios where old conversations and attachments are no longer needed, and it can prevent your database from becoming cluttered.
How to clean up chat data and attachments
Follow this instruction to configure the clean-up chat data feature and delete attachment files:
Step 1: Access the settings
- Navigate to the module configuration page.
- Go to the "Settings" menu.
- Select the "Live chat" tab.
Step 2: From the sidebar, choose "Clean-up".
Step 3:
Clear conversations: You can choose to delete chat conversations based on their age. The available options are:
- Everything: Deletes all chat conversations.
- 1 week old: Deletes conversations that are older than one week.
- 1 month old: Deletes conversations that are older than one month.
- 6 months old: Deletes conversations that are older than six months.
- 1 year old: Deletes conversations that are older than one year.
Example: If you select "1 month old", all chat conversations older than one month will be deleted.
After selecting the desired option, click "Clear conversations" and confirm the deletion. The selected conversations will be removed from the database.
Delete past attachments: You can choose to delete file attachments from chat conversations and the ticketing system based on their age. The available options are:
- Everything: Deletes all attachments.
- 1 week old: Deletes attachments that are older than one week.
- 1 month old: Deletes attachments that are older than one month.
- 6 months old: Deletes attachments that are older than six months.
- 1 year old: Deletes attachments that are older than one year.
Example: If you select "6 months old", all attachments older than six months will be deleted.
After selecting the desired option, click "Delete attachments" and confirm the deletion. The selected attachments will be removed.
Conclusion
Regularly deleting chat data and attachments helps keep your PrestaShop store's database clean and efficient. Using the clean-up chat data feature, you can easily manage and remove old and unnecessary chat records, ensuring your system remains organized and performs optimally.