New answers tagged

0

For update minicart section first we create a sections.xml in /etc/frontend/ <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Customer:etc/sections.xsd"> <action name="test/process/observer">...


0

Try the following way using a plugin: app/code/VendorName/ModuleName/etc/di.xml <type name="Magento\Checkout\Model\Session"> <plugin name="sr_checkout_clear_quote_after_order" type="VendorName\ModuleName\Plugin\Model\Session" sortOrder="1"/> </type> app/code/VendorName/ModuleName/Plugin/Model/...


Top 50 recent answers are included