On the product page, shows the number of units sold just above the manufacturer.
On the category page, show the number of units sold below the price.
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
I'll have look at updating it (when I get a chance).
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
If in the meantime you see this Fido/other mod - feel free to wrap my knuckles and post nasty comments if this isn't the done thing
Genuine, Honest Opencart Support @ http://webvetservices.com
Displays number of units sold (transactions marked as complete):
On the Product Page just about the Manufacturer
On the Category Page just below the price
I have tested it on v1.5.1.2 and v1.5.1.3 on default theme and working fine.
Any problems feel free to post back here!
Genuine, Honest Opencart Support @ http://webvetservices.com
I have had so much help on the forum over the last 12-18 months that am just trying to give something back (he says crossing his fingers that the mod works...)
Genuine, Honest Opencart Support @ http://webvetservices.com
...WHERE o.order_status_id = '5' AND op.product_id = '" . (int)$product_id . "'");
I see order status 5 selected but can't add other statuses or set all. Can someone help me to show all order status or only COMPLETED+PREORDER statuses?
Thank you in advance.
Please explain?shukshyna wrote:Works great for 1.5.4 (added manually for products page)
I will see what I can do.now trying to make it work for modules (e.g. bestseller). Tried to adjust bestseller controller file but it gives me only errors..
Any hint would be greatly appreciated!!!
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Code: Select all
<file name="catalog/view/theme/*/template/product/product.tpl">
<operation>
<search position="before" index="1"><![CDATA[
<?php if ($manufacturer) { ?>
]]></search>
<add trim="true"><![CDATA[
<?php if ($units_sold) { ?>
<span style="color: red;"><?php echo $text_units_sold; ?> <?php echo $units_sold; ?></span><br />
<?php } ?>
]]></add>
</operation>
</file>
First of all thanks alot for the mod. Secondly i'm having slight trouble with it. Products that are displayed in the sub category have a blank space in between the price and "Unit Sold" display. It looks ugly as the alignment does not match with products that have sold none. Anyway to bring the Unit Sold alignment higher to eliminate the blank space?
http://www.postcardcollecting.com
http://www.aboardnoahsark.com
Users browsing this forum: No registered users and 16 guests