Exemple #1
0
<?php

/**
 * Product:     Abandoned Carts Alerts Pro for 1.3.x-1.7.0.0 - 01/11/12
 * Package:     AdjustWare_Cartalert_3.1.1_0.2.3_440060
 * Purchase ID: NZmnTZChS7OANNEKozm6XF7MkbUHNw6IY9fsWFBWRT
 * Generated:   2013-01-22 11:08:03
 * File path:   app/code/local/AdjustWare/Cartalert/Model/Mysql4/Dailystat.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Cartalert')) {
    UBDDwpjPTepkTUco('1fafa1be3d1ea8d79b7f8de0c6c0b3d5');
    class AdjustWare_Cartalert_Model_Mysql4_Dailystat extends Mage_Core_Model_Mysql4_Abstract
    {
        public function _construct()
        {
            $this->_init('adjcartalert/dailystat', 'id');
        }
    }
}
Exemple #2
0
<?php

/**
 * Product:     Abandoned Carts Alerts Pro for 1.3.x-1.7.0.0 - 01/11/12
 * Package:     AdjustWare_Cartalert_3.1.1_0.2.3_440060
 * Purchase ID: NZmnTZChS7OANNEKozm6XF7MkbUHNw6IY9fsWFBWRT
 * Generated:   2013-01-22 11:08:03
 * File path:   app/code/local/AdjustWare/Cartalert/Block/Adminhtml/Cartalert/Edit.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Cartalert')) {
    UBDDwpjPTepkTUco('013670464b93953794539a7b013158e6');
    class AdjustWare_Cartalert_Block_Adminhtml_Cartalert_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
    {
        public function __construct()
        {
            parent::__construct();
            $this->_objectId = 'id';
            // ?
            $this->_blockGroup = 'adjcartalert';
            $this->_controller = 'adminhtml_cartalert';
            $this->_removeButton('reset');
            $this->_addButton('send', array('label' => Mage::helper('adjcartalert')->__('Save and Send Out'), 'onclick' => 'sendAndDelete()', 'class' => 'save'), -100);
            $this->_formScripts[] = "\n            function sendAndDelete(){\n                \$('edit_form').action += 'send/edit';\n                editForm.submit();\n            }\n        ";
        }
        public function getHeaderText()
        {
            return Mage::helper('adjcartalert')->__('Abandoned Cart Alert');
        }
    }
}
Exemple #3
0
<?php

/**
 * Product:     Abandoned Carts Alerts Pro for 1.3.x-1.7.0.0 - 01/11/12
 * Package:     AdjustWare_Cartalert_3.1.1_0.2.3_440060
 * Purchase ID: NZmnTZChS7OANNEKozm6XF7MkbUHNw6IY9fsWFBWRT
 * Generated:   2013-01-22 11:08:03
 * File path:   app/code/local/AdjustWare/Cartalert/Block/Adminhtml/Cartalert/Grid.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Cartalert')) {
    UBDDwpjPTepkTUco('7a5afa3b82ef3ddfa2a9b18cf8e12e09');
    /**
     * @author Adjustware
     */
    class AdjustWare_Cartalert_Block_Adminhtml_Cartalert_Grid extends Mage_Adminhtml_Block_Widget_Grid
    {
        public function __construct()
        {
            parent::__construct();
            $this->setId('cartalertGrid');
            $this->setDefaultSort('cartalert_id');
        }
        protected function _prepareCollection()
        {
            $collection = Mage::getModel('adjcartalert/cartalert')->getCollection();
            $this->setCollection($collection);
            return parent::_prepareCollection();
        }
        protected function _prepareColumns()
        {
Exemple #4
0
<?php

/**
 * Product:     Abandoned Carts Alerts Pro for 1.3.x-1.7.0.0 - 01/11/12
 * Package:     AdjustWare_Cartalert_3.1.1_0.2.3_440060
 * Purchase ID: NZmnTZChS7OANNEKozm6XF7MkbUHNw6IY9fsWFBWRT
 * Generated:   2013-01-22 11:08:03
 * File path:   app/code/local/AdjustWare/Cartalert/Block/Adminhtml/Cartalert/Edit/Form.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Cartalert')) {
    UBDDwpjPTepkTUco('90480cbf1a6df13d436368743be990c4');
    class AdjustWare_Cartalert_Block_Adminhtml_Cartalert_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
    {
        protected function _prepareForm()
        {
            $form = new Varien_Data_Form(array('id' => 'edit_form', 'action' => $this->getUrl('*/*/save', array('id' => $this->getRequest()->getParam('id'))), 'method' => 'post'));
            $form->setUseContainer(true);
            $this->setForm($form);
            $hlp = Mage::helper('adjcartalert');
            $fldInfo = $form->addFieldset('adjcartalert_info', array('legend' => $hlp->__('Alert Variables')));
            $fldInfo->addField('store_id', 'select', array('label' => $hlp->__('Store View'), 'class' => 'required-entry', 'required' => true, 'name' => 'store_id', 'values' => Mage::getSingleton('adminhtml/system_store')->getStoreValuesForForm()));
            $fldInfo->addField('follow_up', 'select', array('label' => $hlp->__('Follow Up'), 'name' => 'follow_up', 'options' => array('first' => $hlp->__('First'), 'second' => $hlp->__('Second'), 'third' => $hlp->__('Third'))));
            $fldInfo->addField('sheduled_at', 'date', array('label' => $hlp->__('Alert Will Be Sent On'), 'image' => $this->getSkinUrl('images/grid-cal.gif'), 'format' => Mage::app()->getLocale()->getDateFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT), 'name' => 'sheduled_at'));
            $fldInfo->addField('customer_email', 'text', array('label' => $hlp->__('Customer E-mail'), 'class' => 'required-entry validate-email', 'required' => true, 'name' => 'customer_email'));
            $fldInfo->addField('customer_fname', 'text', array('label' => $hlp->__('Customer First Name'), 'class' => 'required-entry', 'required' => true, 'name' => 'customer_fname'));
            $fldInfo->addField('customer_lname', 'text', array('label' => $hlp->__('Customer Last Name'), 'name' => 'customer_lname'));
            $fldInfo->addField('products', 'textarea', array('label' => $hlp->__('Products'), 'class' => 'required-entry', 'required' => true, 'name' => 'products', 'style' => 'width:35em;height:15em;'));
            $fldInfo->addField('is_preprocessed', 'hidden', array('name' => 'is_preprocessed', 'value' => 1));
            if (Mage::registry('cartalert_data')) {
                $form->setValues(Mage::registry('cartalert_data')->getData());
Exemple #5
0
<?php

/**
 * Product:     Abandoned Carts Alerts Pro for 1.3.x-1.7.0.0 - 01/11/12
 * Package:     AdjustWare_Cartalert_3.1.1_0.2.3_440060
 * Purchase ID: NZmnTZChS7OANNEKozm6XF7MkbUHNw6IY9fsWFBWRT
 * Generated:   2013-01-22 11:08:03
 * File path:   app/code/local/AdjustWare/Cartalert/Model/History.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Cartalert')) {
    UBDDwpjPTepkTUco('cc0ccd9a12a6a1d063c0a0704a9e0cba');
    class AdjustWare_Cartalert_Model_History extends Mage_Core_Model_Abstract
    {
        public function _construct()
        {
            parent::_construct();
            $this->_init('adjcartalert/history');
        }
    }
}
<?php

/**
 * Product:     Abandoned Carts Alerts Pro for 1.3.x-1.7.0.0 - 01/11/12
 * Package:     AdjustWare_Cartalert_3.1.1_0.2.3_440060
 * Purchase ID: NZmnTZChS7OANNEKozm6XF7MkbUHNw6IY9fsWFBWRT
 * Generated:   2013-01-22 11:08:03
 * File path:   app/code/local/AdjustWare/Cartalert/Block/Rewrite/FrontCheckoutOnepage.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Cartalert')) {
    UBDDwpjPTepkTUco('43962fb0ffc8d705042abb2d5c200dc7');
    class AdjustWare_Cartalert_Block_Rewrite_FrontCheckoutOnepage extends Mage_Checkout_Block_Onepage
    {
    }
}
Exemple #7
0
<?php

/**
 * Product:     Abandoned Carts Alerts Pro for 1.3.x-1.7.0.0 - 01/11/12
 * Package:     AdjustWare_Cartalert_3.1.1_0.2.3_440060
 * Purchase ID: NZmnTZChS7OANNEKozm6XF7MkbUHNw6IY9fsWFBWRT
 * Generated:   2013-01-22 11:08:03
 * File path:   app/code/local/AdjustWare/Cartalert/Model/Mysql4/History/Collection.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Cartalert')) {
    UBDDwpjPTepkTUco('c14f60750ac8fc19670daf771ecc4435');
    class AdjustWare_Cartalert_Model_Mysql4_History_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
    {
        public function _construct()
        {
            parent::_construct();
            $this->_init('adjcartalert/history');
        }
    }
}