我想在标题栏中显示简单的产品图片。
Admin->Configuration->Shopping Cart->Configurable Product
设置在Product Thumbnail Itself
上。这适用于主推车,但标题栏仍然显示父图像。
这是标题栏的代码:
<div class="block-content" id="panel">
<div class="top_arrow"></div>
<div class="cart_topbg">
<div class="main-cart">
<?php $_items = $this->getRecentItems() ?>
<?php if(count($_items)): ?>
<p class="block-subtitle"><?php echo $this->__('Recently added item(s)') ?></p>
<ol id="cart-sidebar" class="mini-products-list">
<?php foreach($_items as $_item): ?>
<?php echo $this->getItemHtml($_item) ?>
<?php endforeach; ?>
</ol>
<script type="text/javascript">decorateList('cart-sidebar', 'none-recursive')</script>
<?php else: ?>
<p class="empty"><?php echo $this->__('You have no items in your shopping cart.') ?></p>
<?php endif ?>
&#13;
有人可以帮我这个吗?