Jump to content

Disable cart with module interaction


Recommended Posts

Hello,

 

I've a module that calculate a specific price of shipping, and if this price area slowly or not authorized for this transaction (because of the states, perimters and etc), I've to disable the cart and show a page with a message to user.

 

So I don't know how can I disable the cart and redirect to this page.

 

I'm override the method: getOrderShippingCost to return the shipping price.

 

Thanks,

Jonh!

 

PS: In the image you'll see the part that I want to disable.

post-1278275-0-34882000-1466132793_thumb.png

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