Jump to content

[PS 1.6.1.1] Aborting "add to cart" operation with condition


Bejkrools

Recommended Posts

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

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