Skip to content

Commit

Permalink
Merge pull request #613 from afoucret/fix-swatches
Browse files Browse the repository at this point in the history
Fix swatches in 2.2.
  • Loading branch information
afoucret authored Nov 9, 2017
2 parents ebf221e + 5095c50 commit e0d4e5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/module-elasticsuite-swatches/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
</arguments>
</type>

<type name="Magento\Swatches\Block\Product\Renderer\Configurable">
<arguments>
<argument name="swatchHelper" xsi:type="object">Smile\ElasticsuiteSwatches\Helper\Swatches</argument>
</arguments>
</type>

<type name="Magento\Swatches\Controller\Ajax\Media">
<arguments>
<argument name="swatchHelper" xsi:type="object">Smile\ElasticsuiteSwatches\Helper\Swatches</argument>
Expand Down

0 comments on commit e0d4e5e

Please sign in to comment.