Reputation: 1157
I want to create function where addition product to cart will be aborted (with message) when product met the condition (specific category). Where should i put condition code? I try to find method responsible for adding product to cart but i cant find it :-(
Upvotes: 0
Views: 419
Reputation: 1863
For 1.6 core method responsible for adding product to cart is processChangeProductInCart() in /controllers/front/CartController.php
Upvotes: 1