Jump to content

Changing the URL of "Back to Shop" link on product page

Recommended Posts

  • 10 months later...
On 5/19/2022 at 6:35 PM, GemmaT said:

Hi @tuanphan could you possibly help me with similar?

I would like to change the URL of 'Back to Prints' on my site.

Do you need the site to be public or can I send you the password? 

thank you so much! 

Just setup an access password & share url. We can check easier

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
18 hours ago, GemmaT said:

Hi @tuanphan, thanks so much in advance ☺️

https://www.gemmathorpe.com/prints-products/ginkgo

Site22Sh&GTJC

I would like 'Back to Prints' to link to https://www.gemmathorpe.com/prints instead of going to the products page. 

Add to Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('#productNav a').attr('href','https://www.gemmathorpe.com/prints');
});
</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
On 5/24/2022 at 7:17 AM, tuanphan said:

Add to Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('#productNav a').attr('href','https://www.gemmathorpe.com/prints');
});
</script>

 

Amazing, thank you so much! 

Link to comment
  • 11 months later...

Hi can anyone help me change the page this button links too? I have been stumped on this!! I have created a different starting page for my online shop and want it to direct there! I have tried URL mapping but it still links to the usual commerce page. I don't know what code if any would do this. 

Screenshot 2023-05-22 at 17.35.23.png

Link to comment
3 hours ago, donnachris said:

can anyone help me change the page this button links too?

Please post the URL for a page on your site where we can see your issue.

A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

We can then take a look at your issue.

You may find How to post a forum question post useful.

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
15 hours ago, creedon said:

Please post the URL for a page on your site where we can see your issue.

A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

We can then take a look at your issue.

You may find How to post a forum question post useful.

Thank you for this the URL is https://www.alicerosebridal.com/bridal-boutique/chloe 

I want the online boutique button to lead to a different page but can't find where I can alter this. The page I wish this to change to is: https://www.alicerosebridal.com/onlineboutique

Link to comment
9 hours ago, donnachris said:

I want the online boutique button to lead to a different page but can't find where I can alter this.

SS does not provide such a feature.

Please see the following. It's an oldie but a goody and still works! 🙂

 

You may want to update your jQuery installation. The one you have is ancient. Keep the script line around, make a copy somewhere, until you know that whatever code you have been using with it works with the latest jQuery. I just updated the jQuery link in my linked post.

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

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.