New answers tagged

0

For those are looking for an example where you don't have deprecated classes for magento 2.4: controller: use Magento\Framework\App\Action\HttpPostActionInterface; use Magento\Framework\Controller\Result\JsonFactory; class Usp implements HttpPostActionInterface { /** * @var JsonFactory */ protected $resultJsonFactory; /** * @...


0

Override default.html from and paste this code <div class="product-item-details"> <strong class="product-item-name"> <!-- ko if: ...


0

In controller file you can try follow code. $postData = $this->getRequest()->getPost(); $email = $postData['email'];


Top 50 recent answers are included