Jump to content

Adding navigation links on product page

Recommended Posts

Site URL: https://www.anjart.co.uk/shop/p/cookie-greetings-card

Is there a way to add a navigation link to my product pages? 

For example, if a customer clicks on my shop and then selects the "cards" tab and then clicks on a card product, the navigation links only show Shop > Product name. I would like to make it easier for them to go back to the "cards" tab, rather than the entire shop and have to go through the whole process again. So it would read Shop > cards > product name.

Is this possible?

Link to comment
  • Replies 7
  • Views 727
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Site URL: https://www.anjart.co.uk/shop/p/cookie-greetings-card

Is there a way to add a navigation link to my product pages? 

For example, if a customer clicks on my shop and then selects the "cards" tab and then clicks on a card product, the navigation links only show Shop > Product name. I would like to make it easier for them to go back to the "cards" tab, rather than the entire shop and have to go through the whole process again. So it would read Shop > cards > product name.

Is this possible?

Link to comment

While I have you here @tuanphan😁 Any chance you could give me a code to allow the image to show on mobile version for my pop up as per its layout (image to left, text to right)

thanks again!

Url - anjart.co.uk

Edited by AnjArt
Link to comment
On 4/30/2022 at 9:02 PM, AnjArt said:

Is there a way to add a navigation link to my product pages? 

On Squarespace 7.1 the built-in breadcrumbs are very limited, but it is possible with our Breadcrumbs extension:

 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
On 5/7/2022 at 3:19 AM, AnjArt said:

While I have you here @tuanphan😁 Any chance you could give me a code to allow the image to show on mobile version for my pop up as per its layout (image to left, text to right)

thanks again!

Url - anjart.co.uk

#1. First, add this 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() { 
		$('<nav class="ProductItem-nav tp-breadcrumb"><div class="ProductItem-nav-breadcrumb"><a href="/shop" class="ProductItem-nav-breadcrumb-link">Shop</a><span class="ProductItem-nav-breadcrumb-separator"></span><a href="/shop/category1" class="ProductItem-nav-breadcrumb-link">Enter Category Name here</a><span class="ProductItem-nav-breadcrumb-separator"></span><a href="/shop/p/sekhmet-lioness-original-painting" class="ProductItem-nav-breadcrumb-link">Sekhmet - Original Framed Lioness Painting</a></div></nav>').insertBefore('nav.ProductItem-nav');
	});
</script>
<style>
  nav.ProductItem-nav:not(.tp-breadcrumb) {
    display: none;
}
</style>

#2. Which image?

xyz.thumb.png.4ffa67cea258e91f499617c40cc57d9c.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!)

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.