HOW TO REDIRECT ADD TO CART BUTTON TO CART PAGE???!

Highlighted
Shopify Partner
501 56 78

Hi @mycrazytrends ,

You can reach out to me if you need my help. Thanks

If helpful, please Like and Accept Solution
Want to hire me?
Contact Me At
WhatsApp or email me at umairabbascs@gamil.com
Hire me for 1) Theme coding 2) PSD to Shopify 3) Store optimization 4) SEO 5) Store setup 6) and more!
0 Likes
Highlighted
New Member
4 0 0

Hello Jasoliya,

I have the StartUp theme & i am also having the same issue. When pressing the 'Add to cart' button it stays on the same page, I'd like the user to go straight to the cart page once they actually hit the 'Add to cart' button. This is the URL: https://statik-store.myshopify.com/. Thank you

0 Likes
Highlighted
Shopify Expert
3900 559 936

Send em password or store here or Pm me

Want to modify or custom changes on store hire me.
Want to give Gift for time? its my Paypal too.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Highlighted
New Member
4 0 0
sure its arnold1995
0 Likes
Highlighted
New Member
4 0 0

sure its arnold1995 , Please let me know when youve had a look, thank you.

0 Likes
Highlighted
Shopify Partner
67 15 16

Hello @ArnoldEl ,

 

I see that you are using Startup theme, you can find the setting to Enable cart redirection at the theme customization settings page from admin dashboard. For that you need to go to

Online Store > Themes > Startup(Your Published Theme) > click Customize button 

Then you'll land on home page inside theme editor with having the settings for sections included on the home page, Just click the section for Featured Product for you I think it will be of name 

Extended Warrantee just click to expand it and scroll down to find a checkbox with label Enable cart redirection, now just check it and click save.

That's all you needed.

 

I hope this will be helpful.

 

Thanks,

Nitin

 

 

0 Likes
Highlighted
New Member
4 0 0

hello Nitin,

 

unfortunately i do not have any option like that, i have checked but nothing. I think i need to code it...

0 Likes
Highlighted
Shopify Partner
67 15 16

@ArnoldEl  Oh I see may be you are not using the latest version of that theme. You can add a latest version of that theme from the theme store if you want.

Or if you want to continue with the current then yes code needs to be added for that.

0 Likes
Highlighted
Shopify Partner
67 15 16

@ArnoldEl 

 

For code fix for current theme go to Online Store > Themes > (Published Theme) > click Actions and select Edit code. And then search for theme.js file, open it and paste the below single line code after line no. 1336, (or search for line window.location.href = '/checkout'; to go near to it.) and save it. 

 

 

window.location.href = '/cart';

 

 

Code Before adding the line:

 

 

return setTimeout(function() {
            var successMessage;
            if (theme.isHome && _this.$('.add-to-cart').hasClass('express')) {
              window.location.href = '/checkout';
            } else {
              Shopify.getCart(function(cart) {

 

 

Code After adding the line:

 

 

return setTimeout(function() {
            var successMessage;
            window.location.href = '/cart';
            if (theme.isHome && _this.$('.add-to-cart').hasClass('express')) {
              window.location.href = '/checkout';
            } else {
              Shopify.getCart(function(cart) {

 

 

That's all.

Thanks,

Nitin

0 Likes
Highlighted
New Member
5 0 0

@Jasoliya wrote:

Which theme you have and send store url,

 you have to find ajax cart function in asset->theme.js file where from you can set 'location.href="/cart" in success function.

 


Hi! Can You please help me. I am using debut theme. I want when someone clicks add to cart he directly reaches cart page or checkout page 

0 Likes