Php Magento购物车标题显示错误
我是磁电机的新手,我在magento购物车页面中遇到了一个问题,其中显示的带有标题的产品的详细信息是错误的。请给我一个解决办法Php Magento购物车标题显示错误,php,magento,Php,Magento,我是磁电机的新手,我在magento购物车页面中遇到了一个问题,其中显示的带有标题的产品的详细信息是错误的。请给我一个解决办法 检查此链接:您可以通过 app/design/frontend/YOUR_PACKAGE/YOUR_THEME/template/checkout/cart.phtml 只需更改主题checkout/cart.phtml即可 <th rowspan="<?php echo $mergedCells; ?>"> </
检查此链接:您可以通过
app/design/frontend/YOUR_PACKAGE/YOUR_THEME/template/checkout/cart.phtml
只需更改主题checkout/cart.phtml即可
<th rowspan="<?php echo $mergedCells; ?>"> </th>
<th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Product Name') ?></span></th>
<th rowspan="<?php echo $mergedCells; ?>"> </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; ?>"> </th>
简单的答案是
转到checkout/cart.phtml
<th rowspan="<?php echo $mergedCells; ?>"> </th>
<th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Product Name') ?></span></th>
<th rowspan="<?php echo $mergedCells; ?>"> </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; ?>"> </th>
然后在第一次复制后,将此
标记下的'Remove'
添加到最后一次'Subtotal'
之后,您的问题就解决了。看起来您的标记放错了位置。你能用那个表的代码片段更新吗。我想桌子的id是购物车桌子