If I run the code from the file:
tpl_product_info_display.php
Code:
$chk_products_ordered = zen_products_lookup((int)$_GET['products_id'], 'products_ordered');
I can add somewhere in that file:
Code:
<?php echo 'Number Sold: ' . $chk_products_ordered; ?>
You can also look in the file:
/includes/functions/functions_prices.php
and find where the display price for everywhere is built in the:
function zen_get_products_display_price
using the same idea, you can use the code:
$chk_products_ordered = zen_products_lookup((int)$products_id, 'products_ordered');
and add on the return values the:
'Number Sold: ' . $chk_products_ordered
Example:
Code:
return $final_display_price . $free_tag . $call_tag;
could be:
Code:
return $final_display_price . $free_tag . $call_tag . '<br />Number Sold: ' . $chk_products_ordered;
and now all prices will display with:
Number Sold: ##