Hi everyone,
I’m currently developing an app for a client to integrate Shopify with their Drupal Commerce site. Drupal Commerce requires retrieving shipping options for the cart before creating an order.
I’ve found the shipping_zones.json call, but when I filter the zones according to the specifics of my cart items, I get 64 shipping options. My client mentioned that their Shopify site only shows 2 shipping options for the same cart.
Is there a more effective way to determine which shipping options should be displayed to the end user?
I appreciate any assistance you can provide.
Thank you!
Best regards,
Ben