How to get custom local storage value in magento2? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraHow to add custom footer template for product view page in magento2How to add the option value for the product attribute in magento2how to create a attribute programmatically in magento2Custom tab in admin product page in magento2Get product attribute measurement in magento2How to add new grid in product form in magento2How to add sidebar in custom layout in magento2?How to get a custom order attribute value in cart api /V1/carts/mine?How to get the wistlist_item_id in magento2How to add class in ko template in magento2

Do I need to watch Ant-Man and the Wasp and Captain Marvel before watching Avengers: Endgame?

A strange hotel

Will I lose my paid in full property

Could moose/elk survive in the Amazon forest?

Unknown code in script

Multiple options vs single option UI

Check if a string is entirely made of the same substring

`microtype`: Set Minimum Width of a Space

Why do distances seem to matter in the Foundation world?

Can I criticise the more senior developers around me for not writing clean code?

Was Dennis Ritchie being too modest in this quote about C and Pascal?

Combinatorics problem, right solution?

Is Diceware more secure than a long passphrase?

Is this homebrew arcane communication device abusable?

Negative Resistance

Drawing a german abacus as in the books of Adam Ries

Double-nominative constructions and “von”

Can a stored procedure reference the database in which it is stored?

How to find the stem of any word?

Jaya, Venerated Firemage + Chandra's Pyrohelix = 4 damage among two targets?

"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?

How much cash can I safely carry into the USA and avoid civil forfeiture?

How to have a sharp product image?

Island of Knights, Knaves and Spies



How to get custom local storage value in magento2?



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraHow to add custom footer template for product view page in magento2How to add the option value for the product attribute in magento2how to create a attribute programmatically in magento2Custom tab in admin product page in magento2Get product attribute measurement in magento2How to add new grid in product form in magento2How to add sidebar in custom layout in magento2?How to get a custom order attribute value in cart api /V1/carts/mine?How to get the wistlist_item_id in magento2How to add class in ko template in magento2



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















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



Thanks.










share|improve this question






















  • store value in session than use it.

    – satish
    Apr 13 at 12:07

















2















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



Thanks.










share|improve this question






















  • store value in session than use it.

    – satish
    Apr 13 at 12:07













2












2








2








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



Thanks.










share|improve this question














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



Thanks.







magento2.3 php-7.2






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 13 at 9:59









Mano MMano M

1,094220




1,094220












  • store value in session than use it.

    – satish
    Apr 13 at 12:07

















  • store value in session than use it.

    – satish
    Apr 13 at 12:07
















store value in session than use it.

– satish
Apr 13 at 12:07





store value in session than use it.

– satish
Apr 13 at 12:07










1 Answer
1






active

oldest

votes


















2














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.






share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "479"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269966%2fhow-to-get-custom-local-storage-value-in-magento2%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    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.






    share|improve this answer



























      2














      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.






      share|improve this answer

























        2












        2








        2







        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.






        share|improve this answer













        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 13 at 11:38









        Knight017Knight017

        387212




        387212



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269966%2fhow-to-get-custom-local-storage-value-in-magento2%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?