Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I'm using the trade theme and I added a text box in the cart page to tell customers to log in to get more discounts. I want this text box to disappear if they are already logged in.
Hi @JoeYY ,
simply wrap the cart box code using the "unless" liquid tag like this:
{% unless customer %}CART BOX CODE{% endunless %}
So, the text box in the cart page is just an added section. Should I go to that specific section to add the wrap? or would that change all text boxes in the whole website. (It is a rich text section)
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025