예제 #1
0
 protected function _afterLoad()
 {
     parent::_afterLoad();
     if (Mage::getStoreConfig('customweb_subscription/checkout/enabled_agreement') && Mage::helper('customweb_subscription/cart')->isQuoteRecurring()) {
         $this->addItem($this->getSubscriptionAgreement());
     }
     return $this;
 }