Originally written by Robbie Lewis, last updated 24 January 2024, on the Swan Retail knowledge base (Trims Support › TRIMS WooCommerce Plugin).
The dashboard provides full control of data synchronisation and access to all configuration for your TRIMS WooCommerce integration.
You can access the dashboard by clicking “TRIMS” on the left menu when logged into your WordPress CMS. At the top right of the dashboard you can see the current version of the plugin.
Quick Jump
- Product sync
- Stock sync
- Activity log
- Integration settings
Product sync
The product sync panel gives realtime status information for the synchronisation of product data from TRIMS to the website. Below you can find more information about each element in this panel.
Element name | Description |
|---|---|
Status | Current status of the product sync e.g. Waiting for data, Sync in progress. When you start or stop the sync, this status will update in real time. |
Last sync started | The date and time that this sync was last started by a user in the CMS. Each time the sync is stopped and then started again, this date is updated. |
Start product stnc | This button starts the sync is it is currently stopped. After clicking it, wait a few moments for it to refresh. The sync status should change to “Waiting for data” shortly after clicking this button. Clicking this button will change the “Last sync started” timestamp to the current date and time. When you stop or start the sync, it is recorded in the log with your username, |
Stop product sync | This button stops the sync if it is currently running. If a sync is currently in progress, the remaining items in the current batch will be completed before the sync stops. When you stop or start the sync, it is recorded in the log with your username, |
Import all products | This button can only be used when the product sync has been stopped. Clicking this button will import all products from TRIMS into the website. If the products do not exist in WooCommerce they will be created. If the products already exist in WooCommerce they will be updated. |
Stock sync
The stock sync panel gives realtime status information for the synchronisation of product stock levels from TRIMS to the website. Below you can find more information about each element in this panel.
Element name | Description |
|---|---|
Status | Current status of the product sync e.g. Waiting for data, Sync in progress. When you start or stop the sync, this status will update in real time. |
Last sync started | The date and time that this sync was last started by a user in the CMS. Each time the sync is stopped and then started again, this date is updated. |
Sync stock and price now | This button starts the sync is it is currently stopped. After clicking it, wait a few moments for it to refresh. The sync status should change to “Waiting for data” shortly after clicking this button. Clicking this button will change the “Last sync started” timestamp to the current date and time. When you stop or start the sync, it is recorded in the log with your username, |
Stop stock and price sync | This button stops the sync if it is currently running. If a sync is currently in progress, the remaining items in the current batch will be completed before the sync stops. When you stop or start the sync, it is recorded in the log with your username, |
Import all stock | This button can only be used when the stock sync has been stopped. Clicking this button will import all stock information from TRIMS into the website. Stock levels will only be updated for products which already exist in TRIMS. |
Activity log
The activity log shows the last 50 lines of the daily sync log. It refreshes automatically every 10 seconds. You can view the full log by clicking the link at the bottom “view full log”. The log will open as a text file in a seperate browser tab.
The date forms part of the activity log’s file name e.g.
https://www.example.com/wp-content/uploads/trims-logs/sync/2024-01-24/log.txt
You can manually change the date in the URL to browse through a previous day's logs. e.g.
https://www.example.com/wp-content/uploads/trims-logs/sync/2024-01-23/log.txt
All log files are rotated automatically, so are deleted after 5 weeks.
There is also an option top right of the panel to delete all logs on the website. Logs are useful and shouldn’t be deleted unless they are causing an issue.
Integration settings
This section contains all settings for your TRIMS integration. You shouldn’t change the settings here unless you’ve been instructed to. Setting something incorrectly could break the website.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article