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

New Command : fop:cart:discount (List Cart Discount) #258

Open
Grezor opened this issue Jul 7, 2022 · 2 comments
Open

New Command : fop:cart:discount (List Cart Discount) #258

Grezor opened this issue Jul 7, 2022 · 2 comments
Assignees
Labels
feature a new feature to implement

Comments

@Grezor
Copy link

Grezor commented Jul 7, 2022

Domain

CartDiscount

Command

fop:cart:discount

parameters

date, month, year, stats

Command description

I would like to propose a new command to have the list of promo codes. example : "JULY2022"

  • list the number of users who have used the coupon code JULY2022.
  • Know how many codes are left (example below)
Name of the code total use remaining finished_at
JULY2022 300 150 150 2022-07-31
  • List promo code date range :
  • fop:cart:discount 2022-07-01 2022-07-31
  • fop:cart:discount --month 07

I would like some feedback on this command.
If it is accepted, I will be given this outcome

my opinion:
I propose this command, because currently in my company we use a lot of promo code. I had to make an SQL query to know how many people use the promo code A and how many are left.
Here it is, in the next few months. It will happen again on my side.

regards,
Geoffrey / Grezor

@Grezor Grezor added the feature a new feature to implement label Jul 7, 2022
@SebSept
Copy link
Contributor

SebSept commented Jul 7, 2022

dates with french format is maybe not a good bet. Not sure..

@jf-viguier
Copy link
Member

@SebSept I've changed this date format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a new feature to implement
Projects
None yet
Development

No branches or pull requests

3 participants