As I'm only accepting orders from the UK on my new site I have ditched the mostly redundant first page of the checkout Act_Order00.html
But now I have a problem with separate invoice/delivery addresses.
The following text in Act_Order01.html allows the customer to select whether or not they want to have a separate delivery address or not:
Quote:
<input type="CHECKBOX" NETQUOTEVAR:INVOICESEPARATECHECKSTATUS name="SEPARATESHIP" value="YES">
However, it current defaults to "No". I want it to default to "Yes" (use a diffenent address).
But strangley (given the code above) the user is not presented with a checkbox, but rather some text (yes/no) followed by a 'change' button which when pressed redirects them to Act_Order00.html where they can tick the appropriate box and then continue back to Act_Order01.html. Also strangley the 'value' field in the code appears to make no difference, the default is always 'No' regardless of the value setting.
I suspect that the value is just ignored and that NETQUOTEVAR:INVOICESEPARATECHECKSTATUS is interrogating the variable which would usually be set in Order00, and presumably that defaults to 'No'.
So the question is, given that I miss out Order00, how do I pre-set the value to 'yes'?
I can't think of a way of hardcoding this without resetting it to yes every time, not just the first time (which would be mean if the customer changed it from yes to no, then as soon as they get to Order01 again it will reset it yo Yes...)
But now I have a problem with separate invoice/delivery addresses.
The following text in Act_Order01.html allows the customer to select whether or not they want to have a separate delivery address or not:
Quote:
<input type="CHECKBOX" NETQUOTEVAR:INVOICESEPARATECHECKSTATUS name="SEPARATESHIP" value="YES">
However, it current defaults to "No". I want it to default to "Yes" (use a diffenent address).
But strangley (given the code above) the user is not presented with a checkbox, but rather some text (yes/no) followed by a 'change' button which when pressed redirects them to Act_Order00.html where they can tick the appropriate box and then continue back to Act_Order01.html. Also strangley the 'value' field in the code appears to make no difference, the default is always 'No' regardless of the value setting.
I suspect that the value is just ignored and that NETQUOTEVAR:INVOICESEPARATECHECKSTATUS is interrogating the variable which would usually be set in Order00, and presumably that defaults to 'No'.
So the question is, given that I miss out Order00, how do I pre-set the value to 'yes'?
I can't think of a way of hardcoding this without resetting it to yes every time, not just the first time (which would be mean if the customer changed it from yes to no, then as soon as they get to Order01 again it will reset it yo Yes...)