CASH Posted September 19, 2008 Share Posted September 19, 2008 i want to use "cart.php" and "cart.php?a=view" smarty variables on index page or different pages. how can i call variables out of own templates? i called only cartitems variable and placed it on "init.php" for displaying how much products in cart on everypage. $cartitems = count ($_SESSION['cart']['products']) + count ($_SESSION['cart']['addons']) + count ($_SESSION['cart']['domains']); $smarty->assign ('cartitems', $cartitems); i found code on "cart.php" but not enough for me i want to use; $total variable $products array variable,$subtotal etc. anyone knows? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.