Magento 2.2.5 - Add wishlist to custom new pageAdd product to wishlist without reloading pageWishlist Add/RemoveAdd to wishlist button not available for Products in Magento 2“Add to wishlist” without redirecting to wishlist page Magento 2.06Adding product to wishlist without redirect to wishlist page stay on same pageAdd product to wishlist using ajaxHow to add new product to particular customer's wishlist in Magento2?Create an Order automatically when a new product is added to wishlist of customerCan anyone explain how wishlist mage-cache-storage data update on every add product on wishlist in magento2?Add product to wishlist using Ajax - get response message

How much propellant is used up until liftoff?

How can a new country break out from a developed country without war?

Someone scrambled my calling sign- who am I?

Should I be concerned about student access to a test bank?

How do researchers send unsolicited emails asking for feedback on their works?

How to read string as hex number in bash?

Friend wants my recommendation but I don't want to

TDE Master Key Rotation

Isn't the word "experience" wrongly used in this context?

Air travel with refrigerated insulin

Is a square zero matrix positive semidefinite?

Asserting that Atheism and Theism are both faith based positions

Nested Dynamic SOQL Query

When should a starting writer get his own webpage?

Have the tides ever turned twice on any open problem?

label a part of commutative diagram

Why doesn't the fusion process of the sun speed up?

What (if any) is the reason to buy in small local stores?

Can "few" be used as a subject? If so, what is the rule?

Did Nintendo change its mind about 68000 SNES?

Justification failure in beamer enumerate list

How to test the sharpness of a knife?

Would it be believable to defy demographics in a story?

Turning a hard to access nut?



Magento 2.2.5 - Add wishlist to custom new page


Add product to wishlist without reloading pageWishlist Add/RemoveAdd to wishlist button not available for Products in Magento 2“Add to wishlist” without redirecting to wishlist page Magento 2.06Adding product to wishlist without redirect to wishlist page stay on same pageAdd product to wishlist using ajaxHow to add new product to particular customer's wishlist in Magento2?Create an Order automatically when a new product is added to wishlist of customerCan anyone explain how wishlist mage-cache-storage data update on every add product on wishlist in magento2?Add product to wishlist using Ajax - get response message













1















We have a separate new page for listing the products, there we need a "Wishlist" option as like as in product catalog page.



Can anyone share the exact idea to implement it?.










share|improve this question


























    1















    We have a separate new page for listing the products, there we need a "Wishlist" option as like as in product catalog page.



    Can anyone share the exact idea to implement it?.










    share|improve this question
























      1












      1








      1








      We have a separate new page for listing the products, there we need a "Wishlist" option as like as in product catalog page.



      Can anyone share the exact idea to implement it?.










      share|improve this question














      We have a separate new page for listing the products, there we need a "Wishlist" option as like as in product catalog page.



      Can anyone share the exact idea to implement it?.







      magento2 custom wishlist page






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 12 hours ago









      Ejilarasan JEjilarasan J

      347




      347




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Please try below steps.
          1. Add below line for add to wishlist url.



          <a href="#" data-post='<?php echo $this->helper('MagentoWishlistHelperData')->getAddParams($_product) ?>' class="action towishlist" data-action="add-to-wishlist"><span>Add to Wish List</span></a>


          And then after you can call script at the end of file.



          <script type="text/x-magento-init">

          "*":
          "Magento_Ui/js/core/app":
          "components":
          "wishlist":
          "component": "Magento_Wishlist/js/view/wishlist"






          </script>


          Thanks






          share|improve this answer








          New contributor




          Moin Malek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.



















            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%2f266352%2fmagento-2-2-5-add-wishlist-to-custom-new-page%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









            0














            Please try below steps.
            1. Add below line for add to wishlist url.



            <a href="#" data-post='<?php echo $this->helper('MagentoWishlistHelperData')->getAddParams($_product) ?>' class="action towishlist" data-action="add-to-wishlist"><span>Add to Wish List</span></a>


            And then after you can call script at the end of file.



            <script type="text/x-magento-init">

            "*":
            "Magento_Ui/js/core/app":
            "components":
            "wishlist":
            "component": "Magento_Wishlist/js/view/wishlist"






            </script>


            Thanks






            share|improve this answer








            New contributor




            Moin Malek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.
























              0














              Please try below steps.
              1. Add below line for add to wishlist url.



              <a href="#" data-post='<?php echo $this->helper('MagentoWishlistHelperData')->getAddParams($_product) ?>' class="action towishlist" data-action="add-to-wishlist"><span>Add to Wish List</span></a>


              And then after you can call script at the end of file.



              <script type="text/x-magento-init">

              "*":
              "Magento_Ui/js/core/app":
              "components":
              "wishlist":
              "component": "Magento_Wishlist/js/view/wishlist"






              </script>


              Thanks






              share|improve this answer








              New contributor




              Moin Malek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.






















                0












                0








                0







                Please try below steps.
                1. Add below line for add to wishlist url.



                <a href="#" data-post='<?php echo $this->helper('MagentoWishlistHelperData')->getAddParams($_product) ?>' class="action towishlist" data-action="add-to-wishlist"><span>Add to Wish List</span></a>


                And then after you can call script at the end of file.



                <script type="text/x-magento-init">

                "*":
                "Magento_Ui/js/core/app":
                "components":
                "wishlist":
                "component": "Magento_Wishlist/js/view/wishlist"






                </script>


                Thanks






                share|improve this answer








                New contributor




                Moin Malek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                Please try below steps.
                1. Add below line for add to wishlist url.



                <a href="#" data-post='<?php echo $this->helper('MagentoWishlistHelperData')->getAddParams($_product) ?>' class="action towishlist" data-action="add-to-wishlist"><span>Add to Wish List</span></a>


                And then after you can call script at the end of file.



                <script type="text/x-magento-init">

                "*":
                "Magento_Ui/js/core/app":
                "components":
                "wishlist":
                "component": "Magento_Wishlist/js/view/wishlist"






                </script>


                Thanks







                share|improve this answer








                New contributor




                Moin Malek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                Moin Malek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 11 hours ago









                Moin MalekMoin Malek

                313




                313




                New contributor




                Moin Malek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Moin Malek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Moin Malek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.



























                    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%2f266352%2fmagento-2-2-5-add-wishlist-to-custom-new-page%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

                    Bulk add to cart function issuecart vs. mini cart issue … rwd themeRedirect Add to cart button to cart pageAdd to cart issue - Magento 2.1The requested Payment Method is not available When creating an orderM2: reason add-to-cart might not function in production modeAdd to cart issue in some android devicesMagento 2 - custom price can not add to subtotal and grand total after add to cartAdd to cart codeIssue with my cart module on pdp and cart pages, just keeps spinningBulk price and quantity update using rest api

                    БиармияSxpst500bh2ntaf! 3h2r