Create advanced shopping cart rule in Magento 2Can a shopping cart rule remove free shipping from...

How would an AI self awareness kill switch work?

Avoid page break between paragraphs

Why are all my replica super soldiers young adults or old teenagers?

How do you funnel food off a cutting board?

How can I remove (non-trivial) duplicates from a VCF file?

Why are the books in the Game of Thrones citadel library shelved spine inwards?

Constexpr if with a non-bool condition

Picture with grey box as background

How to deal with possible delayed baggage?

How can a large fleets maintain formation in interstellar space?

In Linux what happens if 1000 files in a directory are moved to another location while another 300 files were added to the source directory?

When do I have to declare that I want to twin my spell?

How to play electric guitar and bass as a duet

When can a QA tester start his job?

What is the wife of a henpecked husband called?

How do you voice extended chords?

It took me a lot of time to make this, pls like. (YouTube Comments #1)

A curious equality of integrals involving the prime counting function?

Do authors have to be politically correct in article-writing?

How to use Mathematica to do a complex integrate with poles in real axis?

Why is working on the same position for more than 15 years not a red flag?

Is it possible to grant users sftp access without shell access? If yes, how is it implemented?

Why does magnet wire need to be insulated?

How should I handle players who ignore the session zero agreement?



Create advanced shopping cart rule in Magento 2


Can a shopping cart rule remove free shipping from cart?Shopping Cart Rule Valid Only If No Other Coupons Active?Shopping Cart Price Rule free shipping only for quantity subset of the same product?Magento shopping cart rule exclusion logicCatalog + Shopping cart rule, discounting wrong fields when appliedHow to apply two shopping cart rule on cartIssue with shopping cart rule. Please helpCheckout: shopping cart price rule is only applied after pressing the 'update cart' buttonIssue in Fixed Amount Discount Shopping cart Price ruleUsing special_price_to_date in shopping cart price rule













1















I want to create a shopping cart rule in Magento 2.
I have 6 products (range product A -> product F) to keep it simple.
Those products cannot be ordered without a valid discount code.




  1. if cart has one product from range A->F, client cannot add another product from that range into cart (other products are possible).

  2. products from range A->F can only be ordered with valid discountcode (if valid, product is free)

  3. if cart has only one item and it is from range A->F, shipping is free

  4. if cart has more products (other than range A->F) normal shipping, but only product from range A->F is free a order)


What is the best way to accomplish this?










share|improve this question



























    1















    I want to create a shopping cart rule in Magento 2.
    I have 6 products (range product A -> product F) to keep it simple.
    Those products cannot be ordered without a valid discount code.




    1. if cart has one product from range A->F, client cannot add another product from that range into cart (other products are possible).

    2. products from range A->F can only be ordered with valid discountcode (if valid, product is free)

    3. if cart has only one item and it is from range A->F, shipping is free

    4. if cart has more products (other than range A->F) normal shipping, but only product from range A->F is free a order)


    What is the best way to accomplish this?










    share|improve this question

























      1












      1








      1








      I want to create a shopping cart rule in Magento 2.
      I have 6 products (range product A -> product F) to keep it simple.
      Those products cannot be ordered without a valid discount code.




      1. if cart has one product from range A->F, client cannot add another product from that range into cart (other products are possible).

      2. products from range A->F can only be ordered with valid discountcode (if valid, product is free)

      3. if cart has only one item and it is from range A->F, shipping is free

      4. if cart has more products (other than range A->F) normal shipping, but only product from range A->F is free a order)


      What is the best way to accomplish this?










      share|improve this question














      I want to create a shopping cart rule in Magento 2.
      I have 6 products (range product A -> product F) to keep it simple.
      Those products cannot be ordered without a valid discount code.




      1. if cart has one product from range A->F, client cannot add another product from that range into cart (other products are possible).

      2. products from range A->F can only be ordered with valid discountcode (if valid, product is free)

      3. if cart has only one item and it is from range A->F, shipping is free

      4. if cart has more products (other than range A->F) normal shipping, but only product from range A->F is free a order)


      What is the best way to accomplish this?







      shopping-cart-price-rules






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 18 mins ago









      user3086053user3086053

      63




      63






















          0






          active

          oldest

          votes











          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%2f263748%2fcreate-advanced-shopping-cart-rule-in-magento-2%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f263748%2fcreate-advanced-shopping-cart-rule-in-magento-2%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

          “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

          How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

          變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...