Post by Lurkz » Thu Jun 18, 2015 10:47 pm

Hi (first post o/)

I know this question has been answered for OpenCart 1.5, but is there a way to hide the main product image on the product page and just display the secondary images, ideally without editing any core files?

Newbie

Posts

Joined
Thu Jun 18, 2015 10:44 pm

Post by viethemes » Mon Jun 22, 2015 7:42 pm

Are you using the default theme or a custom theme?

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by Lurkz » Tue Jun 23, 2015 5:29 pm

It's completely custom, but the gallery/thumb function are the inbuilt ones. I have managed to solve this issue already however by simply changing echo $thumb; to echo $images[0]['popup']; in product.tpl, added a detection for when there is only 1 image to fallback to $thumb.

Thanks for looking though! :)

Newbie

Posts

Joined
Thu Jun 18, 2015 10:44 pm

Post by viethemes » Tue Jun 23, 2015 8:44 pm

Glad to hear that you figured out the problem! :)

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm

Who is online

Users browsing this forum: No registered users and 5 guests