Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047828
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Discounts and Promotionsminoralways2021-10-08 07:482021-10-08 09:43
ReporterjetxarriView Statuspublic 
Assigned ToRetail 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047828: Hidden discounts are being returned in the discount.discount endpoint

DescriptionHidden discounts are being returned in the discount.discount endpoint when they should not be returned because they are hidden discounts that are only used for the discounts engine logic.

It will be great if this is configurable using a preference.
Steps To Reproduce-Define free product per total amount discount
-Do a call to discount.discount endpoint with free product and another one
-The total of the ticket must be above the total amount

In the response you will see that the promotion is applied to 2 lines
Proposed SolutionAttached a patch but pending to create and apply the preference
TagsNOR
Attached Filesdiff file icon patch.diff [^] (2,820 bytes) 2021-10-08 08:10 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2021-10-08 07:48 jetxarri New Issue
2021-10-08 07:48 jetxarri Assigned To => Retail
2021-10-08 07:48 jetxarri Triggers an Emergency Pack => No
2021-10-08 07:48 jetxarri Tag Attached: NOR
2021-10-08 08:10 jetxarri File Added: patch.diff
2021-10-08 09:04 jetxarri Type defect => feature request
2021-10-08 09:04 jetxarri Description Updated View Revisions
2021-10-08 09:04 jetxarri Proposed Solution updated


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker