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

languages variables on "Product Description". Poss

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-24-2005, 04:24 PM
 
aop aop is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: los angeles
Posts: 96
 

Default languages variables on "Product Description". Poss

Hi there;
is it possible to add "languages variables" into a Product description page
on Admin Area ?
I tried and didn't work. I'm sure i'm doing something wrong.
Thanks !
aldo
__________________
www.furniturevision.com
Version 3.2.2 retired
Updated to 4.0.8 - retired
Updated to 4.1.9 - retired
Updated to 4.4
Reply With Quote
  #2  
Old 09-24-2005, 11:31 PM
  Dongan's Avatar 
Dongan Dongan is offline
 

X-Wizard
  
Join Date: Jul 2005
Location: www.mercuryminds.com
Posts: 1,531
 

Default

First, you add a language variable and the value. then you can display it in the admin part. you might be wrongly looking at the files. find out the correct file and it should work.
Reply With Quote
  #3  
Old 09-25-2005, 12:26 PM
 
aop aop is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: los angeles
Posts: 96
 

Default

Dongan, thanks for your help.
I created the variable as txt_description_footer, gave some value ( just text ), inserted on Description field ( admin ), then when I go to that product ( customer area ) , it shows me the raw code ( {$lng.txt_description_footer}.
Should I add any HTML tag before that ?
Sorry, it must be something in front of my nose, but I can't see it
Thanks !
aldo
__________________
www.furniturevision.com
Version 3.2.2 retired
Updated to 4.0.8 - retired
Updated to 4.1.9 - retired
Updated to 4.4
Reply With Quote
  #4  
Old 09-25-2005, 12:28 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

you cant add smarty variables to the description field.

you have to add hard code it to the product page
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 09-25-2005, 12:33 PM
 
aop aop is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: los angeles
Posts: 96
 

Default

Thanks Shan !
that's what I suspected at the begining.
Now I have to see how can I do it in plain HTML.
__________________
www.furniturevision.com
Version 3.2.2 retired
Updated to 4.0.8 - retired
Updated to 4.1.9 - retired
Updated to 4.4
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:48 AM.

   

 
X-Cart forums © 2001-2020