Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How Can I add url of cms page in html file or do I need to use phtml file ?? Also My block is displaying below shipping methods and not above image ?? what can be a issue for this ??
@DustyMan I am still facing issue after adding your plugin on Magento2.3.5 version. Error as Fatal error: Uncaught TypeError: Argument 1 passed to Magento\ExtendedSmtp\Plugin\Magento\Framework\Mail\Transport::sendSmtpMessage() must implement interface Magento\Framework\Mail\MessageInterface, null given, called in /var/www/magento/app/code/Magento/ExtendedSmtp/Plugin/Magento/Framework/Mail/Transport.php on line 45 and defined in /var/www/magento/app/code/Magento/ExtendedSmtp/Plugin/Magento/Framework/Mail/Transport.php:57
@AmitBera I have tried this solution for 2.3.5 version and it is not working anymore. Can u please guide here. I have defined Block Custom in magentoroot/app/code/MyModule/Customadmin/etc/adminhtml/di.xml. But still it not working .
I want form field data to Block or Controller or Helper so I can perform some operation on that data and again redirect to same order page with success message with some value. Form Data is not received in block yet. Also I am getting Request validation failed for action "MyCompany\Customization\Controller\Adminhtml\Order\View\Interceptor on debug log. My Objective is to create new Order from existing order.
Please let me know How can I pass form data to block and process that data in Block/Controller/Helper and again redirect to same product page with success message with some value. Form Data is not received in block yet.
I am calling $firstname = $this->getRequest()->getParam('firstname'); in ModalBox.php and return this value. Then call $block->getInfo(); in modalbox.phtml to get value but its not returning any data nor in console or on frontend . After returning data I want to redirect it to same order page