Post by rangitotogirl » Fri Nov 09, 2018 1:46 pm

I feel like I'm missing something which is blindingly obvious in my multi-store.

I have two products that are common across two stores. When I'm creating the product description I want to insert a link into my description text which takes me to a subdirectory on the website I am on.

For example if I am browsing store abc.com the link should take me to:

www.abc.com/instructions

and if I'm browsing store xyz.com the link should take me to:

www.xyz.com/instructions

In other words the sub-directory should stay the same, but the domain name should change. I am assuming that there must be a wildcard I could use to do this? Can someone tell me what it should be? If I try using /instructions it takes me away from the site completely.

Newbie

Posts

Joined
Sun Nov 10, 2013 2:57 pm

Post by OSWorX » Fri Nov 09, 2018 2:55 pm

That should work if you use a relative and not an absolute URL.

Forum Rules: viewtopic.php?f=176&t=200480
Commercial Request: viewforum.php?f=88

Image


User avatar
Expert Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by rangitotogirl » Fri Nov 09, 2018 4:20 pm

Thanks, that was helpful. The issue that I had was when using the link button and putting the link in via the user interface, it was creating an absolute URL. If you edit the source instead it works correctly.

If anyone is wondering how to do this on the product description page click the icon that looks like this. </>

Next look for the snippet of code that looks like this: href="https://instructions" and chance it to href="/instructions"

Appreciate your help.

Newbie

Posts

Joined
Sun Nov 10, 2013 2:57 pm

Post by OSWorX » Fri Nov 09, 2018 4:56 pm

Glad to help.

Forum Rules: viewtopic.php?f=176&t=200480
Commercial Request: viewforum.php?f=88

Image


User avatar
Expert Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: No registered users and 13 guests