Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I have made a custom page for refund policy only. And I don't want the default refund policy page to work. Right now, this URL /policies/refund-policy opens up blank page as I have removed all content. I tried to add a redirect but policy pages redirect doesn't work. And I can't seem to find how to get rid of this URL all together.
Anyone have idea if this is possible?
Solved! Go to the solution
This is an accepted solution.
This is an accepted solution.
Thank you for your response. That is not good but we have to live with it I guess.
True. We live with it 😞
I was able to do it through URL check and the redirecting to the desired location using jQuery.
{% if request.path contains '/policies/refund-policy' %}
<script>window.location.replace("https://thefurnaceoutlet.com/pages/return-policy");</script>
{% endif %}
No official way but this works for me at the moment.
Hello,
May I ask where exactly placed this redirect jQuery?
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024