Coupon code being applied only to the first product in cart insead of whole cart The Next CEO of Stack OverflowCreating a redeemption form that verifies coupon code and adds it to cartCoupon code for whole cart not applied to multiple itemsmagento coupon code is behaving strangely?How to apply only valid coupon codes to shopping cart programmatically?Programatically generated coupon code not displaying on shopping cart after appliedSet coupon expire date for individual couponCoupon code being applied to other products when the eligible product is in the cartHow to programmatically add discount to order total on magento 2How to apply Discount on subtotal and if subtotal greater than or equal to $50 - Magento1How to restrict free shipping if the minimum order value below as defined after coupon code apply in Magento 2?

Planeswalker Ability and Death Timing

Do I need to write [sic] when including a quotation with a number less than 10 that isn't written out?

How badly should I try to prevent a user from XSSing themselves?

What did the word "leisure" mean in late 18th Century usage?

Finitely generated matrix groups whose eigenvalues are all algebraic

Calculate the Mean mean of two numbers

Can I cast Thunderwave and be at the center of its bottom face, but not be affected by it?

How does a dynamic QR code work?

How to find if SQL server backup is encrypted with TDE without restoring the backup

Why was Sir Cadogan fired?

Is it reasonable to ask other researchers to send me their previous grant applications?

Why did the Drakh emissary look so blurred in S04:E11 "Lines of Communication"?

Can you teleport closer to a creature you are Frightened of?

Identify and count spells (Distinctive events within each group)

Is a linearly independent set whose span is dense a Schauder basis?

How to compactly explain secondary and tertiary characters without resorting to stereotypes?

Incomplete cube

How to pronounce fünf in 45

Can I hook these wires up to find the connection to a dead outlet?

Is this a new Fibonacci Identity?

Upgrading From a 9 Speed Sora Derailleur?

What does this strange code stamp on my passport mean?

How can I prove that a state of equilibrium is unstable?

Is there a rule of thumb for determining the amount one should accept for a settlement offer?



Coupon code being applied only to the first product in cart insead of whole cart



The Next CEO of Stack OverflowCreating a redeemption form that verifies coupon code and adds it to cartCoupon code for whole cart not applied to multiple itemsmagento coupon code is behaving strangely?How to apply only valid coupon codes to shopping cart programmatically?Programatically generated coupon code not displaying on shopping cart after appliedSet coupon expire date for individual couponCoupon code being applied to other products when the eligible product is in the cartHow to programmatically add discount to order total on magento 2How to apply Discount on subtotal and if subtotal greater than or equal to $50 - Magento1How to restrict free shipping if the minimum order value below as defined after coupon code apply in Magento 2?










0















A coupon code is generated programmatically on a particular day.



The coupon code when applied shows the correct discount amount and even the checkout shows the correct discount amount, but when the order is seen in admin, the discount seems to be only applying for the first product and sales_order table have the coupon_code field as NULL for that order.










share|improve this question
























  • under the actions tab there is a section: "Apply the rule only to cart items matching the following conditions (leave blank for all items)." It is here that you would say: If ALL of these conditions are TRUE: Category is shirts

    – Savan Patel
    2 days ago















0















A coupon code is generated programmatically on a particular day.



The coupon code when applied shows the correct discount amount and even the checkout shows the correct discount amount, but when the order is seen in admin, the discount seems to be only applying for the first product and sales_order table have the coupon_code field as NULL for that order.










share|improve this question
























  • under the actions tab there is a section: "Apply the rule only to cart items matching the following conditions (leave blank for all items)." It is here that you would say: If ALL of these conditions are TRUE: Category is shirts

    – Savan Patel
    2 days ago













0












0








0








A coupon code is generated programmatically on a particular day.



The coupon code when applied shows the correct discount amount and even the checkout shows the correct discount amount, but when the order is seen in admin, the discount seems to be only applying for the first product and sales_order table have the coupon_code field as NULL for that order.










share|improve this question
















A coupon code is generated programmatically on a particular day.



The coupon code when applied shows the correct discount amount and even the checkout shows the correct discount amount, but when the order is seen in admin, the discount seems to be only applying for the first product and sales_order table have the coupon_code field as NULL for that order.







magento-2.1 sales-order programmatically coupon-codes






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago









Ronak Rathod

869112




869112










asked 2 days ago









MidlajMidlaj

132214




132214












  • under the actions tab there is a section: "Apply the rule only to cart items matching the following conditions (leave blank for all items)." It is here that you would say: If ALL of these conditions are TRUE: Category is shirts

    – Savan Patel
    2 days ago

















  • under the actions tab there is a section: "Apply the rule only to cart items matching the following conditions (leave blank for all items)." It is here that you would say: If ALL of these conditions are TRUE: Category is shirts

    – Savan Patel
    2 days ago
















under the actions tab there is a section: "Apply the rule only to cart items matching the following conditions (leave blank for all items)." It is here that you would say: If ALL of these conditions are TRUE: Category is shirts

– Savan Patel
2 days ago





under the actions tab there is a section: "Apply the rule only to cart items matching the following conditions (leave blank for all items)." It is here that you would say: If ALL of these conditions are TRUE: Category is shirts

– Savan Patel
2 days ago










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%2f268060%2fcoupon-code-being-applied-only-to-the-first-product-in-cart-insead-of-whole-cart%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%2f268060%2fcoupon-code-being-applied-only-to-the-first-product-in-cart-insead-of-whole-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

Sum ergo cogito? 1 nng

三茅街道4182Guuntc Dn precexpngmageondP