All things Shopify and commerce
This is for "GlossyClayStudio.com" website. I want the ability for someone to land right on my "Shop" page when they click my site BUT when they click "Home", that will be the "Home" page. Not the initial "Shop" page that they landed on when they first clicked in.
Does that make sense? I want my sections to stay the same (right now it's Home, Shop, About, Shipping&Handling, Contact).
So if someone is interested in viewing the "Home" page, they can but when they initially go into my site, they will be first directed to my "Shop" page.
I'm trying to eliminate that extra click they need to do in order to shop. I like my home page but it is an extra click away that I want to change.
Hi @GCStudio
It cannot be but you can add your product to homepage (add featured product section) and then customize your homepage same a product page so they can buy your product directly on your homepage.
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
Hello @GCStudio 👋
In short, it is not possible. You can only redesign your homepage to be the shop page, and create a subpage named "Home". That is a workaround.
This solution is not recommend as this might have negative impact on SEO. However if you still want to implement this, try adding below codes to your theme file.
<sctipt>
document.querySelectorAll('a').forEach(function(e){
e.addEventListener("click", function() {
localStorage.setItem("linkClicked", "true");
});
});
if(localStorage.getItem("linkClicked")){
console.log('visited by clicking link');
localStorage.removeItem("linkClicked");
}else{
if(window.location.pathname == "/"){
console.log('Home Page visited first time so redirecting');
localStorage.removeItem("linkClicked");
window.location.replace("/collections/all");
}
}
</script>
Steps to add this code:
Step 1: Go to Online Store > Themes > Active theme > Edit
Step 2: Search for "theme.liquid"
Step 3: Add the CSS above "</body>"
For quick response - Message Me
Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".
User | RANK |
---|---|
43 | |
41 | |
39 | |
24 | |
21 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023