Jump to content

Redirect product link on shopping cart page

Recommended Posts

Hi all! 

I'm wondering if its possible to redirect the clickable link attached to the product on the 'shopping cart' page to redirect to another page on my site. Reason being, I made my website so that people are not shopping on the shopping page directly, but i've designed a separate page where they can still shop the product because the shopping page can only allow for so much layout customization. When people click the product on the shopping cart page it directs them to the shopping page that I don't want them to go to. If anyone can help me with redirecting the link that would be greatly appreciated! 

 

Thank you in advance

Link to comment
  • Replies 8
  • Views 828
  • Created
  • Last Reply

@j-l

Would something like the following do for your need?

Please don't install the code referenced. It needs to be updated as SS changed the cart code recently. I want to check that it might do what you want before trying to update the code.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

I updated the code in the cited post.

If you replace the following lines in the code...

        '1' : 'a',
        '2' : 'b',
        '3' : 'c',

...with...

        'doo-wop-that-thingms-lauryn-hill' : 'laurynhill',
        'smooth-operatorsade' : 'sade',

...you should be good to go.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.