Is it possible to add a clickable url in the language override?

I am using the free shipping module which will allow customers free shipping over $200 and within 40km of our store location.
I have created a page with maps and colored area for free shipping for customers to view.
I'm trying to add that pages url to show in the free pickup description such as:

Free Shipping (Please read to see if your in our free delivery zone - http://store.valleybeekeeping.com/index.php/free-delivery)

But when viewing in the store, it's not clickable. Only allows copy and paste in browser bar.
In General
Sunday, January 29 2017, 06:07 PM
Share this post:

Accepted Answer

Sunday, January 29 2017, 07:41 PM - #Permalink
No, it doesn't work directly from admin because slash is inserted in front of the quotes in the code then.

T.ex. if you write
Free Shipping (Please read to see if your in our free delivery zone - <a href="http://store.valleybeekeeping.com/index.php/free-delivery">http://store.valleybeekeeping.com/index.php/free-delivery</a>;)


It's saved as:
Free Shipping (Please read to see if your in our free delivery zone - <a href=\"http://store.valleybeekeeping.com/index.php/free-delivery\">http://store.valleybeekeeping.com/index.php/free-delivery</a>;)


But ... if you add/edit the override file directly, it works perfectly fine.
Use a FTP client (or file browser) and edit it at /catalog/language/override/YOUR_LANG_CODE/shipping

PS! Personaly I would rather write:
Free Shipping - <a href="http://store.valleybeekeeping.com/index.php/free-delivery">Click here to see if you're in our free delivery zone</a>;)

- Note! Link code removed/hidden by this shitty ridiculous forum, but it should be on all the extra text. ;) <- Have been solved it seems.
The reply is currently minimized Show
Responses (5)
  • Accepted Answer

    Sunday, January 29 2017, 09:51 PM - #Permalink
    Perfect. That worked awesome.

    Other than I had to replace "you're" with "you are".
    I know it's just a matter of adding something in front of the single quote to allow it, but it was easier just to change it than to google the how to. But something I should look into for the future.

    Thanks again.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, January 29 2017, 09:54 PM - #Permalink
    Yes, that would be correct place to add the slash - you\'re. :)
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, January 29 2017, 10:10 PM - #Permalink
    Another quick question.

    $_['text_description'] = 'Free Shipping - <a href="http://store.valleybeekeeping.com/index.php/free-delivery" target="_blank">(Click here to see if you are in our free delivery zone)</a>';


    I added the above, and I think it's supposed to open a new tab on the browser if clicked, so not to disturb the customers checkout process, but it's not opening a new tab. It's changing the page in the same tab. Have I missed something?
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, January 29 2017, 10:26 PM - #Permalink
    Haven't tested, but if you replace target="_blank" with class="agree" you might get it in a popup.
    Btw! You don't need full URL if it's on the same domain.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, January 30 2017, 02:08 AM - #Permalink
    class="agree" worked but the popup was very narrow.
    So I changed it back to target="_blank" and the new tab now opens.

    It might have been working the first time I did it.
    I think google chrome cache was causing the issue.
    Like
    1
    The reply is currently minimized Show
Your Reply