2012-11-30 127 views
1

我試圖編輯自定義主題中的Checkout Review模板,但在嘗試重新排列表格列時遇到問題。Magento簽出 - 編輯評論模板

我做了以下

  • 編輯自定義主題 - 應用程序/設計/前端//默認/模板/結算/ onepage /審查/ info.phtml
  • 編輯的基本主題(作爲測試) - 應用程序/設計/前端/基/默認/模板/結算/ onepage /審查/ info.phtml
  • 禁用所有的高速緩存管理
  • 啓用模板的提示,但頁面不呈現

我已經在定製主題更改表類如下這確實顯示

<table class="data-table test" id="checkout-review-table"> 

我已經重新排序在定製主題的列,但變動情況如下不顯示

<th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product Name') ?></th> 
<th rowspan="<?php echo $rowspan ?>" class="a-center"><?php echo $this->__('Qty')?></th> 
<th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Price')?></th> 
<th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th> 

任何人都可以指向正確的方向嗎?

+0

在錯誤日誌什麼? –

+0

tim - 這是我第一個Magento網站 - 我在哪裏可以找到錯誤日誌? –

+0

var/log/exception.log – Ossie7

回答

0

您肯定正在編輯正確的模板,爲了避免混淆,您可以恢復對基本模板的所有更改,並從自定義模板中的全新info.phtml副本中工作。

更新

<thead> 
    <tr> 
     <th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product Name') ?></th> 
     <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Qty') ?></th> 
     <th rowspan="<?php echo $rowspan ?>" class="a-center"><?php echo $this->__('Price') ?></th> 
     <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th> 
    </tr> 
    <?php if ($this->helper('tax')->displayCartBothPrices()): ?> 
     <tr> 
      <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th> 
      <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th> 
      <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th> 
      <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th> 
     </tr> 
    <?php endif; ?> 
</thead> 

enter image description here

+0

我「編輯了基本主題(作爲測試)」,看看是否顯示基本模板而不是我的主題。請參考爲什麼修改info.phtml表格沒有顯示的原始問題。 –

+0

看看我更新的帖子 –

+0

已恢復爲基本/默認主題 - 仍然沒有運氣 –

0

我有這個問題之前,如果你正在使用SagePay或任何其他付款方式,檢查擴展文件夾,應該有另一次檢討/ info.phtml文件。這是你正在尋找的那個。

希望這有助於 亞歷