Skip to content

magento man

Issue with overriding /magento/vendor/magento/module-sales/view/adminhtml/templates/order/view/info.phtml

I need to override template magento/vendor/magento/module-sales/view/adminhtml/templates/order/view/info.phtml and I have following setup of files. Module name : Iwdat_AddressExt278 /Block/Adminhtml/Order/View/Info.php <?php namespace IwdatAddressExt278BlockAdminhtmlOrderView; class Info extends MagentoSalesBlockAdminhtmlOrderViewInfo { protected function _construct() { $this->_template = ‘Iwdat_AddressExt278::order/view/info.phtml’; parent::_construct(); } } ** /etc/adminhtml/di.xml** <?xml version=”1.0″?>… Read More »Issue with overriding /magento/vendor/magento/module-sales/view/adminhtml/templates/order/view/info.phtml

How to Skip Translation for specific input in magento2.4.3

I have added quantity increment and decrement button in minicart <input data-bind=”value: qty, attr: { id: ‘cart-item-‘+item_id+’-qty’, ‘data-cart-item’: item_id, ‘data-item-qty’: qty, ‘data-cart-item-id’: product_sku }” type=”number” size=”4″ class=”item-qty cart-item-qty”> But when store switched from English to Arabic value within input also… Read More »How to Skip Translation for specific input in magento2.4.3

Show hide content using Knockout js in magento 2 on click button

I want to create content show hide functionality using knockout js in shipping page. here is my html file code <button type=”submit” title=”Select” class=”action primary” id=”rh-select-btn” data-bind=”click:addCustomOptions”><span>Select</span></button> <button type=”submit” title=”Select” class=”action primary” id=”rh-select-btn” data-bind=”click:addCustomOptions2″><span>Select2</span></button> <div> <p>Hey You</p> <div data-bind=”html: window.checkoutConfig.my_block_content”></div>… Read More »Show hide content using Knockout js in magento 2 on click button