/**
* Whether there are recurring items
*
* @return bool
*/
public function hasRecurringItems()
{
foreach ($this->getAllVisibleItems() as $item) {
if ($item->getProduct() && $item->getProduct()->isRecurring()) {
return true;
}
}
return false;
}
magento isRecurring
Related Posts
25 Tutorials for Learning Photoshop CS6
Wednesday, May 30, 2012
Programmatically Unsubscribe Customer
Saturday, May 19, 2012
Display Magento Store Contact Number
Saturday, May 19, 2012
Simple Non-Profit WordPress Theme
Saturday, May 19, 2012
Upgrade to Magento 1.7.0 via SSH
Saturday, May 19, 2012
