You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"A shipping profile groups products with similar shipping requirements, allowing you to cater shipping options specifically for those products.
For example, if your store has fragile items that are shipped differently from other products, you can create a "Fragile" shipping profile and associate it with the fragile products. Then, you can create shipping options for fragile products, and options for other products."
However, when I have a product in my cart and call /store/shipping-options, I am seeing shipping options from different shipping profiles than the shipping profile of the product in the cart. Looking at the source, it doesn't seem to filter the shipping options by shipping profile. Is this expected?
The documentation says that "Service zones can be more restrictive, such as restricting to certain cities or province codes."
I am trying to filter shipping options by province. To test this, I have created two service zones each with geo zone with different province, same country. Like this.
If I then have a cart with province matching one of the geo zones, and call /store/shipping-options, both shipping options are returned. I would expect only the shipping option with matching province geo zone to be returned.
In fact, if I clone the listShippingOptionsForCartWorkflow and delete the country_code filter, it works; only the shipping option with matching province geo zone is returned. Is this expected or a bug?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
"A shipping profile groups products with similar shipping requirements, allowing you to cater shipping options specifically for those products.
For example, if your store has fragile items that are shipped differently from other products, you can create a "Fragile" shipping profile and associate it with the fragile products. Then, you can create shipping options for fragile products, and options for other products."
However, when I have a product in my cart and call
/store/shipping-options, I am seeing shipping options from different shipping profiles than the shipping profile of the product in the cart. Looking at the source, it doesn't seem to filter the shipping options by shipping profile. Is this expected?I am trying to filter shipping options by province. To test this, I have created two service zones each with geo zone with different province, same country. Like this.
If I then have a cart with province matching one of the geo zones, and call
/store/shipping-options, both shipping options are returned. I would expect only the shipping option with matching province geo zone to be returned.In fact, if I clone the listShippingOptionsForCartWorkflow and delete the
country_codefilter, it works; only the shipping option with matching province geo zone is returned. Is this expected or a bug?Beta Was this translation helpful? Give feedback.
All reactions