Jump to content

Changing image link in store

Recommended Posts

Posted

Site URL: https://practicalparentingantenatal.co.nz

Hello,

I'm wanting to add an online course within a member area, but have the member sign up on my store alongside my other products.

I was wondering if I made a new product, could I change the image link within the store to point to a new page for member sign up?

Thanks!

  • Replies 4
  • Views 267
  • Created
  • Last Reply

Top Posters In This Topic

Posted
On 2/4/2022 at 10:07 AM, denbystrange said:

Yup that exactly what I'm trying to do, thanks!

This is my the page through Squarespace account - https://practicalparentingantenatal.squarespace.com/booking

and online with domain - https://practicalparentingantenatal.co.nz/booking

I'm wanting to change the link for both 'Online Antenatal Course' and 'Online Baby First Aid Course', to different pages.

Add to Booking Page Header

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('div#thumb-online-antenatal-course a').attr('href','https://google.com');
	$('div#thumb-online-baby-first-aid-course a').attr('href','https://abc.com');
});
</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!)

Posted

Awesome! Works perfectly, thank you.

Reason I wanted it was to have my member sign ups for member areas in my store next to my products.

So I recreated the product pages but with member sign up buttons, and have relinked with your code.

Thanks again!

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.