i’ve been having a $ctx issue starting today. My situation is:
A code component (Shopify.Product), that takes a product handle. This is a cardPicker that fetches all the products via ctx - works great (more card picker options! cardSize pls. also showInput: false doesn’t do anything)
Now I have a component, that has this code component inside of it. I link the handle cardPicker prop - and then I can select it from the parent component.
As of tonight - I can select a product from the code component - but not from the linked prop - $ctx is undefined
my only way around this right now is to use dynamic value and manually type in the string
Is this one also in mRKWSMy8wyKwe3EjpDLbA somewhere? You mention it’s only when inside a certain component…If you point me to the specific component/location where I can trigger this, then I can dive into it from there
@yang I made a page called _Test2 with a single component inside.
In Product.Template Click handle on the right side and you should see nothing.
Cmd+Enter into Product.Template - select Product layer and click handle there - and you’ll see a list of products
it’s not just this component - it seems anything with a nested selector exposed via prop - but not sure how to confirm this
@samuel ok i’m not sure if this is related but i’m seeing the same error. check this out - the first component you see is reusable, and the second one is that component in a page