Follow this guide to configure Shopware 6 for ProfitMetrics
Install the App- Single Channel Configuration
- Settings Verification
- Order Status
- Error Handling
- Multiple Shops/Sales Channels
- Product Feed
Step 1: Install the App
Go to ProfitMetrics > Integrations > Shopware 6 for the latest link to the Shopware 6 app
Step 2: Configuration
When only having one sales channel you only need to make settings for "All sales channels" (global settings).
The first card you need to configure is the "Profitmetrics Settings".
The fields here are where you establish the connection to Profitmetrics.
- An active/not active toggle.
- Account mode to choose between production or dev
- Store Public ID to insert ID from ProfitMetrics > Websites
- Script to include on all pages except order confirmation
- It is not necessary to edit for the plugin to work.
Step 3: Settings Verification
Next, we have two buttons "Send orders" and "Test API connection".
- Send orders: This button will trigger an order export to Profitmetrics immediately
- Test API connection: If you are connected to your Profitmetrics account, you can use this to test. This will become successful when the following three conditions are true:
-
- Active/not active = active
- Account mode = production
- Store Public ID = Public ID from ProfitMetrics > Websites
Step 4: Order Status
In the next section "Order status" we decide what states will trigger an order export to Profitmetrics. Here we have two action fields:
- Order states: Choose the states that will trigger an order export. In our example, we have chosen "Authorized" and "Paid". These are chosen because almost all orders will have one of the two states at some point.
- Status above matches ANY state machine: Here we choose what status type that can trigger an order export. Therefore, you need to make sure that you choose a status type which contains the order state(s) that you chose in "Order states". In this example, the type "Payment state" is chosen because "Authorized" and "Paid" are both states that are connected to "Payment state".
Now when you have an order that enters the state of either "Authorized" or "Paid" this is going to trigger an order export.
Step 5: Error Handling
The last section "Error handling" is for settings regarding error handling. Here you can choose how many times the system will try to export an order (in case it fails). Moreover, you have the option to activate an error log.
Step 6: Multiple Shops/Sales Channels
If you have multiple Shops/sales channels, then you need to change the Store Public ID for each Sales Channel.
- Change to the specific sales channel at the top of the config page
- Change the default from the Global setting to match the specific ID for each Sales Channel (from ProfitMetrics > Websites > Public ID)
Please note that the fields will appear locked until you click the 'link' icon. This acts as a 'use system settings' toggle
By default all fields are inherited from the global setting, so this is not necessary if there is only one sales Channel.
Step 7: Product Feed
Once the module is configured, please set up your product feed according to This Knowledge Base Guide.