Post

Replies

Boosts

Views

Activity

Comment on Shopping cart count disappears after changing tabs
@sha921 , Thank you so much for your suggestion. I tried this and found that the count resets right when I change to a different view; but it only resets the icon after I change back. In the shop page, I have numberOfProducts set to cartManager.products.count, with products being an array found within the model CartManager. The array is added to whenever the plus button is pressed, but I can't see why the array keeps emptying, reseting the data.
Apr ’24