Magento is randomly resetting product inventory to 0












2















We have a client who has mentioned that inventory on certain items is randomly and magically getting reset to 0, even though it might have had an inventory level of 20 the day before. No, they're not getting 20 orders in one day to set the inventory to 0.



Has anyone experienced similar behavior before? What areas of the code should we look at that might cause such an issue? They only have stamps.com using the API, no other external apps are connecting to the site (aside from CC and shipping APIs).










share|improve this question























  • Has there been any orders at all for those products that have had their inventory reset to 0?

    – zigojacko
    Aug 13 '13 at 10:21











  • Did you ever find an answer for this? I'm getting the same problem. I can can set the stock quantity ok but as soon as I view the product page it gets set back to 0 and "out of stock".

    – Mr_Chimp
    Sep 12 '14 at 15:38











  • Hi , Did you find an answer for this as well ? I am having the same issue now , we had recently downgraded from Magento Enterprise to Community 1.9.x

    – Pravin
    Mar 24 '17 at 9:19











  • I did not ever find out what was causing this. I no longer work on the project anymore and it was migrated off of Magento. Sorry I couldn't help.

    – Brian Litzinger
    Mar 24 '17 at 14:39











  • we are having the same issue. We have meticulously gone through logs and calls being made to our third party inventory system. Every time it correctly updates the product to the quantity available. Give it an hour or two and it "re-sets" it to zero. Then we run the sync again and it updates to the correct stock Quantity. Has anyone found an answer for this please? We are on Magento 1.9.3.2 and the items are NOT being sold. Thanx

    – Esta
    Jan 18 at 12:57
















2















We have a client who has mentioned that inventory on certain items is randomly and magically getting reset to 0, even though it might have had an inventory level of 20 the day before. No, they're not getting 20 orders in one day to set the inventory to 0.



Has anyone experienced similar behavior before? What areas of the code should we look at that might cause such an issue? They only have stamps.com using the API, no other external apps are connecting to the site (aside from CC and shipping APIs).










share|improve this question























  • Has there been any orders at all for those products that have had their inventory reset to 0?

    – zigojacko
    Aug 13 '13 at 10:21











  • Did you ever find an answer for this? I'm getting the same problem. I can can set the stock quantity ok but as soon as I view the product page it gets set back to 0 and "out of stock".

    – Mr_Chimp
    Sep 12 '14 at 15:38











  • Hi , Did you find an answer for this as well ? I am having the same issue now , we had recently downgraded from Magento Enterprise to Community 1.9.x

    – Pravin
    Mar 24 '17 at 9:19











  • I did not ever find out what was causing this. I no longer work on the project anymore and it was migrated off of Magento. Sorry I couldn't help.

    – Brian Litzinger
    Mar 24 '17 at 14:39











  • we are having the same issue. We have meticulously gone through logs and calls being made to our third party inventory system. Every time it correctly updates the product to the quantity available. Give it an hour or two and it "re-sets" it to zero. Then we run the sync again and it updates to the correct stock Quantity. Has anyone found an answer for this please? We are on Magento 1.9.3.2 and the items are NOT being sold. Thanx

    – Esta
    Jan 18 at 12:57














2












2








2


0






We have a client who has mentioned that inventory on certain items is randomly and magically getting reset to 0, even though it might have had an inventory level of 20 the day before. No, they're not getting 20 orders in one day to set the inventory to 0.



Has anyone experienced similar behavior before? What areas of the code should we look at that might cause such an issue? They only have stamps.com using the API, no other external apps are connecting to the site (aside from CC and shipping APIs).










share|improve this question














We have a client who has mentioned that inventory on certain items is randomly and magically getting reset to 0, even though it might have had an inventory level of 20 the day before. No, they're not getting 20 orders in one day to set the inventory to 0.



Has anyone experienced similar behavior before? What areas of the code should we look at that might cause such an issue? They only have stamps.com using the API, no other external apps are connecting to the site (aside from CC and shipping APIs).







inventory






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 19 '13 at 20:54









Brian LitzingerBrian Litzinger

1094




1094













  • Has there been any orders at all for those products that have had their inventory reset to 0?

    – zigojacko
    Aug 13 '13 at 10:21











  • Did you ever find an answer for this? I'm getting the same problem. I can can set the stock quantity ok but as soon as I view the product page it gets set back to 0 and "out of stock".

    – Mr_Chimp
    Sep 12 '14 at 15:38











  • Hi , Did you find an answer for this as well ? I am having the same issue now , we had recently downgraded from Magento Enterprise to Community 1.9.x

    – Pravin
    Mar 24 '17 at 9:19











  • I did not ever find out what was causing this. I no longer work on the project anymore and it was migrated off of Magento. Sorry I couldn't help.

    – Brian Litzinger
    Mar 24 '17 at 14:39











  • we are having the same issue. We have meticulously gone through logs and calls being made to our third party inventory system. Every time it correctly updates the product to the quantity available. Give it an hour or two and it "re-sets" it to zero. Then we run the sync again and it updates to the correct stock Quantity. Has anyone found an answer for this please? We are on Magento 1.9.3.2 and the items are NOT being sold. Thanx

    – Esta
    Jan 18 at 12:57



















  • Has there been any orders at all for those products that have had their inventory reset to 0?

    – zigojacko
    Aug 13 '13 at 10:21











  • Did you ever find an answer for this? I'm getting the same problem. I can can set the stock quantity ok but as soon as I view the product page it gets set back to 0 and "out of stock".

    – Mr_Chimp
    Sep 12 '14 at 15:38











  • Hi , Did you find an answer for this as well ? I am having the same issue now , we had recently downgraded from Magento Enterprise to Community 1.9.x

    – Pravin
    Mar 24 '17 at 9:19











  • I did not ever find out what was causing this. I no longer work on the project anymore and it was migrated off of Magento. Sorry I couldn't help.

    – Brian Litzinger
    Mar 24 '17 at 14:39











  • we are having the same issue. We have meticulously gone through logs and calls being made to our third party inventory system. Every time it correctly updates the product to the quantity available. Give it an hour or two and it "re-sets" it to zero. Then we run the sync again and it updates to the correct stock Quantity. Has anyone found an answer for this please? We are on Magento 1.9.3.2 and the items are NOT being sold. Thanx

    – Esta
    Jan 18 at 12:57

















Has there been any orders at all for those products that have had their inventory reset to 0?

– zigojacko
Aug 13 '13 at 10:21





Has there been any orders at all for those products that have had their inventory reset to 0?

– zigojacko
Aug 13 '13 at 10:21













Did you ever find an answer for this? I'm getting the same problem. I can can set the stock quantity ok but as soon as I view the product page it gets set back to 0 and "out of stock".

– Mr_Chimp
Sep 12 '14 at 15:38





Did you ever find an answer for this? I'm getting the same problem. I can can set the stock quantity ok but as soon as I view the product page it gets set back to 0 and "out of stock".

– Mr_Chimp
Sep 12 '14 at 15:38













Hi , Did you find an answer for this as well ? I am having the same issue now , we had recently downgraded from Magento Enterprise to Community 1.9.x

– Pravin
Mar 24 '17 at 9:19





Hi , Did you find an answer for this as well ? I am having the same issue now , we had recently downgraded from Magento Enterprise to Community 1.9.x

– Pravin
Mar 24 '17 at 9:19













I did not ever find out what was causing this. I no longer work on the project anymore and it was migrated off of Magento. Sorry I couldn't help.

– Brian Litzinger
Mar 24 '17 at 14:39





I did not ever find out what was causing this. I no longer work on the project anymore and it was migrated off of Magento. Sorry I couldn't help.

– Brian Litzinger
Mar 24 '17 at 14:39













we are having the same issue. We have meticulously gone through logs and calls being made to our third party inventory system. Every time it correctly updates the product to the quantity available. Give it an hour or two and it "re-sets" it to zero. Then we run the sync again and it updates to the correct stock Quantity. Has anyone found an answer for this please? We are on Magento 1.9.3.2 and the items are NOT being sold. Thanx

– Esta
Jan 18 at 12:57





we are having the same issue. We have meticulously gone through logs and calls being made to our third party inventory system. Every time it correctly updates the product to the quantity available. Give it an hour or two and it "re-sets" it to zero. Then we run the sync again and it updates to the correct stock Quantity. Has anyone found an answer for this please? We are on Magento 1.9.3.2 and the items are NOT being sold. Thanx

– Esta
Jan 18 at 12:57










1 Answer
1






active

oldest

votes


















3














No, I never heard of such things, but I think, debugging might be quite easy: Write an observer, if the inventory is set to 0 log a the whole request, stacktrace, etc.






share|improve this answer



















  • 1





    Good advice, wish I would have seen this 3 years ago :D

    – Brian Litzinger
    Mar 24 '17 at 14:40











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f5916%2fmagento-is-randomly-resetting-product-inventory-to-0%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














No, I never heard of such things, but I think, debugging might be quite easy: Write an observer, if the inventory is set to 0 log a the whole request, stacktrace, etc.






share|improve this answer



















  • 1





    Good advice, wish I would have seen this 3 years ago :D

    – Brian Litzinger
    Mar 24 '17 at 14:40
















3














No, I never heard of such things, but I think, debugging might be quite easy: Write an observer, if the inventory is set to 0 log a the whole request, stacktrace, etc.






share|improve this answer



















  • 1





    Good advice, wish I would have seen this 3 years ago :D

    – Brian Litzinger
    Mar 24 '17 at 14:40














3












3








3







No, I never heard of such things, but I think, debugging might be quite easy: Write an observer, if the inventory is set to 0 log a the whole request, stacktrace, etc.






share|improve this answer













No, I never heard of such things, but I think, debugging might be quite easy: Write an observer, if the inventory is set to 0 log a the whole request, stacktrace, etc.







share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 13 '13 at 9:05









Fabian BlechschmidtFabian Blechschmidt

33.3k663172




33.3k663172








  • 1





    Good advice, wish I would have seen this 3 years ago :D

    – Brian Litzinger
    Mar 24 '17 at 14:40














  • 1





    Good advice, wish I would have seen this 3 years ago :D

    – Brian Litzinger
    Mar 24 '17 at 14:40








1




1





Good advice, wish I would have seen this 3 years ago :D

– Brian Litzinger
Mar 24 '17 at 14:40





Good advice, wish I would have seen this 3 years ago :D

– Brian Litzinger
Mar 24 '17 at 14:40


















draft saved

draft discarded




















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f5916%2fmagento-is-randomly-resetting-product-inventory-to-0%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

An IMO inspired problem

Management

Investment