Disabling address updates from the backend application for RatePay

Edit on GitHub
You are browsing a previous version of the document. The latest version is 202212.0.

To disable updates on addresses from the backend application, follow the steps described below:

Step 1:

  • Overwrite on project side /vendor/spryker/spryker/Bundles/Sales/src/Spryker/<br>Zed/Sales/Presentation/Detail/boxes/addresses.twig.
  • Remove the Edit button.

Step 2:

  • Overwrite on project side /vendor/spryker/spryker/Bundles/Sales/src/Spryker/<br>Zed/Sales/Communication/Controller/EditController.php.
  • Disable addressAction.