ajency / HK-Issue-Tracker

HK Issue Tracker
0 stars 0 forks source link

Please scan 1 barcode(s) of NUT4338-03 and then apply the offer message is displayed when BxGy offer is applied #1633

Closed rohan-morje closed 4 years ago

rohan-morje commented 4 years ago

Open POS scan1 variant of NUT5282-01 scan 1 varaimt of NUT6234-04 scan 3 barcode of NUT4338-03 Apply MD 4338-03 offer

Actualresult: Please scan 1 barcode(s) of NUT4338-03 and then apply the offer message is displayed when BxGy offer is applied

Expected: Please scan 1 barcode(s) of NUT4338-03 and then apply the offer message should not displayed when BxGy offer is applied

Please scan 1 barcode(s) of NUT4338-03 and then apply the offer

rohan-morje commented 4 years ago

image

shivam-kurtarkar commented 4 years ago

not an issue there are 3 offers b:NUT5282-01 x:1 g:NUT4338-03 y:1 label:Buy 1 Get 1 b:NUT6234-01 x:1 g:NUT4338-03 y:1 label:Buy 1 Get 1 b:NUT4338-03 x:1 g:NUT4338-03 y:1 label:Buy 1 Get 1

and there is an extra item of NUT4338-03 hence the scan message is shown


[ INFO] [] [http-nio-8181-exec-2] (21 May 2020 18:29:18) (POSAction.java:5206) - Ajency.in :: coupon code from ui null. setting coupon code null in offer dto and pos cart dto.
[ INFO] [] [http-nio-8181-exec-2] (21 May 2020 18:29:19) (POSAction.java:4822) - Ajency.in :: b:NUT5282-01 x:1 g:NUT4338-03 y:1 label:Buy 1 Get 1
[ INFO] [] [http-nio-8181-exec-2] (21 May 2020 18:29:19) (POSAction.java:4849) - Ajency.in :: bPosLineItems size:1 gPosLineItems size:3
[ INFO] [] [http-nio-8181-exec-2] (21 May 2020 18:29:19) (POSHelper.java:300) - Ajency.in :: bxgy discount LI :0.0 percent discount:0.0 additional discount:0.0
[ INFO] [] [http-nio-8181-exec-2] (21 May 2020 18:29:20) (POSAction.java:4822) - Ajency.in :: b:NUT6234-01 x:1 g:NUT4338-03 y:1 label:Buy 1 Get 1
[ INFO] [] [http-nio-8181-exec-2] (21 May 2020 18:29:20) (POSAction.java:4849) - Ajency.in :: bPosLineItems size:1 gPosLineItems size:2
[ INFO] [] [http-nio-8181-exec-2] (21 May 2020 18:29:20) (POSHelper.java:300) - Ajency.in :: bxgy discount LI :0.0 percent discount:0.0 additional discount:0.0
[ INFO] [] [http-nio-8181-exec-2] (21 May 2020 18:29:20) (POSAction.java:4822) - Ajency.in :: b:NUT4338-03 x:1 g:NUT4338-03 y:1 label:Buy 1 Get 1
[ INFO] [] [http-nio-8181-exec-2] (21 May 2020 18:29:20) (POSAction.java:4849) - Ajency.in :: bPosLineItems size:1 gPosLineItems size:1
[ INFO] [] [http-nio-8181-exec-2] (21 May 2020 18:29:20) (POSAction.java:4889) - Ajency.in :: [appliedCount: 1] pv NUT4338-03 stock52
[ INFO] [] [http-nio-8181-exec-2] (21 May 2020 18:29:20) (POSAction.java:4913) - Ajency.in :: msg:[Please scan 1 barcode(s) of NUT4338-03 and then apply the offer ]