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 4:08 pm by Roxana | Last modified 11/13/2009 7:23 pm by Roxana | 3423 views | 21 replies

Eric Mittman

The concept of moving the user to one success page versus another is very similar to the other things we have discussed here. To start with you will need to have a recordset on the page that will select this info from your db. Once the recordset is on the page and confirmed to be working then you can add in the logic that will redirect the user based on this columns value. The code will look like this:

php:
if($row_RSship_country['OrderShipCountryID'] ==  'Deutschland'){

   header("Location: checkout_success.php");
} else {
   header("Location: checkout_success2.php");
}



The if statement is checking the column from your recordset to see if it set to Germany, if it is then the user will be redirected to the checkout success page. If it is not then the user will be sent to the alternate checkout success page.

This code is just for the redirecting, if the code is placed just like this on your confirm page the user will not see this page and be sent directly to one of the checkout success pages. The ideal place for this code would be in place of a redirect that occurs after a server behavior. If you have trouble getting the code implemented correctly please post back with a copy of your confirm page so I can take a look and help you get it in there.

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