Skip to content

Instantly share code, notes, and snippets.

@veritstudio
Created October 25, 2018 13:12
Show Gist options
  • Save veritstudio/3b455cfaa750c42b851d3c203afef601 to your computer and use it in GitHub Desktop.
Save veritstudio/3b455cfaa750c42b851d3c203afef601 to your computer and use it in GitHub Desktop.
Add link inside magento 2 email templates
<!-- // Add this inside html file -->
<a href="{{store direct_url='contact-us'}}">Contact Us</a>
<?php // Add this inside phtml file ?>
<a href="<?= $block->getUrl('contact-us') ?>">Contact Us</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment