My cart is using 2 languages french and english, i want to display different images if the user select english or french, is there any way to retrieve the language values ?
I tried this in the catalog/template/default/layout.tpl :
Code: Select all
<?php
if(isset($_REQUEST['language']) && $_REQUEST['language'] == 'en')
{
echo $_REQUEST['language'];
?>
<div id="homepage_image">
ENGLISH
</div>
<?php
}
else
{
echo $_REQUEST['language'];
?>
<div id="homepage_image">
FRANCAIS
</div>
<?php
}
?>
Any solutions ?
Thanks