Jump to content

Change store links from different products

Recommended Posts

Hi all.

I am struggling with the following issue and hope someone can help.

I have a store on my website that is working great. When a customer is in a product, they can click 'back to store' to return to /store.

However, I am doing a special product launch on a different page from /store. Let's call this /newpage.

The issue is that the special products back link goes to /store, and when I update it to return to /newpage, all my other products backlinks also link back to /newpage!

I don't want this! And can't figure out what exactly to search for to find the answer, so here I am.

I hope someone can help.

Thanks!

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

Top Posters In This Topic

20 hours ago, alexh123 said:

All 4 please. To return to /hom

You can edit 4 Products > Edit Additional Info

How To Add Button Block To Additional Info 03 Min

Add a Code Block

How To Add Code Block To Additional Info 05 Min

Paste this code

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
jQuery(document).ready(function($){
  $('div.page-header a[href="/store"]').attr('href','/hom');
})
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

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


×
×
  • 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.