I need this in Cart model.
If you go in Checkout/Model/Cart.php there is a function updateItems I want to do something here with Minimum Qty Allowed attribute value of product.
How do I get this value here?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try this example, taken directly from
Mage_Checkout_Model_Cart:The stock system is a bit obtuse, I’m not surprised it was hard to find. Hope that helps!
Thanks,
Joe