Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Smart template languages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-02-2012, 05:39 PM
 
scalemar scalemar is offline
 

Advanced Member
  
Join Date: Oct 2006
Posts: 35
 

Cool Smart template languages

My shopping cart V4.4.4 have three languages; English, Italian and German

How I can set-up, my smart template to switch the "image slider" in according with the language selected for the user?

Thank you
Moses
x-cart V4.4.4
CDSEO
Smart template
__________________
x-cart V4.4.4
Smart Template
CDSEO
Unix
Reply With Quote
  #2  
Old 01-02-2012, 08:02 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Smart template languages

I don't know exactly, as I've never tried this before. I see the variable {$shop_language}.

Try
Code:
{if $shop_language eq "en"} Do this {/if}
Hope that helps,
-Mike
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
scalemar (01-03-2012)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:57 AM.

   

 
X-Cart forums © 2001-2020