|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
musicweb Smarty n00b
Joined: 25 May 2013 Posts: 4
|
Posted: Thu Jul 23, 2020 7:37 pm Post subject: Can't pass a variable... |
|
|
Trying to pass a variable across my shopping cart templates and eventually enter it into a database, but I lose it on the last page.
I'm using the following at top of each template:
Code: | {assign var='ticket_desc' value="test" scope='global'} |
It passes fine through 3 pages, but at the final confirmation page, it disappears.
Any ideas? |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Fri Jul 24, 2020 12:37 pm Post subject: |
|
|
Not a Smarty question. Fix your PHP code. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|