Jump to content

Product Item to Link to Another Page (not open an actual product item)?

Recommended Posts

Posted

Site URL: https://skywavegin.com/shop

Hi everyone.  Is it possible for a product item (on a product page) to link to another page, rather than to the usual subsequent product item page?  I have multiple shop pages, and I want one of the "product items" to be a link to one of the other shop pages rather than a product item itself.  Is this possible?

  • Replies 1
  • Views 203
  • Created
  • Last Reply
Posted

Add this to Shop Page Header 

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('div#thumb-cask-aged a').attr('href','https://beaverhero.com');
});
</script>

Replace beaverhero with new url.

div#thumb-cask-aged is first product

image.thumb.png.bd1e7b49213f66c8477ebdfe590f7a2d.png

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

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.