Jump to content

Change store links from different products

Recommended Posts

Posted

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!

  • Replies 8
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Thank you for your help. The product's page is /hom but the issue is when I edit the 'back' link, it updates on all products...

I hope this makes sense?

Posted
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!)

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.