Skip to content

Conversation

@sf-anilpurohit
Copy link
Collaborator

@sf-anilpurohit sf-anilpurohit commented Mar 17, 2025

What does this PR do?

In This PR we have changed Apex sample code for B2BDeliveryService to retain previously selected delivery method when we retrigger shipping calculation from buyer flow.

What issues does this PR fix or reference?

#, @@
@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.

@sf-anilpurohit sf-anilpurohit changed the title @W-17966639 B2B DelvieryService apex code changes @W-17966639 B2B DeliveryService apex code changes Mar 17, 2025
@sf-anilpurohit
Copy link
Collaborator Author

Hi @tarcang @snilakandan13
Please have a look at my PR

Thanks!

Copy link
Contributor

@gurpreetsainisalesforce gurpreetsainisalesforce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sf-anilpurohit Please check if you have to add some more tests for these changes.

@sf-anilpurohit
Copy link
Collaborator Author

@gurpreetsainisalesforce
I have updated the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants