Code: Select all
{* add to cart template *}
{if isset($cart_error)}
{cgerror}{$cart_error}{/cgerror}
{/if}
{$formstart}{strip}
{if isset($single_option)}
{* this is used if the sku passed to the Cart2 module was the sku of an option of a product *}
<input type="hidden" name="{$actionid}cart_options" value="{$single_option}"/>
{elseif isset($options)}
{* we have multiple options *}
<select name="{$actionid}cart_options">
{html_options options=$options}
</select>
{else}
{/if}
<input type="submit" name="{$submitname}" value="Add To Part List"/>
{/strip}{$formend}
If anyone has any suggestions that would be awesome!
Cheers,