Jump to content

Adding a text with a link on top of the Shop page (Wells Template 7.0)

Recommended Posts

Guest GigiEry

Hi, I'm looking for a code to include a sentence + link at the top of my product page in 'SHOP' . Its on the Wells 7.0 template. Can someone help me please?

Link to comment
  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

10 hours ago, GigiEry said:

Hi, I'm looking for a code to include a sentence + link at the top of my product page in 'SHOP' . Its on the Wells 7.0 template. Can someone help me please?

Can you share your site with the protected password so we can take a look?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

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() { 
		$('<div class="sqs-block html-block sqs-block-html t-block"><div class="sqs-block-content"><p class="">&nbsp;More information about original work here : <strong><a href="https://google.com">enter text link</a></strong></p></div></div>').insertBefore('div#block-yui_3_17_2_1_1642459418977_2404');
	});
</script>

Replace google.com with new url

image.thumb.png.34e3e1992f99243e379eef0e437dadc4.png

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
Guest GigiEry
41 minutes ago, tuanphan said:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
 $(document).ready(function() { 
		$('<div class="sqs-block html-block sqs-block-html t-block"><div class="sqs-block-content"><p class="">&nbsp;More information about original work here : <strong><a href="https://google.com">enter text link</a></strong></p></div></div>').insertBefore('div#block-yui_3_17_2_1_1642459418977_2404');
	});
</script>

Thanks a lot! It works on the 'faux shop' (I just created it to show an image of what I was looking for (text at the top). But I need a code in the 'shop' and here the code doesn't work. Maybe because I already need a business account to make it work? I am currently on a trial period. 

Capture d’écran 2022-01-18 à 14.02.10.png

Link to comment
16 hours ago, GigiEry said:

Thanks a lot! It works on the 'faux shop' (I just created it to show an image of what I was looking for (text at the top). But I need a code in the 'shop' and here the code doesn't work. Maybe because I already need a business account to make it work? I am currently on a trial period. 

Capture d’écran 2022-01-18 à 14.02.10.png

Can you share link to "shop"?

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
16 hours ago, GigiEry said:

Add to Last Line in Code Injection > Footer

<script>
   $(document).ready(function() { 
		$('<div class="sqs-block html-block sqs-block-html t-block"><div class="sqs-block-content"><p class="">&nbsp;More information about original work here : <strong><a href="https://google.com">enter text link</a></strong></p></div></div>').insertBefore('#productList');
	});
</script>

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.