Hello Support
I have few items have same problem.
it has quantity in stock but when we make sale it error and alert:
Exampl : " The quantity is out of stock for WD My Passport 4TB USB 3.0 External " I also attached the screenshot
please help what could I do or verify about this issue?
Thank you
- PVAnswered
Mian Saleem Thank you
- PVAnswered
Mian Saleem OK, nice. it works.
I hope this will solved.
- PVAnswered
Mian Saleem Hello Support,
it works on some items. but some items still cannot sale even we have stock quantity.
I really don’t understand.
- MSAnswered
Hello,
Please let me know the code of such products so that I can check.
Thank you
- PVAnswered
Mian Saleem We have just found one item, this one : 93163162
- PVAnswered
Mian Saleem it’s OK. Thank you for your help.
- MSAnswered
Hello,
I have checked. It’s due to -ve purchased quantity. System only checks for +ve quantity.
You can change the previous code
$pi->quantity_balance > 0
to$pi->quantity_balance != 0
Thank you
- PVAnswered
Mian Saleem I saw two places have this code, so I would replace both?
- MSAnswered
Hello, this one only. Thanks
- PVAnswered
Mian Saleem OK thank you. I will update and test.
- Login to Reply