This is my
theme/template/product/product.tpl File Description Section Content:
Code: Select all
<div class="description">
<?php if ($manufacturer) { ?>
<span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br />
<?php } ?>
<span><?php echo $text_model; ?></span> <?php echo $model; ?><br />
<?php if ($location) { ?>
<span><?php echo $text_location; ?></span> <?php echo $location; ?><br />
<?php } ?>
<?php if ($reward) { ?>
<span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br />
<?php } ?>
// I ADDED/CHANGED CONTENT FROM HERE //
<span><?php echo $text_stock; ?></span>
<?php if ($quantity <= '0') { ?> 0
<img width="120" height="120" style="z-index: 1000; position: absolute; top: 0; right: 30px;" src="image/data/oos.png" alt="out of stock!">
<?php } else { ?>
<?php echo $stock; ?>
<?php }?>
// TO HERE !//
</div>
catalog/controller/product/product.php
Code: Select all
in Version v.1.5.6.x:
$this->data['reward'] = $product_info['reward'];
$this->data['points'] = $product_info['points'];
---
I added THIS LINE:
---
$this->data['quantity'] = $product_info['quantity'];
---
Code: Select all
Assumed in Version v.2.x:
$data['reward'] = $product_info['reward'];
$data['points'] = $product_info['points'];
---
ADD THIS LINE:
$data['quantity'] = $product_info['quantity'];
to hopefully get this Result out of it::
http://www.ocshop.li/shop/index.php?rou ... uct_id=653
compared to this, if Products exist:
http://www.ocshop.li/shop/index.php?rou ... ct_id=1586
after you cleared out your OcMod and VqMod Cache Content in full.
Good Luck
Ernie
---