programmatically hide a section

26 2 14

My homepage features a "New Arrivals" collection.  Sometimes we remove all of the items classed as new arrivals, because we are keeping that collection fresh.  

When the collection is empty, it shows an ugly set of blank images and prompts me to add some items.  

I don't want customers to see that.  I would like a way to hide that collection when there is no content.  

When I Customize my site, looking at the Home page, there is a column on the left of each section.  There is an eyeball icon on each section to make that section visible/invisible.  Is there a way to toggle that function programmatically?  

I assume this is a Section attribute, not one of Collection.  I don't see a file in the code for Section.  

My site is


Ed K


Shopify Partner
13991 1634 5025


It can be done by doing some code customization. Please take the help of a developer and hire Shopify Expert or me

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on regarding any help
Shopify Expert | Skype :
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing