Dispaly Smarty variables in Xcart
Hi to the PHP/Smarty buffs,
I'm trying to write a JavaScript file to display the Values of variables in xcart. I know that in Javascript you could use Alert("My variable's value is = " + myVariable); but Smarty plays a major role in assigning values to variables in Xcart, I guess it would also play a major role in extracting the variable values, however I would like to confirm the correct syntax. If you are in the know, please post, if not then Xcart support is my next step Monday morning. I await the flood of info. Regards, |
Dispaly Smarty variables in Xcart
Hi All,
Spent some time @ smarty.net, found all the answers I required. Please ignore my previous post. Regards, |
Hi syddos,
Please post your replies here so we can all benefit from your new knowledge! TIA, :) ATKOgirl |
Hi ATKOgirl and to everyone else,
Here is a very good resource for information on Smarty. I have Bookmarked this URL, and I spend more time on the smarty.net site than on this forum. If your into messing with xcart, spend a few hours on this site and you will have a much better understanding of how smarty works, in fact it made so many things clear to me, that I scraped my original development of xcart, and am starting with another clean install. I'm also amazed at how much less coding I'm having to do to acheive the results I'm looking for, whilst keeping the xcart application logic intact. Some of you have seen my pervious posts, and know that I'm trying to get me site ready for the Christmas shoppers, but because of the re-install and total re-coding, I intend to launch my PRO version in the xcart Gold mode (single user) with just a few special products. If all goes well I will roll out pahse 1 in two weeks. I don't pretend to know everything about xcart, php or smarty, as there are still many areas and files, where I don't have a clue as to what's going on, but my understanding of these programs is 100% better since visiting smarty.net. Enough chat, here's the link: - http://smarty.php.net/manual/en/index.html Regards, |
Here's a link to an Adobe PDF version of the docs:
http://smarty.php.net/download-docs.php |
Featured products
disneyana, how did you get 2 columns of products in the featured section ?
Please let me know www.amber-moon.com |
All times are GMT -8. The time now is 04:07 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.