Skip to content

Commit

Permalink
Merge pull request #104 from AzizKHAN030/demoAddToCart_issue
Browse files Browse the repository at this point in the history
Disabled ProductAttributesExtender class that is used for processing the products attributes in pure magento
  • Loading branch information
ViktoriiaOzhozhenko authored Sep 8, 2022
2 parents 53718f1 + d235860 commit 3cc5aa5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,18 @@
</type>
<type name="Magento\Catalog\Model\Product\Option\Type\File">
<arguments>
<argument name="validatorInfo" xsi:type="object">Magento\Catalog\Model\Product\Option\Type\File\ValidatorInfo\Proxy</argument>
<argument name="validatorFile" xsi:type="object">ScandiPWA\QuoteGraphQl\Model\Product\Option\Type\File\ValidatorFile\Proxy</argument>
<argument name="validatorInfo" xsi:type="object">
Magento\Catalog\Model\Product\Option\Type\File\ValidatorInfo\Proxy
</argument>
<argument name="validatorFile" xsi:type="object">
ScandiPWA\QuoteGraphQl\Model\Product\Option\Type\File\ValidatorFile\Proxy
</argument>
</arguments>
</type>
<type name="Magento\Quote\Model\Quote\Config">
<plugin disabled="true" name="append_requested_graphql_attributes"
type="Magento\QuoteGraphQl\Plugin\ProductAttributesExtender"/>
</type>
<preference for="Magento\Quote\Model\Quote\Item\Processor"
type="ScandiPWA\QuoteGraphQl\Model\Quote\Item\Processor"/>
<preference for="Magento\QuoteBundleOptions\Model\Cart\BuyRequest\BundleDataProvider"
Expand Down

0 comments on commit 3cc5aa5

Please sign in to comment.