Jump to content

Hide a Product in one section, but show it in another section (on the same page)

Recommended Posts

Posted

Hi,

I'm not sure this is possible, but...

The product section on this page shows all my products. I'd like to hide the last product, Jalgany x Inventi Ensemble (Willum Warrain), in this section. Squarespace doesn't give me the option to add or remove products from this section via the page, I can only mark the product itself as hidden or public.

After this, I'd like to create a new section, add a "Product" block and show this product. So in summary, the main section doesn't show the product, then a section underneath this will show the product. Hope that makes sense.

Thanks for the help.

  • Replies 7
  • Views 623
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted
3 hours ago, IEn said:

Hi,

I'm not sure this is possible, but...

The product section on this page shows all my products. I'd like to hide the last product, Jalgany x Inventi Ensemble (Willum Warrain), in this section. Squarespace doesn't give me the option to add or remove products from this section via the page, I can only mark the product itself as hidden or public.

After this, I'd like to create a new section, add a "Product" block and show this product. So in summary, the main section doesn't show the product, then a section underneath this will show the product. Hope that makes sense.

Thanks for the help.

To hide your products on the product collection page, have you tried setting hidden it?

image.thumb.png.aee1fb902c3dc85762865be6da5d6405.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted

One another approach you can consider is using tag/categories information.

On collection section product, we can use the Css code to hide them.

On the below section, you can use summary block and filter by tag

image.thumb.png.216953b0d51498ff41fb681d831729ac.png

Hope it makes sense

image.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted

Thanks mate.

The problem is, on the same page I need to:

- Hide the product in the main section

- Show the product in a section the main section

So if I mark it as hidden, it will hide it from both sections. If I mark it as hidden using a tag, it will hide it from both sections.

Is there a way to hide the product "only within a specific section"?

Posted
On 11/1/2022 at 5:50 AM, IEn said:

Thanks mate.

The problem is, on the same page I need to:

- Hide the product in the main section

- Show the product in a section the main section

So if I mark it as hidden, it will hide it from both sections. If I mark it as hidden using a tag, it will hide it from both sections.

Is there a way to hide the product "only within a specific section"?

Do you still need help?

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
On 11/15/2022 at 4:54 PM, IEn said:

Hey @tuanphan - just wondering if you might still be able to help? I know you are busy, so no worries if you can't.

Add this code to Program Page Header

<style>
  .grid-item:last-child {
    display: none;
}
</style>

 

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

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.