Hi guys
just self taught OC
in default flow I seen
Add item to cart - Check out (if stock avail, stock decrease else err msg) - confirm payment
i want to do this
add item to cart - check out (if stock avail, continue else err msg) - confirm payment (if confirmed, stock decrease)
any solution for that without modifying core code?
First of all, welcome on board.
Two, can you specify which version of OC you are using?
if it is the latest v2, then you are in the wrong forum to get an answer.
if it is v1.5.x, please specify the version, so we can have a look.
Two, can you specify which version of OC you are using?
if it is the latest v2, then you are in the wrong forum to get an answer.
if it is v1.5.x, please specify the version, so we can have a look.
OpenCart custom solutions @ https://villagedefrance.net
its 1.5.6.4villagedefrance wrote:First of all, welcome on board.
Two, can you specify which version of OC you are using?
if it is the latest v2, then you are in the wrong forum to get an answer.
if it is v1.5.x, please specify the version, so we can have a look.
anyway Im covered the checkout part by using subtract stock
and how to cover on confirmation payment's flow . is there any way using module or something without changing core code? coz changing core code is a bit risky
sorry if im wrongly mention something coz im still new at oc

Ok, decreasing the stock after payment is only good if the payment method selected is actually processing a payment.
Payment methods like "Cash on Delivery" or "Cheque" will not get instant payment, but the product must be removed from stock since a sale has occured.
This is why the stock is adjusted before the payment step, and I don't think it would be wise to change that.
Payment methods like "Cash on Delivery" or "Cheque" will not get instant payment, but the product must be removed from stock since a sale has occured.
This is why the stock is adjusted before the payment step, and I don't think it would be wise to change that.
OpenCart custom solutions @ https://villagedefrance.net
Who is online
Users browsing this forum: Amazon [Bot] and 38 guests