Considering the convenience of managing the product information using Akeneo, Webkul has introduced Shopware 6 Akeneo Connector.
Shopware is a leading Germany based e-commerce platform. Till the date, the platform has received more than 80 thousand users and it is a wondrous e-commerce solution in the DASH region and surrounding territories.
Shopware is an open-source eCommerce framework. Meanwhile, the features which are taking this Plateform to the prime levels are content management capability, Drag-Drop design layout, Multi-warehouse system, scalability and performance, and many more.
You must be using Shopware 6.x
This module works with Akeneo 2.0.x, 2.1.x, 2.2.x, 2.3.x, 3.0.x, 3.1.x, 3.2.x and 4.0.x.
This module is compatible with the Akeneo community and Enterprise(Flexibility) edition.
If you want to use this extension on Akeneo EE Serenity mode, please contact us.
Step 4 –Run this command after ssh to your Akeneo server by the terminal.
php bin/console cache:clear--env=prod;
php bin/console shopware6:setup:install
Step5 – If you are using php-fpm. Then you need to restart the php-fpm services and apache web server.
sudo service php-fpm7.2restart
Common Issues After Installation
It might happen that even after proper installation, upon opening your Akeneo admin dashboard, you see a loading screen. While in that case, do check for the following solution:
Webpack Installation: If you get the below error.
It means that a web pack is not installed in your system. Run the following command.
<strong>npm install--save-prod webpack
Module routing.yml is not configured properly. Re-check the routing.yml file as mentioned in the 3rd step of Module Installation
Clear your browser cache.
Plugin to Export Images
After installation, you need to add a plugin in your shopware6 instance to export the images from Akeneo to Shopware6
1 – For that, you have to go to the Shopware6 backend and navigate to Settings>>System>>Plugins.
2 – Then Click to Upload plugins.
3 – After that upload the zip file.
4 – After the successful installation, click on the activate button and activate it.
Shopware 6 API Integration:
The admin can easily generate API keys from the Admin backend. For this, the admin will navigate to Setting>>System>>Integration as per the below image.
Now you have to click on Add Integration to create new API keys.
After clicking on Add Integration you have fill the API key name.
Copy the API Key then click to Save Integration.
Setup Credentials In Akeneo
After installing the module in Akeneo, you need to set up the Shopware6 API keys in Akeneo. Therefore, log into Akeneo then navigate to Shopware6 Connector>Setup Credentials you need to enter your website URL, then enter the Shopware6 API Integration Tokens as created.
Access key ID
Secret Access Key
Note – Use v1 and v2 when the Shopware version is less than 6. Use v2 and v3 when the Shopware version is greater than or equal to 6.3.
Click to Save button.
In the Locale Mapping section, you can add locales for your Shopware6 store.
After setting up the Shopware6 API keys in Akeneo, Therefor you need to map the product fields between Shopware6 and Akeneo as per the below image.
Map More Standard Attribute:
If your products have lots of information, you can enter Shopware6 attribute code ID then click Add Field. The Shopware6 Akeneo Connector module supports various attributes of Shopware6 products. Please make sure to use the same attribute code of Shopware6 in Akeneo.
You can also add Shopware Custom attribute code enter the Shopware attribute code ID then click Add Field.
Attributes to be used asCover Images – The selected Akeneo image attributes will be used as the cover image of the product.
Attributes to be used as Images – The selected Akeneo image attributes will be visible as Shopware6 product gallery images.
AttributeTo be used as Properties Values(For Export) – The select type attribute of Akeneo properties value(color, material, brand, etc) will be exported to Shopware6 from Akeneo.
Family and Attribute to be used as Tags – All Akeneo attribute and family will be exported to Shopware6 from Akeneo.
Display in listing attributes – All select & multi-select type attribute are will be exported to Shopware6 from Akeneo.
Shopware Backend –
Mapping for boolean Tags
In this, you have to select
Export Metric Unit:
In this, you can select yes or no to export matric tags unit with metric value or not.
Media Folder ID:
In this you need to enter the folder id in which media will be exported in Shopware 6. For that you have to copy the folder Id from Shopware Store in which the media will be exported.
Shopware Backend –
Exported Metric Unit.
Media Folder ID:
Media from Akeneo will be exported to folder of Shopware store.
Import Attribute Option:
To export some of the product details like tax, manufacture, delivery time, sales, and scale. You need to first import those attributes so that the attribute id of shopware6 will also be imported to Akeneo. After that, there will be no error while exporting the product.
Now to import the attribute from Shopware6 to Akeneo. Create the import profile for that you have to navigate to Import>>Create Import Profile.
Then to create an import profile fill code, label, then select the job.
After that click to the Import button.
Now you can check the import details.
You need to activate the credentials to export the products from Akeneo to Shopware6. The active credential will be visible at the time of creating an export profile.
You can also enable the option to Quick Export the products from the Akeneo product grid.
Default for QuickExport
Create Simple Product In Akeneo:
You can also create a product in Akeneo. Therefore, navigate to Products. Then click the Create button.
Now, you need to choose your action – as Product or Product Model as per the below image. You can select-
Product – if you want to create simple products.
Enter the SKU, choose a family, then click the Save button as per the below image.
Product Family – This is a set of attributes that will be the same for all products belonging to a family.
The product family represents product type, imposes product information structure and defines the list of attributes for a product that it belongs to.
Add Product Details
Now you need to provide information about the product.
After that, enter the details like tax, manufacturer, and upload the product image.
In order to add product information, select the attribute options you require. Therefore, you can also create new options for the attribute.
Following Attributes from Akeneo are supported for export:
Once you will be done with attributes then Add information for other languages and store views.
After entering all the product information. Then you can also select Categories for the created product.
Shopware6 Export Job:
In order to export the products, first of all, you need to create the Export Profile. Therefore, navigate to Exports -> Create Export Profile as per the below image.
Tapping on create an export profile button will redirect you to the Export Profile page. Therefore, you will enter a unique code, the label then select a job profile.
In the Job field, you need to select the Shopware6 Product Export Job.
Then click Save.
Filter The Data:
You can export the filtered data. Therefore, navigate to the Content section as per the below image.
You can filter the data as per-
Channel – This selects the relevant channel of products to export.
Locales – Depending as per your choice multiple locals can be selected.
Currency – Select the default currency which you want to export.
Attributes – select the product attributes which you want to export. You can either select all attributes else click the edit button to select the attributes.
After that click the Save button.
Note -: Before exporting product fro Akeneo to Shopware you need to export attribute, attribute option, and category.
After creating the export profile, click on the Export Now button as per the below image.
After the execution of the export process, you can check the process summary and errors if present.
After the completion of the export process, you can check the products in the Shopware6 catalog. The admin can view the products so if there will be any changes in the product edit form of Shopware6 as per the below image.
Once the product exported from Akeneo will appear on the storefront as per the image.
Creating Variant Product in Akeneo:
You can also create a variant product in Akeneo, for this click to the product option then click to create
Then select the product model.
Product Model – If you want to create a variant product with variations.
Select Product Family:
This is a set of attributes that will be the same for all products belonging to a family in which variants are added.
Enter the code, choose a family, then click the Save button as per the below image.
Add Product Details
Now you need to provide information about the product. Similarly to the simple product.
Then add variant:
Click on the selected variants as per the below image.
Fill the variant and code:
Select the variant which is available and give them some specific code.
Select the variant then click to the Save.
Then export the product to Shopware.
Quick Export Job
Shopware6 Akeneo Connector has an amazing feature, where you can quickly create or export product(s) without going through all the job creation process. The Quick Export feature allows you to quickly export a product to Shopware6. To do that, go to the Products page then a select product from the list then click Quick Export
After that select the Quick Export option. Then that small slide notification will be stating the Quick Export job has been launched.
You can check the progress of the job, by going to Activity>Process Tracker. Also, once the quick export job is complete, then you can see the notification message on top.