0
產品形象,我想在我的頭車,以顯示簡單的產品形象。Magento的:在頭車
Admin->Configuration->Shopping Cart->Configurable Product
設置上Product Thumbnail Itself
。這適用於主購物車,但標題購物車仍顯示父圖像。
這是頭車的代碼:
<div class="block-content" id="panel">
\t <div class="top_arrow"></div>
\t \t <div class="cart_topbg">
\t \t <div class="main-cart">
\t \t <?php $_items = $this->getRecentItems() ?>
\t \t <?php if(count($_items)): ?>
\t \t \t <p class="block-subtitle"><?php echo $this->__('Recently added item(s)') ?></p>
\t \t \t <ol id="cart-sidebar" class="mini-products-list">
\t \t \t <?php foreach($_items as $_item): ?>
\t \t \t \t <?php echo $this->getItemHtml($_item) ?>
\t \t \t <?php endforeach; ?>
\t \t \t </ol>
\t \t \t <script type="text/javascript">decorateList('cart-sidebar', 'none-recursive')</script>
\t \t <?php else: ?>
\t \t \t <p class="empty"><?php echo $this->__('You have no items in your shopping cart.') ?></p>
\t \t <?php endif ?>
有人能幫助我嗎?