Shopify themes, liquid, logos, and UX
Right now I have a code for my '/collections/all' that whenever the user searches that it brings them back to the home page. I'd appreciate assistance on how to just take them to the current products page which is /pages/inventory.
Solved! Go to the solution
This is an accepted solution.
You can use this script to achieve this
<script>
document.addEventListener('DOMContentLoaded', function() {
if (window.location.pathname === '/collections/all') {
window.location.href = '/pages/inventory';
}
});
</script>
You would find wherever that redirect is coming from and point it to /pages/inventory instead of the home page.
You need to provide much better detail to get a less vague answer.
https://community.shopify.com/c/blog/how-to-get-support-from-the-community/bc-p/1419945
If you do not know where the redirect is coming from and need it debugged then contact me by my email for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
You can use this script to achieve this
<script>
document.addEventListener('DOMContentLoaded', function() {
if (window.location.pathname === '/collections/all') {
window.location.href = '/pages/inventory';
}
});
</script>
This worked, thank you. I would appreciate assistance on how to change the link color located in the policy page in checkout page from blue to black
Hi @dvaughn,
Please send me the store link, I will check it for you
My solution has been fixed. I would appreciate assistance on how to change the cart button logo located in the checkout page from the default cart icon to the cart text i already currently have already for the rest of my site.
HI @dvaughn,
Please send me the store link, I will check it for you
Hi @dvaughn,
Please send me the password via private message, I will check it
Hi @dvaughn,
You want to edit icon at checkout page:
This is not possible unless you use Shopify plus. Hope it is clear to you
Alright. I'd appreciate if you could help me capitalizing and making all text bold in the checkout page, log in page, thank you page, orders page etc. So throughout my site. It's already capitalized in my main site just not in those pages.
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