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

AdminStats Controller KPI best category is bad #22671

Closed
ghost opened this issue Jan 5, 2021 · 1 comment · Fixed by #22585
Closed

AdminStats Controller KPI best category is bad #22671

ghost opened this issue Jan 5, 2021 · 1 comment · Fixed by #22585
Labels
1.7.7.0 Affects versions BO Category: Back Office Bug Type: Bug Categories Label: Which BO under menu is concerned Fixed Resolution: issue closed because fixed Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification PR available Solution: issue is being addressed Stats Component: Which BO section is concerned
Milestone

Comments

@ghost
Copy link

ghost commented Jan 5, 2021

Describe the bug

KPI best category is bad when product with reduction.

Expected behavior

Explain what you expected to happen instead.

Steps to Reproduce

Steps to reproduce the behavior:

Make an order with one product ( category vêtement ) 35€ but with 50% reduction
Make an order with one product ( category art ) 30€ no reduction
Go to stats to update KPI
Go to category page check the best category

Screenshots

With Change

Capture d’écran de 2021-01-05 10-59-54

Without change

Capture d’écran de 2021-01-05 11-00-20

Additional information

  • PrestaShop version: 1.7.7.0
  • PHP version: N/A
@ghost ghost changed the title KPI best category is bad AdminStats Controller KPI best category is bad Jan 5, 2021
@hibatallahAouadni
Copy link
Contributor

Hello @okom3pom

I was able to reproduce the issue with PrestaShop version 1.7.7.0.
I’ll add this to the debug backlog.
Thanks for your PR 🚀

Thank you

@hibatallahAouadni hibatallahAouadni added 1.7.7.0 Affects versions BO Category: Back Office Bug Type: Bug Categories Label: Which BO under menu is concerned Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification PR available Solution: issue is being addressed Stats Component: Which BO section is concerned Ready Status: Issue is ready to be worked on labels Jan 5, 2021
@khouloudbelguith khouloudbelguith added Fixed Resolution: issue closed because fixed and removed Ready Status: Issue is ready to be worked on labels Jan 7, 2021
@khouloudbelguith khouloudbelguith added this to Not ready in PrestaShop 1.7.8.0 via automation Jan 7, 2021
@khouloudbelguith khouloudbelguith added this to the 1.7.8.0 milestone Jan 7, 2021
@khouloudbelguith khouloudbelguith moved this from Not ready to To be merged in PrestaShop 1.7.8.0 Jan 7, 2021
PrestaShop 1.7.8.0 automation moved this from To be merged to Done Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.7.7.0 Affects versions BO Category: Back Office Bug Type: Bug Categories Label: Which BO under menu is concerned Fixed Resolution: issue closed because fixed Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification PR available Solution: issue is being addressed Stats Component: Which BO section is concerned
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants