| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Address smarty tags in static pages | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I can't get Smarty tags for customers address to work in static pages
For example $address.address and $address.address2 don't show up as anything but $fullname works fine. Please help :P
__________________
X-Cart Gold 4.5.4 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() is that variable available on static pages?
__________________
xcart 5.1.2 |
|||||||||
#3
|
|||||||
|
|||||||
![]() No it's not available. The only way I could solve this was to run a new MySQL query and bring up the database and pull address details from that.
How can I add variables to the static pages?
__________________
X-Cart Gold 4.5.4 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() You can include sql query with the info in pages.php and them assign to smarty
$smarty->assign("new_array", $query_result);
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#5
|
|||||||
|
|||||||
![]() Thanks, I got it working now
![]()
__________________
X-Cart Gold 4.5.4 |
|||||||
|
|||
X-Cart forums © 2001-2020
|