Trying to redirect a product to my amazon listing

steffanm
Excursionist
34 0 5

Temporarily while I order new product for my shop

 

Tried this:

 

{% if request.path == 'shopify page' %}

<script>

location.replace("external URL")

</script>

{% endif %}

 

Didn't work

Any ideas? I am not sure why not. It's in my theme.liquid

0 Likes