| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Variable Problem | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi everyone,
I'm having a small problem with a language variable I created. It shows up if I test it in head.tpl with this: {$lng.lbl_test_variable} However, if I put this line anywhere in the product.tpl file, nothing shows up. ![]() Does anyone know why this is happening? Does it have something to do with product.php? Thanks, John
__________________
X-Cart Version 4.2.3 |
|||||||
#2
|
|||||||
|
|||||||
![]() Clear your template cache using the summary/tools link.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Hi Balinor,
Thanks for the reply. I tried that and the force generation tool. Problem is still there. Whats weird is that some language variables work and some don't in the same location. All the variables show up perfectly normal in the admin and other parts of the store. Is there anything else that could restrict certain variables from being read through product.tpl?
__________________
X-Cart Version 4.2.3 |
|||||||
#4
|
|||||||
|
|||||||
![]() No, it should work fine no matter what template you place it in. I've had issues with this in the past on other client sites - usually the clear cache tools do the trick. Clear your browser cache as well, and try it in another browser.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() Ok thanks for the help. I guess I will have to play with it and hope for the best. I'll try creating a new variable and test that as well.
__________________
X-Cart Version 4.2.3 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|