Prestashop 1.7.1 - 如何获得含税的产品价格 (VAT)

Prestashop 1.7.1 - How to get product price with taxes (VAT)

如果我在自定义模块中这样做:

<div class="product-price-and-shipping">
    <span class="price"> 
        {Tools::displayPrice($product.price)}
    </span>
</div>

我得到的是不含税的价格(+21% 增值税)。

如何获得含税的产品价格(+21% 增值税)

您必须在某处有规则或 php 不当行为,因为它是全价 $product.price 和产品列表的 $product.price_tax_exc 不含增值税。