commerce-on-lightning
commerce-on-lightning copied to clipboard
@W-17966639 B2C DeliveryService apex code changes
trafficstars
What does this PR do?
In This PR we have changed Apex sample code for B2CDeliveryService to retain previously selected delivery method when we retrigger shipping calculation from buyer flow.
What issues does this PR fix or reference?
#<Insert GitHub Issue>, @<Insert GUS WI>@ @W-17966639
Functionality Before
<insert gif and/or summary> Earlier we were not retaining previously selected delivery method and it was always getting clear then buyer need to select again if he change the delivery address.
Functionality After
<insert gif and/or summary> Now we are retaining previously selected delivery method and it wont clear if buyer change the delivery address.
How to Test/Testing Effort
<insert gif and/or summary> by placing order in checkout flow by selecting one of CDGM and changing the address we can test it.