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)
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025