close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Ecart error when displaying Delivery details

Thread began 8/22/2014 1:18 pm by daniel279790 | Last modified 8/22/2014 5:09 pm by Jason Byrnes | 392 views | 5 replies |

daniel279790

Ecart error when displaying Delivery details

Hi there

I'm using Ecart 6 and Dreamweaver CS6 to send payments to SagePay and after lots of help from Jason I got this to work great.

My problem now is when the payment has been made and the customer is returned to the checkout_success.php page, I want to display a small summary of what the customer has just bought. Everything seems to display fine except the delivery details. This is the code I'm using...

<input name="del_add1" type="text" id="del_add1" value="<?php echo(WA_getSavedFormValue('CheckoutWizard_NewFromBlank_Default','Address_1_2')); ?>" />
<input name="del_add2" type="text" id="del_add2" value="<?php echo(WA_getSavedFormValue('CheckoutWizard_NewFromBlank_Default','City_2')); ?>" />
<input name="del_add3" type="text" id="del_add3" value="<?php echo(WA_getSavedFormValue('CheckoutWizard_NewFromBlank_Default','State_2')); ?>" />
<input name="del_add4" type="text" id="del_add4" value="<?php echo(WA_getSavedFormValue('CheckoutWizard_NewFromBlank_Default','Postal_Code_2')); ?>" />
<input name="del_add5" type="text" id="del_add5" value="<?php echo(WA_getSavedFormValue('CheckoutWizard_NewFromBlank_Default','Country_2')); ?>" />

Not sure what I'm doing wrong as all the other details display fine except these! It seems to throw a bit of an error with it though, as nothing else on the page loads after that code????

Any help would great thanks :)

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the page please

Sign in to reply to this post

daniel279790

Hi Jason
Files attached

Many Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

add the following at line 1 of the success page:

<?php require_once("webassist/forms/persist.php"); ?>

Sign in to reply to this post

daniel279790

Brilliant! Thanks Jason. Its working perfectly now :)

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

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