0

Add additional addresses to address book in magento 2.3 then Click on ' Delete Address' link in address book it redirect to 404 page and invalid url shows.

enter image description here

  • Hey @shafeel, I tried the same on 2.3.0, 2.3.1 and 2.3.2 versions respectively. I can't reproduce it. Can you check if this is not because of some customization on your part ? – Rishabh Dwivedi Jul 5 at 10:20
  • 1
    Hi @Aparajit please check Updated Answer..:) – Shafeel Sha Jul 5 at 10:30
1

Replace below code in Delete.php file.

vendor/magento/module-customer/Controller/Address/Delete.php

use Magento\Framework\App\Action\HttpGetActionInterface;

class Delete extends \Magento\Customer\Controller\Address implements HttpGetActionInterface
{

enter image description here

for more reference please visit

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.