View Single Post
  #2  
Old 07-20-2005, 07:12 PM
 
instinctual instinctual is offline
 

eXpert
  
Join Date: Nov 2003
Posts: 247
 

Default assign variable

You have to assign the variable and then include the options name into the cart:

Code:
{include file="modules/Product_Options/display_options.tpl" options=$products[prod_num].product_options options_txt=$products[prod_num].product_options_txt force_product_options_txt=$products[prod_num].force_product_options_txt}

That is the code to include the product options text in your .tpl - but making that available would mean that you need to declare it on cart.php -
Something like:

Code:
$smarty->assign("main","orders");

But for options...
__________________
Instinctual
8,000 feet up in the Rocky Mountains of Colorado
X-Cart Versions 3.5.x - 4.0.x

IF you xcart, THEN you prosper, ELSE you fail. ELSEIF xcart fails, THEN you fix it, all the WHILE {loop}\'ing {section}\'s to feed your $smarty mind.
Reply With Quote