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

help combining variables!
 
Reply
   X-Cart forums > X-Cart 4 > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-14-2003, 12:16 PM
 
belen belen is offline
 

Member
  
Join Date: Nov 2002
Posts: 12
 

Default help combining variables!

i have created a set of text entries in my Languages that i now want to display on product pages, based on what product page is up.

the text variable tag looks like this:

{$lng.seo_descrip_67} (with "67" being the productid)

so when i am calling it on the .tpl page, i have tried variations of

{$lng.seo_descrip_{$product.productid}}

with quotes, taking out the brackets etc - i know what i want, i just don't know the syntax to combine 2 variables like this!

anyone have a quick answer?

thanks in advance
belen
Reply With Quote
  #2  
Old 02-22-2003, 12:35 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

Quick answer...not possible as far as I am aware directly in the template.

Longer answer.. it is possible but not quite as you suggest you would need to amend the php files and assign a new value to smarty.
__________________
ex x-cart guru
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > 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 07:17 AM.

   

 
X-Cart forums © 2001-2018