Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Missing "Change Address" Button

    (Darkness template)
    Step 1 of 3 - Delivery Information page.
    The "Change Address" Button is missing.
    Step 2 of 3 does show the button.
    Looking at the view-source of the page, I'm missing the
    div class="buttonRow forward".
    Which file should I be looking at to fix this?

    template_default/templates/tpl_checkout_shipping_default.php, there is 2 lines that have div class="buttonRow forward".

    template_default/templates/tpl_checkout_success_default.php, there is only 1 line that has div class="buttonRow forward".

    Thanks,
    Mark
    Attached Images Attached Images  

  2. #2
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Missing "Change Address" Button

    Ok, forgot to say I'm using V1.3.7.

    I have fixed the missing button.

    (V1.3.7)
    @version $Id: tpl_checkout_shipping_default.php 5316 2006-12-21 02:25:58Z drbyte $
    Line 25:
    PHP Code:
    <?php if ($displayAddressEdit) { ?>
    <div class="buttonRow forward"><?php echo '<a href="' $editShippingButtonLink '">' zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESSBUTTON_CHANGE_ADDRESS_ALT) . '</a>'?></div>
    (V1.3.6)
    @version $Id: tpl_checkout_shipping_default.php 4332 2006-09-01 04:33:16Z ajeh $
    Line 24:
    PHP Code:
    <?php if (MAX_ADDRESS_BOOK_ENTRIES >= 2) { ?>
    <div class="buttonRow forward"><?php echo '<a href="' zen_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS'''SSL') . '">' zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESSBUTTON_CHANGE_ADDRESS_ALT) . '</a>'?></div>
    I just drop the V1.3.6 tpl_checkout_shipping_default.php file into the temeplate override folder and now the button is displayed and works.

    Is V1.3.7 tpl_checkout_shipping_default.php correct?

    Mark

  3. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Missing "Change Address" Button

    Are you using PayPal Express Checkout?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  4. #4
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Missing "Change Address" Button

    No.
    Just the credit card and check/money order modules.

    Mark

  5. #5
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Missing "Change Address" Button

    When you upgraded, you must have missed the updates to the /includes/modules/pages/checkout_shipping/header_php.php file, which is what establishes the value for the $displayAddressEdit variable.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Missing "Change Address" Button

    Not a upgrade, it was a fresh install (just started with Zen).
    But I will look at that as I did moved everything to a new drive.

    Mark

  7. #7
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Missing "Change Address" Button

    Quote Originally Posted by Kim View Post
    Are you using PayPal Express Checkout?
    Quote Originally Posted by tophand View Post
    No.
    Just the credit card and check/money order modules.

    Mark
    Do you have the PayPal Express Checkout module "installed" but set to "false" ? This still shouldn't be a problem, but clicking "remove" to de-install it might be one thing to try... esp if the status icon is amber instead of red or green.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Missing "Change Address" Button

    Ok, should have check my notes first.
    Stock By Attributes 4.3.1 add-on made a change to checkout_shipping/header_php.php file.
    Thanks for the pointer.

    Mark

  9. #9
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Missing "Change Address" Button

    Yeah, I broke it with the Stock By Attributes 4.3.1 add-on.
    Run the files thru WinMerge and looks like it is fixed now.

    The file in question:
    /includes/modules/pages/checkout_shipping/header_php.php file

    Thanks again!

    Mark

  10. #10
    Join Date
    Jan 2007
    Posts
    59
    Plugin Contributions
    0

    Default Re: Missing "Change Address" Button

    Quote Originally Posted by tophand View Post
    Yeah, I broke it with the Stock By Attributes 4.3.1 add-on.
    Run the files thru WinMerge and looks like it is fixed now.

    The file in question:
    /includes/modules/pages/checkout_shipping/header_php.php file

    Thanks again!

    Mark


    hi i hav this problem as well may i know how to fix it ?

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v139h "Contact Us" page missing "Submit" button - please help!
    By lucky-nz in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 20 Feb 2013, 10:24 PM
  2. move "change address" button
    By Nyx1961 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 22 Nov 2010, 04:36 PM
  3. Change "Add to cart" button to "Download" button instead?
    By m_mbarakota in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Jan 2009, 12:56 PM
  4. Downloadables: Why "Delivery Address: n/a" when "Shipping Address Required"?
    By zcnb in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 13 Nov 2008, 03:55 AM
  5. How do I change "Address" to "address details as it appears on card" ?
    By Flux1231 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Jun 2008, 12:42 PM

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