close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Address 2 not appearing on confirm.php

Thread began 10/17/2010 4:28 pm by whit368229 | Last modified 10/20/2010 1:06 pm by Jason Byrnes | 1708 views | 9 replies |

whit368229

Address 2 not appearing on confirm.php

PS2: If Address 2 info such as apt# or suite# is entered on the checkout.php (as Billing info OR Shipping info), it does not show up on the confirm.php page. I tried inserting:
<?php echo((isset($_POST["street2"]))?$_POST["street2"]:"") ?>
and
<?php echo((isset($_POST["shipping_street2"]))?$_POST["shipping_street2"]:"") ?>
from the bindings panel to the confirm page resulting in no billing or shipping data being displayed.

Sign in to reply to this post

Jason ByrnesWebAssist

adding that binding should be all that is needed to get the street 2 info showing.

Are you sure the code change is being updated on the server? Try making a visual change to the page as well like adding today's date, this will help see if the changes are actually making it to ht server or not.

Sign in to reply to this post

whit368229

Screen shots and code of before and after:

php:
<?php echo((isset($_POST["firstname"]))?$_POST["firstname"]:""?>&nbsp;<?php echo((isset($_POST["lastname"]))?$_POST["lastname"]:""?><br />
            <?php echo((isset($_POST["street1"]))?stripslashes($_POST["street1"]):""?><br />
            <?php echo((isset($_POST["city"]))?$_POST["city"]:""?>,&nbsp;<?php echo((isset($_POST["state_province"]))?$_POST["state_province"]:""?>&nbsp;<?php echo((isset($_POST["postcode"]))?$_POST["postcode"]:""?><br />
            <?php echo((isset($_POST["country"]))?$_POST["country"]:""?>





php:
<?php echo((isset($_POST["firstname"]))?$_POST["firstname"]:""?>&nbsp;<?php echo((isset($_POST["lastname"]))?$_POST["lastname"]:""?><br />
            <?php echo((isset($_POST["street1"]))?stripslashes($_POST["street1"]):""?><br />
            <?php echo((isset($_POST["street2"]))?$_POST["street2"]:""?><br />
            <?php echo((isset($_POST["city"]))?$_POST["city"]:""?>,&nbsp;<?php echo((isset($_POST["state_province"]))?$_POST["state_province"]:""?>&nbsp;<?php echo((isset($_POST["postcode"]))?$_POST["postcode"]:""?><br />
            <?php echo((isset($_POST["country"]))?$_POST["country"]:""?>



Appears to be making it to the server. <G>

Sign in to reply to this post

Jason ByrnesWebAssist

looks like a php error is occurring


try adding this code at line 1:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
Sign in to reply to this post

whit368229

Notice: Undefined index: email in /public_html/confirmTESTER.php on line 998

Line 998:

php:
$_SESSION["UserEmail"] = "".$_POST["email"]  ."";
Sign in to reply to this post

Jason ByrnesWebAssist

can you send a copy of this page please.

Sign in to reply to this post

whit368229

copies

I copied the the original (confirm.php) and my test page (confirmTESTER.php) which has the error. Thanks for looking into this with me!

Attached Files
confirm.php.zip
confirmTESTER.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

are you just browsing through to the confirm page? you should go back to the cart page, to the checkout page, then to the confirm page.

Sign in to reply to this post

whit368229

Starting from the products page, I add item to cart, then click checkout. This takes me to the checkout page just fine. I fill out the form including address 2 (billing and shipping) and click checkout which takes me to the confirm page where Address2 (billing and shipping) in missing! Customers that require that address2 field for shipping are confused because their complete address isn't showing up, so they're not proceeding from the confirm page. Customers that do proceed are calling to say that their order wasn't delivered, and we have to contact UPS to modify the shipping address @ $10/pop!

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...