Jump to content

Add block to all product pages?

Recommended Posts

Hi all - I'm relatively new to Squarespace and so worried I'm just asking my questions in the wrong way:) I'm helping a client explore the possibilities of using Squarespace for their site, and am having trouble figuring out how to add a piece of content to either all product pages, or a subset of product pages determined by category. I believe I'm working with Squarespace 7.1.

The client would like to be able to automatically include an associative nav - links with thumbnail images to each category - below the main section of the product page (see attached, using the Montclaire teplate).

I can create a gallery block that'll do what we need (unless anyone has a better suggestion, of course!), but the only way I can see to attach it to the product page is by adding a gallery block to the Additional Info section in Edit Product - as far as I understand, this needs to be done manually for each product. Furthermore, I can't see a way to get Additional Info to load up saved blocks, so the block needs to be recreated from scratch each time. Instead, I'd like to have the block pre-built into the page template.

My questions:

  1. Is what I've summarized above true?
  2. Is there a way of accomplishing what I'm after?
  3. Will other themes offer this feature out-of-the-box, or are Squarespace themes limited to changes in typography, colour &c.?

Thanks in advance for any advice.

Screen Shot 2023-03-24 at 9.53.03 AM.png

Edited by dafydd61
Typo
Link to comment
  • Replies 9
  • Views 2.2k
  • Created
  • Last Reply

Top Posters In This Topic

Yes. The only way is add to Additional of each product

If you want to do this for all, you will need to use custom code. 

The idea here is to create a page at Not Linked, design your content, then tag the products where you want that content to appear, then use the code to pull the content from Not Linked into the products.

If you need code, first create a Not Linked Page > Add associative nav/content what you want > Share link to your site, we can help 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
21 hours ago, dafydd61 said:

@tuanphan I got carried away and added some markup using code injection - is this what you had in mind? I'm hoping there's a way to import a gallery from the associative nav page automatically, so my client doesn't need to call me every time they add a new category.

Which code did you use?

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

I started with generated code from a gallery, then simplified it for easier styling.

The gallery page is still there - I'd very much like to see the solution you're proposing, if you're willing to share.

Edited by dafydd61
clarity
Link to comment
  • 8 months later...

hey @tuanphan id love to use custom code to create the same additional Info for ALL products.

I'm going to create a page in the not-linked section now. are you able to help me with the code?

https://www.maisonspoon.com/
password: comingspoon123

thank you!
hannah

On 3/24/2023 at 11:16 PM, tuanphan said:

Yes. The only way is add to Additional of each product

If you want to do this for all, you will need to use custom code. 

The idea here is to create a page at Not Linked, design your content, then tag the products where you want that content to appear, then use the code to pull the content from Not Linked into the products.

If you need code, first create a Not Linked Page > Add associative nav/content what you want > Share link to your site, we can help easier

 

Link to comment
6 minutes ago, hannah.dossary said:

hey @tuanphan id love to use custom code to create the same additional Info for ALL products.

I'm going to create a page in the not-linked section now. are you able to help me with the code?

https://www.maisonspoon.com/
password: comingspoon123

thank you!
hannah

 

It requires a plugin, you can consider adding a section to Footer, I can give code to move it to Additional Info of all products

In case you still want to use the plugin, let me know, I will do a quick guide, then you can apply for future cases

 

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 12/1/2023 at 8:59 PM, hannah.dossary said:

thank you! i'd love more info for the plugin as well as code if its in the footer.

Im already using content in the footer which is connected to the megamenu - is this still possible?

Which mega menu plugin did you use? I guess the plugin use a specific section in Footer, we can target another section.

I wrote a quick guide here (use section in Footer + use page in Not Linked), you can check

 

 

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.