-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Order Total Bug Fixed #1933
Order Total Bug Fixed #1933
Conversation
@K-kiran77 is attempting to deploy a commit to the Vivek Prajapati's projects Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughThe recent changes to the Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- src/User/components/Order/OrderSummary.jsx (1 hunks)
Additional comments not posted (2)
src/User/components/Order/OrderSummary.jsx (2)
43-43
: LGTM! Ensure dynamic calculation for non-empty carts.The change correctly displays $0.00 when the cart is empty.
Verify that the dynamic calculation is still in place for non-empty carts.
Line range hint
59-59
:
Dynamic calculation is correct.The dynamic calculation of the total amount when there are items in the cart is correct and aligns with the PR objectives.
pull the code again and make make price to rupee instead of dollar |
and also fix when the total is below 500 then add shipping 40 and if the price will greater then 500 then make shipping free. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- src/User/components/Order/OrderSummary.jsx (2 hunks)
Additional comments not posted (2)
src/User/components/Order/OrderSummary.jsx (2)
43-43
: LGTM!The code correctly displays
0.00
when there are no items in the cart.
Line range hint
69-69
:
LGTM!The code correctly formats and displays the total amount.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
I think this issue is already fixed ? |
This issue is fixed |
Fixes Issue
My issue number is #1926
Closes #1926
Changes proposed
Previously even there are no items in the cart the total amount was showing $40.00, Now i made change in the ordersummary component to show $0.00 when no items in the cart and total value including delivery charge when items in the cart
Screenshots
Note to reviewers
Summary by CodeRabbit
$0.00
, which may mislead users about their actual order total.