Wednesday, February 26, 2014

opencart 1.5.6 Additional Product Images Not Working - Solution


It is an issue of opencart new feature openbay.


Edit admin\view\template\extension\openbay_links.tpl


Replace

id="images"


with


id="openbay_images"


ie openbay_links.tpl file Should be in given format


<div id="tab-openbay" style="display:none;">
    <table class="list" id="openbay_images">
        <thead>
        <tr>
            <td class="left"><?php echo $lang_marketplace; ?></td>
            <td class="center"><?php echo $lang_status; ?></td>
            <td class="right"><?php echo $lang_option; ?></td>
        </tr>
        </thead>
        <tfoot>
            <?php foreach ($markets as $market) { ?>
            <tr>
                <td class="left"><?php echo $market['name']; ?></td>
                <td class="center"><img style="display:inline; position:relative; top:3px;" src="view/image/<?php if($market['status'] == 1){echo'success';}else{echo'delete';} ?>.png" /></td>
                <td class="right">
                    <?php if($market['href'] != ''){ ?>
                        <a href="<?php echo $market['href']; ?>"<?php if($market['target'] != ''){ echo' target="'.$market['target'].'"'; } ?>><?php echo $market['text']; ?></a>
                    <?php }else{ ?>
                        <?php echo $market['text']; ?>
                    <?php } ?>
                </td>
            <?php } ?>
        </tfoot>
    </table>
</div>

No comments:

Post a Comment