Skip to content

Commit

Permalink
PAC-883: add entity mapping for parent_sku
Browse files Browse the repository at this point in the history
  • Loading branch information
kenza-ya committed May 28, 2024
1 parent 2e632bf commit b018b63
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion symfony/Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
<argument type="service" id="import_product_ee.processor.product.bunch"/>
<argument type="string">%import_product_link.param.sku.column.name%</argument>
</service>
<service id="import_product_link_ee.observer.parent.sku.row.id.mapping" class="TechDivision\Import\Product\Ee\Observers\GenericSkuRowIdMappingObserver">
<argument type="service" id="import_product_ee.processor.product.bunch"/>
<argument type="string">%import_product_link.param.parent.sku.column.name%</argument>
</service>
<service id="import_product_link_ee.observer.clean.up.product.link" class="TechDivision\Import\Product\Link\Ee\Observers\EeCleanUpLinkObserver">
<argument type="service" id="import_product_link.processor.product.link"/>
</service>
Expand All @@ -35,6 +39,9 @@
| The DI configuration for the composite observers of the add-update operation.
|-->
<service id="import_product_link_ee.observer.composite.add_update" class="TechDivision\Import\Observers\GenericCompositeObserver">
<call method="addObserver">
<argument id="import_product_link_ee.observer.parent.sku.row.id.mapping" type="service"/>
</call>
<call method="addObserver">
<argument id="import_product_link_ee.observer.sku.row.id.mapping" type="service"/>
</call>
Expand All @@ -57,4 +64,4 @@

</services>

</container>
</container>

0 comments on commit b018b63

Please sign in to comment.