How to get custom local storage value in magento2?

I need to get the custom local storage value in php file .

How to do that


  • store value in session than use it. – 55840 Apr 13 '19 at 12:07

Custom local storage are stored at client side means in user's browser , you can not access it directly. You need to use ajax call with that info to your server to get into in php file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.