| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Address smarty tags in static pages | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Address smarty tags in static pages
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
|
|||||||||
|
|||||||||
Re: Address smarty tags in static pages
is that variable available on static pages?
__________________
xcart 5.1.2 |
|||||||||
#3
|
|||||||
|
|||||||
Re: Address smarty tags in static pages
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
|
|||||||||
|
|||||||||
Re: Address smarty tags in static pages
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
|
|||||||
|
|||||||
Re: Address smarty tags in static pages
Thanks, I got it working now
__________________
X-Cart Gold 4.5.4 |
|||||||
|
|||
X-Cart forums © 2001-2020
|