New answers tagged

0

Did you set up sender mail configs properly. If you are not using any mail server provider , the mails might be in junk or spam folder.


0

Are you using a custom theme? If so check your shipment tracking email template in your child or parent theme : THEME\Magento_Sales\view\frontend\templates\email\shipment\track.phtml There is an issue with deprecated code in older email templates. Edit track.phtml and around line 28 replace <?= $block->escapeHtml($_item->getNumber()) ?> with &...


1

The preference mechanism doesn't work on abstract classes :) When you have such a scenario, you should look for public methods that use the protected ones and alter the behavior there with a plugin. For example, in the class you mentioned, I found the method getProcessedTemplate() which uses the protected methods responsible with setting the logo - you could ...


0

It appears that your variable $items isn't an array. What does the method getItemDetails return? What kind of class is $block?


0

First of all, you have to check 'who' sends the email template and see which are the parameters sent to the template, so that you can grasp the way you can call your attribute by either accessing the existing customer object or sending your custom object or parameter. I suggest you check the class app/code/core/Mage/Customer/controllers/AccountController.php ...


Top 50 recent answers are included