Jump to content

Mengunci Order Status di "Out Of Stock" jika barang kosong


Syns

Recommended Posts

Halo gan sis,

 

Mau nanya nih cara buat mengunci status pada "out of stock" jika barang yg diorder kosong, sejauh ini status "out of stok" langsung tertimpa sama status berikutnya (status payment/pengecekan stok).

 

saya udah nyoba menonaktifkan beberapa line di /classes/PaymentModule.php

post-931797-0-39918900-1423627074_thumb.png

jika saya menonaktifkan line 541 kebawah, status bisa terkunci di "out of stock" cuma berimbas pada barang yg ready stock, jika mengorder yg ready stock maka ga ada status yg keluar di back office "--".

 

mohon bantuannya.

terimakasih

 

Link to comment
Share on other sites

jadi ada order masuk > ternyata stock kosong > kita ganti status jadi out of stock ya?

out of stock itu termasuk membatalkan order atau buyer diminta menunggu sampai ada stock lagi?

 

kalau out of stock yg dimaksud membatalkan order, kita ganti status jadi canceled order aja bukan?

 

*sorry khawatir salah tangkap, dan agak ga yakin sama jawaban sendiri  :D

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...