I have taken a tutorial on smarty and the code on the sales.php page shows:
$smarty->assign('main', 'sale_products');
$smarty->display("rjw/specials.tpl");
func_display("customer/home.tpl",$smarty);
I have confirmed the array I need and the values I need thru webmaster mode can be found on the sales.php page but when I click on the links of one of the products the values aren't there. I know I need to set a display page for the smarty variables to be displayed. However, I don't know what page to display the variables at. In my example above I tried the specials.tpl page.
For example, the first link is for a $2 OFF product. When I access that page via webmaster mode the variables aren't present.
Following this tutorial:
http://www.codewalkers.com/c/a/Miscellaneous/Smarty-for-Beginners/1/
It shows the example of using the index.html to display the variable In my example I used the specials.tpl code. In my case what should I put in place of the specials.tpl code?
Please help me with this, I want to understand this concept.
Thanks,
Randal