{load_language_text section="reviews"} {load_language_text section="buttons" name="button"} {block name="module_products_reviews"}
{if $module_content|@count > 0 && $smarty.session.customers_status.customers_status_read_reviews === '1'} {block name="module_products_reviews_title_if"} {if $showAsTab !== 'true'} {block name="module_products_reviews_title"}

{$txt.heading_reviews}

{/block} {/if} {/block} {block name="module_products_reviews_list"} {/block} {elseif $module_content|@count <= 0 && $smarty.session.customers_status.customers_status_read_reviews === '1'} {block name="module_products_reviews_no_reviews_title"} {if $showAsTab !== 'true'}

{$txt.heading_reviews}

{/if} {/block} {block name="module_products_reviews_no_reviews_text"}

{$txt.no_reviews}

{/block} {else} {block name="module_products_reviews_not_allowed_title"} {if $showAsTab !== 'true'}

{$txt.heading_reviews}

{/if} {/block} {block name="module_products_reviews_not_allowed_text"}

{$txt.reading_not_allowed}

{/block} {/if} {if $smarty.session.customers_status.customers_status_write_reviews === '1'} {block name="module_products_reviews_buttons"}
{block name="module_products_reviews_buttons_submit"} {$button.your_opinion} {/block}
{/block} {elseif $smarty.session.customers_status.customers_status_id === '1'} {block name="module_products_reviews_login_hint"}

{$txt.no_login_hint} {$txt.login}

{/block} {/if}
{/block}