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)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...