Remove Magento Product Gallery If There’s Only One Product

by | Apr 8, 2013 | 0 comments

This FAQ shows you how to remove the product image gallery when there’s only one product image. Some templates do not take care of this automatically, so this is what you need to do.

Make the following change in media.phtml file:

count($this->getGalleryImages()) > 0

change this to:

count($this->getGalleryImages()) > 1

That’s it!

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

elan creative

We’re like the in-house website design and support team you always dreamed of, able to tell your story like nobody else, and focus on your bottom line along with you….

Elan Creative
hello@elancreative.studio

freelance-website-designer s

QUOTE

Get a free quote for your website design project: