Here is one that is free of charge and based on vQmod http://www.opencart.com/index.php?route ... on_id=4767
OpenCart extension and templates developer. Working for Shine Webb AB in Sweden. Feel free to PM/contact me if you are in need of an extension or a template.
I have added this piece of code working great, can anyone please tell me, how to echo a image with this code.
Like if the product quantity is zero, the add to cart button disappears and a sold out image appears.
I tried a format like this below, but it is not working.
<?php if($stock == $this->language->get('text_instock') || $stock > 0): ?>
<img src="sold out image url" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" />
<?php endif; ?>
Anyone help.
Like if the product quantity is zero, the add to cart button disappears and a sold out image appears.
I tried a format like this below, but it is not working.
<?php if($stock == $this->language->get('text_instock') || $stock > 0): ?>
<img src="sold out image url" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" />
<?php endif; ?>
Anyone help.
Who is online
Users browsing this forum: No registered users and 3 guests