Is it possible to do it like in presta?
Anyone can help me?
In the product.tpl
Find the code
Cut it
And paste it after the code
Insert a break between them though.
Then you should delete the code
and the code
Then in your admin > system> settings , the tab image , set the size of aditional images to 60x60 , or some other size that you want.
Find the code
Code: Select all
<?php if ($images) { ?>
<div style="display: inline-block;">
<?php foreach ($images as $image) { ?>
<div style="display: inline-block; float: left; text-align: center; margin-left: 5px; margin-right: 5px; margin-bottom: 10px;"><a href="<?php echo $image['popup']; ?>" title="<?php echo $heading_title; ?>" class="thickbox" rel="gallery"><img src="<?php echo $image['thumb']; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" style="border: 1px solid #DDDDDD; margin-bottom: 3px;" /></a><br />
<span style="font-size: 11px;"><?php echo $text_enlarge; ?></span></div>
<?php } ?>
</div>
<?php } else { ?>
<div style="background: #F7F7F7; border: 1px solid #DDDDDD; padding: 10px; margin-bottom: 10px;"><?php echo $text_no_images; ?></div>
<?php } ?>
And paste it after the code
Code: Select all
<a href="<?php echo $popup; ?>" title="<?php echo $heading_title; ?>" class="thickbox" rel="gallery"><img src="<?php echo $thumb; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" id="image" style="margin-bottom: 3px;" /></a><br />
<span style="font-size: 11px;"><?php echo $text_enlarge; ?></span>
Then you should delete the code
Code: Select all
<a tab="#tab_image"><?php echo $tab_image; ?> (<?php echo count($images); ?>)</a>
Code: Select all
<div id="tab_image" class="tab_page">
</div>
No this is not what i need :/ its without buttons next back...
Check it http://www.prestashop.com/demo/lang-en/ ... uffle.html
You see how images additional images are done?
Check it http://www.prestashop.com/demo/lang-en/ ... uffle.html
You see how images additional images are done?
Here is a module of Qphoria.Is exactly what you need
http://theqdomain.com/ocstore/opencart_ ... ar_product
http://theqdomain.com/ocstore/opencart_ ... ar_product
Who is online
Users browsing this forum: No registered users and 358 guests