0

I am just want to put the site url in the admin wysiwyg editor. So I have search the site url like we use the {{view url=""}} in the admin.

Please suggest if anyone have used the site url in the admin wysiwyg editor.

1
  • 1
    Use {{config path="web/secure/base_url"}} or {{config path="web/unsecure/base_url"}}. There is "Insert Variable" option in Editor
    – Jackson
    Commented Mar 22, 2017 at 9:44

1 Answer 1

0

Use

{{config path="web/secure/base_url"}} or {{config path="web/unsecure/base_url"}}

There is already "Insert Variable" option in Editor. You can also use it as well.

http://www.magestore.com/magento-2-tutorial/magento-2-add-variables-magento-2-templates/

1
  • Most welcome @mageDev0688
    – Jackson
    Commented Mar 22, 2017 at 10:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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