{$product.name|escape}
{$video = $product->video}
{if count($product.images) > 1 || (count($product.images) === 1 && $video)}
{/if}
{if $video}
{/if}
{foreach $product.images as $image}
{/foreach}
{if $video}
{if !empty($video.images[0])}
{$_thumb = $video.images[0]}
{$_absolute_thumb_uri = "{$wa->url(true)}{$_thumb|substr:1}"}
{/if}
{/if}
{if $product.images}
{else}
{/if}
{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}
{* @event frontend_product.%plugin_id%.block *}
{foreach $frontend_product as $_}{$_.block}{/foreach}
{if $product.description}
{/if}
{if !empty($_skus_features_html[$product.sku_id])}
{/if}
{if $product.categories}
{if !empty($rates)}
{$_total_count = 0}
{foreach $rates as $_rate => $_count}
{$_total_count = $_total_count + $_count}
{/foreach}
{* foreach $rates as $_rate => $_count *}
{for $i = 5 to 0 step -1}
{if empty($rates[$i]) || !$rates[$i]}{$_count = 0}{else}{$_count = $rates[$i]}{/if}
{if $i || $_count}
{/if}
[`О товаре`]
{$product.description}
[`Features`]
{$_skus_features_html[$product.sku_id]}
[`Categories`]: {foreach $product.categories as $c} {if $c.status} {$c.name|escape} {/if} {/foreach}
{/if} {if $product.tags} {/if}{sprintf('[`%s reviews`]', $product.name|escape)} ({$reviews_total_count})
[`Write a review`]| {$_count} |
-
{foreach $reviews as $review}
- {include file="review.html" reply_allowed=false inline} {/foreach}
{sprintf('[`Be the first to write a review of this product!`]', 'reviews/')}
{else} [`Читать все отзывы`] {/if}