![]() |
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 |
Re: Address smarty tags in static pages
is that variable available on static pages?
|
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? |
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); |
Re: Address smarty tags in static pages
Thanks, I got it working now :)
|
All times are GMT -8. The time now is 12:59 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.