Bejkrools Posted September 15, 2015 Share Posted September 15, 2015 I want to create function where addition product to cart will be aborted (with message) when adding product met the condition (specific category). Where should i put checking out code? Cart controller or cart class? I try to find method responsible for adding product to cart but i cant find it :-( Link to comment Share on other sites More sharing options...
musicmaster Posted September 15, 2015 Share Posted September 15, 2015 The method is updateQty in the Cart class. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now