Skip to content

Store URLs incorrect in email templates #9369

Closed
@thdoan

Description

@thdoan

Preconditions

  1. Magento 2.1.5

Steps to reproduce

  1. Add this link to Magento_Email/email/footer.phtml: <a href="{{store url='privacy'}}">Privacy Policy</a>
  2. Register or complete an order to send out a transactional email.

Expected result

  1. The "Privacy Policy" link should link to http://www.yourstore.com/privacy/

Actual result

  1. The "Privacy Policy" links to http://www.yourstore.com/privacy/index/index/, which results in a 404 error.

Metadata

Metadata

Assignees

Labels

Issue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: needs updateReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releasebug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions