mattgoody Posted March 21, 2013 Share Posted March 21, 2013 Hi I have a kind of unique situation where i am combining x products into a pack, and then splitting that pack up into 32 pieces. so everyone gets 1/32 of each product in the pack, and there are 32 available quantity of the pack to purchase. (if you are familiar with sports card box breaks you will know what i mean) I am trying to find the class/function where the Pack reduces the available quantity of its child products on each sale. I want to change the behavior to only update the child products quantity when the last available pack sells out (since there are 32 slots in my example, child product stock would only decrease by 1 once the 32nd (and final) pack was purchased. Can anyone help me out on where to look to find where the prestashop code decreases the quantity of a product after a completed order? 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