close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

How does Universal Email handle multi-lingual websites?

Thread began 10/25/2009 1:08 pm by Roxana | Last modified 11/13/2009 4:23 pm by Roxana | 5668 views | 21 replies

Eric Mittman

I think a good way to do this would be to set a new session variable that will hold this checkout success page value. If your language id is held in a session variable called language id then the code to set this session variable for the checkout success page should look something like this:

$_SESSION['checkout_success'] = "checkout_success_" . $_SESSION['language_id'] . ".php";

You would then also need to have an if statement after the checkout page that will check the country if the language id is 1 and set the variable accordingly. In order for this to work you must have a session variable set to hold the selected country.

if($_SESSION['language_id'] == '1' && $_SESSION['country'] == 'Germany'){

   $_SESSION['checkout_success'] = "checkout_success_5.php";

When you configure the Store Order Summary or another server behavior that is the last to occur on the confirm page then you should specify this session variable as the redirect page like this:

<?php echo $_SESSION['checkout_success'?>

I think this should get you the result you are looking for. Remember that you will still need to set the session variable to hold the selected country, you can use the standard eCart set session value server behavior for that.

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





Ease of use


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