Zen Cart Logo
Forums / General Questions / Missing "Change Address" Button

Missing "Change Address" Button

Locked

Views: 4,053

Results 1 to 20 of 21
This thread is locked. New replies are disabled.
26 Jan 2007, 12:45 AM
#1
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

26 Jan 2007, 2:36 AM
#2
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

<?php if ($displayAddressEdit) { ?> <div class="buttonRow forward"><?php echo '<a href="' . $editShippingButtonLink . '">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_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 <?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_ADDRESS, BUTTON_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

26 Jan 2007, 2:43 AM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,627
Plugin Contributions:
0

Re: Missing "Change Address" Button

Are you using PayPal Express Checkout?

26 Jan 2007, 3:42 AM
#4
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Missing "Change Address" Button

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

Mark

26 Jan 2007, 4:04 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

26 Jan 2007, 4:14 AM
#6
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

26 Jan 2007, 4:19 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Missing "Change Address" Button

Kim:

Are you using PayPal Express Checkout?

tophand:

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.

26 Jan 2007, 4:51 AM
#8
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

26 Jan 2007, 5:02 AM
#9
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

12 Apr 2007, 12:20 PM
#10
jikey avatar

jikey

New Zenner

Join Date:
Jan 2007
Posts:
59
Plugin Contributions:
0

Re: Missing "Change Address" Button

tophand:

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 ?

13 Apr 2007, 4:58 PM
#11
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Missing "Change Address" Button

What I did is listed in this thread.
I take it that you have made a change to the /includes/modules/pages/checkout_shipping/header_php.php file.
Use WinMerge to compare a copy of the original file.
Be sure to use the your custom template override folder.

M

14 Apr 2007, 12:30 AM
#12
jikey avatar

jikey

New Zenner

Join Date:
Jan 2007
Posts:
59
Plugin Contributions:
0

Re: Missing "Change Address" Button

tophand:

What I did is listed in this thread.
I take it that you have made a change to the /includes/modules/pages/checkout_shipping/header_php.php file.
Use WinMerge to compare a copy of the original file.
Be sure to use the your custom template override folder.

M

thanks for replied .. but didn't make any changes of /includes/modules/pages/checkout_shipping/header_php.php file maybe i need to make change on the template file itself ?

14 Apr 2007, 4:37 AM
#13
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Missing "Change Address" Button

Install any add-ons/Mods?
If so then you need to check to see if you added a newer checkout_shipping/header_php.php file when installing a addon/mod.
Do you have a link to the problem page?

M

14 Apr 2007, 4:40 AM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Missing "Change Address" Button

In the Configuration ... Customer Details ... how many Addresses are your customers allowed to have?

If set to 1 ... they cannot change an address as they may not create another one ... :unsure:

15 Apr 2007, 4:36 AM
#15
jikey avatar

jikey

New Zenner

Join Date:
Jan 2007
Posts:
59
Plugin Contributions:
0

Re: Missing "Change Address" Button

Ajeh:

In the Configuration ... Customer Details ... how many Addresses are your customers allowed to have?

If set to 1 ... they cannot change an address as they may not create another one ... :unsure:

well..... they hav few add cos sometime they might ship as a gift for other ppl as well ...

15 Apr 2007, 4:51 AM
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Missing "Change Address" Button

In your Zen Cart Admin ... in the Configuration ... Maximum Values ... how many have you setup for:

Address Book Entries
Maximum address book entries a customer is allowed to have

16 Apr 2007, 4:11 AM
#17
jikey avatar

jikey

New Zenner

Join Date:
Jan 2007
Posts:
59
Plugin Contributions:
0

Re: Missing "Change Address" Button

oh that 1 i set for max 3

16 Apr 2007, 4:13 AM
#18
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Missing "Change Address" Button

Have you an URL to your site that we can peek at? :smile:

What happens if you switch to Classic Template?

17 Apr 2007, 4:19 AM
#19
jikey avatar

jikey

New Zenner

Join Date:
Jan 2007
Posts:
59
Plugin Contributions:
0

Re: Missing "Change Address" Button

https://www.myasper.com is my website ...
actually this templates is edited from the classic template

23 Apr 2007, 4:25 AM
#20
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Missing "Change Address" Button

I see the Change Address button ... umm ... did you perhaps fix this?

What was the solution? :smile: