Shopware 6: integration guide
About this guide
This guide describes ChannelEngine's integration with Shopware 6, including how to install and configure it.
Table of contents
Introduction
Shopware 6 is a cloud-based ecommerce solution for B2B and B2C merchants to sell their products and scale their businesses online. This integration with ChannelEngine is a generic, API-based connector that can be used by all ChannelEngine customers.
Features
Supported | Not supported |
Product data | Sales channels* |
Product offers | Returns (channel) |
Shipments | Returns (merchant) |
Orders | Return track and trace information |
Product images | Order extra data |
Cancelations (merchant) | Multiple stock locations |
Three-level product structure | |
Channel-fulfilled orders |
* While Shopware 6 supports adding multiple sales channels, only one sales channel can be added per ChannelEngine environment.
Requirements
- Active account on Shopware 6 Shopware (v6.4.0.0 - 6.4.20.2, v6.5.0.0 - 6.5.3.2)
- Active merchant account on ChannelEngine
How to request an account
To sign up for an account with Shopware 6, visit their website and request a product demo.
Installation
Obtain Shopware 6 API credentials
To establish a successful connection between Shopware 6 and ChannelEngine, you need to obtain your API client ID and Client secret by creating a new integration.
- Log in to your Shopware 6 account and go to Settings, System, Integrations.
- Click Create new integration, give the integration a name (e.g.: ChannelEngine), and toggle the Administrator option next to the name field to enable administrator permissions.
- Click Save integration, and then copy the Access key ID and Secret access key. More information on creating integrations can be found on the Shopware help center.
Create a sales channel on Shopware 6
While Shopware 6 allows you to add multiple sales channels to your merchant system, only one sales channel per ChannelEngine environment is supported. You can, however, add multiple countries and currencies to a single sales channel on Shopware 6. For more information on this, consult the Shopware help center article Add a sales channel.
Create Shopware 6 connector on ChannelEngine
- Log in to your ChannelEngine environment and go to Channels, Shopware 6 to add the connector.
- On the Setup page, add the URL of your Shopware store in the Shop URL field.
- Paste the Access key ID and Secret access key you copied earlier from the Shopware 6 back-end into the Client ID and Client secret fields.
- In the Sales channel field, enter the name of your sales channel from the Shopware 6 back-end.
- Click Save when you are done, then proceed to the Activate section to activate the connector and validate the API credentials. A green checkmark indicates that the connection was successful.
How it works
After establishing the connection between Shopware 6 and your ChannelEngine tenant, the following tasks are performed every 15 minutes:
- Exporting product data and product offers, including pricing and stock information.
- Importing new orders.
Orders
Following the activation of the connector, all new orders are exported from ChannelEngine to your merchant system during the initial synchronization. Orders created in the Shopware 6 webstore must be acknowledged for the order status to update to In progress on ChannelEngine.
Shopware 6 has four default order statuses: Open, In progress, Canceled, and Completed. Newly created orders on ChannelEngine have the status Open. Marking an order as shipped on Shopware 6 causes ChannelEngine to import those shipments.
Shipments
Shopware 6 shipments are exported to ChannelEngine for all orders every 15 minutes.
Cancelations
When a cancellation is initiated on an order from another channel, that order is updated in Shopware 6 via the integration. After the initial synchronization, further update tasks are scheduled every 15 minutes. These tasks ensure that order statuses are correctly updated in Shopware 6 and aligned with the order statuses on ChannelEngine.
Products
- EAN/GTIN - to ensure successful import on ChannelEngine, it is important to always include a GTIN for standalone products created on Shopware 6 – even though it may not be mandatory within your merchant system. Standalone products without an assigned GTIN are rejected during import, and an error message is shown on ChannelEngine. Note that this does not apply to parent products, as they are not sellable.
- Categorization - while Shopware 6 allows you to select multiple categories for a product, this feature is not supported on ChannelEngine. It results in a product import task error, and the product is rejected. Only one category can be assigned to a product.
- Variations - Shopware has built-in support for child product variations. Child products can be generated from the Variants tab in the product creation menu on Shopware 6, and are based on properties such as material, color, etc. Stock is assigned to variants separately from the parent product.
-
Three-level product structures/grandparents - to enable three-level product relationships (i.e.: grandparent products), you must first enable this option on the Setup page of your Shopware 6 connector on ChannelEngine. The option Generate grandparent products can be found in the Advanced settings section.
Once this option is enabled, a field called Custom fields appears on Shopware 6 in the Specifications tab under Catalogs, Products. Enter a value for the grandparent SKU into this field to create the relationship and generate product data for the grandparent. The data which is automatically generated for the grandparent product follows the same logic as is explained in the article ChannelEngine: product feeds. The longest common name and the minimum price are taken from the associated parent products and used for the grandparent.
Extra data
There is currently no support for extra data on orders or order lines through the connector, other than the Channel name and the Channel ID.
FAQs
Can I have multiple languages/Shopware 6 stores connected with ChannelEngine?
There are two options for multi-language and multi-store support. While Shopware 6 does support multiple sales channels, only one sales channel can be used for the connection per ChannelEngine environment. Therefore, you can have two separate ChannelEngine accounts – and connect each one to a different Shopware 6 store. Alternatively, you can use a single ChannelEngine account and include your translated product data fields as custom fields.
Comments
0 comments
Please sign in to leave a comment.