Jump to content

changing In-stock logic


exiladler

Recommended Posts

Hi,

Just to make sure I have the right idea, currently the In-stock works when an order gets changed from pending to processing. I seem to have discovered that if you change from pending directly to completed, it doesn't work. Is that true? However my client now wants it to automatically deduct on pending as there is a range of items where he has very little stock and to wait until the payment has arrived it could happen that to many orders are coming in.

I know this is possible, but can someone point me to the reion of the cart.php where I need to start looking or even better poit out the section of code in case this mod/amendment has already been made.

Another option is to include a separate step, accepted which would be reducing the in-stock number but still awaiting payment. This would work but give him an extra step in the workflow so creating more work for him.

Looking forward to your suggestions/advice.

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

Just to make sure I have the right idea, currently the In-stock works when an order gets changed from pending to processing. I seem to have discovered that if you change from pending directly to completed, it doesn't work. Is that true? However my client now wants it to automatically deduct on pending as there is a range of items where he has very little stock and to wait until the payment has arrived it could happen that to many orders are coming in.

I know this is possible, but can someone point me to the reion of the cart.php where I need to start looking or even better poit out the section of code in case this mod/amendment has already been made.

Another option is to include a separate step, accepted which would be reducing the in-stock number but still awaiting payment. This would work but give him an extra step in the workflow so creating more work for him.

Looking forward to your suggestions/advice.

Waited a week but I am in need of some help now. Trying to come up with the required change to decrease stock level on status pending or automatically moving from pending to processing to achieve the decrease in stock level without internvention. I am sure a similar step with a return 'success' even it is faked as if you come back from Paypal would solve this but I am uncertain about the logic within Cubcart and need the help of an expert. If this needs to be paid-for then please contact me with an estimate.

Peter

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...