Skip to main content
The way that has been suggested load coupon by id is incorrect.
Source Link

Default report is available in report -> sales -> coupons.

And with script you can find used coupan count and customer details very easily :

$coupon = Mage::getModel('salesrule/coupon/usage');
$coupon->load('coupan_id''code', 'code''coupon_id');
if($coupon->getId()) {
    $timesUsed = $coupon->getTimesUsed();
    $customer = $coupon->getCustomerId();
    echo $timesUsed;
    echo $customer;
}

Default report is available in report -> sales -> coupons.

And with script you can find used coupan count and customer details very easily :

$coupon = Mage::getModel('salesrule/coupon/usage');
$coupon->load('coupan_id', 'code');
if($coupon->getId()) {
    $timesUsed = $coupon->getTimesUsed();
    $customer = $coupon->getCustomerId();
    echo $timesUsed;
    echo $customer;
}

Default report is available in report -> sales -> coupons.

And with script you can find used coupan count and customer details very easily :

$coupon = Mage::getModel('salesrule/coupon/usage');
$coupon->load('code', 'coupon_id');
if($coupon->getId()) {
    $timesUsed = $coupon->getTimesUsed();
    $customer = $coupon->getCustomerId();
    echo $timesUsed;
    echo $customer;
}
Improved formatting.
Source Link
MTM
  • 2k
  • 1
  • 21
  • 33

Default report is available in report -> sales -> coupanscoupons.

And with script you can find used coupan count and customer details very easily :

$coupon = Mage::getModel('salesrule/coupon/usage'); $coupon->load('coupan_id', 'code'); if($coupon->getId()) { $timesUsed = $coupon->getTimesUsed(); $customer = $coupon->getCustomerId(); echo $timesUsed; echo $customer; }

$coupon = Mage::getModel('salesrule/coupon/usage');
$coupon->load('coupan_id', 'code');
if($coupon->getId()) {
    $timesUsed = $coupon->getTimesUsed();
    $customer = $coupon->getCustomerId();
    echo $timesUsed;
    echo $customer;
}

Default report is available in report -> sales -> coupans.

And with script you can find used coupan count and customer details very easily :

$coupon = Mage::getModel('salesrule/coupon/usage'); $coupon->load('coupan_id', 'code'); if($coupon->getId()) { $timesUsed = $coupon->getTimesUsed(); $customer = $coupon->getCustomerId(); echo $timesUsed; echo $customer; }

Default report is available in report -> sales -> coupons.

And with script you can find used coupan count and customer details very easily :

$coupon = Mage::getModel('salesrule/coupon/usage');
$coupon->load('coupan_id', 'code');
if($coupon->getId()) {
    $timesUsed = $coupon->getTimesUsed();
    $customer = $coupon->getCustomerId();
    echo $timesUsed;
    echo $customer;
}
Source Link

Default report is available in report -> sales -> coupans.

And with script you can find used coupan count and customer details very easily :

$coupon = Mage::getModel('salesrule/coupon/usage'); $coupon->load('coupan_id', 'code'); if($coupon->getId()) { $timesUsed = $coupon->getTimesUsed(); $customer = $coupon->getCustomerId(); echo $timesUsed; echo $customer; }