completepresta Posted June 7, 2014 Share Posted June 7, 2014 I had a bug in classes/Mail.php with multistore.When i select 'All Stores' and change the status the e-mail urls always use the url of main store.To fix this around line 170: Change: $template_vars['{shop_url}'] = Context::getContext()->link->getPageLink('index', true, Context::getContext()->language->id); $template_vars['{my_account_url}'] = Context::getContext()->link->getPageLink('my-account', true, Context::getContext()->language->id); $template_vars['{guest_tracking_url}'] = Context::getContext()->link->getPageLink('guest-tracking', true, Context::getContext()->language->id); $template_vars['{history_url}'] = Context::getContext()->link->getPageLink('history', true, Context::getContext()->language->id); To:$template_vars['{shop_url}'] = Context::getContext()->link->getPageLink('index', true, Context::getContext()->language->id, null, false, (int)$id_shop); $template_vars['{my_account_url}'] = Context::getContext()->link->getPageLink('my-account', true, Context::getContext()->language->id, null, false, (int)$id_shop); $template_vars['{guest_tracking_url}'] = Context::getContext()->link->getPageLink('guest-tracking', true, Context::getContext()->language->id, null, false, (int)$id_shop); $template_vars['{history_url}'] = Context::getContext()->link->getPageLink('history', true, Context::getContext()->language->id, null, false, (int)$id_shop); Link to comment Share on other sites More sharing options...
cedricfontaine Posted June 18, 2014 Share Posted June 18, 2014 Did you report it on Git Hub ? 1 Link to comment Share on other sites More sharing options...
completepresta Posted June 23, 2014 Author Share Posted June 23, 2014 Did you report it on Git Hub ? No not yet, didn't know to do that Link to comment Share on other sites More sharing options...
beyonceuk1 Posted August 27, 2014 Share Posted August 27, 2014 When I do this, the shop URL in the mails is appearing only as "http" - any idea how I can have the shop URL used? Link to comment Share on other sites More sharing options...
beyonceuk1 Posted April 30, 2015 Share Posted April 30, 2015 When I do this, the shop URL in the mails is appearing only as "http" - any idea how I can have the shop URL used? I didn't ever receive a reply to this. Anyone had the same problem? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now