{* $Id: add_to_cart.tpl 2474 2006-11-05 11:39:30Z zeke $ *} {if $settings.General.allow_anonymous_shopping == 'Y' || $auth.user_id} {include file="buttons/button.tpl" but_text=$lang.add_to_cart but_type="" but_onclick=$but_onclick but_href=$but_href but_target=$but_target action_but="action_" but_style=$but_style} {else} {include file="buttons/button.tpl" but_text=$lang.login_to_buy but_type="link" but_href="$index_script?$target_name=auth&$mode_name=login_form" but_style="text" but_onclick=""} {/if}