skip to Main Content

Order Emails are not generated :: SMTP configurations required :: Magento community open source

Magento 2.3.1 order emails are not getting generated after successful order. OS: Ubunut 18.04 Payment Gateway: Fatzebra Used following code to generate emails. https://magecomp.com/blog/send-order-confirmation-email-after-successful-payment-magento-2/ I have also tried to make it work by disabling store->configuration->Sales->Sales Email->Order to No/yes both options…

VIEW QUESTION

How to get newly created product id while using after plugin (Interceptor) in Magento 2

I have created interceptor for catalog product controller's save action <type name="MagentoCatalogControllerAdminhtmlProductSave"> <plugin name="ricky_catalog_save_product" type="RickyCatalogPluginProductSave" sortOrder="10" /> </type> My plugin class is below namespace RickyCatalogPluginProduct; class Save { public function afterExecute( MagentoCatalogControllerAdminhtmlProductSave $subject, $result) { $productId = $subject->productId; // This…

VIEW QUESTION

Magento 2.3.0 setup:upgrade error unexpected '?'

wamp: php7.1.9 apache2.4.23 mysql5.7.19 after install magento2.3.0,when I run php bin/magento setup:upgrade I got bellow error: Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in D:wamp64wwwemevendormagentoframeworkFilesystemDirectoryWrite.php on line 35

VIEW QUESTION

Magento2: Updating a line of code in core file

Here is what I need: In file vendor/magento/module-sales-rule/Model/Rule/Action/Discount/CartFixed.php there is a public function calculate I want to comment an If condition inside this function without modifying this core file. if ($availableDiscountAmount > 0) { I have created a preference inside…

VIEW QUESTION
Back To Top
Search