Magento2 redirect to Product Details Page on add to cart












1















I have disabled the Ajax cart.
When clicking on addtocart it is redirecting to product page, correct I expect this to be like this.



but my problem is all the products in the store have custom options, which doesn't show on homepage or category page.
so clicking in addtocart though it redirects to product page correctly, but it shows a warning info:



like - Please specify product's required option(s).



I want to suppress this when clicking on addtocart on category page or homepage.










share|improve this question
















bumped to the homepage by Community 29 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    1















    I have disabled the Ajax cart.
    When clicking on addtocart it is redirecting to product page, correct I expect this to be like this.



    but my problem is all the products in the store have custom options, which doesn't show on homepage or category page.
    so clicking in addtocart though it redirects to product page correctly, but it shows a warning info:



    like - Please specify product's required option(s).



    I want to suppress this when clicking on addtocart on category page or homepage.










    share|improve this question
















    bumped to the homepage by Community 29 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      1












      1








      1








      I have disabled the Ajax cart.
      When clicking on addtocart it is redirecting to product page, correct I expect this to be like this.



      but my problem is all the products in the store have custom options, which doesn't show on homepage or category page.
      so clicking in addtocart though it redirects to product page correctly, but it shows a warning info:



      like - Please specify product's required option(s).



      I want to suppress this when clicking on addtocart on category page or homepage.










      share|improve this question
















      I have disabled the Ajax cart.
      When clicking on addtocart it is redirecting to product page, correct I expect this to be like this.



      but my problem is all the products in the store have custom options, which doesn't show on homepage or category page.
      so clicking in addtocart though it redirects to product page correctly, but it shows a warning info:



      like - Please specify product's required option(s).



      I want to suppress this when clicking on addtocart on category page or homepage.







      magento2 redirect






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 28 '18 at 0:16









      WISAM HAKIM

      1,615618




      1,615618










      asked Apr 27 '18 at 21:52









      JoshiJoshi

      214112




      214112





      bumped to the homepage by Community 29 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 29 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          By default, you cannot add a product option on catalog, home page, and other pages. You need to go the product detail page, choose the options and click add to cart button.



          You can image, if adding a product option from catalog page, you need to do more work. I have an idea for you. For the product option, when customer clicks Add to Cart button, we will show a popup with all info, now, customer can choose options and add product to cart.



          We can use the Product Quick View logic for this part. There are some Product Quick View modules.






          share|improve this answer
























          • Yes the Quick View feature is already there, but it was conflicting with other extension like advanced layered navigation. so I am looking for a simple fix, that is how to just suppress the warning info as I mentioned in the question.

            – Joshi
            Apr 28 '18 at 13:36











          • My idea is for fresh version. In your case, you should check the conflicts.

            – Khoa TruongDinh
            Apr 28 '18 at 15:18











          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%2f224050%2fmagento2-redirect-to-product-details-page-on-add-to-cart%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














          By default, you cannot add a product option on catalog, home page, and other pages. You need to go the product detail page, choose the options and click add to cart button.



          You can image, if adding a product option from catalog page, you need to do more work. I have an idea for you. For the product option, when customer clicks Add to Cart button, we will show a popup with all info, now, customer can choose options and add product to cart.



          We can use the Product Quick View logic for this part. There are some Product Quick View modules.






          share|improve this answer
























          • Yes the Quick View feature is already there, but it was conflicting with other extension like advanced layered navigation. so I am looking for a simple fix, that is how to just suppress the warning info as I mentioned in the question.

            – Joshi
            Apr 28 '18 at 13:36











          • My idea is for fresh version. In your case, you should check the conflicts.

            – Khoa TruongDinh
            Apr 28 '18 at 15:18
















          0














          By default, you cannot add a product option on catalog, home page, and other pages. You need to go the product detail page, choose the options and click add to cart button.



          You can image, if adding a product option from catalog page, you need to do more work. I have an idea for you. For the product option, when customer clicks Add to Cart button, we will show a popup with all info, now, customer can choose options and add product to cart.



          We can use the Product Quick View logic for this part. There are some Product Quick View modules.






          share|improve this answer
























          • Yes the Quick View feature is already there, but it was conflicting with other extension like advanced layered navigation. so I am looking for a simple fix, that is how to just suppress the warning info as I mentioned in the question.

            – Joshi
            Apr 28 '18 at 13:36











          • My idea is for fresh version. In your case, you should check the conflicts.

            – Khoa TruongDinh
            Apr 28 '18 at 15:18














          0












          0








          0







          By default, you cannot add a product option on catalog, home page, and other pages. You need to go the product detail page, choose the options and click add to cart button.



          You can image, if adding a product option from catalog page, you need to do more work. I have an idea for you. For the product option, when customer clicks Add to Cart button, we will show a popup with all info, now, customer can choose options and add product to cart.



          We can use the Product Quick View logic for this part. There are some Product Quick View modules.






          share|improve this answer













          By default, you cannot add a product option on catalog, home page, and other pages. You need to go the product detail page, choose the options and click add to cart button.



          You can image, if adding a product option from catalog page, you need to do more work. I have an idea for you. For the product option, when customer clicks Add to Cart button, we will show a popup with all info, now, customer can choose options and add product to cart.



          We can use the Product Quick View logic for this part. There are some Product Quick View modules.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 28 '18 at 11:31









          Khoa TruongDinhKhoa TruongDinh

          21.9k64187




          21.9k64187













          • Yes the Quick View feature is already there, but it was conflicting with other extension like advanced layered navigation. so I am looking for a simple fix, that is how to just suppress the warning info as I mentioned in the question.

            – Joshi
            Apr 28 '18 at 13:36











          • My idea is for fresh version. In your case, you should check the conflicts.

            – Khoa TruongDinh
            Apr 28 '18 at 15:18



















          • Yes the Quick View feature is already there, but it was conflicting with other extension like advanced layered navigation. so I am looking for a simple fix, that is how to just suppress the warning info as I mentioned in the question.

            – Joshi
            Apr 28 '18 at 13:36











          • My idea is for fresh version. In your case, you should check the conflicts.

            – Khoa TruongDinh
            Apr 28 '18 at 15:18

















          Yes the Quick View feature is already there, but it was conflicting with other extension like advanced layered navigation. so I am looking for a simple fix, that is how to just suppress the warning info as I mentioned in the question.

          – Joshi
          Apr 28 '18 at 13:36





          Yes the Quick View feature is already there, but it was conflicting with other extension like advanced layered navigation. so I am looking for a simple fix, that is how to just suppress the warning info as I mentioned in the question.

          – Joshi
          Apr 28 '18 at 13:36













          My idea is for fresh version. In your case, you should check the conflicts.

          – Khoa TruongDinh
          Apr 28 '18 at 15:18





          My idea is for fresh version. In your case, you should check the conflicts.

          – Khoa TruongDinh
          Apr 28 '18 at 15:18


















          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%2f224050%2fmagento2-redirect-to-product-details-page-on-add-to-cart%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

          What other Star Trek series did the main TNG cast show up in?

          Berlina muro

          Berlina aerponto