Hmm, my guess is that maybe you also have a custom price defined for the country you are removing. The prices and countries list are stored separately so maybe we aren't taking into account when you remove a country, it should also remove any prices.
Could you see if you have any custom prices defined for that country and if so, does clearing the prices then allow you to remove the country?
Now it worked. After I tried clearing the custom prices I refreshed everything (settings). Than I removed the Default Shipping Method in those countries (dont know whether that makes a difference?) but than it worked.
Unfortunaltely, now I get an error in /checkout/shipping-method/ when I choose one of those countries in Billing (here they still appear):
Sequence contains no elements
Exception Details: System.InvalidOperationException: Sequence contains no elements
Line 16: var currentShippingMethodId = currentOrder.ShippingInfo.ShippingMethodId.HasValue
Failed to save shipping method Shipping
Hi Matt,
I just tried to temporarily disable a country in the shipping options. When I save, I get the following error:
What am I doing wrong?
Hi Edgar,
Hmm, my guess is that maybe you also have a custom price defined for the country you are removing. The prices and countries list are stored separately so maybe we aren't taking into account when you remove a country, it should also remove any prices.
Could you see if you have any custom prices defined for that country and if so, does clearing the prices then allow you to remove the country?
Matt
Now it worked. After I tried clearing the custom prices I refreshed everything (settings). Than I removed the Default Shipping Method in those countries (dont know whether that makes a difference?) but than it worked.
Thanks
Yes, I have custom prices in those countries. Clearing them does not solve the error.
I also cannot just delete the country.
Can you think of another way of temporary hiding these countries in shipping?
Unfortunaltely, now I get an error in /checkout/shipping-method/ when I choose one of those countries in Billing (here they still appear):
is working on a reply...