Shopify themes, liquid, logos, and UX
hello all , this is my code, ideally it should show link to wish list if customer is logged in, and since I am staff it should show for me too, but it is not working, can you help me to find out why?
{% if customer %}
<a href="#">link to wishlist</a>
{% endif %}
Solved! Go to the solution
This is an accepted solution.
Hi @suyash1 it doesn't matter if you're staff, you'd have to be logged in on your site in order to see this link. So it would be best to register as a customer and test 🙂
This is an accepted solution.
Hi @suyash1 it doesn't matter if you're staff, you'd have to be logged in on your site in order to see this link. So it would be best to register as a customer and test 🙂
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024