Hi All,
We have a requirement to hide/show some product variants based on the customer segments. But somehow customer segments are not available in in liquid objects (or may be I overlooked). Can someone help me how to access segments in liquid?
Hi All,
We have a requirement to hide/show some product variants based on the customer segments. But somehow customer segments are not available in in liquid objects (or may be I overlooked). Can someone help me how to access segments in liquid?
Hi @atulgarg22
Yes, customer segment is not available in liquid scope but you can use customer tags or metafield on liquid to accomplish the same.
Thanks @gr_trading . But this looks like a limitation in implementing many things at server side.
Yes, but paid applications don’t expose everything to end user.
But tags and metafield will work.