2011-02-14 80 views
0

我的问题是我在产品详细信息和清单页面中没有相同的价格。Magento - 产品详细信息页面上不含税,但包含在清单页面

我想在网站上的所有价格含税。

如何解决这个问题可能是Magento后端的配置。

非常感谢。

+0

大多数这些设置可以在_System-调整>配置 - >销售/税务 - >计算settings_ – 2011-02-14 10:05:51

+1

事实上,只有包含/排除/无论是在目录选项 - 不能同时使用产品列表/视图。 Bizzboss,你在那里使用自定义吗? .phtml文件中关于税务计算可能存在问题。 – 2011-02-14 21:30:07

回答

2

的产品列表: 看看下面的文件 根/应用程序/设计/前端/预设/默认/模板/目录/产品/ price.phtml

,你会看到下面的代码,你可以改变你想要什么:

<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?> 
     <span class="price-excluding-tax"> 
      <span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span> 
      <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"> 
       <?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,false) ?> 
      </span> 
     </span> 
     <span class="price-including-tax"> 
      <span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span> 
      <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"> 
       <?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?> 
      </span> 
     </span> 
    <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?> 
     <span class="price-excluding-tax"> 
      <span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span> 
      <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"> 
       <?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,false) ?> 
      </span> 
     </span> 
相关问题