I’m confused that I can’t get the hidden property starting with ‘_’ (e.g. “_p1”) by using attribute(key:“_p1”), but the property starting without “_” (e.g. “p2”) works fine. I placed an order and both properties are correctly displayed in the order details, but why I can’t get the “_p1” property in ExpandItems?
here is _p1 vs p2
// property key (_p1) starting with "_" , does not work, returns NULL
query RunInput {
cart {
lines {
id
quantity
attribute(key: "_p1") {
value
}
}
}
}
// property key (p2) starting without "_" , works fine
query RunInput {
cart {
lines {
id
quantity
attribute(key: "p2") {
value
}
}
}
}