Closed MoeezChohan1089 closed 7 months ago
@MoeezChohan1089 Shipping methods are available in the Checkout
object as availableShippingRates
. If you have set shippingAddress
for a checkout using shippingAddressUpdate
, you'll get a list of ShippingRates
( Shipping Method ) in availableShippingRates
.
The provided shipping address region must be supported by the store.
ok thanks for it
sir i checked it i added custom shipping method and also region defined then still not showing availableshipping rates but i checked in shoppify webview here its showing shipping method which i selected now tell me how i can show shipping method in app section
Can you provide the minimal code showing what you are doing to achieve it?
Ok sir I will send you a code with screenshot tomorrow I think you will better understand with reference of screenshot
here you can check i am getting this shipping method when i will checkout then should be change shipping method but its not showing data this is the dummy data which you can see in these screenshoots. so according to your talk i used availableshippingrates but its showing null list so please tell me how i can get these shipping rates
if you say that we should update shippingaddress first then will show shippingrates then i am updating shippingaddress (address, full name, phone number, country, city, postal code) after add shipping fields then still showing null availableshippingrates
It would really be helpful if you could provide me with the minimal reproducible code.
It is difficult to understand the cause from the UI only
It was closed because the issue had been idle for over a week.
Hy sir, I hope you are doing well, i just want to inform you that you should implement also shipping method API (object, mutations and queries). sometimes user can change shipping method so i want to add shipping method please add it also in your code Thanks for your cooperation