Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
Ptphotography

Redirect 'Add to cart' landing page

Question

Hello,

The idea is when I choose to purchase a product and click 'Add to cart':

Link for product: https://caterpillar-antelope-zbjy.squarespace.com/store-2/7v1gw1mrynm8aojh0otshn3rwbj4yc

I want it to be redirected to my Cart: https://caterpillar-antelope-zbjy.squarespace.com/cart and not on the Checkout page: https://caterpillar-antelope-zbjy.squarespace.com/checkout 

password:ptphoto

Please help me with the code for this.

Warm regards,
P

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 1

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 1

I think you enabled express checkout, so link above, you can try disable it ✌️


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

Hi @tuanphan thank you for this link! It's an additional knowledge for me.

I have tried Express checkout but it redirects me to the checkout page. Did I do something wrong? Haha.

Anyway, what I wanted to happen when I click Puchase/Add to cart button is to be redirected here (cart page):

 https://caterpillar-antelope-zbjy.squarespace.com/cart 

and not here (checkout):

https://caterpillar-antelope-zbjy.squarespace.com/checkout 

It seems to me being redirected to the checkout page is too sudden and impractical for a shopping website as the last page doesn't offer anything after that. Please help me with this ambitious idea.

Thanks a lot,

- P

 

 

 

Share this post


Link to post
  • 0
Posted (edited)

Hi @tuanphan Thanks! I see your point. I have disabled the it, Another favour, at the checkout page, how to add my logo at the top? I want my own logo instead of the default text 'Pt Ttrial 1(copy)

Link  for checkout: https://caterpillar-antelope-zbjy.squarespace.com/checkout 

Password: ptphoto

You have helped me a lot, I could not be more thankful 🙂

Sincerely, 
P

Edited by Ptphotography

Share this post


Link to post
  • 0

I'm wondering the same thing! I do not want Express checkout, simply that once the customers press add to cart they are redirected to the cart. 
Add this code and you will prompt a "back to shop" button in your cart. 

<!--Continue shopping button in shopping cart -->
   <script>
      var d1 = document.getElementById('sqs-cart-container');
      d1.insertAdjacentHTML('afterend', '<p style="text-align:right;"><a href="https://yourwebsite.com">← Back to Shop</a></p>');
    </script>

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...