Skip to content
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

feat: editOrderItem API #202

Merged
merged 1 commit into from
Aug 2, 2024
Merged

feat: editOrderItem API #202

merged 1 commit into from
Aug 2, 2024

Conversation

dylants
Copy link
Owner

@dylants dylants commented Aug 2, 2024

  • Add a function to edit an order item's details. This will be used to update the discount percentage of an item during checkout.
  • Refactor the recomputeOrderTotals function to calculate the entire order so it can be reused in both create and edit order items.

- Add a function to edit an order item's details. This will be used to update the discount percentage of an item during checkout.
- Refactor the `recomputeOrderTotals` function to calculate the entire order so it can be reused in both create and edit order items.
@dylants dylants merged commit 24e85bb into main Aug 2, 2024
2 checks passed
@dylants dylants deleted the edit-order-item branch August 2, 2024 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant