{if $product.call_for_price!="Yes" && $env != "email" && (($VisitorMayAddItem == "YES" && $VisitorSeePrice=="YES") || ($auth_ok == "yes" || $user_cookie))} {if $product.out_of_stock} {$msg.catalog.out_of_stock} {else} {if $product.attributes_count> 0}
{else} {/if} {button class="button-add-to-cart" text=$msg.buttons.buttonAddToCart file=$smarty.template}
{/if} {else} {$msg.product.click_to_view} {/if}