{sprintf('[`%s reviews`]', $product.name|escape)}

{_w('%d review for ','%d reviews for ', $reviews_count)|cat:$product.name|escape}

0 && $wa->get('writeReview') === NULL}style="display:none;"{/if}> {$current_user_id = $wa->userId()}
{if empty($current_user_id) && $require_authorization}

{sprintf( '[`To add a review please sign up or login`]', $wa->signupUrl(), $wa->loginUrl()) }

{else} {if !empty($current_user_id)}

{$wa->user('name')}

{else} {if $auth_adapters} {/if}

{if !empty($auth_adapters[$current_auth_source])} {$adapter = $auth_adapters[$current_auth_source]}

{$current_auth.name|escape} [`log out`]

{/if} {/if}

{for $i = 1 to 5}{/for}

{$_images_enabled = $wa->setting("allow_image_upload", false, "shop")} {if !empty($_images_enabled)}
{strip}
[`Upload photos`] [`or drag & drop here (max. 10 photos)`]
{/strip}
{strip} {capture assign="_file_template"}
{/capture} {/strip} {strip} {capture assign="_error_template"}
%text%
{/capture} {/strip}
{/if} {$_moderate_enabled = $wa->setting('moderation_reviews', 0, 'shop')} {if !empty($_moderate_enabled)}
[`Your review will be published after moderation.`]
{/if}
{if $request_captcha && empty($current_user_id)} {$wa->captcha()} {/if} {if empty($current_user_id) && !empty($review_service_agreement) && !empty($review_service_agreement_hint)} {/if}
{/if}
{function review_reviews} {$depth=-1} {foreach $reviews as $review} {if $review.depth < $depth} {$loop=($depth-$review.depth)} {section name="end-review" loop=$loop} {/section} {$depth=$review.depth} {/if} {if $review.depth == $depth}
  • {/if} {if $review.depth > $depth}
    • {$depth=$review.depth} {/if} {include file="review.html" inline reply_allowed=$reply_allowed single_view=true review=$review} {/foreach} {section name="end-review" loop=$depth}
      {/section} {/function}
    • {include file="product.cart.html" inline} {* @event frontend_product.%plugin_id%.cart *} {foreach $frontend_product as $_}{$_.cart}{/foreach}
      {* @event frontend_product.%plugin_id%.block_aux *} {if !empty($frontend_product)}
      {foreach $frontend_product as $_}{$_.block_aux}{/foreach}
      {/if}