Announcement

Collapse
No announcement yet.

Force a different delivery address

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Force a different delivery address

    Im trying to ensure that a different delivery address is always selected.

    I've tried the following code:

    HTML Code:
    <tr>
       <td colspan="2"><Actinic:Variable Name="InvoicePrompt016"/></td>
       <td><input type="checkbox" checked <actinic:variable name="InvoiceSeparateCheckStatus" /> name="SEPARATESHIP" value="YES" disabled /></td>
    </tr>
    By adding the attributes, 'checked' and 'disabled' it forces the option to be checked, however when I go to checkout page 2 it has defaulted back to the same delivery address as invoice. It seems to think that a different delivery address has not been selected???

    If I remove the disabled attribute then checkout page 2 appears as expected. But I cant allow the user to check / uncheck the option.

    Any ideas???

    J

    #2
    Hi,

    I tried making it a hidden field and that seemed to work:

    Code:
    <tr>
       <!--<td colspan="2"><Actinic:Variable Name="InvoicePrompt016"/></td>-->
       <td><input type="hidden" checked="checked" <actinic:variable name="InvoiceSeparateCheckStatus" /> name="SEPARATESHIP" value="YES" /></td>
    </tr>
    After I'd deleted my cookie and then checked out, the delivery address page was blank. The next order I placed remembered the last invoice address and delivery address that I'd entered as it should.
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      Hi Tracey,

      Thats exactly what I needed.

      Thanks so much.

      John

      Comment

      Working...
      X