Category

Magento

Category

Vendor/MyModule/view/adminhtml/ui_component/my_grid_listing.xml file: <column name=”link”> <argument name=”data” xsi:type=”array”> <item name=”config” xsi:type=”array”> <item name=”label” xsi:type=”string” translate=”true”>Link</item> <item name=”component” xsi:type=”string”>Vendor_MyModule/js/grid/cells/link</item> <item name=”sortOrder” xsi:type=”number”>50</item> <item name=”sortable” xsi:type=”boolean”>false</item> <item name=”disableAction” xsi:type=”boolean”>true</item> </item> </argument> </column> and disabled function getFieldHandler() in: Vendor/MyModule/view/adminhtml/web/js/grid/cells/link.js define([ ‘Magento_Ui/js/grid/columns/column’ ], function (Column) { ‘use strict’; return Column.extend({ defaults: { bodyTmpl: ‘Vendor_MyModule/grid/cells/link’, }, getFieldHandler: function (record) { return false; } }); } ); Template: Vendor/MyModule/view/adminhtml/web/template/grid/cells/link.html

You have to disabled Sales > Payment Method > Update Merchant Country to US Then move to Basic Settings – PayPal Express Checkout > Advanced Settings > Frontend Experince Settings > Features > Disable Funding Option Select PayPal Credit to disabled it. Check this image and set setting according to hide button. Reference : https://magento.stackexchange.com/questions/319341/magento2-how-to-remove-paypal-credit-button-from-product-detail-page

ADD this HTML to your .phml file which one used for file upload <form class=”upload-form” name=”UploadFrom” action=”<?php echo $block->getUrl(‘onlinewarranty/index/OnlineEmail’); ?>” id=”upload-form” method=”post” enctype=’multipart/form-data’ autocomplete=”off”> <?= / @noEscape / $block->getBlockHtml(‘formkey’); ?> <input type=”file” name=”upload_file” id=”file-upload”/> <button type=”submit” class=”action submit primary ” title=”<?= $block->escapeHtml(‘Submit’) ?>” > <span> <?= $block->escapeHtml(‘Submit’) ?> </span> </button> </form> now user select the file and upload it here and when the user submits the button click the ACTION PATH controller call.put this code into your…

Magento module that its directory containing blocks, controllers, models, helpers that are related to business features. Every module can work pretty much standalone unit or with minimal dependencies with other modules. If we need to integrate extra features, a part of Magento default features, then we can make custom functionalities. We can override the default Magento features as per our requirements. For this module we will create a 4 parts. PART 1 – We are right now in part…

https://youtu.be/HZQtAYLR1R0 How To retrive store sender name and email address : you can check below code General Contact /* Sender Name */ Mage::getStoreConfig(‘trans_email/ident_general/name’); /* Sender Email */ Mage::getStoreConfig(‘trans_email/ident_general/email’); Sales Representative /* Sender Name */ Mage::getStoreConfig(‘trans_email/ident_sales/name’); /* Sender Email */ Mage::getStoreConfig(‘trans_email/ident_sales/email’); Customer Support /* Sender Name */ Mage::getStoreConfig(‘trans_email/ident_support/name’); /* Sender Email */ Mage::getStoreConfig(‘trans_email/ident_support/email’); Custom Email 1 /* Sender Name */ Mage::getStoreConfig(‘trans_email/ident_custom1/name’); /* Sender Email */ Mage::getStoreConfig(‘trans_email/ident_custom1/email’); Custom Email 2 /* Sender Name */ Mage::getStoreConfig(‘trans_email/ident_custom2/name’); /* Sender…

Send Custom Emails in Magento 2 <?php namespace [Vendor]\[Module]\Helper; use Magento\Framework\App\Helper\Context; use Magento\Framework\Mail\Template\TransportBuilder; use Magento\Framework\App\Helper\AbstractHelper; use Magento\Framework\Translate\Inline\StateInterface; use Magento\Store\Model\StoreManagerInterface; class SendEmail extends AbstractHelper { protected $transportBuilder; protected $storeManager; protected $inlineTranslation; public function __construct( Context $context, TransportBuilder $transportBuilder, StoreManagerInterface $storeManager, StateInterface $state ) { $this->transportBuilder = $transportBuilder; $this->storeManager = $storeManager; $this->inlineTranslation = $state; parent::__construct($context); } public function sendEmail() { $templateId = ‘sendmail_template’; // template id $fromEmail = ‘[email protected]’; // sender Email id $fromName = ‘Admin’; //…