<?php
$id = 100001; // Enter your product ID here
$_productCollection = Mage::getResourceModel('reports/product_collection')
->addOrderedQty()
->addAttributeToFilter('id', $id)
->setOrder('ordered_qty', 'DESC')
->getFirstItem();
$product = $_productCollection;
echo 'Total Sold'.$product->ordered_qty;
?>
$id = 100001; // Enter your product ID here
$_productCollection = Mage::getResourceModel('reports/product_collection')
->addOrderedQty()
->addAttributeToFilter('id', $id)
->setOrder('ordered_qty', 'DESC')
->getFirstItem();
$product = $_productCollection;
echo 'Total Sold'.$product->ordered_qty;
?>