Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Let user choose in admin UI which discount will be used in the offer #44

Open
Tracked by #1
ricardobrg opened this issue Jul 25, 2023 · 0 comments
Open
Tracked by #1
Assignees
Labels
fix Iterations on existing features or infrastructure.
Milestone

Comments

@ricardobrg
Copy link
Collaborator

As a user
I want to choose which discount will be used in the offer
so that I can organize my campaigns easily in the admin UI

What it is now

The last discount is used in the offer.

What it should be

A dropdown list of all active discounts should be shown and the user can select which one will be used.

Technical details

Add a dropdown list in home admin UI with the TIKI discounts. Try to make a direct graphql call with the session token. If not possible, create a new endpoint to get all the dicounts from the backend. Let the user change the current active discount and save it to app metadata.

Acceptance criteria

  1. The user can change the offer discount in the admin ui
  2. This discount is used in the offers
@ricardobrg ricardobrg self-assigned this Jul 25, 2023
@ricardobrg ricardobrg added the fix Iterations on existing features or infrastructure. label Jul 25, 2023
@ricardobrg ricardobrg added this to the 1.0 version milestone Aug 2, 2023
@ricardobrg ricardobrg removed their assignment Sep 5, 2023
@ricardobrg ricardobrg assigned ricardobrg and unassigned MiroBenicio Sep 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fix Iterations on existing features or infrastructure.
Projects
None yet
Development

No branches or pull requests

2 participants