Closed tramtranthingoc closed 4 years ago
It should now work correctly. All entries should be visible even if some of them have the same product code.
@marlass you brighten up my day!
@QA: Some scenarios worth testing would be as follows: Call Camera 2934302 as X, lenses 832382 as Y.
Scenario 1
Scenario 2
Scenario 3
Scenario 4
Scenario 5
Scenario 6
Scenario 7
Scenario 8
Scenario 9
Repeat same scenarios 1-> 9 but add Y as normal price first then add X later.
@marlass: we are now on SAP Commerce 1905.7. May I check with you when this fix is released, do we need to upgrade SAP commerce from 1905.7 to 1905.8 which has just been released on 10th Dec 2019?
Thanks, Tram
Hey. That has nothing to do with backend changes. We just handle cart entries differently in Spartacus now. We now show everything that backend returns us and previously there was an entry extraction mechanism that was based on product code. That was the reason only one of the entries with the same product code was visible.
Try to upgrade to @spartacus/core@next
and @spartacus/storefront@next
versions.
Warning: CartService
was changed. If you extended it or provided your own look at new implementation to see what services you need to provide or if you could drop your own implementation.
Environment Details
SAP commerce cloud version: 1905.7 Spartacus: 1.3 Browser: any OS: any Device: any
Steps to Reproduce
Observed Results
Expected Results
Spartacus cart should display all cart entries correctly regardless there are multi cart entries per same product.
More information can be found in these videos: Accelerator: https://drive.google.com/file/d/1Q3GkpZQZVpfdLCy1Zkv7pW8ndt_yMkbE/view Spartacus (same cart): https://drive.google.com/file/d/15S8Z_gS3Bkc00HCl6km1EHy8eCUnaYwE/view