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

Implement Item-Level Discounts #22

Open
Ahzem opened this issue Oct 6, 2023 · 0 comments
Open

Implement Item-Level Discounts #22

Ahzem opened this issue Oct 6, 2023 · 0 comments
Labels
enhancement New feature or request hacktoberfest

Comments

@Ahzem
Copy link
Owner

Ahzem commented Oct 6, 2023

Currently, our billing system supports discounts only at the total bill level. We aim to enhance the system to allow users to apply discounts to individual items. This will provide more flexibility and customization for our users when it comes to pricing.

Objective:
The primary objective of this enhancement is to enable users to add discounts to specific items in their order. This can be particularly useful for promotional offers, special pricing, or item-specific discounts.

Implementation Details:

  1. User Interaction: Modify the user interaction flow to include the option to add a discount when adding an item to the order.

    • After entering the item details (e.g., name, quantity, price), the system should prompt the user with a choice (e.g., "Do you want to apply a discount to this item? Y/N").
    • If the user selects "Y" (yes), the system should ask for the discount amount or percentage for that specific item.
    • If the user selects "N" (no), the item is added without a discount.
  2. Calculation: Implement the logic to calculate the discounted price for items when a discount is applied. Ensure that the discounted price is reflected in the order total.

  3. Display: Modify the order summary or receipt to include item-level discounts for transparency and clarity.

Acceptance Criteria:

  • Users should have the option to apply discounts to individual items during the order creation process.
  • Discounts applied to items should be reflected in the order total.
  • The system should handle both fixed amount and percentage-based discounts.
  • Discounts should be displayed clearly on the order summary or receipt.

Additional Information:

  • This enhancement will provide greater flexibility to users and can be useful for various pricing strategies.
  • Consider the user experience when implementing this feature to ensure it is intuitive and user-friendly.

Proposed Timeline:
We aim to complete the implementation of item-level discounts within the next development sprint, subject to resource availability and project prioritization.

By adding item-level discounts, we will empower our users to apply customized pricing strategies, making our billing system more versatile and accommodating a wider range of pricing scenarios.

@Ahzem Ahzem added enhancement New feature or request hacktoberfest labels Oct 6, 2023
@Ahzem Ahzem self-assigned this Oct 6, 2023
Repository owner deleted a comment from SasaNirmal Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants