As mentioned in the title i am seeing some issues with the Hide operations in Shopify functions where for subscription products all shipping rates are hidden.
For context i have a delivery function that show/hides different shipping options for specific postcodes. For example,
- NW8 postcode it should show UK Mainland Shipping
- AB31 postcode should show UK Islands Shipping
The function seems to work fine in the backend, here are some logs
Available delivery options: [
{
"title": "UK Mainland shipping",
"handle": "b898a4f7826ce7aa77aa9ada38520960-9cda7d63a957b1e8a9017528d523e195",
"willBeHidden": true
},
{
"title": "UK Islands Shipping",
"handle": "b898a4f7826ce7aa77aa9ada38520960-2b9b47c72b0331f7aa7a80523adcf1e1",
"willBeHidden": false
},
{
"title": "UK Mainland shipping",
"handle": "b898a4f7826ce7aa77aa9ada38520960-fab6dc308a122a35555e188d8d704c99",
"willBeHidden": true
}
]
Summary: {
"postcode": "AB31 1AA",
"postcodeType": "ISLAND",
"totalOptions": 3,
"operationsCount": 2,
"hiddenCount": 2,
"visibleCount": 1,
"willBeVisible": 1,
"hiddenOptions": [
"UK Mainland shipping",
"UK Mainland shipping"
],
"visibleOptions": [
"UK Islands Shipping"
]
}
However, the checkout displays no shipping option available
To top it up, when i use a mainland postcode the function displays the correct shipping, but not when i use an Islands shipping
I’m really pulling my hair on this one and i;m not sure if i miss anything or this is just another bug?
Seems this has been reported before but nothing conclusive so far

