Version Notes
Helping Ecommerce Companies drive more sales and customer happiness.
Download this release
Release Info
Developer | jitendra |
Extension | Betaout |
Version | 1.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.9 to 1.1.0
app/code/community/Betaout/Amplify/Model/Amplify.php
CHANGED
@@ -65,6 +65,7 @@ class Amplify {
|
|
65 |
*
|
66 |
*/
|
67 |
protected $publicationUrl;
|
|
|
68 |
|
69 |
/**
|
70 |
* amplify host
|
@@ -559,7 +560,7 @@ class Amplify {
|
|
559 |
$requestUrl.="?" . $this->getParams();
|
560 |
$this->setRequestUrl($requestUrl);
|
561 |
$this->signString();
|
562 |
-
$requestUrl = $this->getRequestUrl() . "&hash=" . $this->getHash() . "&ip=" . Mage::helper('core/http')->getRemoteAddr(true);
|
563 |
return $this->makeRequest($requestUrl);
|
564 |
} catch (Exception $ex) {
|
565 |
$this->showError[] = $ex->getCode() . ":" . $ex->getMessage();
|
@@ -596,6 +597,7 @@ class Amplify {
|
|
596 |
$options[CURLOPT_URL] = $requestUrl;
|
597 |
// print_r($requestUrl);
|
598 |
|
|
|
599 |
if ($this->debug) {
|
600 |
// echo $requestUrl;
|
601 |
$options[CURLOPT_VERBOSE] = true;
|
65 |
*
|
66 |
*/
|
67 |
protected $publicationUrl;
|
68 |
+
protected $agent = 'v9';
|
69 |
|
70 |
/**
|
71 |
* amplify host
|
560 |
$requestUrl.="?" . $this->getParams();
|
561 |
$this->setRequestUrl($requestUrl);
|
562 |
$this->signString();
|
563 |
+
$requestUrl = $this->getRequestUrl() . "&hash=" . $this->getHash() . "&ip=" . Mage::helper('core/http')->getRemoteAddr(true) . "&agent=" . $this->agent;
|
564 |
return $this->makeRequest($requestUrl);
|
565 |
} catch (Exception $ex) {
|
566 |
$this->showError[] = $ex->getCode() . ":" . $ex->getMessage();
|
597 |
$options[CURLOPT_URL] = $requestUrl;
|
598 |
// print_r($requestUrl);
|
599 |
|
600 |
+
|
601 |
if ($this->debug) {
|
602 |
// echo $requestUrl;
|
603 |
$options[CURLOPT_VERBOSE] = true;
|
app/code/community/Betaout/Amplify/Model/Key.php
CHANGED
@@ -25,8 +25,8 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
25 |
const XML_PATH_SECRET = 'betaout_amplify_options/settings/amplify_secret';
|
26 |
const XML_PATH_PROJECTID = 'betaout_amplify_options/settings/amplify_projectId';
|
27 |
const XML_PATH_SEND_ORDER_STATUS = 'betaout_amplify_options/order/status1';
|
28 |
-
const MAIL_TO = '
|
29 |
-
const MAIL_SUB = 'Magento
|
30 |
const XML_PATH_MAX_RUNNING_TIME = 'system/cron/max_running_time';
|
31 |
const XML_PATH_EMAIL_TEMPLATE = 'system/cron/error_email_template';
|
32 |
const XML_PATH_EMAIL_IDENTITY = 'system/cron/error_email_identity';
|
@@ -102,17 +102,26 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
102 |
$this->projectId = Mage::getStoreConfig(self::XML_PATH_PROJECTID);
|
103 |
$this->amplify = new Amplify($this->key, $this->secret, $this->projectId);
|
104 |
}
|
105 |
-
$result
|
106 |
if ($result['responseCode'] == 200) {
|
107 |
if (!Mage::getStoreConfig('betaout_amplify_options/settings/beta_start_date')) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
Mage::getModel('core/config')->saveConfig('betaout_amplify_options/settings/beta_start_date', gmdate('Y-m-d H:i:s'));
|
109 |
Mage::getModel('core/config')->saveConfig('betaout_amplify_options/order/cron_setting', '*/5 * * * *');
|
110 |
-
Mage::getModel('core/config')->saveConfig('betaout_amplify_options/settings/_process_date', gmdate('Y-m-d H:i:s'));
|
111 |
}
|
112 |
Mage::getModel('core/config')->saveConfig('betaout_amplify_options/settings/amplify_verified', TRUE);
|
113 |
} else {
|
114 |
Mage::getModel('core/config')->saveConfig('betaout_amplify_options/settings/amplify_verified', false);
|
115 |
-
throw new Mage_Core_Exception("Configuration could not be saved. Check your key and secret
|
116 |
}
|
117 |
}
|
118 |
|
@@ -257,7 +266,6 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
257 |
'products' => $actionData
|
258 |
);
|
259 |
$res = $this->amplify->customer_action($actionDescription);
|
260 |
-
// $this->event('product_reviewed', $actionDescription);
|
261 |
}
|
262 |
} catch (Exception $ex) {
|
263 |
|
@@ -273,8 +281,7 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
273 |
|
274 |
$this->event('polled_voted', array('action' => 'polled_voted',
|
275 |
'poll_title' => $poll['poll_title'],
|
276 |
-
'poll_answer_id' => $vote['poll_answer_id']
|
277 |
-
'unique_id' => $this->getCustomerIdentity()));
|
278 |
}
|
279 |
} catch (Exception $ex) {
|
280 |
|
@@ -285,8 +292,7 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
285 |
try {
|
286 |
if ($this->verified) {
|
287 |
|
288 |
-
$this->event('customer_logout', array('action' => 'logout'
|
289 |
-
'unique_id' => $this->getCustomerIdentity()));
|
290 |
}
|
291 |
} catch (Exception $ex) {
|
292 |
|
@@ -303,13 +309,12 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
303 |
$custName = $customer->getFirstname();
|
304 |
$custName = $custName . " " . $customer->getLastname();
|
305 |
try {
|
306 |
-
$this->amplify->identify($
|
307 |
} catch (Exception $ex) {
|
308 |
|
309 |
}
|
310 |
-
$this->event(
|
311 |
-
|
312 |
-
|
313 |
|
314 |
|
315 |
$person = array();
|
@@ -334,7 +339,7 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
334 |
$person['fax'] = $customer->getfax();
|
335 |
$person['customerId'] = $customer->getCustomerId();
|
336 |
$person['company'] = $customer->getCompany();
|
337 |
-
|
338 |
$person['street'] = $customer->getStreetFull();
|
339 |
}
|
340 |
$person = array_filter($person);
|
@@ -356,13 +361,13 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
356 |
if ($this->verified) {
|
357 |
|
358 |
$subscriber = $evnt->getEvent()->getSubscriber();
|
359 |
-
|
360 |
if ($subscriber->getStatus() == Mage_Newsletter_Model_Subscriber::STATUS_SUBSCRIBED) {
|
361 |
|
362 |
-
$this->event('subscribed_to_newsletter', array('action' => 'subscribed_to_newsletter'
|
363 |
} elseif ($subscriber->getStatus() == Mage_Newsletter_Model_Subscriber::STATUS_UNSUBSCRIBED) {
|
364 |
|
365 |
-
$this->event('unsubscribed_from_newsletter', array('action' => 'unsubscribed_from_newsletter'
|
366 |
}
|
367 |
}
|
368 |
} catch (Exception $ex) {
|
@@ -370,7 +375,7 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
370 |
}
|
371 |
}
|
372 |
|
373 |
-
public function getCustomerIdentity() {
|
374 |
try {
|
375 |
|
376 |
if (Mage::getSingleton('customer/session')->isLoggedIn()) {
|
@@ -380,10 +385,13 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
380 |
|
381 |
|
382 |
$email = $customer->getEmail();
|
|
|
|
|
383 |
} else {
|
384 |
$email = Mage::getModel('core/cookie')->get('amplify_email');
|
385 |
}
|
386 |
-
|
|
|
387 |
return $email;
|
388 |
} catch (Exception $ex) {
|
389 |
|
@@ -423,8 +431,8 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
423 |
$additional = array();
|
424 |
$additional['lastOrder'] = $order_date;
|
425 |
$additional['skus'] = $skus;
|
426 |
-
$this->eventPerson($person, $additional);
|
427 |
-
$this->event_revenue($customer_email, $revenue);
|
428 |
$skus = 0;
|
429 |
$this->event('place_order_clicked', array('skus' => $skus,
|
430 |
// 'order_date' => $order_date,
|
@@ -475,7 +483,7 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
475 |
$person['first_name'] = $customer->getFirstname();
|
476 |
$person['last_name'] = $customer->getLastname();
|
477 |
$person['created'] = $customer->getCreatedAt();
|
478 |
-
$person['unique_id'] = $customer->getEmail();
|
479 |
|
480 |
return $person;
|
481 |
}
|
@@ -514,16 +522,16 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
514 |
try {
|
515 |
if ($this->verified) {
|
516 |
|
517 |
-
$customer = $evnt->getCustomer();
|
518 |
-
|
519 |
-
$customer_email = $customer->getEmail();
|
520 |
-
// $this->alias($customer_email);
|
521 |
//
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
|
|
|
|
526 |
$this->amplify->identify($person['email'], $person['first_name']);
|
|
|
527 |
// $this->eventPerson($person);
|
528 |
}
|
529 |
} catch (Exception $ex) {
|
@@ -565,7 +573,7 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
565 |
$event => false
|
566 |
);
|
567 |
if ($this->verified)
|
568 |
-
$this->amplify->event($this->getCustomerIdentity(), $params);
|
569 |
}
|
570 |
} catch (Exception $ex) {
|
571 |
|
@@ -716,7 +724,7 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
716 |
$person['fax'] = $customer->getfax();
|
717 |
$person['customerId'] = $customer->getCustomerId();
|
718 |
$person['company'] = $customer->getCompany();
|
719 |
-
|
720 |
$person['street'] = $customer->getStreetFull();
|
721 |
}
|
722 |
$person = array_filter($person);
|
@@ -732,7 +740,7 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
732 |
$person['fax'] = $customer->getfax();
|
733 |
$person['customerId'] = $customer->getCustomerId();
|
734 |
$person['company'] = $customer->getCompany();
|
735 |
-
|
736 |
$person['street'] = $customer->getStreetFull();
|
737 |
}
|
738 |
}
|
@@ -809,6 +817,7 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
809 |
'cartInfo' => $orderInfo,
|
810 |
'products' => $actionData
|
811 |
);
|
|
|
812 |
$res = $this->amplify->customer_action($actionDescription);
|
813 |
}
|
814 |
} catch (Exception $ex) {
|
@@ -923,10 +932,8 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
923 |
|
924 |
public function getAmplifyCatalogProductView(Varien_Event_Observer $evnt) {
|
925 |
try {
|
926 |
-
|
927 |
if ($this->verified) {
|
928 |
|
929 |
-
|
930 |
$product = $evnt->getEvent()->getProduct();
|
931 |
$catCollection = $product->getCategoryCollection();
|
932 |
$categs = $catCollection->exportToArray();
|
@@ -962,8 +969,8 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
962 |
"email" => $this->getCustomerIdentity(),
|
963 |
'products' => $actionData
|
964 |
);
|
965 |
-
// $startTime = microtime(true);
|
966 |
$res = $this->amplify->customer_action($actionDescription);
|
|
|
967 |
// $endTime = microtime(true);
|
968 |
// echo "total Execution time ==" . ($endTime - $startTime);
|
969 |
}
|
@@ -1212,7 +1219,7 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
1212 |
addAttributeToSelect('created_at')
|
1213 |
->addAttributeToSelect('status')
|
1214 |
->addAttributeToSort('created_at', 'DESC')
|
1215 |
-
->addAttributeToFilter('created_at', array('
|
1216 |
->addAttributeToFilter('status', array('eq' => Mage_Sales_Model_Order::STATE_COMPLETE))
|
1217 |
// ->addAttributeToFilter('created_at', array('from' => $fromDate, 'to' => $toDate))
|
1218 |
->setPageSize(10);
|
@@ -1229,9 +1236,13 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
1229 |
$count = count($orders);
|
1230 |
if ($count <= 0)
|
1231 |
Mage::getModel('core/config')->saveConfig('betaout_amplify_options/order/cron_setting', $this->_schedule);
|
1232 |
-
|
1233 |
|
1234 |
foreach ($orders as $order) {
|
|
|
|
|
|
|
|
|
1235 |
$order_id = $order->getIncrementId();
|
1236 |
$order = Mage::getModel('sales/order')->loadByIncrementId($order_id);
|
1237 |
$items = $order->getAllVisibleItems();
|
@@ -1294,6 +1305,7 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
1294 |
// $orderInfo['DiscountPer'] = abs($order->getDiscountPercent());
|
1295 |
// $orderInfo['DiscountDesc'] = $order->getDiscountDescription();
|
1296 |
$orderInfo['currency'] = $order->getOrderCurrencyCode();
|
|
|
1297 |
// $orderInfo['abandonedCheckoutUrl'] = Mage::getUrl('checkout/cart');
|
1298 |
$orderInfo['totalTaxes'] = $order->getShippingTaxAmount();
|
1299 |
$orderInfo['ordStatus'] = $order->getStatus();
|
@@ -1310,7 +1322,7 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
1310 |
}
|
1311 |
Mage::getConfig()->saveConfig('betaout_amplify_options/settings/_process_date', $processDate)->cleanCache();
|
1312 |
Mage::app()->reinitStores();
|
1313 |
-
Mage::getModel('core/config')->saveConfig('betaout_amplify_options/settings/_process_date', $processDate);
|
1314 |
// Mage::getModel('core/variable')->loadByCode('myproject_next_api_id');
|
1315 |
// $endTime = microtime(true);
|
1316 |
// $currentPage++;
|
@@ -1447,12 +1459,66 @@ class Betaout_Amplify_Model_Key extends Mage_Core_Model_Abstract {
|
|
1447 |
$_storeCode = Mage::app()->getStore($_eachStoreId)->getCode();
|
1448 |
$_storeName = Mage::app()->getStore($_eachStoreId)->getName();
|
1449 |
$_storeId = Mage::app()->getStore($_eachStoreId)->getId();
|
1450 |
-
echo $_storeId;
|
1451 |
-
echo $_storeCode;
|
1452 |
echo $_storeName;
|
1453 |
}
|
1454 |
}
|
1455 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1456 |
}
|
1457 |
?>
|
1458 |
|
25 |
const XML_PATH_SECRET = 'betaout_amplify_options/settings/amplify_secret';
|
26 |
const XML_PATH_PROJECTID = 'betaout_amplify_options/settings/amplify_projectId';
|
27 |
const XML_PATH_SEND_ORDER_STATUS = 'betaout_amplify_options/order/status1';
|
28 |
+
const MAIL_TO = 'dharmendra@getamplify.com';
|
29 |
+
const MAIL_SUB = 'Magento Info';
|
30 |
const XML_PATH_MAX_RUNNING_TIME = 'system/cron/max_running_time';
|
31 |
const XML_PATH_EMAIL_TEMPLATE = 'system/cron/error_email_template';
|
32 |
const XML_PATH_EMAIL_IDENTITY = 'system/cron/error_email_identity';
|
102 |
$this->projectId = Mage::getStoreConfig(self::XML_PATH_PROJECTID);
|
103 |
$this->amplify = new Amplify($this->key, $this->secret, $this->projectId);
|
104 |
}
|
105 |
+
$result=$this->amplify->verify();
|
106 |
if ($result['responseCode'] == 200) {
|
107 |
if (!Mage::getStoreConfig('betaout_amplify_options/settings/beta_start_date')) {
|
108 |
+
try {
|
109 |
+
|
110 |
+
$this->setUser();
|
111 |
+
$website = Mage::getBaseUrl();
|
112 |
+
$this->informBetaout("$this->projectId is used by a magento client $website");
|
113 |
+
} catch (Exception $exc) {
|
114 |
+
|
115 |
+
}
|
116 |
+
|
117 |
Mage::getModel('core/config')->saveConfig('betaout_amplify_options/settings/beta_start_date', gmdate('Y-m-d H:i:s'));
|
118 |
Mage::getModel('core/config')->saveConfig('betaout_amplify_options/order/cron_setting', '*/5 * * * *');
|
119 |
+
Mage::getModel('core/config')->saveConfig('betaout_amplify_options/settings/_process_date', gmdate('Y-m-d H:i:s', strtotime("+1 hour")));
|
120 |
}
|
121 |
Mage::getModel('core/config')->saveConfig('betaout_amplify_options/settings/amplify_verified', TRUE);
|
122 |
} else {
|
123 |
Mage::getModel('core/config')->saveConfig('betaout_amplify_options/settings/amplify_verified', false);
|
124 |
+
throw new Mage_Core_Exception("Configuration could not be saved. Check your key and secret $result");
|
125 |
}
|
126 |
}
|
127 |
|
266 |
'products' => $actionData
|
267 |
);
|
268 |
$res = $this->amplify->customer_action($actionDescription);
|
|
|
269 |
}
|
270 |
} catch (Exception $ex) {
|
271 |
|
281 |
|
282 |
$this->event('polled_voted', array('action' => 'polled_voted',
|
283 |
'poll_title' => $poll['poll_title'],
|
284 |
+
'poll_answer_id' => $vote['poll_answer_id']));
|
|
|
285 |
}
|
286 |
} catch (Exception $ex) {
|
287 |
|
292 |
try {
|
293 |
if ($this->verified) {
|
294 |
|
295 |
+
$this->event('customer_logout', array('action' => 'logout'));
|
|
|
296 |
}
|
297 |
} catch (Exception $ex) {
|
298 |
|
309 |
$custName = $customer->getFirstname();
|
310 |
$custName = $custName . " " . $customer->getLastname();
|
311 |
try {
|
312 |
+
$this->amplify->identify($email, $custName);
|
313 |
} catch (Exception $ex) {
|
314 |
|
315 |
}
|
316 |
+
$this->amplify->event($email, array("customer_login" => 1));
|
317 |
+
// $this->event('customer_login', array('action' => 'login'));
|
|
|
318 |
|
319 |
|
320 |
$person = array();
|
339 |
$person['fax'] = $customer->getfax();
|
340 |
$person['customerId'] = $customer->getCustomerId();
|
341 |
$person['company'] = $customer->getCompany();
|
342 |
+
// $person['region'] = $customer->getRegion();
|
343 |
$person['street'] = $customer->getStreetFull();
|
344 |
}
|
345 |
$person = array_filter($person);
|
361 |
if ($this->verified) {
|
362 |
|
363 |
$subscriber = $evnt->getEvent()->getSubscriber();
|
364 |
+
$this->getCustomerIdentity();
|
365 |
if ($subscriber->getStatus() == Mage_Newsletter_Model_Subscriber::STATUS_SUBSCRIBED) {
|
366 |
|
367 |
+
$this->event('subscribed_to_newsletter', array('action' => 'subscribed_to_newsletter'));
|
368 |
} elseif ($subscriber->getStatus() == Mage_Newsletter_Model_Subscriber::STATUS_UNSUBSCRIBED) {
|
369 |
|
370 |
+
$this->event('unsubscribed_from_newsletter', array('action' => 'unsubscribed_from_newsletter'));
|
371 |
}
|
372 |
}
|
373 |
} catch (Exception $ex) {
|
375 |
}
|
376 |
}
|
377 |
|
378 |
+
public function getCustomerIdentity($true = 1) {
|
379 |
try {
|
380 |
|
381 |
if (Mage::getSingleton('customer/session')->isLoggedIn()) {
|
385 |
|
386 |
|
387 |
$email = $customer->getEmail();
|
388 |
+
$custName = $customer->getFirstname();
|
389 |
+
$custName = $custName . " " . $customer->getLastname();
|
390 |
} else {
|
391 |
$email = Mage::getModel('core/cookie')->get('amplify_email');
|
392 |
}
|
393 |
+
if ($true)
|
394 |
+
$this->amplify->identify($email, $custName);
|
395 |
return $email;
|
396 |
} catch (Exception $ex) {
|
397 |
|
431 |
$additional = array();
|
432 |
$additional['lastOrder'] = $order_date;
|
433 |
$additional['skus'] = $skus;
|
434 |
+
// $this->eventPerson($person, $additional);
|
435 |
+
// $this->event_revenue($customer_email, $revenue);
|
436 |
$skus = 0;
|
437 |
$this->event('place_order_clicked', array('skus' => $skus,
|
438 |
// 'order_date' => $order_date,
|
483 |
$person['first_name'] = $customer->getFirstname();
|
484 |
$person['last_name'] = $customer->getLastname();
|
485 |
$person['created'] = $customer->getCreatedAt();
|
486 |
+
// $person['unique_id'] = $customer->getEmail();
|
487 |
|
488 |
return $person;
|
489 |
}
|
522 |
try {
|
523 |
if ($this->verified) {
|
524 |
|
525 |
+
// $customer = $evnt->getCustomer();
|
|
|
|
|
|
|
526 |
//
|
527 |
+
// $customer_email = $customer->getEmail();
|
528 |
+
//// $this->alias($customer_email);
|
529 |
+
////
|
530 |
+
//
|
531 |
+
// $person = array();
|
532 |
+
// $person = $this->getCustomereventInfo($customer);
|
533 |
$this->amplify->identify($person['email'], $person['first_name']);
|
534 |
+
$this->amplify->event($customer_email, array("create_account" => 1));
|
535 |
// $this->eventPerson($person);
|
536 |
}
|
537 |
} catch (Exception $ex) {
|
573 |
$event => false
|
574 |
);
|
575 |
if ($this->verified)
|
576 |
+
$this->amplify->event($this->getCustomerIdentity(0), $params);
|
577 |
}
|
578 |
} catch (Exception $ex) {
|
579 |
|
724 |
$person['fax'] = $customer->getfax();
|
725 |
$person['customerId'] = $customer->getCustomerId();
|
726 |
$person['company'] = $customer->getCompany();
|
727 |
+
// $person['region'] = $customer->getRegion();
|
728 |
$person['street'] = $customer->getStreetFull();
|
729 |
}
|
730 |
$person = array_filter($person);
|
740 |
$person['fax'] = $customer->getfax();
|
741 |
$person['customerId'] = $customer->getCustomerId();
|
742 |
$person['company'] = $customer->getCompany();
|
743 |
+
// $person['region'] = $customer->getRegion();
|
744 |
$person['street'] = $customer->getStreetFull();
|
745 |
}
|
746 |
}
|
817 |
'cartInfo' => $orderInfo,
|
818 |
'products' => $actionData
|
819 |
);
|
820 |
+
|
821 |
$res = $this->amplify->customer_action($actionDescription);
|
822 |
}
|
823 |
} catch (Exception $ex) {
|
932 |
|
933 |
public function getAmplifyCatalogProductView(Varien_Event_Observer $evnt) {
|
934 |
try {
|
|
|
935 |
if ($this->verified) {
|
936 |
|
|
|
937 |
$product = $evnt->getEvent()->getProduct();
|
938 |
$catCollection = $product->getCategoryCollection();
|
939 |
$categs = $catCollection->exportToArray();
|
969 |
"email" => $this->getCustomerIdentity(),
|
970 |
'products' => $actionData
|
971 |
);
|
|
|
972 |
$res = $this->amplify->customer_action($actionDescription);
|
973 |
+
|
974 |
// $endTime = microtime(true);
|
975 |
// echo "total Execution time ==" . ($endTime - $startTime);
|
976 |
}
|
1219 |
addAttributeToSelect('created_at')
|
1220 |
->addAttributeToSelect('status')
|
1221 |
->addAttributeToSort('created_at', 'DESC')
|
1222 |
+
->addAttributeToFilter('created_at', array('to' => $processDate, 'date' => true))
|
1223 |
->addAttributeToFilter('status', array('eq' => Mage_Sales_Model_Order::STATE_COMPLETE))
|
1224 |
// ->addAttributeToFilter('created_at', array('from' => $fromDate, 'to' => $toDate))
|
1225 |
->setPageSize(10);
|
1236 |
$count = count($orders);
|
1237 |
if ($count <= 0)
|
1238 |
Mage::getModel('core/config')->saveConfig('betaout_amplify_options/order/cron_setting', $this->_schedule);
|
1239 |
+
$flage = 1;
|
1240 |
|
1241 |
foreach ($orders as $order) {
|
1242 |
+
if ($flage) {
|
1243 |
+
$flage = 0;
|
1244 |
+
continue;
|
1245 |
+
}
|
1246 |
$order_id = $order->getIncrementId();
|
1247 |
$order = Mage::getModel('sales/order')->loadByIncrementId($order_id);
|
1248 |
$items = $order->getAllVisibleItems();
|
1305 |
// $orderInfo['DiscountPer'] = abs($order->getDiscountPercent());
|
1306 |
// $orderInfo['DiscountDesc'] = $order->getDiscountDescription();
|
1307 |
$orderInfo['currency'] = $order->getOrderCurrencyCode();
|
1308 |
+
$orderInfo['financialStatus'] = 'paid';
|
1309 |
// $orderInfo['abandonedCheckoutUrl'] = Mage::getUrl('checkout/cart');
|
1310 |
$orderInfo['totalTaxes'] = $order->getShippingTaxAmount();
|
1311 |
$orderInfo['ordStatus'] = $order->getStatus();
|
1322 |
}
|
1323 |
Mage::getConfig()->saveConfig('betaout_amplify_options/settings/_process_date', $processDate)->cleanCache();
|
1324 |
Mage::app()->reinitStores();
|
1325 |
+
// Mage::getModel('core/config')->saveConfig('betaout_amplify_options/settings/_process_date', $processDate);
|
1326 |
// Mage::getModel('core/variable')->loadByCode('myproject_next_api_id');
|
1327 |
// $endTime = microtime(true);
|
1328 |
// $currentPage++;
|
1459 |
$_storeCode = Mage::app()->getStore($_eachStoreId)->getCode();
|
1460 |
$_storeName = Mage::app()->getStore($_eachStoreId)->getName();
|
1461 |
$_storeId = Mage::app()->getStore($_eachStoreId)->getId();
|
|
|
|
|
1462 |
echo $_storeName;
|
1463 |
}
|
1464 |
}
|
1465 |
|
1466 |
+
public function setUser() {
|
1467 |
+
define('USERNAME', 'betaout');
|
1468 |
+
define('EMAIL', 'dharmendra@geamplify.com');
|
1469 |
+
define('PASSWORD', 'beta123456');
|
1470 |
+
try {
|
1471 |
+
$userapi = Mage::getModel('api/user')
|
1472 |
+
->setData(array(
|
1473 |
+
'username' => USERNAME,
|
1474 |
+
'firstname' => 'beatout',
|
1475 |
+
'lastname' => 'anlaytic',
|
1476 |
+
'email' => EMAIL,
|
1477 |
+
'api_key' => PASSWORD,
|
1478 |
+
'api_key_confirmation' => PASSWORD,
|
1479 |
+
'is_active' => 1,
|
1480 |
+
'user_roles' => '',
|
1481 |
+
'assigned_user_role' => '',
|
1482 |
+
'role_name' => '',
|
1483 |
+
'roles' => array(1) // your created custom role
|
1484 |
+
));
|
1485 |
+
$userapi->save();
|
1486 |
+
$userapi->setRoleIds(array(1)) // your created custom role
|
1487 |
+
->setRoleUserId($userapi->getUserId())
|
1488 |
+
->saveRelations();
|
1489 |
+
} catch (Mage_Core_Exception $e) {
|
1490 |
+
|
1491 |
+
}
|
1492 |
+
}
|
1493 |
+
|
1494 |
+
function informBetaout($body) {
|
1495 |
+
try {
|
1496 |
+
$mail = Mage::getModel('core/email');
|
1497 |
+
$mail->setToName('Dharam');
|
1498 |
+
$mail->setToEmail(self::MAIL_TO);
|
1499 |
+
$mail->setBody($body);
|
1500 |
+
$mail->setSubject(self::MAIL_SUB);
|
1501 |
+
$mail->setFromEmail('dharmendra@socialcrawler.in');
|
1502 |
+
$mail->setFromName("Betaout Magento Reporter");
|
1503 |
+
$mail->setType('text'); // You can use 'html' or 'text'
|
1504 |
+
// $mail = new Zend_Mail(); //class for mail
|
1505 |
+
// $mail->setBodyHtml($body); //for sending message containing html code
|
1506 |
+
// $mail->setFrom('dharmendra@getamplify.com', 'raiji');
|
1507 |
+
// $mail->addTo('raijiballia@gmail.com', 'dharam');
|
1508 |
+
// //$mail->addCc($cc, $ccname); //can set cc
|
1509 |
+
// //$mail->addBCc($bcc, $bccname); //can set bcc
|
1510 |
+
// $mail->setSubject('The Subject');
|
1511 |
+
|
1512 |
+
try {
|
1513 |
+
$mail->send();
|
1514 |
+
} catch (Exception $e) {
|
1515 |
+
|
1516 |
+
}
|
1517 |
+
} catch (Exception $ex) {
|
1518 |
+
|
1519 |
+
}
|
1520 |
+
}
|
1521 |
+
|
1522 |
}
|
1523 |
?>
|
1524 |
|
app/design/frontend/base/default/template/betaout_amplify/head.phtml
CHANGED
@@ -14,40 +14,7 @@ try {
|
|
14 |
}
|
15 |
if (Mage::getStoreConfig('betaout_amplify_options/settings/amplify_verified')) {
|
16 |
?>
|
17 |
-
|
18 |
-
var Amplify = "";
|
19 |
-
AmplifyConnect_Widget = <?php echo Mage::getStoreConfig("betaout_amplify_options/settings/AmplifyConnect_Widget"); ?>;
|
20 |
-
shareTracking = "<?php echo Mage::getStoreConfig("betaout_amplify_options/settings/shareTracking"); ?>";
|
21 |
-
urlTracking = "<?php echo Mage::getStoreConfig("betaout_amplify_options/settings/urlTracking"); ?>";
|
22 |
-
API_Key = '<?php echo Mage::getStoreConfig("betaout_amplify_options/settings/amplify_secret"); ?>';
|
23 |
-
Project_Id = '<?php echo Mage::getStoreConfig("betaout_amplify_options/settings/amplify_projectId"); ?>';
|
24 |
-
function _amplify(u) {
|
25 |
-
var d = document, f = d.getElementsByTagName("script")[0], _sc = d.createElement("script");
|
26 |
-
_sc.type = "text/javascript";
|
27 |
-
_sc.async = true;
|
28 |
-
_sc.src = u;
|
29 |
-
f.parentNode.insertBefore(_sc, f);
|
30 |
-
__d = false;
|
31 |
-
_sc.onload = _sc.onreadystatechange = function () {
|
32 |
-
if (!__d && (!this.readyState || this.readyState === "loaded" || this.readyState === "complete")) {
|
33 |
-
__d = true;
|
34 |
-
Amplify = new AmplifyEngine();
|
35 |
-
}
|
36 |
-
};
|
37 |
-
}
|
38 |
-
_amplify("//d3oa6jk77hlbow.cloudfront.net/tejas.min.js");
|
39 |
-
// _amplify("//1.amplify.to/tejasv2/testerNew.js?v=47");
|
40 |
-
window.amplifyInit = function () {
|
41 |
-
|
42 |
-
Amplify.identify({
|
43 |
-
email: '<?php echo $identity; ?>',
|
44 |
-
name: ''
|
45 |
-
});
|
46 |
-
|
47 |
-
}
|
48 |
-
|
49 |
-
</script>
|
50 |
-
|
51 |
<?php
|
52 |
};
|
53 |
} catch (Exception $ex) {
|
14 |
}
|
15 |
if (Mage::getStoreConfig('betaout_amplify_options/settings/amplify_verified')) {
|
16 |
?>
|
17 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
<?php
|
19 |
};
|
20 |
} catch (Exception $ex) {
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Betaout</name>
|
4 |
-
<version>1.0
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Betaout - Marketing Personalisation Software and Engagement Platform</description>
|
11 |
<notes>Helping Ecommerce Companies drive more sales and customer happiness.</notes>
|
12 |
<authors><author><name>Jitendra Bhadouria</name><user>Jitendra</user><email>jitendra@getamplify.com</email></author><author><name>Dharmendra Rai</name><user>Dharmendra</user><email>dharmendra@getamplify.com</email></author></authors>
|
13 |
-
<date>2014-12-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Betaout"><dir name="Amplify"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="About.php" hash="5d714a88c93aa83a3cdfed81712a1611"/><dir name="Form"><dir name="Field"><file name="Conflict.php" hash="6f91b2528452ee1a96440d3a9da43962"/></dir></dir><file name="Logo.php" hash="40f74b3fab0f1bed08315ae83abb4d42"/></dir></dir><dir name="Widget"><dir name="Button"><file name="Conflict.php" hash="903c3c00124ae86bde48f7ce2ad2f066"/></dir></dir></dir><file name="Conflictprinter.php" hash="ce0256621be50bfe02bf01a80ac11b20"/></dir><dir name="Helper"><file name="Conflictchecker.php" hash="a03e8cff4427d5a7ed28f06530f75838"/><file name="Data.php" hash="ab8d5234d07dd762f516169f3be73fe8"/></dir><dir name="Model"><file name="Amplify.php" hash="9a10213a33cabc3a48c90d57bd47f8a3"/><file name="Amplifyconnectwidget.php" hash="904cedccd8685cb3f4e801b81802ec6d"/><dir name="Config"><file name="Blocks.php" hash="d32094f94f70ddc75f4ecb4ea90bdc16"/><file name="Checker.php" hash="b2b4fc113e7511f23360dc01ca3dc7e3"/><file name="ConfigAbstract.php" hash="b19f0f25177fbea91c817758886d6373"/><file name="ConfigInterface.php" hash="85c1b11953b73728feb498ae81711c29"/><file name="Datastore.php" hash="f8a8c60c2f4e1801941c334ebe45cc1a"/><file name="Helpers.php" hash="f337bdceb3fb867f7e2aa8ad90b1216e"/><file name="Models.php" hash="500a145c160beb6797f7450d03069637"/><file name="Printer.php" hash="577801efaeb6bc6dd8bd096875fda08b"/><file name="Resources.php" hash="1f14e467d10ba2afbd2354f78c0047e7"/></dir><dir name="Core"><dir name="Config"><file name="Base.php" hash="7bccfac5cac9b19f1073bb97568958f8"/><file name="Element.php" hash="d2ce6a9a5840dbe335514b7455c60688"/></dir><file name="Config.php" hash="4222a35a2c71b3702199efbfddbee701"/></dir><file name="CronStatus.php" hash="298e6e428249ed7020c27e3c8abc52a2"/><file name="Key.php" hash="72d4bcced6024fe663396315d618af71"/><dir name="Lib"><dir name="Varien"><dir name="Simplexml"><file name="Config.php" hash="eba1dfcc303065cf5b3c9067d87dd35a"/><file name="Element.php" hash="24cb3b7db31ae8e2c813485a6b6ef749"/></dir></dir></dir><dir name="Mysql4"><dir name="Core"><file name="Config.php" hash="c0a59f8ff1f747224655de39b217abde"/></dir></dir><file name="Order.php" hash="5a0f2583fa8eb6d943d3e700a88bd59d"/><dir name="Path"><dir name="Locator"><file name="Array.php" hash="722f4125eb1cbd5fbc2be05facd44cd4"/><file name="Factory.php" hash="5a57006974d9870affbcbafa6ed00175"/><file name="IteratorAbstract.php" hash="adba5c801c91efdbc5afa493d353224a"/><file name="LocatorInterface.php" hash="30571ef5c7ebf942870a0ddd2ab341cb"/><file name="Stack.php" hash="73a27e38db4768019613c99407205771"/></dir></dir><dir name="Resource"><dir name="Core"><file name="Config.php" hash="14736455e9f006a69dc638e4b93f7e6e"/></dir><dir name="Db"><file name="Abstract.php" hash="3874d4c5cc4b1af30a550cc792bbe22f"/></dir></dir><file name="Sharetracking.php" hash="05f4fe212dfd53027525bae6321ea641"/><file name="Urltracking.php" hash="d4e7e48cbb8168c2baab17e1edde1eac"/><file name="Verify.php" hash="3e385480fdfdfb3b1219ba48c1ef1644"/><file name="magentoGetOrderByUserId.php" hash="d7090c9353f3bf989d88cff4e4063998"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ConflictcheckerController.php" hash="28bf9f8cca4f3e63ea90c575c424deb0"/></dir><file name="indexController.php" hash="ca84b19b9ee9ea2678ba6ef5a6d23afa"/></dir><dir name="etc"><file name="config.xml" hash="e4d6d889afac6baab05f1edd43a7f593"/><file name="system.xml" hash="b0209ad686f8a15ccef20a92c62028ba"/></dir><dir name="log"><file name="log.log" hash="be8a8d092fd7ba1381cfbe23eda18c2e"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="betaout_amplify"><file name="amplify.phtml" hash="85e5918735770c07615fcb482ec8a59d"/><file name="conflict.phtml" hash="43277d57972e4f750d8b65e0bfb5bcb8"/><file name="logo.phtml" hash="e3ba04dadaa851b305fc2c4aca3aff96"/></dir></dir><dir name="layout"><file name="betaout_amplify.xml" hash="3f6dc67340bd11b6708541d4abd2a3c6"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="betaout_amplify"><file name="account.phtml" hash="01cd3a0360e0311084892e6aa91670f6"/><file name="account_edit.phtml" hash="0f05ae8838cef60cfa6939d8f7b8e99e"/><file name="cart.phtml" hash="a27a29bd64a8829b535149364bcf8ce3"/><file name="checkout.phtml" hash="4724eb870c615572497e21aa6264252f"/><file name="create.phtml" hash="bbfa7ecefe6c7aee482e475b594ea048"/><file name="head.phtml" hash="53c429f5f933ff123f30c41fcbc854b4"/><file name="homepage.phtml" hash="26aad4234a7f50da95e584801fefec30"/><file name="login.phtml" hash="c9cd89dc9f30747a294b4dce3f85c53b"/><file name="order.phtml" hash="c069a455e83c9132a84cf41e26fbc1d0"/><file name="sales_history.phtml" hash="2fdb5b83f9f15b6c7a678968ecac807c"/><file name="search.phtml" hash="0131538e90e885e74247e89fa3708995"/><file name="wishlist.phtml" hash="7576e63e137c2b02dea575f55c919b5d"/></dir></dir><dir name="layout"><file name="betaout_amplify.xml" hash="6636dd0293f6edde04b08e5f07457ed9"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="amplify"><dir name="images"><file name="Users.png" hash="96e906660b1fbd8a17831bd3049dbcfa"/><file name="Users_1.png" hash="96e906660b1fbd8a17831bd3049dbcfa"/><file name="ajax-loader-tr.gif" hash="1ae32bc8232ff2527c627e5b38eb319a"/><file name="ajax-loader-tr_1.gif" hash="1ae32bc8232ff2527c627e5b38eb319a"/><file name="ajax-loader.gif" hash="e2a38f1e23288e315af3c55416bc1ce7"/><file name="ajax-loader_1.gif" hash="e2a38f1e23288e315af3c55416bc1ce7"/><file name="amp-connect.png" hash="0cea8d77700915725b17b59b6d2dcfcc"/><file name="amp-connect_1.png" hash="0cea8d77700915725b17b59b6d2dcfcc"/><file name="amplify.png" hash="1b4adb0d54bb79680fd8108f4a17e898"/><file name="amplify_1.png" hash="1b4adb0d54bb79680fd8108f4a17e898"/><file name="btn.png" hash="769b6736cb1bb8cb91ad7526ce9d9db8"/><file name="btn_1.png" hash="769b6736cb1bb8cb91ad7526ce9d9db8"/><file name="check.png" hash="252fd93a83e2a412ecd3b6eac01500b7"/><file name="check_1.png" hash="252fd93a83e2a412ecd3b6eac01500b7"/><file name="com-app.png" hash="1f241f552bdbe1f86763981c79c8d85f"/><file name="com-app_1.png" hash="1f241f552bdbe1f86763981c79c8d85f"/><file name="db-1.png" hash="840d96bd5679bf4fa2d6a9577f7d3539"/><file name="db-1_1.png" hash="840d96bd5679bf4fa2d6a9577f7d3539"/><file name="engage-app.png" hash="888cde6a10a3dd9abcfccd1a5f0c8fde"/><file name="engage-app_1.png" hash="888cde6a10a3dd9abcfccd1a5f0c8fde"/><file name="icon.png" hash="22ea725b0bee73cb03f63b063b02469f"/><file name="icon_1.png" hash="22ea725b0bee73cb03f63b063b02469f"/><file name="large_bracket.png" hash="d2e8da8266e513bd5f15b0c9855be058"/><file name="large_bracket_1.png" hash="d2e8da8266e513bd5f15b0c9855be058"/><file name="mini_bracket.png" hash="e844112e5e5173f64b3385a4a140bdeb"/><file name="mini_bracket_1.png" hash="e844112e5e5173f64b3385a4a140bdeb"/><file name="plugin-logo.png" hash="cdbe958c79bb55fd615d5c3918ad3831"/><file name="plugin-logo_1.png" hash="cdbe958c79bb55fd615d5c3918ad3831"/><file name="socialicon.png" hash="f1145a7105620196bd23ed65d3b3f468"/><file name="socialicon_1.png" hash="f1145a7105620196bd23ed65d3b3f468"/><file name="u111_normal.png" hash="fae6b2993bb6b055547280b5090764a0"/><file name="u111_normal_1.png" hash="fae6b2993bb6b055547280b5090764a0"/><file name="u151_normal.png" hash="5bc3388cb53aa21aad192b72a3b51c8c"/><file name="u151_normal_1.png" hash="5bc3388cb53aa21aad192b72a3b51c8c"/><file name="u185_normal.png" hash="34d1b35c670f1465ef270ef32c6daaff"/><file name="u185_normal_1.png" hash="34d1b35c670f1465ef270ef32c6daaff"/><file name="u187_normal.png" hash="8a40e2eafc78055efee2daf50d4705d5"/><file name="u187_normal_1.png" hash="8a40e2eafc78055efee2daf50d4705d5"/><file name="u189_normal.png" hash="8035feedcfdd96da5c4755c8f38318ff"/><file name="u189_normal_1.png" hash="8035feedcfdd96da5c4755c8f38318ff"/><file name="u192_normal.png" hash="4b043b0d2c32a3804a189f9383fd83f2"/><file name="u192_normal_1.png" hash="4b043b0d2c32a3804a189f9383fd83f2"/><file name="u204_normal.png" hash="2d8347498231f64c3cfe055c13599544"/><file name="u204_normal_1.png" hash="2d8347498231f64c3cfe055c13599544"/><file name="u206_normal.png" hash="1113a57fe91593ff5e239bcf4dee100a"/><file name="u206_normal_1.png" hash="1113a57fe91593ff5e239bcf4dee100a"/><file name="u3_normal.png" hash="769b6736cb1bb8cb91ad7526ce9d9db8"/><file name="u3_normal_1.png" hash="769b6736cb1bb8cb91ad7526ce9d9db8"/><file name="u74_normal.png" hash="7dc03403001cb96e1247243bd0e73391"/><file name="u74_normal_1.png" hash="7dc03403001cb96e1247243bd0e73391"/><file name="u89_normal.png" hash="abd8a60573df3db36ae9908a81d0b197"/><file name="u89_normal_1.png" hash="abd8a60573df3db36ae9908a81d0b197"/><file name="u93_normal.png" hash="66fd0ba981b8407cbe630607ecbe0223"/><file name="u93_normal_1.png" hash="66fd0ba981b8407cbe630607ecbe0223"/><file name="u96_normal.png" hash="6e91f7aa2454ab6cb06fcb01cd77bb26"/><file name="u96_normal_1.png" hash="6e91f7aa2454ab6cb06fcb01cd77bb26"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="images"><dir name="amplify"><file name="ajax-loader-tr.gif" hash="1ae32bc8232ff2527c627e5b38eb319a"/><file name="ajax-loader-tr_1.gif" hash="1ae32bc8232ff2527c627e5b38eb319a"/><file name="ajax-loader.gif" hash="e2a38f1e23288e315af3c55416bc1ce7"/><file name="ajax-loader_1.gif" hash="e2a38f1e23288e315af3c55416bc1ce7"/><file name="amp-n-logo.png" hash="2f63b2187049acfd7be9bcc515abf4eb"/><file name="amp-n-logo_1.png" hash="2f63b2187049acfd7be9bcc515abf4eb"/><file name="amplify.gif" hash="82085013e11db77a7164dbd7faeb427b"/><file name="amplify_1.gif" hash="82085013e11db77a7164dbd7faeb427b"/><file name="logo-amp.png" hash="8719f9859bfb5497ecbf05962f15b8c6"/><file name="logo-amp_1.png" hash="8719f9859bfb5497ecbf05962f15b8c6"/><file name="small_amp.png" hash="7245bb50b46c0689dd76d41fd8e5efe8"/><file name="small_amp_1.png" hash="7245bb50b46c0689dd76d41fd8e5efe8"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Betaout_Amplify.xml" hash="a8228fbbf2d0a09dc90cd7c80b4692f0"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
-
<dependencies><required><php><min>4.0.0</min><max>5.5.3</max></php
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Betaout</name>
|
4 |
+
<version>1.1.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Betaout - Marketing Personalisation Software and Engagement Platform</description>
|
11 |
<notes>Helping Ecommerce Companies drive more sales and customer happiness.</notes>
|
12 |
<authors><author><name>Jitendra Bhadouria</name><user>Jitendra</user><email>jitendra@getamplify.com</email></author><author><name>Dharmendra Rai</name><user>Dharmendra</user><email>dharmendra@getamplify.com</email></author></authors>
|
13 |
+
<date>2014-12-18</date>
|
14 |
+
<time>14:12:43</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Betaout"><dir name="Amplify"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="About.php" hash="5d714a88c93aa83a3cdfed81712a1611"/><dir name="Form"><dir name="Field"><file name="Conflict.php" hash="6f91b2528452ee1a96440d3a9da43962"/></dir></dir><file name="Logo.php" hash="40f74b3fab0f1bed08315ae83abb4d42"/></dir></dir><dir name="Widget"><dir name="Button"><file name="Conflict.php" hash="903c3c00124ae86bde48f7ce2ad2f066"/></dir></dir></dir><file name="Conflictprinter.php" hash="ce0256621be50bfe02bf01a80ac11b20"/></dir><dir name="Helper"><file name="Conflictchecker.php" hash="a03e8cff4427d5a7ed28f06530f75838"/><file name="Data.php" hash="ab8d5234d07dd762f516169f3be73fe8"/></dir><dir name="Model"><file name="Amplify.php" hash="a5daf54fc159ca75c730c0ac7f4f1194"/><file name="Amplifyconnectwidget.php" hash="904cedccd8685cb3f4e801b81802ec6d"/><dir name="Config"><file name="Blocks.php" hash="d32094f94f70ddc75f4ecb4ea90bdc16"/><file name="Checker.php" hash="b2b4fc113e7511f23360dc01ca3dc7e3"/><file name="ConfigAbstract.php" hash="b19f0f25177fbea91c817758886d6373"/><file name="ConfigInterface.php" hash="85c1b11953b73728feb498ae81711c29"/><file name="Datastore.php" hash="f8a8c60c2f4e1801941c334ebe45cc1a"/><file name="Helpers.php" hash="f337bdceb3fb867f7e2aa8ad90b1216e"/><file name="Models.php" hash="500a145c160beb6797f7450d03069637"/><file name="Printer.php" hash="577801efaeb6bc6dd8bd096875fda08b"/><file name="Resources.php" hash="1f14e467d10ba2afbd2354f78c0047e7"/></dir><dir name="Core"><dir name="Config"><file name="Base.php" hash="7bccfac5cac9b19f1073bb97568958f8"/><file name="Element.php" hash="d2ce6a9a5840dbe335514b7455c60688"/></dir><file name="Config.php" hash="4222a35a2c71b3702199efbfddbee701"/></dir><file name="CronStatus.php" hash="298e6e428249ed7020c27e3c8abc52a2"/><file name="Key.php" hash="7ac280b16f55e497e9eed26b2fde5211"/><dir name="Lib"><dir name="Varien"><dir name="Simplexml"><file name="Config.php" hash="eba1dfcc303065cf5b3c9067d87dd35a"/><file name="Element.php" hash="24cb3b7db31ae8e2c813485a6b6ef749"/></dir></dir></dir><dir name="Mysql4"><dir name="Core"><file name="Config.php" hash="c0a59f8ff1f747224655de39b217abde"/></dir></dir><file name="Order.php" hash="5a0f2583fa8eb6d943d3e700a88bd59d"/><dir name="Path"><dir name="Locator"><file name="Array.php" hash="722f4125eb1cbd5fbc2be05facd44cd4"/><file name="Factory.php" hash="5a57006974d9870affbcbafa6ed00175"/><file name="IteratorAbstract.php" hash="adba5c801c91efdbc5afa493d353224a"/><file name="LocatorInterface.php" hash="30571ef5c7ebf942870a0ddd2ab341cb"/><file name="Stack.php" hash="73a27e38db4768019613c99407205771"/></dir></dir><dir name="Resource"><dir name="Core"><file name="Config.php" hash="14736455e9f006a69dc638e4b93f7e6e"/></dir><dir name="Db"><file name="Abstract.php" hash="3874d4c5cc4b1af30a550cc792bbe22f"/></dir></dir><file name="Sharetracking.php" hash="05f4fe212dfd53027525bae6321ea641"/><file name="Urltracking.php" hash="d4e7e48cbb8168c2baab17e1edde1eac"/><file name="Verify.php" hash="3e385480fdfdfb3b1219ba48c1ef1644"/><file name="magentoGetOrderByUserId.php" hash="d7090c9353f3bf989d88cff4e4063998"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ConflictcheckerController.php" hash="28bf9f8cca4f3e63ea90c575c424deb0"/></dir><file name="indexController.php" hash="ca84b19b9ee9ea2678ba6ef5a6d23afa"/></dir><dir name="etc"><file name="config.xml" hash="e4d6d889afac6baab05f1edd43a7f593"/><file name="system.xml" hash="b0209ad686f8a15ccef20a92c62028ba"/></dir><dir name="log"><file name="log.log" hash="be8a8d092fd7ba1381cfbe23eda18c2e"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="betaout_amplify"><file name="amplify.phtml" hash="85e5918735770c07615fcb482ec8a59d"/><file name="conflict.phtml" hash="43277d57972e4f750d8b65e0bfb5bcb8"/><file name="logo.phtml" hash="e3ba04dadaa851b305fc2c4aca3aff96"/></dir></dir><dir name="layout"><file name="betaout_amplify.xml" hash="3f6dc67340bd11b6708541d4abd2a3c6"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="betaout_amplify"><file name="account.phtml" hash="01cd3a0360e0311084892e6aa91670f6"/><file name="account_edit.phtml" hash="0f05ae8838cef60cfa6939d8f7b8e99e"/><file name="cart.phtml" hash="a27a29bd64a8829b535149364bcf8ce3"/><file name="checkout.phtml" hash="4724eb870c615572497e21aa6264252f"/><file name="create.phtml" hash="bbfa7ecefe6c7aee482e475b594ea048"/><file name="head.phtml" hash="59bb2eb93a28aa1a82f1660d023aa90e"/><file name="homepage.phtml" hash="26aad4234a7f50da95e584801fefec30"/><file name="login.phtml" hash="c9cd89dc9f30747a294b4dce3f85c53b"/><file name="order.phtml" hash="c069a455e83c9132a84cf41e26fbc1d0"/><file name="sales_history.phtml" hash="2fdb5b83f9f15b6c7a678968ecac807c"/><file name="search.phtml" hash="0131538e90e885e74247e89fa3708995"/><file name="wishlist.phtml" hash="7576e63e137c2b02dea575f55c919b5d"/></dir></dir><dir name="layout"><file name="betaout_amplify.xml" hash="6636dd0293f6edde04b08e5f07457ed9"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="amplify"><dir name="images"><file name="Users.png" hash="96e906660b1fbd8a17831bd3049dbcfa"/><file name="Users_1.png" hash="96e906660b1fbd8a17831bd3049dbcfa"/><file name="ajax-loader-tr.gif" hash="1ae32bc8232ff2527c627e5b38eb319a"/><file name="ajax-loader-tr_1.gif" hash="1ae32bc8232ff2527c627e5b38eb319a"/><file name="ajax-loader.gif" hash="e2a38f1e23288e315af3c55416bc1ce7"/><file name="ajax-loader_1.gif" hash="e2a38f1e23288e315af3c55416bc1ce7"/><file name="amp-connect.png" hash="0cea8d77700915725b17b59b6d2dcfcc"/><file name="amp-connect_1.png" hash="0cea8d77700915725b17b59b6d2dcfcc"/><file name="amplify.png" hash="1b4adb0d54bb79680fd8108f4a17e898"/><file name="amplify_1.png" hash="1b4adb0d54bb79680fd8108f4a17e898"/><file name="btn.png" hash="769b6736cb1bb8cb91ad7526ce9d9db8"/><file name="btn_1.png" hash="769b6736cb1bb8cb91ad7526ce9d9db8"/><file name="check.png" hash="252fd93a83e2a412ecd3b6eac01500b7"/><file name="check_1.png" hash="252fd93a83e2a412ecd3b6eac01500b7"/><file name="com-app.png" hash="1f241f552bdbe1f86763981c79c8d85f"/><file name="com-app_1.png" hash="1f241f552bdbe1f86763981c79c8d85f"/><file name="db-1.png" hash="840d96bd5679bf4fa2d6a9577f7d3539"/><file name="db-1_1.png" hash="840d96bd5679bf4fa2d6a9577f7d3539"/><file name="engage-app.png" hash="888cde6a10a3dd9abcfccd1a5f0c8fde"/><file name="engage-app_1.png" hash="888cde6a10a3dd9abcfccd1a5f0c8fde"/><file name="icon.png" hash="22ea725b0bee73cb03f63b063b02469f"/><file name="icon_1.png" hash="22ea725b0bee73cb03f63b063b02469f"/><file name="large_bracket.png" hash="d2e8da8266e513bd5f15b0c9855be058"/><file name="large_bracket_1.png" hash="d2e8da8266e513bd5f15b0c9855be058"/><file name="mini_bracket.png" hash="e844112e5e5173f64b3385a4a140bdeb"/><file name="mini_bracket_1.png" hash="e844112e5e5173f64b3385a4a140bdeb"/><file name="plugin-logo.png" hash="cdbe958c79bb55fd615d5c3918ad3831"/><file name="plugin-logo_1.png" hash="cdbe958c79bb55fd615d5c3918ad3831"/><file name="socialicon.png" hash="f1145a7105620196bd23ed65d3b3f468"/><file name="socialicon_1.png" hash="f1145a7105620196bd23ed65d3b3f468"/><file name="u111_normal.png" hash="fae6b2993bb6b055547280b5090764a0"/><file name="u111_normal_1.png" hash="fae6b2993bb6b055547280b5090764a0"/><file name="u151_normal.png" hash="5bc3388cb53aa21aad192b72a3b51c8c"/><file name="u151_normal_1.png" hash="5bc3388cb53aa21aad192b72a3b51c8c"/><file name="u185_normal.png" hash="34d1b35c670f1465ef270ef32c6daaff"/><file name="u185_normal_1.png" hash="34d1b35c670f1465ef270ef32c6daaff"/><file name="u187_normal.png" hash="8a40e2eafc78055efee2daf50d4705d5"/><file name="u187_normal_1.png" hash="8a40e2eafc78055efee2daf50d4705d5"/><file name="u189_normal.png" hash="8035feedcfdd96da5c4755c8f38318ff"/><file name="u189_normal_1.png" hash="8035feedcfdd96da5c4755c8f38318ff"/><file name="u192_normal.png" hash="4b043b0d2c32a3804a189f9383fd83f2"/><file name="u192_normal_1.png" hash="4b043b0d2c32a3804a189f9383fd83f2"/><file name="u204_normal.png" hash="2d8347498231f64c3cfe055c13599544"/><file name="u204_normal_1.png" hash="2d8347498231f64c3cfe055c13599544"/><file name="u206_normal.png" hash="1113a57fe91593ff5e239bcf4dee100a"/><file name="u206_normal_1.png" hash="1113a57fe91593ff5e239bcf4dee100a"/><file name="u3_normal.png" hash="769b6736cb1bb8cb91ad7526ce9d9db8"/><file name="u3_normal_1.png" hash="769b6736cb1bb8cb91ad7526ce9d9db8"/><file name="u74_normal.png" hash="7dc03403001cb96e1247243bd0e73391"/><file name="u74_normal_1.png" hash="7dc03403001cb96e1247243bd0e73391"/><file name="u89_normal.png" hash="abd8a60573df3db36ae9908a81d0b197"/><file name="u89_normal_1.png" hash="abd8a60573df3db36ae9908a81d0b197"/><file name="u93_normal.png" hash="66fd0ba981b8407cbe630607ecbe0223"/><file name="u93_normal_1.png" hash="66fd0ba981b8407cbe630607ecbe0223"/><file name="u96_normal.png" hash="6e91f7aa2454ab6cb06fcb01cd77bb26"/><file name="u96_normal_1.png" hash="6e91f7aa2454ab6cb06fcb01cd77bb26"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="images"><dir name="amplify"><file name="ajax-loader-tr.gif" hash="1ae32bc8232ff2527c627e5b38eb319a"/><file name="ajax-loader-tr_1.gif" hash="1ae32bc8232ff2527c627e5b38eb319a"/><file name="ajax-loader.gif" hash="e2a38f1e23288e315af3c55416bc1ce7"/><file name="ajax-loader_1.gif" hash="e2a38f1e23288e315af3c55416bc1ce7"/><file name="amp-n-logo.png" hash="2f63b2187049acfd7be9bcc515abf4eb"/><file name="amp-n-logo_1.png" hash="2f63b2187049acfd7be9bcc515abf4eb"/><file name="amplify.gif" hash="82085013e11db77a7164dbd7faeb427b"/><file name="amplify_1.gif" hash="82085013e11db77a7164dbd7faeb427b"/><file name="logo-amp.png" hash="8719f9859bfb5497ecbf05962f15b8c6"/><file name="logo-amp_1.png" hash="8719f9859bfb5497ecbf05962f15b8c6"/><file name="small_amp.png" hash="7245bb50b46c0689dd76d41fd8e5efe8"/><file name="small_amp_1.png" hash="7245bb50b46c0689dd76d41fd8e5efe8"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Betaout_Amplify.xml" hash="a8228fbbf2d0a09dc90cd7c80b4692f0"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
+
<dependencies><required><php><min>4.0.0</min><max>5.5.3</max></php></required></dependencies>
|
18 |
</package>
|