Jump to content

URGENT: Deny out of stock ordering has a bug!


Recommended Posts

I have posted this as a bug, but no one is responding and I need assistance right away. Please see the bug tracker for full details.

 

Real quick: I have DENY orders for out of stock items as default. When two people place an order at the same time for the same item and there is not enough stock, the system is allowing backordering when it should DENY. I have checked and checked to make sure it is set to DENY and it is. My items do not have any attributes or anything extra. They are just individual items with no options. I do not have the extra stock and it is causing me to have to issue refunds. Please help!!

 

http://forge.prestashop.com/browse/PSCFI-5165?page=com.atlassian.jirafisheyeplugin%3Acrucible-issuepanel#issue-tabs

Link to comment
Share on other sites

Hello AFemaleProdigy,

 

In Prestashop, check of goods amount required to purchase is verified in Cart Controller and Order Controller, if you left these controllers, for example for billing module, then the amount check may be absent there, and because of it this conflict can happen. Product denial from the stock is in PaymentModule :: validateOrder () there you should add a check $ cart-> checkQuantities ()

 

Best regards.

Link to comment
Share on other sites

Hmmm... that is interesting. I would think that if that is a potential problem for everyone, that Prestashop needs to fix that right away. It has caused huge problems for me having customers pay for items that are not in stock and never should have been available. And for anyone that does not know how to modify code, what you suggest as a solution would be impossible for them. I will see if I can do what you suggested and hope that fixes the problem. Thanks for the input!

Link to comment
Share on other sites

Hello AFemaleProdigy,

 

In Prestashop, check of goods amount required to purchase is verified in Cart Controller and Order Controller, if you left these controllers, for example for billing module, then the amount check may be absent there, and because of it this conflict can happen. Product denial from the stock is in PaymentModule :: validateOrder () there you should add a check $ cart-> checkQuantities ()

 

Best regards.

 

So am I supposed to edit that in PayPal? Which file? Thanks!

Link to comment
Share on other sites

  • 4 weeks later...
×
×
  • Create New...