Skip to content

Commit ba40058

Browse files
committed
AC-13171: Fixed Product Tax (FPT) is not displaying separately with configurable products
Moving di changes to frontend di.xml
1 parent f20cc73 commit ba40058

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

app/code/Magento/Weee/etc/di.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,6 @@
9393
<type name="Magento\ConfigurableProduct\Pricing\Price\FinalPriceResolver">
9494
<plugin name="configurableProductPriceAdjustment" type="Magento\Weee\Plugin\ConfigurableProduct\Pricing\FinalPriceResolver"/>
9595
</type>
96-
<type name="Magento\ConfigurableProduct\Block\Product\View\Type\Configurable">
97-
<plugin name="addWeeeToConfigurableJsonConfig" type="Magento\Weee\Plugin\ConfigurableProduct\Block\Product\View\Type\Configurable"/>
98-
</type>
99-
<type name="Magento\Swatches\Block\Product\Renderer\Listing\Configurable">
100-
<plugin name="addWeeeToSwatchListingJsonConfig" type="Magento\Weee\Plugin\ConfigurableProduct\Block\Product\View\Type\Configurable"/>
101-
</type>
10296
<type name="Magento\Catalog\Model\ResourceModel\Product\Indexer\LinkedProductSelectBuilderByIndexPrice">
10397
<plugin name="weeeAttributeProductSort" type="Magento\Weee\Plugin\Catalog\ResourceModel\Product\WeeeAttributeProductSort"/>
10498
</type>

app/code/Magento/Weee/etc/frontend/di.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,10 @@
2020
<type name="Magento\Checkout\CustomerData\Cart">
2121
<plugin name="cart_private_data_tax" type="Magento\Weee\Plugin\Checkout\CustomerData\Cart"/>
2222
</type>
23+
<type name="Magento\ConfigurableProduct\Block\Product\View\Type\Configurable">
24+
<plugin name="addWeeeToConfigurableJsonConfig" type="Magento\Weee\Plugin\ConfigurableProduct\Block\Product\View\Type\Configurable"/>
25+
</type>
26+
<type name="Magento\Swatches\Block\Product\Renderer\Listing\Configurable">
27+
<plugin name="addWeeeToSwatchListingJsonConfig" type="Magento\Weee\Plugin\ConfigurableProduct\Block\Product\View\Type\Configurable"/>
28+
</type>
2329
</config>

0 commit comments

Comments
 (0)