Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2010
    Location
    Stoke-on-Trent, Staffordshire. UK
    Posts
    131
    Plugin Contributions
    0

    red flag Same Address for shipping/billing checkbox

    Was hoping someone may be able to point me in the right direction to fix a little issue iv been having with my sign up page.
    There is a box which can be checked so that the billing information will automatically be the same as the shipping address without having to type it in twice.
    It does work however when you first visit the page only the billing address is shown, yet the box is not checked. If I then check the box and then un-check it again the shipping address will also now appear.
    Any ideas?
    Visit Andy's Motorcycles
    www.andysmotorcycles.com
    Motorcycle & Scooter Parts, Spares & accessories

  2. #2
    Join Date
    Sep 2010
    Location
    Stoke-on-Trent, Staffordshire. UK
    Posts
    131
    Plugin Contributions
    0

    Default Re: Same Address for shipping/billing checkbox

    ***SOLVED***
    Visit Andy's Motorcycles
    www.andysmotorcycles.com
    Motorcycle & Scooter Parts, Spares & accessories

  3. #3
    Join Date
    May 2011
    Location
    The Netherlands
    Posts
    4
    Plugin Contributions
    0

    Default Re: Same Address for shipping/billing checkbox

    How did you fix it?

  4. #4
    Join Date
    Mar 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Same Address for shipping/billing checkbox

    Go to /includes/templates/YOUR_TEMPLATE/templates/tpl_modules_create_account.php

    Line: 232: <?php echo zen_draw_checkbox_field('shippingAddress', '1', $ShippingAddress, 'id="shippingAddress-checkbox"') . '<label style="" class="checkboxLabel" for="shippingAddress-checkbox">' . ENTRY_COPYBILLING . '</label>' . (zen_not_null(ENTRY_COPYBILLING_TEXT) ? '<span class="alert">' . ENTRY_COPYBILLING_TEXT . '</span>': ''); ?>

    Change it to:

    <?php echo zen_draw_checkbox_field('shippingAddress', '1', true, 'id="shippingAddress-checkbox"') . '<label style="" class="checkboxLabel" for="shippingAddress-checkbox">' . ENTRY_COPYBILLING . '</label>' . (zen_not_null(ENTRY_COPYBILLING_TEXT) ? '<span class="alert">' . ENTRY_COPYBILLING_TEXT . '</span>': ''); ?>

 

 

Similar Threads

  1. Replies: 6
    Last Post: 21 Oct 2014, 09:27 PM
  2. v151 Billing and Shipping address MUST be the same!
    By RFree190 in forum General Questions
    Replies: 2
    Last Post: 2 May 2014, 03:27 PM
  3. Restricting Shipping and Billing address to be the same
    By jenjen in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 7 May 2008, 06:41 PM
  4. Shipping address the same as billing - Data not saved
    By SysFix in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 6 Mar 2008, 12:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR