love_prestashop_ Posted August 8, 2014 Share Posted August 8, 2014 Hi, I have the "Product Pack" working, but we need the stock of the "product pack" connected with the stock of the products that conform the pack. So if one on the products have 0 stock the "product pack" cant be purchased. In the native solution, the "product pack" has is own stock. We need to have the "product pack" have the stock automaticed and connect with the stock of the products that conform the "Product Pack" Someone available to write such a module? -Prestashop Version:1.6 -Not module necesary, a modification of the files is fine also. -If you are interested please send me a email to: [email protected] or you can answer to this post. Thanks in advance. Link to comment Share on other sites More sharing options...
PeterDesouza Posted August 8, 2014 Share Posted August 8, 2014 Hello, If you don't wana allow order out of stock then simly disable this option. Go to admin -> preferences ->Products and set order oos to no. see http://awesomescreenshot.com/0cf3a2pk7b Peter 1 Link to comment Share on other sites More sharing options...
love_prestashop_ Posted August 8, 2014 Author Share Posted August 8, 2014 Hi Peter, Thanks for your reply. I did that before. The Pack contains 3 products: -Product A - Stock=100 -Product B - Stock=100 -Product C - Stock=0 The product C i cant purchase. Good. But the Pack that contain products A,B and C i still can purchase because the product pack has is own stock , lets say= 500 So, the native solution doenst fit to my needs. Thats why i believe i need a special modification or module. Thanks Link to comment Share on other sites More sharing options...
Rockmedia Posted September 8, 2014 Share Posted September 8, 2014 Hi Daniel, I have the same problem and found a simple workaround. Only need to put the attached file in the override/classes folder. This makes an automatic update of the quantities of the pack product when a customer visit the product page. Pack.php I hope this works for you Link to comment Share on other sites More sharing options...
toniroger Posted November 10, 2014 Share Posted November 10, 2014 Thanks Rockmedia, it's very useful. Link to comment Share on other sites More sharing options...
s.piekutowski Posted March 5, 2015 Share Posted March 5, 2015 I have uploaded the file to the folder but it appears that it does not work. Example: I have a pack of 4 products. Amount of pack is 25 calculated by prestashop - entered manually by me. I need something that will decrease pack amount from 25 to less - depending on one product purchased from the bundle - separatelly. Lets say: Pack contains: Product A Product B Product C Product D Quantities: Product A - 30 Product B - 35 Product C - 25 Product B - 26 We can make 25 packs of four products. When I buy Product C - 1x I need Pack Amount to be decreased by 1. Does anyone have any solution to that ? 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