close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Receipt Values not showing on receipt

Thread began 1/11/2011 8:15 am by elewis93815 | Last modified 1/14/2011 11:28 am by elewis93815 | 2021 views | 7 replies

Jason ByrnesWebAssist

well, if the values are not showing in the reciept, that means there is an issue with the session variables getting set.

The first problem i see is on the checkout page, the delivery and pickup checkboxes do not have a checked value, this means that they will not post any value to the confirm page, so there will not be a value to set the session variables to, you need to give those checkboxes a value.


on the checkout page, the form elements for delivery date and time are:
<input id="datepicker_1" name="deliveryDateCal" type="text" /></td>
<input name="DeliveryTime" type="text" id="DeliveryTime" value="9am -11am or 1pm - 3pm" size="30" />

they are named "deliveryDateCal" and "DeliveryTime"

now keep in mind the work flow, the checkout page posts to the confirm page, so you need to have set session value behaviors on the confirm page.

you also need to have hidden form elements on the confirm page with the same name to capture these values.


I can see on the confirm page from another ticket that you do have the set session value code in place to set the following sessions:
eCartCheckoutForm_checkboxDelivery
eCartCheckoutForm_deliveryDateCal
eCartCheckoutForm_DeliveryTime
eCartCheckoutForm_checkboxPickup
eCartCheckoutForm_PickUpCal
eCartCheckoutForm_pickUpTime


couple of problems though:
1) Thecheckbox delivery form element is using the wrong session:
<input type="hidden" name="checkboxDelivery" id="checkboxDelivery" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_v"]))?$_SESSION["eCartCheckoutForm_checkboxDelivery"]:"") ?>" />

this should be:
<input type="hidden" name="checkboxDelivery" id="checkboxDelivery" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_checkboxDelivery"]))?$_SESSION["eCartCheckoutForm_checkboxDelivery"]:"") ?>" />

2) these are not the same session variables that are being used in the receipt.

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...