Hi 
This is the example of "COD" implementation with inventory adjustment:

...couple of steps:
1) add checkbox name="no_cc" to screen/order_billing
2) add code to skip cc check if "no_cc" set - action/VALIDATE_ORDER
3) add input hidden to preserve "no_cc" screens/order_confirm
4) add some code to prevent inventory decrement - action/SUBMIT_ORDER
(optional)
   - inventory should not be modified at this point.
5) add to "status" table two records id=4 name=Open and id=5 name=Closed
6) add code to skip "Open" in the select statement <SELECT
NAME="inputStatus"> - screens/edit_invoice
   - status cannot be changed to "Open" and 
   - status can be changed to "Closed" only from "Open"
7) decrement inventory if the status change from "Open" to "Closed"
action/ADD_STATUS
8) ...plus couple of additional steps to take care of "Quick Order" ...


It looks good, I am testing it on my system, 
any comments?





> Bjarne Hansen wrote:
> 
> Hi!
> 
> I tryed last week to suggest an option for COD -cash on delivery or
> simular. I have not recived any respons or comments, so I guess its up
> to me? I just feel it realy shuld be incorperated into the script as
> standard, and I am sure there are someone clever out there.
> 
> But, what shuld I do to get new options and bypass the creditcard
> vailidation? (Exept adding to the records og creditcards)
> 
> I supose a if cod then do nothing, or something in the creditcard
> validation would do?
> 
> 
> Bjarne Hansen
> My norwegian edition is at : http://www.basepoint-media/htdocs/
> 
> 
> 

-- 
Marek Stanczyk
Integration Specialist
[EMAIL PROTECTED]

Web++ Inc. "Dynamic Internet Solutions"
3415 Dixie Road, Suite 512  Mississauga, Ontario L4Y 2B1
Tel: 905-566-1215 Fax: 905-566-8543
Internet: www.webplusplus.com


------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to