jhdesign Posted June 14, 2007 Posted June 14, 2007 Can someone explain the stock reduction level to me? When does it get lowered? Does it only get lowered at Checkout Success after payment is made? I have Paypal IPN and not all users return back to the site, is there a way to reduce it BEFORE redirecting? Jacob
teruchan Posted December 18, 2007 Posted December 18, 2007 Can someone explain the stock reduction level to me? When does it get lowered? Does it only get lowered at Checkout Success after payment is made? I have Paypal IPN and not all users return back to the site, is there a way to reduce it BEFORE redirecting? Jacob This must be a really hard question. I am having this issue too, and have seen this asked many times in the forum, but no answer. :( I am working on it now. If I find an answer, I will post it here...
germ Posted December 18, 2007 Posted December 18, 2007 Login to your Admin Click on: Configuration --> Stock On that page set: Check stock level true Subtract stock true Allow Checkout false The stock quantity gets lowered in checkout_process.php If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
teruchan Posted December 18, 2007 Posted December 18, 2007 Login to your Admin Click on: Configuration --> Stock On that page set: Check stock level true Subtract stock true Allow Checkout false The stock quantity gets lowered in checkout_process.php Thanks for you reply. I had that setup properly already. It still does not reduce properly. I have been going through the checkout_process.php file in order to find the issue, and I see that it may be a bit beyond my skill, but I notice a lot of "if" statements involving whether or not "download enabled" is true. Is it meant to NOT subtract stock for downloadable products? One might ask, why would you need to? But I using a function in the product info to take that stock quantity and convert into showing the number of times the product was downloaded. I suppose I could also pull this data from the number of times the product is ordered, but at the time that didn't occur to me. ;)
germ Posted December 18, 2007 Posted December 18, 2007 By design osC doesn't reduce stock quantity on items setup for download. I recently helped someone else make a small modification to change that. Click Me I hope that's what you seek. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
teruchan Posted December 18, 2007 Posted December 18, 2007 By design osC doesn't reduce stock quantity on items setup for download. I recently helped someone else make a small modification to change that. Click Me I hope that's what you seek. IT IS! Thank you very much. That fixed the issue right up. (Can't say I followed your rule #1 though) ;)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.