【问题标题】:Prestashop Smarty get order price after checkout header.tplPrestashop Smarty 在结帐 header.tpl 后获取订单价格
【发布时间】:2018-04-25 13:41:30
【问题描述】:

我正在尝试在我的网站上实施必应广告。

我需要在 header.tpl 中添加这个脚本,用订单价格替换 GetRevenueValue

<script>
window.uetq = window.uetq || [];
window.uetq.push({ 'gv': GetRevenueValue(), 'gc': 'EUR'}); 
</script>

如何在 smarty 中获取订单的总价?

【问题讨论】:

    标签: prestashop smarty


    【解决方案1】:

    我最终在 order_confirmation.tpl 中添加了价格已经确定的代码

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-07-20
      • 2016-02-10
      • 2019-01-09
      • 1970-01-01
      • 2015-04-10
      • 1970-01-01
      • 1970-01-01
      • 2013-03-27
      相关资源
      最近更新 更多