How to set up Shopware 6

Follow this guide to configure Shopware 6 for ProfitMetrics

  1. Install the App
  2. Single Channel Configuration
  3. Settings Verification
  4. Order Status
  5. Error Handling
  6. Multiple Shops/Sales Channels
  7. 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).
ProfitMetrics Integration for Shopware 6
The first card you need to configure is the "Profitmetrics Settings".
The fields here are where you establish the connection to Profitmetrics.
ProfitMetrics Integration for Shopware 6
  • An active/not active toggle.
  • Account mode to choose between production or dev
  • Store Public ID to insert ID from ProfitMetrics > Websites
    ProfitMetrics Integration for Shopware 6
  • 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:

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:
Screenshot 2024-03-04 at 6.53.06 AM
  • 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.
Screenshot 2024-03-04 at 6.53.13 AM

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

Set up WexoProfitmetrics plugin for website - Step 10

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