Post by rokdazone » Thu Feb 02, 2012 8:23 pm

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.


User avatar
Active Member

Posts

Joined
Mon Jan 02, 2012 3:24 pm
Location - Sweden

Post by hariprasad2k0 » Tue Jul 10, 2012 3:48 pm

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.

New member

Posts

Joined
Mon Sep 12, 2011 12:24 am
Who is online

Users browsing this forum: No registered users and 18 guests