selectedDeliveryOption is always null in the input to function #201
SaeedYasin
started this conversation in
Feedback: Delivery Customization API
Replies: 5 comments
|
This only happens in delivery customizations, but works fine in payment customizations. |
0 replies
|
I'm getting |
0 replies
|
Hey, Any solutions to this problem ? |
0 replies
|
is there any update on this? the bug still exists until now |
0 replies
|
I had a conversation with someone at Shopify, and they explained that the delivery customization function operates even before the user selects a delivery option, which is why it returns null. This makes sense, as it’s necessary to display only the relevant delivery options. I suggest they update the documentation to clarify this and remove the mention of the selected delivery option, as it is leading to confusion among developers. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Here is the checkout, where I have tried to select a delivery option and reload checkout, it does seem to remember what delivery option I selected last time.

But selectedDeliveryOption in the input to the function is always null, no matter what I try, it is never set to any value other than null.

Is this a known issue? or am I doing it wrong some how? 👀
All reactions