{* * Copyright ETS Software Technology Co., Ltd * * NOTICE OF LICENSE * * This file is not open source! Each license that you purchased is only available for 1 website only. * If you want to use this file on more websites (or projects), you need to purchase additional licenses. * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. * * @author ETS Software Technology Co., Ltd * @copyright ETS Software Technology Co., Ltd * @license Valid for 1 website (or project) for each purchase of license *} {assign var="productQuestionModal" value=($ETS_RV_QA_ALLOW_GUESTS && (!$logged || !$is_block_customer) || !$is_block_customer && $logged)} {* Comment posted modal *} {if !$moderation_active} {assign var='question_posted_message' value="{l s='Your question has been submitted and will be published once approved by a store admin.' mod='ets_reviews'}"} {else} {assign var='question_posted_message' value="{l s='Your question has been submitted!' mod='ets_reviews'}"} {/if} {include file='./alert-modal.tpl' modal_id='ets-rv-product-question-posted-modal' modal_title="{l s='Question sent' mod='ets_reviews'}" modal_message=$question_posted_message } {* Comment post error modal *} {include file='./alert-modal.tpl' modal_id='ets-rv-product-question-post-error' modal_title="{l s='Your question cannot be sent' mod='ets_reviews'}" icon='error' }