Questions tagged [local-storage]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
128 views

How to add extra pricing data in product_data_storage?

I have added extra price in Advance pricing in Admin. Everything is working well expect the data for the Recently view products which comes from Local Storage > product_data_storage How to add that ...
1
vote
1answer
465 views

When and how customer data is set on local storage Magento 2 (localStorage['mage-cache-storage'])

I want to find out which js sets the customer data in local storage in magento2.
0
votes
0answers
17 views

Loading custom js file at the end of set of customer data local storage Magento 2

I need customer information data from local storage in my custom js. But till I fetch the customer data from local storage, customer data in local storage hasn't set. define( ['jquery', '...
4
votes
0answers
440 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
51 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
1answer
502 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
426 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
35 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 ...
1
vote
2answers
1k 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
1k 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
721 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
45 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
30 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
11k 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
7k 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 ...