if wa- user id discount shopGroupdiscountPlu gin getDiscount wa- user

1
2
3
4
5
6
{if $wa->user("id")}
{$discount = shopGroupdiscountPlugin::getDiscount($wa->user("id"), $p.price)}
{shop_currency_html($discount['client_price'])}
{else}
{shop_currency($p.price)}
{/if}