Can I access a schema setting from theme.js?

Pretty much like the title says.

I’m using debut and I got two checkboxes in the schema part of collection-template.liquid.

I got two tag filters that are codependent.

Now in order for my filters to work if I disable one of them, I need to access the checkbox and see if it is checked or not. However I have yet to find a working solution as to how I get the value to theme.js

Is this even possible?

@Xythia

Hi,
please can you share your store URL

No worries, already solved it taking help from Shopify’s guide for variantStock and some previous code. Kinda missed the part where I had to send it from the liquid file to theme.liquid before I could use it in theme.js