For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I'm facing an issue with a Shopify function we're using for cart and checkout validation, which checks if a customer has a specific tag before allowing them to purchase certain products. The problem arises when a customer logs out: Shopify automatically removes the items from the cart and then re-adds them after the logout process is complete. Since the customer is now logged out, they no longer have the necessary tag, causing the validation to fail during this re-add process and preventing the logout from completing successfully.
My questions are:
For more details, I've attached a screen recording of the issue: Video Link.
Any advice or suggestions would be greatly appreciated!
Thanks!