Prestashop 1.7仅在添加国家/地区地址后显示运费

问题描述

您知道如何在prestashop 1.7.6的结帐摘要添加显示运费吗? 仅在添加/选择地址(带有县)之后。 可能吗? 谢谢

解决方法

  1. 您将您的国家/地区设为县。
  2. 您编辑相应的.tpl(用于支付运输费用)

{if !isset($address)}
    <span class="alert alert-warning">
        {l s='Choose address to see the shipping cost'}
    </span>
{else}
    {* Here the actual content *}
{/if}

关于, 康斯坦丁诺斯(Konstantinos A. Kogkalidis)