Page 1 of 1

Stock value doesnt drop anymore after sales

Posted: Thu Jun 22, 2017 4:16 am
by veenie
Hello,

Last few weeks we;ve changed the model numbers 999999 to MAN-999999 due to the fact we have to make the list match with our suppliers lists.
Unfortanly now we noticed that the stock isn't updated anymore after any sale.
Our POS system Onepos changes the stock correctly but all the web orders doesn't change the stock anymore.

Due the fact our customers want to know the actual stock this is very annoying.
But we have to make the model numbers stick with the manufactur numbers.

Also we have more then 3000 items in stock, unfortanly the bug didn't show up before.

We're using opencart 2.0.1.1 does somebody know an solution for this?

Thank you

Re: Stock value doesnt drop anymore after sales

Posted: Thu Jun 22, 2017 8:05 am
by zedrally
I have the same problem, although you may have given me a solution as you indicate that the problem started after changing your Stock number by including a Alpha Prefix.

We also use a mix of alpha prefix and number, stock does not change.

Can any other user confirm that they have stock changes WITH Alpha prefix's and numbers?

Re: Stock value doesnt drop anymore after sales

Posted: Thu Jun 29, 2017 5:18 pm
by veenie
it seems it's pretty silence out here.
Does somebody know an solution for this issue it;s very annoying and an lot of time consuming changing the stocks manually.

Re: Stock value doesnt drop anymore after sales

Posted: Fri Jun 30, 2017 1:28 am
by IP_CAM
Well, my auto product generated Model Numbers have all kinds of Values, but no - in between,
did you ever try it this way ?
Ernie

Code: Select all

TL0hGkLLu
57AzlYft3
HgbyNoO2ZVEDMZ
IRpK68tQrwm
Wqj0QMo8c1uzn

Re: Stock value doesnt drop anymore after sales

Posted: Fri Jun 30, 2017 4:58 am
by veenie
well didn;t try but the model numbers are linked to the numbers of the manufactor.
we can not change this value, this will cause other issues with our stock management.

we need to make the model number exactly the same as the manufactor so we can link our store stock and price to the distributors one.

Re: Stock value doesnt drop anymore after sales

Posted: Fri Jun 30, 2017 7:39 am
by IP_CAM
well, then only a Pro would probably be able, to assist... :'(
Good Luck!
Ernie

Re: Stock value doesnt drop anymore after sales

Posted: Fri Jun 30, 2017 4:24 pm
by sculptex
Edit - is this problem replicateable on a test store using an exact set if procedures? What payment gateways does this occur on? Has anyone tried it in a newer version?

Re: Stock value doesnt drop anymore after sales

Posted: Tue Aug 29, 2017 8:37 pm
by veenie
well asked an pro to take an look at it cost me only an few bucks.

And the solution was pretty simple it is an bug in the 2.0.1.1 version that doesn;t allow the model number to be anything else then an number.

Code: Select all

catalog/model/checkout/order.php

-- it was model = '" .(int)$order_product['model'] . "'

and now its = model = '" .$order_product['model'] . "'

(int) removed as it was taking number only
If someone is having the same trouble.