-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
Ok, I am working on a Blazor Web App, including individual identity and local storage t…
-
# Issue at hand
I think most of the issues are arising when you try to get elements in pages like in the image
![image](https://user-images.githubusercontent.com/22031046/216758436-a20fe794-660…
-
- Anonymous user + cookies activated: Increase nr. of items in the cookies
- Logged in: Data is written to the temporary cart items table.
- Anonymous user + cookies deactivated: Open login pag…
-
The state of cart (if there were items in it) is not set to empty when user signs out.
export const signout = () => (dispatch) => {
localStorage.removeItem('userInfo');
localStorage.removeIte…
-
I get the following error when using sveltekit
```
__vite_ssr_import_0__.localStorage is not a function
```
this is my store code
```
export const cart = persist(writable({packages:[]}), l…
-
질문)아 ㅠㅠㅠ 지금 로그인한 유저의 정보 state에 담아두고 로그인 로그아웃 기능을 포함하는 useAuth를 처음에는 useCotext에 담아두지 않고 모든 컴포넌트에서 import 해서 사용했더니 유저의 정보 state변경될 때, 화면이 다시 렌더링이 되지 않았습니다 ㅠㅠ
useCotext넣어서 state를 업데이트 하니 그제서야 state가 변경될…
-
On a default, new guest session, Mini Cart will always trigger request to `store/cart`, even if the session is new and has nothing, this happens on multiple refreshes and cache in local storage doesn'…
-
- [x] For each product NOT in cart
- [x] Create add-to-cart button
- [ ] - Up to you if you want this to increment previously-existing product quantity.
- [ ] - Up to you if …
-
Right now, if I refresh the page, all of the cart's content will be gone.
That would end up being a really bad user experience.
At least, I want my cart items to preserve if I accidentally refresh …
-
I've attached a snippet of code to timeout (and delete) a cart after 15 minutes of user inactivity. Just add the code within your `...` tag.
Simply put, it sets a time 20 mins from now in the localSt…