2

The afterRender method calls the specified method (test) of your component. So for your case you must define the test method inside the minicart component. You must add a mixin for the vendor/magento/module-checkout/view/frontend/web/js/view/minicart.js and add the test method or completely change the renderer component to define a new method. Here is simple ...


2

If you want to call a pop on your custom button click then you have to create a modal box . For create a modal box, you need to create a child block of Magento\Sales\Block\Adminhtml\Order\View . On that child build a modal box with form After that add this child Block HTML out with Magento\Sales\Block\Adminhtml\Order\View out using toHtml()plugin. ...


1

I would create a static block with your code and then call the static block via /app/design/frontend/Vendor/theme/Magento_Theme/layout/default.xml <block class="Magento\Cms\Block\Block" name="godaddy.seal" before="-"> <arguments> <argument name="block_id" xsi:type="string">block_code_name</argument> </arguments> ...


1

I am only for you suggest. may be help you Magento 2 jquery or javascript not add in cms block SO you create the simple the .phtml file and call the your footer cms block like :- {{block class="Magento\Framework\View\Element\Template" template="Vendor_Module::myfiles/myfile.phtml"}}


Only top voted, non community-wiki answers of a minimum length are eligible