Shopify themes, liquid, logos, and UX
Hey Everyone!
I'm wondering if it's possible when a customer clicks on "Add to Cart" button on the product page, it'll redirect them to a custom page on my site?
The idea stems from the fact that I'm currently doing market research of the product that I'm going to sell (we have no inventory of the product yet) and would like to gauge interest of the product. The idea is that someone clicks on add-to-cart, lands on a custom page and they'll be a pop-up saying that the product is finish and they could insert their email to be notified when it's restocked. I'll be able to track all of this via Google Analytics (for the events of clicking add to cart, landing on the custom page and how many actually filled in their emails).
Thanks!
Solved! Go to the solution
This is an accepted solution.
Hi everyone,
I've found the solution to this already. I'll be sharing it here in case anyone else wants to do the same thing as me. Do note I'm using the Debut theme as of 23/20/2021. This may or may not work depending when you're reading this but you can definitely give it a shot!
Click "Edit Code" for your theme, then:
It should look something like this when you're done:
self._setupCartPopup(json);
location.href="https://yourstore.com/pages/your-new-page";
Hope this helps someone else!
Cheers.
yes please add your custom page url but that was all products go to custom page is this fine?
Hey @KetanKumar!
Thanks for the speedy reply.
For the answer to your question: Yes, it's okay if all products go to the custom page. This is no problem, as we're just currently gauging market interest.
The link to the page is: https://beribuddy.com/pages/our-products-just-ran-out
The site theme is Debut.
Currently the site is password protected. Do you require the password?
yes i need it
This is an accepted solution.
Hi everyone,
I've found the solution to this already. I'll be sharing it here in case anyone else wants to do the same thing as me. Do note I'm using the Debut theme as of 23/20/2021. This may or may not work depending when you're reading this but you can definitely give it a shot!
Click "Edit Code" for your theme, then:
It should look something like this when you're done:
self._setupCartPopup(json);
location.href="https://yourstore.com/pages/your-new-page";
Hope this helps someone else!
Cheers.
User | RANK |
---|---|
163 | |
146 | |
71 | |
67 | |
55 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023