Magento购物车标题显示错误

时间:2016-02-04 07:08:47

标签: php magento

我是磁铁的新手,我在magento购物车页面上遇到问题,其中显示标题的产品的详细信息是错误的。请给我一个解决方案。

See the heading its nowhere related to the product details, ie, its shuffling

点击此链接:http://thorsignia.net/khidmaa/index.php/checkout/cart

3 个答案:

答案 0 :(得分:0)

您可以通过

更新购物车布局
app/design/frontend/YOUR_PACKAGE/YOUR_THEME/template/checkout/cart.phtml 

答案 1 :(得分:0)

只需更改主题checkout / cart.phtml

 <th rowspan="<?php echo $mergedCells; ?>">&nbsp;</th>  
 <th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Product Name') ?></span></th>

 <th rowspan="<?php echo $mergedCells; ?>">&nbsp;</th>

 <th class="a-center cart-price-head" colspan="<?php echo $mergedCells; ?>">
    <span class="nobr"><?php echo $this->__('Price') ?></span>
 </th>

 <th rowspan="<?php echo $mergedCells; ?>" class="a-center">
     <?php echo $this->__('Qty') ?>
 </th>

 <th class="a-center cart-total-head" colspan="<?php echo $mergedCells; ?>">
   <?php echo $this->__('Subtotal') ?>
 </th>

 <th class="a-center" rowspan="<?php echo $mergedCells; ?>">&nbsp;</th>

答案 2 :(得分:0)

简单的回答是......

转到checkout / cart.phtml

然后在'<th rowspan="1">Remove</th>'标记下的第一个副本<thead>之后,在最后'<th class="a-center" colspan="1">Subtotal</th>'之后添加它,你的问题就会出现问题。