Jump to content

Disable carrier if items in cart are more than a predefined number.


Recommended Posts

Hello!

I am building a custom carrier module where I am using an external service to get the shipping cost.

I want to hide this carrier if the user has added more than x items in her/his cart. Is it possible?

I can't find any method where I can dynamically hide the carrier based on user's cart.

Thank you!

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...