Start a conversation

How to load a different image for each language

Q. I would like the cart to load a certain image if the language is English and another if it's French. How should the if statement be and what parameter should I reference?


A. Here is an example of code for loading main image in customer/main/welcome.tpl


{if $store_language eq "US"}

<image code to load for English>

{elseif $store_language eq "FR"}

<image code to load for French>

{/if}

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Admin FinestShops

  2. Posted
  3. Updated

Comments