1

So I am in checkout/cart/minicart/default1.phtml. I am trying to change the image size on my minicart from 180 to 60. When I do this magento just breaks and stops loading resources after that line. This is my default line.

<div class="product-image">
            <img src="<?php echo $this->getProductThumbnail()->resize(180); ?>" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" >
 </div>

This is what I have tried.

<div class="product-image">
            <img src="<?php echo $this->getProductThumbnail()->resize(60); ?>" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" >
 </div>
<div class="product-image">
            <img src="<?php echo $this->getProductThumbnail()->resize(60,60); ?>" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" >
 </div>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.