2017-07-08 48 views
0

系統 - 配置 - 銷售 - 稅 - 設置爲Yes選項「顯示完整的稅務摘要」店鋪陳列設置 正顯示出像下面Magento的顯示稅率爲每個稅 - Magento的1.9

總計不含稅。稅收盧比。 650.00
SGST(9%)
                                                                           盧比。 117.00
CGST(9%)
Grand Total Incl。稅收盧比。 767.00

如何分別顯示每個稅額?

總共不含增值稅稅收盧比。 650.00
SGST(9%)                                   盧比。 58.5
CGST(9%)                                   盧比。 58.5
Grand Total Incl。稅收盧比。 767.00

+0

我正在投票因爲Stack Overflow是一個[編程相關](http://stackoverflow.com/help/on-topic)問答站點,因此將此問題視爲脫離主題。你的問題不是關於編程。也許你應該在http://magento.stackexchange.com上發佈它呢? – Enigmativity

回答

0

去複製app\design\frontend\base\default\template\tax\order\tax.phtml

<?php if ($isFirst): ?> 
       <td <?php echo $this->getValueProperties()?> rowspan=" 1 <?php echo count($rates); ?>"> 
        <?php echo $_order->formatPrice($amount); ?> 
       </td> 
      <?php endif; ?> 

並粘貼在app\design\frontend\[theme_package]\template\tax\order - tax.phtml而更換代碼如下所示:下面鏈接

<?php //if ($isFirst): ?> 
       <td <?php echo $this->getValueProperties()?> rowspan=" 1 <?php //echo count($rates); ?>"> 
        <?php echo $_order->formatPrice($amount/($percent/(float)$rate['percent'])); ?> 
       </td> 
      <?php //endif; ?> 

檢查的全部細節:

https://magecomp.com/blog/create-gst-tax-rule-magento/