Can anyone help me to Add newsletter checkbox on checkout order summary? Please check screenshot for exact requirement.
-
Have you found solution?– jackMar 29, 2018 at 5:24
-
No @jack still I am looking for the solution.– user53816Mar 29, 2018 at 5:33
-
magento.stackexchange.com/questions/223249/…– akashmalikAug 14, 2021 at 14:27
1 Answer
You can try This Extension (free) and try to change the placement of checkbox to order summary.
If you look at /vendor/magento/module-checkout/view/frontend/layout/checkout_index_index.xml
file, you will find an item:
<item name="itemsAfter" xsi:type="array">
<item name="component" xsi:type="string">uiComponent</item>
<item name="children" xsi:type="array">
<!-- merge your components here -->
</item>
</item>
You can override this layout file and move newsletter block/container from extension to here..