Questions tagged [local-storage]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
0answers
174 views

Magento2: Local-Storage Mage-Storage and Mage-Cache Empty on every Reload

Many features in my web page break as when I investigated, I found out that many local storage keys don't even exist now which used to exist before. list of keys that don't exist: lo_session mage-...
1
vote
1answer
46 views

what are the place local storage used in magento2

What are the place local storage used in magento2, please explain how to use effectively the configurations , classes involved in local storage
0
votes
0answers
355 views

Use localStorage in magento2 to store global data and later use in global phtml file

I want to store feed(getting feed from url in xml format) data in localStorage to use it further in all page by fetching local storage data in phtml. Currently I am using below code in Category(eg. ...
0
votes
1answer
369 views

how to get value from localstorage of product details in magento 2

How to get value from local storage of product weight and id in magento 2.
1
vote
0answers
303 views

display a popup once per day!

this code is to display a pop up once per day. But I'm having trouble making it responsive, and it seems that it shows once a lifetime... Also if I put it in 3 different pages, and it only shows up ...
3
votes
0answers
33 views

Compressing the Page Cache

My Full Page Cache Currently takes ~1 GB Space. My total allotment of the disk is 7 GB. The performance and everything are great, however, I am concerned about disk space. I am using 80% of disk space ...
0
votes
2answers
386 views

Magento2: how to fetch product id from local storage in observer

i want product id from local storage in observer is there any easy way to do it?
3
votes
2answers
633 views

How to remove Magento products details from local storage of browser?

In Magento 2 when we open multiple products it stores data of those products into window.localStorage.product_data_storage locally into the browser, In many of the browser that data get deleted ...
0
votes
2answers
432 views

Magento 2.2.2 return only 3 items from wishlist

When inspecting the bellow console.log(JSON.parse(localStorage.getItem('mage-cache-storage')).wishlist); I get the count of 7 but items only returns 3 : How Can one get all items ? in my case 7 ?...
0
votes
1answer
40 views

What increases the size of the Magento account? What can I delete to decrease the size? I'm up to 13.62 GB on the cPanel backup

Magento 1.9.1.0 890 products When I do a cPanel backup of my account - it comes up to be 13.62 GB. I think that it makes a backup of the Email also - the total size of the Email should be around 3 GB ...
0
votes
1answer
27 views

Site was fine until I flushed the Magento Cache Storage then 1045 ERROR

So I've finally got some progress...then I flushed the Magento Cache Storage and now I no longer can access my site, even from cloning the working repo. YES...I checked my app/etc/local.xml and the ...
4
votes
1answer
9k views

Magento 2: localStorage['mage-cache-storage'] usage

I've been looking at an easy and fast way (not expensive) to get the current cart data on each page view. It seems that most information about the cart is available in LocalStorage. You can see what'...
14
votes
3answers
6k views

Magento 2: Syncing Backend and Frontend State/Cache

Does Magento 2 have any systems or abstractions for managing state between the backend and the local storage on the frontend? I'm working on porting a feature for restoring a user's abandoned cart ...