Jump to content

Shop e-mail templates gives wrong link - urgent


Recommended Posts

Hello everyone,

 

I started a simple webshop a week ago and already got some orders but I got some complains from customers that the links in the automatic emails doesn't work

 

I checked what was wrong and I found the error but I don't know how to solve it

 

i changed before the opening my admin login url to for example: black

so www.shopdomain.com/black

 

Now when i look at the hyperlink in the emails it looks like this: /black/{shop_url}

when I click on it, i go to this website: https://black/http://www.shopdomain.com/

when I remove black from /black/{shop_url} and save it, it automaticly changes back.

 

This problem happens with every hyperlink in the emails.

 

Hopefully anyone know how I can solve this

 

Best regards,

Isaac

Edited by Soesoe (see edit history)
Link to comment
Share on other sites

Okay thanks for the info. How are you editing the Email templates? Are you doing it through the Localization>Translations>Email Template Translations (From the Dropdown) 

Hello,

 

Correct, i tried to edit it there and click on 'edit html version'

 

Thanks for your time by the way

Link to comment
Share on other sites

Cool, thanks for the info. So, just to test. Can you change anything in the template and will it save? 

 

Or do all changes revert back?

 

When i try to edit text by HTML version then it saves correctly

it only happens with the link

 

I tried also to remove the whole hyperlink and add a new one, but it automaticly adds /black/ before it

Link to comment
Share on other sites

Great! thanks alot!

When i added this line in tinymce.inc.js and tried removing the admin url, it saves correctly

gonna fix all links now :)

 

Thanks again!

Link to comment
Share on other sites

  • 4 weeks later...

I am having what I think is the same issue with the current version 1.6.0.6. 

 

The emails all contain an incorrect link "http://domain-name/shop/shop-name"  where it should be "http://domain-name/shop"

 

I checked tinymce.inc.js and it already has the line 25 convert_urls: false, 

 

My shop is still under development and I am using a temporary url defined in my local hosts file.  Could that be the cause of my issue? I don't understand why it is trying to include the shop-name in the url. 

 

Thanks in advance.

Link to comment
Share on other sites

  • 9 years later...
On 5/26/2014 at 7:07 AM, allanport said:

Figured it out by accident.  On preferences > SEO & URLs, the index file had somehow picked up a Friendly URL (shop-name).  I cleared it and all works correctly.

That's it. Thank you very much.

Link to comment
Share on other sites

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...