You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.
When sending product configuration for variable products to Shopware we send :
for parent product - all options for the property, regardless if option is assigned to product in the template or not.
for child product - only options that are assigned to the parent product, which results in nothing being sent, as options are assigned to child product as identifiers, not to parent product
When variable products are created in Shopware directly (not via Ergonode), the following configuration is created
for parent products - configuration with options that are assigned to their children
for child products - none
Possible Solution
The only product configuration that is sent to Shopware should be based on loop on children product to detect the options that are actually assigned to the product.
Bug type
Architecture
Current behavior
When sending product configuration for variable products to Shopware we send :
Input Code
https://github.com/ergonode/exporter-shopware-6-backend/blob/236c13dbe540eb362ed0a8dc5177548108c48a46/src/Infrastructure/Mapper/Product/ProductVariantChildMapper.php
Expected behavior
When variable products are created in Shopware directly (not via Ergonode), the following configuration is created
Possible Solution
The only product configuration that is sent to Shopware should be based on loop on children product to detect the options that are actually assigned to the product.
Environment
@wfajczyk
The text was updated successfully, but these errors were encountered: