Jump to content

Hiding carrier options programatically


iambaz

Recommended Posts

Is there any way I can hide individual carrier options on the carrier selection page with code?

 

I am building a plugin which gets carrier prices from an API and amends them using the hook:

 

getPackageShippingCost

 

but sometimes the API does not return a value and the shipping cost is set as 'Free', when it should not be listed or available in such a case.

 

 

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...