ordercloud-api / headstart

A complete and opinionated eCommerce solution using OrderCloud as the backbone - built with .NET Core and Angular
MIT License
31 stars 74 forks source link

Total calculation is incorrect #347

Open sc-michaelmavrofrides opened 2 years ago

sc-michaelmavrofrides commented 2 years ago

Even if the full discount was applied to the earrings, the Total for the line item would be incorrect and should be $0.50. The line item should have a total of $30.00, if discounts are not shown on the line items, instead of $5.00.

image

abishop451 commented 2 years ago

The reason that the earrings are showing $5 as the total price is due to two line item level promos (promo Auto3 takes $5 off for each set of earrings, totaling $10, and promo MARC21 takes $15 off to represent 50% off those products). Because these are sku-specific promos, the discounted total is reflected as $5 on the cart page (I agree, this isn't very clear).

The 10% off entire order with code 0OUJX is taking $4.50 of the Subtotal of $45, and is not reflected in the Line Item totals.

sc-michaelmavrofrides commented 2 years ago

Hello,

Thank you for the clarifications. Much appreciated.

Upcoming Out of Office – February 21, March 3 – 4, April 22 – 26, May 28 – June 5, June 20, July 2 - 10

Sincerely, Michael Mavrofrides

From: Ashley Bishop @.> Reply-To: ordercloud-api/headstart @.> Date: Tuesday, February 15, 2022 at 12:27 PM To: ordercloud-api/headstart @.> Cc: Michael Mavrofrides @.>, Author @.***> Subject: Re: [ordercloud-api/headstart] Total calculation is incorrect (Issue #347)

The reason that the earrings are showing $5 as the total price is due to two line item level promos (promo Auto3 takes $5 off for each set of earrings, totaling $10, and promo MARC21 takes $15 off to represent 50% off those products). Because these are sku-specific promos, the discounted total is reflected as $5 on the cart page (I agree, this isn't very clear).

The 10% off entire order with code 0OUJX is taking $4.50 of the Subtotal of $45, and is not reflected in the Line Item totals.

— Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fordercloud-api%2Fheadstart%2Fissues%2F347%23issuecomment-1040562872&data=04%7C01%7Cmichael.mavrofrides%40sitecore.com%7C8dd69c84a8b94aba374708d9f0a865af%7C91700184c3144dc9bb7ea411df456a1e%7C0%7C0%7C637805428320223828%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=e2Fung6RbkhsrYq8EfvGQq1RWKNzrfAjVOQo80GxSPw%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIYKGJN6ZB6LAZ6IXN3XGGDU3KEGZANCNFSM5NMIUINQ&data=04%7C01%7Cmichael.mavrofrides%40sitecore.com%7C8dd69c84a8b94aba374708d9f0a865af%7C91700184c3144dc9bb7ea411df456a1e%7C0%7C0%7C637805428320223828%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=jNPBcQoxOiAIPubkoEn0csyTH2aMTzKm29IyJCFhrWw%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cmichael.mavrofrides%40sitecore.com%7C8dd69c84a8b94aba374708d9f0a865af%7C91700184c3144dc9bb7ea411df456a1e%7C0%7C0%7C637805428320223828%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=4aHCNckU7EQYJELCS0bbzBrYjU13Ez6nP7gnA9T8q9A%3D&reserved=0 or Androidhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cmichael.mavrofrides%40sitecore.com%7C8dd69c84a8b94aba374708d9f0a865af%7C91700184c3144dc9bb7ea411df456a1e%7C0%7C0%7C637805428320223828%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=QJdA9WNGdppj2GHYcXDV5BdbNOOpRwHfrNMw6sRVatE%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

This message and its attachments are for the designated recipient only and may contain proprietary or otherwise confidential information. If you have received this message in error, please notify the sender immediately and delete the original. Any other sharing, copying or use of this message by you is strictly prohibited.