Project

General

Profile

Edit Copy Actions

Feature #10527

open

Fix cart, checkout, coupon, rewards, order totals, and product offer issues

Added by Pavan Kumar Murala 25 days ago. Updated 25 days ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
08/24/2026
Due date:
08/24/2026 (25 days late)
% Done:

100%

Estimated time:
3:00 h
Spent time:

Description

Added status when product is already in cart
Product cards, Product Details page, and Product Modal now continue displaying Added after the product is added to the cart.
Prevents the button from incorrectly changing back to Add to Cart.
Cart total currency
Removed hardcoded $ from cart subtotal/total.
Cart totals now use the same currency formatter as cart line items.
INR displays correctly as ₹.
Guest login phone conflict validation
Fixed the phone-exists validation message appearing under the Email field.
The message now appears only under the Phone field.
Guest checkout quantity doubling
Fixed duplicate cart-item merging during guest login.
Removed the additional merge during cart fetching.
Quantity remains correct, e.g. quantity 1 remains 1 at checkout.
Coupon validation
Fixed valid coupons incorrectly showing Invalid or expired.
Coupon application no longer fails because of:
Timezone/date-window validation
Missing WEB/MOBILE platform flag
usageLimit: 0 being treated as invalid instead of unlimited
Guest checkout no longer depends on the hidden available for guest flag.
Header Rewards navigation
Green-bar and header Rewards controls are now proper links.
Both navigate to the same Rewards page as the footer Rewards link.
Order Details page crash
Fixed Spin is not defined error.
Added the required Spin import to the Order Details page.
Payment amount vs receipt amount
Fixed confirmation email calculating totals using list prices instead of actual offer prices.
Email now uses offer line totals / actual charged amount.
Example corrected total:
$7.92 + $50 + $37.92 + $25 = $120.84
Prevents the receipt/email from incorrectly showing $121.92.
My Orders total
Fixed the Orders list Total calculation.
It now uses the actual order total / amount paid / line totals instead of the first product's unit price.
Total is formatted according to the selected currency.
Offers on Product Details
Sale price now uses finalPrice / appliedOffer, matching the cart calculation.
Added Save X% badge beside the struck-through original price.
Ensures Product Details pricing is consistent with cart pricing.


Add

Subtasks


Add

Related issues

Edit Copy Actions

Also available in: Atom PDF