Version Notes
Welcome to the Linc Care extension for Magento.
Here is one possible process for installing our extension.
For those of you installing manually:
1. Go to System / Magento Connect / Magento Connect Manager
2. If you're installing via the Magento Connect website, follow the normal procedure then skip to step 5
3. If you're installing manually, download the package from http://care.letslinc.com/downloads/Linc_Care-1.1.2.tgz
4. Click the Browse button and select the file you just downloaded, the click the Upload button.
5. Go to System/Configuration/Linc Care/General
6. Enter the store's url and admin email along with a password, then click register.
7. When the Linc Care Merchant portal is launched, fill in the requested information.
8. Go to System/Transactional Email
9. If you have a have custom emails already, edit it and insert {{block type='linccare/widget' order=$order}} where you want the Linc Care widget to appear. Then save the template and skip to step 11
10. If not Click the Add New Template button.
11. On the next page select New Order from the Template dropdown and click the Load Template button
12. Name the new template and insert {{block type='linccare/widget' order=$order}} where you want the Linc Care widget to appear. Then save the template.
13. Repeat for any other order-based emails you want connected to Linc Care. We suggest New Order Guest
14. Go to System / Sales / Sales Email / Order and select the new templates for New Order Confirmation Email
15. Save the configuration
If you have any comments or questions, please email us at linc-care-issues-magento@letslinc.com
Release Info
Developer | Linc Care |
Extension | Linc_Care |
Version | 1.1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.1.2
- app/code/community/Linc/Care/controllers/CareController.php +9 -1
- app/code/community/Linc/Care/controllers/CareController.php~ +213 -0
- app/code/community/Linc/Care/etc/config.xml +21 -21
- app/code/community/Linc/Care/etc/config.xml~ +83 -0
- app/code/community/Linc/Care/etc/system.xml~ +89 -0
- app/design/adminhtml/default/default/template/care/system/config/register.phtml +3 -2
- package.xml +10 -10
@@ -167,7 +167,15 @@ class Linc_Care_CareController extends Mage_Adminhtml_Controller_Action
|
|
167 |
$temp = $response->getBody();
|
168 |
preg_match('/<pre class="exception_value">(.*?)<\/pre>/', $temp, $m);
|
169 |
|
170 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
}
|
172 |
}
|
173 |
}
|
167 |
$temp = $response->getBody();
|
168 |
preg_match('/<pre class="exception_value">(.*?)<\/pre>/', $temp, $m);
|
169 |
|
170 |
+
if (count($m) >= 2)
|
171 |
+
{
|
172 |
+
$this->getResponse()->setBody($m[1]);
|
173 |
+
}
|
174 |
+
else
|
175 |
+
{
|
176 |
+
Mage::log("Care::register unknown error - $temp", null, 'register.log', true);
|
177 |
+
$this->getResponse()->setBody('The server had an unknown error. Please contact support@letslinc.com');
|
178 |
+
}
|
179 |
}
|
180 |
}
|
181 |
}
|
@@ -0,0 +1,213 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
require_once "Linc/Care/common.php";
|
3 |
+
|
4 |
+
class Linc_Care_CareController extends Mage_Adminhtml_Controller_Action
|
5 |
+
{
|
6 |
+
public $client = null;
|
7 |
+
public $queue = null;
|
8 |
+
|
9 |
+
public function registerAction()
|
10 |
+
{
|
11 |
+
if (DEBUG) Mage::log("Care::registerAction called", null, 'register.log', true);
|
12 |
+
|
13 |
+
$url = $this->getRequest()->getParam('url');
|
14 |
+
$email = $this->getRequest()->getParam('email');
|
15 |
+
$password = $this->getRequest()->getParam('password');
|
16 |
+
$confirm = $this->getRequest()->getParam('confirm');
|
17 |
+
$ecommerce = $this->getRequest()->getParam('ecommerce');
|
18 |
+
|
19 |
+
$post_data_json = $this->buildJson($url, $email, $password, $confirm, $ecommerce);
|
20 |
+
$this->sendRegister($post_data_json);
|
21 |
+
}
|
22 |
+
|
23 |
+
public function preDispatch()
|
24 |
+
{
|
25 |
+
// override admin store design settings via stores section
|
26 |
+
Mage::getDesign()
|
27 |
+
->setArea($this->_currentArea)
|
28 |
+
->setPackageName((string)Mage::getConfig()->getNode('stores/admin/design/package/name'))
|
29 |
+
->setTheme((string)Mage::getConfig()->getNode('stores/admin/design/theme/default'))
|
30 |
+
;
|
31 |
+
foreach (array('layout', 'template', 'skin', 'locale') as $type) {
|
32 |
+
if ($value = (string)Mage::getConfig()->getNode("stores/admin/design/theme/{$type}")) {
|
33 |
+
Mage::getDesign()->setTheme($type, $value);
|
34 |
+
}
|
35 |
+
}
|
36 |
+
|
37 |
+
$this->getLayout()->setArea($this->_currentArea);
|
38 |
+
$_isValidFormKey = true;
|
39 |
+
$_isValidSecretKey = true;
|
40 |
+
/*
|
41 |
+
Mage::dispatchEvent('adminhtml_controller_action_predispatch_start', array());
|
42 |
+
parent::preDispatch();
|
43 |
+
$_keyErrorMsg = '';
|
44 |
+
if (Mage::getSingleton('admin/session')->isLoggedIn()) {
|
45 |
+
if ($this->getRequest()->isPost()) {
|
46 |
+
$_isValidFormKey = $this->_validateFormKey();
|
47 |
+
$_keyErrorMsg = Mage::helper('adminhtml')->__('Invalid Form Key. Please refresh the page.');
|
48 |
+
} elseif (Mage::getSingleton('adminhtml/url')->useSecretKey()) {
|
49 |
+
$_isValidSecretKey = $this->_validateSecretKey();
|
50 |
+
$_keyErrorMsg = Mage::helper('adminhtml')->__('Invalid Secret Key. Please refresh the page.');
|
51 |
+
}
|
52 |
+
}
|
53 |
+
*/
|
54 |
+
if (!$_isValidFormKey || !$_isValidSecretKey) {
|
55 |
+
$this->setFlag('', self::FLAG_NO_DISPATCH, true);
|
56 |
+
$this->setFlag('', self::FLAG_NO_POST_DISPATCH, true);
|
57 |
+
if ($this->getRequest()->getQuery('isAjax', false) || $this->getRequest()->getQuery('ajax', false)) {
|
58 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode(array(
|
59 |
+
'error' => true,
|
60 |
+
'message' => $_keyErrorMsg
|
61 |
+
)));
|
62 |
+
} else {
|
63 |
+
$this->_redirect( Mage::getSingleton('admin/session')->getUser()->getStartupPageUrl() );
|
64 |
+
}
|
65 |
+
return $this;
|
66 |
+
}
|
67 |
+
|
68 |
+
if ($this->getRequest()->isDispatched()
|
69 |
+
&& $this->getRequest()->getActionName() !== 'denied'
|
70 |
+
&& !$this->_isAllowed()) {
|
71 |
+
$this->_forward('denied');
|
72 |
+
$this->setFlag('', self::FLAG_NO_DISPATCH, true);
|
73 |
+
return $this;
|
74 |
+
}
|
75 |
+
|
76 |
+
if (!$this->getFlag('', self::FLAG_IS_URLS_CHECKED)
|
77 |
+
&& !$this->getRequest()->getParam('forwarded')
|
78 |
+
&& !$this->_getSession()->getIsUrlNotice(true)
|
79 |
+
&& !Mage::getConfig()->getNode('global/can_use_base_url')) {
|
80 |
+
//$this->_checkUrlSettings();
|
81 |
+
$this->setFlag('', self::FLAG_IS_URLS_CHECKED, true);
|
82 |
+
}
|
83 |
+
|
84 |
+
if (is_null(Mage::getSingleton('adminhtml/session')->getLocale())) {
|
85 |
+
Mage::getSingleton('adminhtml/session')->setLocale(Mage::app()->getLocale()->getLocaleCode());
|
86 |
+
}
|
87 |
+
|
88 |
+
return $this;
|
89 |
+
}
|
90 |
+
|
91 |
+
|
92 |
+
public function sendRegister($postData)
|
93 |
+
{
|
94 |
+
if ($this->client == null)
|
95 |
+
{
|
96 |
+
$this->connectToLincCare();
|
97 |
+
if ($this->client != null && $this->queue != null)
|
98 |
+
{
|
99 |
+
$sendQueue = $this->queue;
|
100 |
+
unset($this->queue);
|
101 |
+
|
102 |
+
foreach ($sendQueue as $data)
|
103 |
+
{
|
104 |
+
sendRegister($data);
|
105 |
+
}
|
106 |
+
}
|
107 |
+
else
|
108 |
+
{
|
109 |
+
if ($this->queue == null)
|
110 |
+
{
|
111 |
+
$this->queue = array();
|
112 |
+
}
|
113 |
+
|
114 |
+
array_push($this->queue, $postData);
|
115 |
+
}
|
116 |
+
}
|
117 |
+
|
118 |
+
if ($this->client != null)
|
119 |
+
{
|
120 |
+
# get store_id
|
121 |
+
$resource = Mage::getSingleton('core/resource');
|
122 |
+
$read = $resource->getConnection('core_read');
|
123 |
+
$configDataTable = $read->getTableName('core_config_data');
|
124 |
+
|
125 |
+
$store_id = '0';
|
126 |
+
$select = $read->select()
|
127 |
+
->from(array('cd'=>$configDataTable))
|
128 |
+
->where("cd.path=?", 'linc_current_store');
|
129 |
+
$rows = $read->fetchAll($select);
|
130 |
+
|
131 |
+
if (count($rows) > 0)
|
132 |
+
{
|
133 |
+
$store_id = $rows[0]['value'];
|
134 |
+
}
|
135 |
+
|
136 |
+
$this->client->setRawData($postData, 'application/json');
|
137 |
+
$response = $this->client->request();
|
138 |
+
|
139 |
+
$temp = $response->getStatus();
|
140 |
+
$this->getResponse()->setHeader('HTTP/1.1', $temp);
|
141 |
+
|
142 |
+
if (DEBUG)
|
143 |
+
{
|
144 |
+
Mage::log("Care::register HTTP Status $temp", null, 'register.log', true);
|
145 |
+
}
|
146 |
+
|
147 |
+
if ($temp < 400)
|
148 |
+
{
|
149 |
+
$temp = $response->getBody();
|
150 |
+
#if (DEBUG)
|
151 |
+
Mage::log("Care::register $temp", null, 'register.log', true);
|
152 |
+
|
153 |
+
$array = Mage::helper('core')->jsonDecode($temp);
|
154 |
+
|
155 |
+
# write values into core_config_data
|
156 |
+
Mage::getConfig()->saveConfig('linc_url', $array['url'], 'store', $store_id);
|
157 |
+
Mage::getConfig()->saveConfig('linc_email', $array['email'], 'store', $store_id);
|
158 |
+
Mage::getConfig()->saveConfig('linc_password', $array['password'], 'store', $store_id);
|
159 |
+
Mage::getConfig()->saveConfig('linc_confirm', $array['confirm'], 'store', $store_id);
|
160 |
+
Mage::getConfig()->saveConfig('linc_shop_id', $array['store_id'], 'store', $store_id);
|
161 |
+
Mage::getConfig()->saveConfig('linc_access_key', $array['access_key'], 'store', $store_id);
|
162 |
+
|
163 |
+
$this->getResponse()->setHeader('Content-type', 'application/json', true);
|
164 |
+
$this->getResponse()->setBody($temp);
|
165 |
+
}
|
166 |
+
else
|
167 |
+
{
|
168 |
+
$temp = $response->getBody();
|
169 |
+
preg_match('/<pre class="exception_value">(.*?)<\/pre>/', $temp, $m);
|
170 |
+
|
171 |
+
$this->getResponse()->setBody($m[1]);
|
172 |
+
}
|
173 |
+
}
|
174 |
+
}
|
175 |
+
|
176 |
+
public function connectToLincCare()
|
177 |
+
{
|
178 |
+
$this->client = new Zend_Http_Client();
|
179 |
+
$protocol = SERVER_PROTOCOL;
|
180 |
+
$url = SERVER_PATH;
|
181 |
+
$this->client->setUri("$protocol://pub-api.$url/v1/register");
|
182 |
+
|
183 |
+
$this->client->setConfig(array(
|
184 |
+
'maxredirects' => 0,
|
185 |
+
'timeout' => 30,
|
186 |
+
'keepalive' => true,
|
187 |
+
'adapter' => 'Zend_Http_Client_Adapter_Socket'));
|
188 |
+
|
189 |
+
$this->client->setMethod(Zend_Http_Client::POST);
|
190 |
+
$this->client->setHeaders(array(
|
191 |
+
'Content-Type' => 'application/json'));
|
192 |
+
}
|
193 |
+
|
194 |
+
public function buildJson($url, $email, $password, $confirm, $ecommerce)
|
195 |
+
{
|
196 |
+
$dataorder = array(
|
197 |
+
'email' => $email,
|
198 |
+
'password' => $password,
|
199 |
+
'url' => $url,
|
200 |
+
'confirm' => $confirm,
|
201 |
+
'ecommerce' => $ecommerce
|
202 |
+
);
|
203 |
+
|
204 |
+
$postdata = json_encode($dataorder);
|
205 |
+
|
206 |
+
if (DEBUG) Mage::log("Care::register buildJson ended", null, 'register.log', true);
|
207 |
+
if (DEBUG) Mage::log($postdata, null, 'register.log', true);
|
208 |
+
|
209 |
+
return $postdata;
|
210 |
+
}
|
211 |
+
}
|
212 |
+
|
213 |
+
?>
|
@@ -10,7 +10,7 @@
|
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Linc_Care>
|
13 |
-
<version>1.1.
|
14 |
</Linc_Care>
|
15 |
</modules>
|
16 |
<admin>
|
@@ -61,25 +61,25 @@
|
|
61 |
</care>
|
62 |
</helpers>
|
63 |
</global>
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
</adminhtml>
|
85 |
</config>
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Linc_Care>
|
13 |
+
<version>1.1.1</version>
|
14 |
</Linc_Care>
|
15 |
</modules>
|
16 |
<admin>
|
61 |
</care>
|
62 |
</helpers>
|
63 |
</global>
|
64 |
+
<adminhtml>
|
65 |
+
<acl>
|
66 |
+
<resources>
|
67 |
+
<admin>
|
68 |
+
<children>
|
69 |
+
<system>
|
70 |
+
<children>
|
71 |
+
<config>
|
72 |
+
<children>
|
73 |
+
<linccaresection translate="title" module="linc_care">
|
74 |
+
<title>Store Linc Care Module Section</title>
|
75 |
+
</linccaresection>
|
76 |
+
</children>
|
77 |
+
</config>
|
78 |
+
</children>
|
79 |
+
</system>
|
80 |
+
</children>
|
81 |
+
</admin>
|
82 |
+
</resources>
|
83 |
+
</acl>
|
84 |
</adminhtml>
|
85 |
</config>
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Module configuration
|
5 |
+
*
|
6 |
+
* @author Rick Murtagh, Linc Global, Inc.
|
7 |
+
*
|
8 |
+
*/
|
9 |
+
-->
|
10 |
+
<config>
|
11 |
+
<modules>
|
12 |
+
<Linc_Care>
|
13 |
+
<version>1.1.1</version>
|
14 |
+
</Linc_Care>
|
15 |
+
</modules>
|
16 |
+
<admin>
|
17 |
+
<routers>
|
18 |
+
<care>
|
19 |
+
<use>admin</use>
|
20 |
+
<args>
|
21 |
+
<module>Linc_Care</module>
|
22 |
+
<frontName>linccare</frontName>
|
23 |
+
</args>
|
24 |
+
</care>
|
25 |
+
</routers>
|
26 |
+
</admin>
|
27 |
+
<global>
|
28 |
+
<models>
|
29 |
+
<care>
|
30 |
+
<class>Linc_Care_Model</class>
|
31 |
+
</care>
|
32 |
+
</models>
|
33 |
+
<blocks>
|
34 |
+
<care>
|
35 |
+
<class>Linc_Care_Block</class>
|
36 |
+
</care>
|
37 |
+
</blocks>
|
38 |
+
<events>
|
39 |
+
<sales_order_place_after>
|
40 |
+
<observers>
|
41 |
+
<linc_care>
|
42 |
+
<class>care/orderobserver</class>
|
43 |
+
<method>exportOrder</method>
|
44 |
+
<type>singleton</type>
|
45 |
+
</linc_care>
|
46 |
+
</observers>
|
47 |
+
</sales_order_place_after>
|
48 |
+
<sales_order_shipment_track_save_after>
|
49 |
+
<observers>
|
50 |
+
<linc_care>
|
51 |
+
<class>care/fulfillmentobserver</class>
|
52 |
+
<method>exportFulfillment</method>
|
53 |
+
<type>singleton</type>
|
54 |
+
</linc_care>
|
55 |
+
</observers>
|
56 |
+
</sales_order_shipment_track_save_after>
|
57 |
+
</events>
|
58 |
+
<helpers>
|
59 |
+
<care>
|
60 |
+
<class>Linc_Care_Helper</class>
|
61 |
+
</care>
|
62 |
+
</helpers>
|
63 |
+
</global>
|
64 |
+
<acl>
|
65 |
+
<resources>
|
66 |
+
<admin>
|
67 |
+
<children>
|
68 |
+
<system>
|
69 |
+
<children>
|
70 |
+
<config>
|
71 |
+
<children>
|
72 |
+
<linccaresection translate="title" module="linc_care">
|
73 |
+
<title>Store Linc Care Module Section</title>
|
74 |
+
</linccaresection>
|
75 |
+
</children>
|
76 |
+
</config>
|
77 |
+
</children>
|
78 |
+
</system>
|
79 |
+
</children>
|
80 |
+
</admin>
|
81 |
+
</resources>
|
82 |
+
</acl>
|
83 |
+
</config>
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<config>
|
3 |
+
<tabs>
|
4 |
+
<linccaretab translate="label" module="linc_care">
|
5 |
+
<label>Linc Care</label>
|
6 |
+
<sort_order>100</sort_order>
|
7 |
+
</linccaretab>
|
8 |
+
</tabs>
|
9 |
+
<sections>
|
10 |
+
<linccaresection translate="label" module="linc_care">
|
11 |
+
<label>General</label>
|
12 |
+
<tab>linccaretab</tab>
|
13 |
+
<frontend_type>text</frontend_type>
|
14 |
+
<sort_order>1000</sort_order>
|
15 |
+
<show_in_default>1</show_in_default>
|
16 |
+
<show_in_website>1</show_in_website>
|
17 |
+
<show_in_store>1</show_in_store>
|
18 |
+
<groups>
|
19 |
+
<linccaregroup translate="label">
|
20 |
+
<label>General</label>
|
21 |
+
<frontend_type>text</frontend_type>
|
22 |
+
<sort_order>3</sort_order>
|
23 |
+
<show_in_default>1</show_in_default>
|
24 |
+
<show_in_website>1</show_in_website>
|
25 |
+
<show_in_store>1</show_in_store>
|
26 |
+
<expanded>1</expanded>
|
27 |
+
<fields>
|
28 |
+
<message translate="label">
|
29 |
+
<sort_order>200</sort_order>
|
30 |
+
<frontend_type>label</frontend_type>
|
31 |
+
<frontend_model>care/note</frontend_model>
|
32 |
+
<show_in_default>1</show_in_default>
|
33 |
+
<show_in_website>1</show_in_website>
|
34 |
+
<show_in_store>0</show_in_store>
|
35 |
+
</message>
|
36 |
+
<url translate="label">
|
37 |
+
<sort_order>201</sort_order>
|
38 |
+
<label for="Url" class="required">Enter your store URL</label>
|
39 |
+
<frontend_type>label</frontend_type>
|
40 |
+
<frontend_model>care/url</frontend_model>
|
41 |
+
<validate>required-entry validate-url</validate>
|
42 |
+
<show_in_store>1</show_in_store>
|
43 |
+
</url>
|
44 |
+
<email translate="label">
|
45 |
+
<sort_order>202</sort_order>
|
46 |
+
<label for="Email" class="required">Enter your administrator email address</label>
|
47 |
+
<frontend_type>label</frontend_type>
|
48 |
+
<frontend_model>care/email</frontend_model>
|
49 |
+
<validate>required-entry validate-email</validate>
|
50 |
+
<show_in_store>1</show_in_store>
|
51 |
+
</email>
|
52 |
+
<password translate="label">
|
53 |
+
<sort_order>203</sort_order>
|
54 |
+
<label for="Password" class="required">Enter a password</label>
|
55 |
+
<frontend_type>label</frontend_type>
|
56 |
+
<frontend_model>care/pwd</frontend_model>
|
57 |
+
<validate>required-entry validate-password</validate>
|
58 |
+
<show_in_store>1</show_in_store>
|
59 |
+
</password>
|
60 |
+
<confirm translate="label">
|
61 |
+
<sort_order>204</sort_order>
|
62 |
+
<label for="Confirm Password" class="required">Enter a password</label>
|
63 |
+
<frontend_type>label</frontend_type>
|
64 |
+
<frontend_model>care/confirm</frontend_model>
|
65 |
+
<show_in_store>1</show_in_store>
|
66 |
+
<validate>required-entry validate-cpassword</validate>
|
67 |
+
</confirm>
|
68 |
+
<linktolinccare translate="label">
|
69 |
+
<sort_order>205</sort_order>
|
70 |
+
<label>Fill out the fields above and click to register</label>
|
71 |
+
<frontend_type>button</frontend_type>
|
72 |
+
<frontend_model>care/adminhtml_system_config_form_register</frontend_model>
|
73 |
+
<show_in_store>1</show_in_store>
|
74 |
+
</linktolinccare>
|
75 |
+
<linktoinfo translate="label">
|
76 |
+
<sort_order>206</sort_order>
|
77 |
+
<label>Learn more...</label>
|
78 |
+
<frontend_type>button</frontend_type>
|
79 |
+
<frontend_model>care/faqbutton</frontend_model>
|
80 |
+
<show_in_default>1</show_in_default>
|
81 |
+
<show_in_website>1</show_in_website>
|
82 |
+
<show_in_store>1</show_in_store>
|
83 |
+
</linktoinfo>
|
84 |
+
</fields>
|
85 |
+
</linccaregroup>
|
86 |
+
</groups>
|
87 |
+
</linccaresection>
|
88 |
+
</sections>
|
89 |
+
</config>
|
@@ -29,15 +29,16 @@
|
|
29 |
},
|
30 |
onSuccess: function(transport)
|
31 |
{
|
32 |
-
alert('Success - ' + transport.responseText);
|
33 |
var linc_url = '<?php echo $this->getMerchantOnboardUrl() ?>' +
|
34 |
"?ecommerce=" + transport.responseJSON.ecommerce +
|
35 |
"&shop_id=" + transport.responseJSON.store_id +
|
36 |
"&url=" + transport.responseJSON.url +
|
37 |
"&email=" + transport.responseJSON.email;
|
38 |
|
39 |
-
alert('OnSuccess - ' + linc_url);
|
40 |
popWin(linc_url, '_blank');
|
|
|
41 |
}.bind(this),
|
42 |
onFailure: function(transport)
|
43 |
{
|
29 |
},
|
30 |
onSuccess: function(transport)
|
31 |
{
|
32 |
+
//alert('Success - ' + transport.responseText);
|
33 |
var linc_url = '<?php echo $this->getMerchantOnboardUrl() ?>' +
|
34 |
"?ecommerce=" + transport.responseJSON.ecommerce +
|
35 |
"&shop_id=" + transport.responseJSON.store_id +
|
36 |
"&url=" + transport.responseJSON.url +
|
37 |
"&email=" + transport.responseJSON.email;
|
38 |
|
39 |
+
//alert('OnSuccess - ' + linc_url);
|
40 |
popWin(linc_url, '_blank');
|
41 |
+
location.reload();
|
42 |
}.bind(this),
|
43 |
onFailure: function(transport)
|
44 |
{
|
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Linc_Care</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.letslinc.com/legal/LincCareLicenseAgreement/">Linc Global Commercial License</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Uber customer care experience is the <strong>#1 driver for customer loyalty</strong>. Linc Care makes it easy for retailers to offer a personal and contextual <strong>customer care experience</strong> that wins loyalty and referral, at the same time reduces customer service cost.
|
11 |
<p></p><p>Install in minutes, you will get a major face-lift for all your order confirmation and order shipped notification emails, which has:
|
12 |
<strong>A dynamically updated one-touch service center</strong> that
|
13 |
-
<br /><br />&nbsp;&nbsp;&nbsp;1. shows your customers <strong>live order tracking status</strong> right within the email at the time the customers open the emails. <a href="https://internal.letslinc.com/ecare/dashboard/demo/36ad21cc-eabd-11e3-b42b-22000ac69e83"><b>Click to see a live demo
|
14 |
<br /><br />&nbsp;&nbsp;&nbsp;2. offers your customers <strong>text message notifications</strong> on an opt-in basis for shipping and delivery (we are integrated to all shippers and manages both notifications and customer preference without any development on your end)
|
15 |
-
<br /><br />&nbsp;&nbsp;&nbsp;3. assists your customers on interactions with you. Let it be a product question or a general inquiry, Linc Care uses the customer’s own purchase details to <strong>intelligently guide the customer through a seamless experience</strong>, plus customers can request a call back or receive answers in text messages. We handle it all, and all you need is a customer service email address and reply the email inquiries :) <a href="https://internal.letslinc.com/ecare/dashboard/demo/36ad21cc-eabd-11e3-b42b-22000ac69e83"><b>Click to see a live demo
|
16 |
<br /><br />&nbsp;&nbsp;&nbsp;4. [Optional] assists your customers with return / exchange, where they can directly view the return policy, give you feedback on reasons for return, and directly print out shipping label.</p>
|
17 |

|
18 |
<p><strong> </strong>
|
@@ -25,7 +25,7 @@ Linc Care can be easily installed in minutes. But if you do need help or customi
|
|
25 |

|
26 |
<p><strong> </strong>
|
27 |
<h2>Follow Linc</h2>
|
28 |
-
Linc Care is built by a team of seasoned technologists who brought to life large scale consumer products for companies like <strong>Google, Yahoo and Amazon</strong>. We were driven by the passion and believe that technology can truly empower mid-sized retail owners to compete and out-perform large retailers. We are new to Magneto platform, but are<strong> serving internet 1000 everyday</strong>. If you have feature requests and suggestions for us, please do contact us at <a href="mailto:
|
29 |
<p><a href="http://www.letslinc.com">www.letslinc.com</a></p>
|
30 |

|
31 |
&nbsp;
|
@@ -39,7 +39,7 @@ Here is one possible process for installing our extension.
|
|
39 |
For those of you installing manually:
|
40 |
1. Go to System / Magento Connect / Magento Connect Manager
|
41 |
2. If you're installing via the Magento Connect website, follow the normal procedure then skip to step 5
|
42 |
-
3. If you're installing manually, download the package from http://care.letslinc.com/
|
43 |
4. Click the Browse button and select the file you just downloaded, the click the Upload button.
|
44 |
5. Go to System/Configuration/Linc Care/General
|
45 |
6. Enter the store's url and admin email along with a password, then click register.
|
@@ -53,11 +53,11 @@ For those of you installing manually:
|
|
53 |
14. Go to System / Sales / Sales Email / Order and select the new templates for New Order Confirmation Email
|
54 |
15. Save the configuration
|
55 |

|
56 |
-
If you have any comments or questions, please email us at
|
57 |
<authors><author><name>Linc Care</name><user>letslincapp</user><email>apps@letslinc.com</email></author></authors>
|
58 |
-
<date>2014-11-
|
59 |
-
<time>
|
60 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Linc_Care.xml" hash="f9738b6f4a087a40329f646a95afd4e7"/></dir></target><target name="magecommunity"><dir name="Linc"><dir name="Care"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Register.php" hash="cf5b1496e1f4d4fa111a3019e499fc16"/></dir></dir></dir></dir><file name="Confirm.php" hash="c5802e17ab99fe29759d4f0c3b61c16d"/><file name="Email.php" hash="8f6eb60dd06f7258c842377cb92bec07"/><file name="Faqbutton.php" hash="e9804ff3824aaaa5383af0f97fc75c1b"/><file name="Note.php" hash="637733c4a7ad19ef66b9db1d75c28b8d"/><file name="Pwd.php" hash="7dbe6f455456f06cb47ebdd072bdbd7f"/><file name="Url.php" hash="3a0fd1cc64646c14eb5183a05523879e"/><file name="Widget.php" hash="022d5247786710a94d159773f485421f"/></dir><dir name="Helper"><file name="Data.php" hash="34aec0a0ed4d5a1652b46fb7fe54707d"/></dir><dir name="Model"><file name="Fulfillmentobserver.php" hash="eeca57985d47973dd0b1e3853960e72a"/><file name="Orderobserver.php" hash="a652ef5211ef38fdc2a413a543ef312d"/></dir><file name="common.php" hash="31f91dd2a7df5e436de0732a45d90d0b"/><dir name="controllers"><file name="CareController.php" hash="
|
61 |
<compatible/>
|
62 |
-
<dependencies><required><php><min>5.
|
63 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Linc_Care</name>
|
4 |
+
<version>1.1.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.letslinc.com/legal/LincCareLicenseAgreement/">Linc Global Commercial License</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Uber customer care experience is the <strong>#1 driver for customer loyalty</strong>. Linc Care makes it easy for retailers to offer a personal and contextual <strong>customer care experience</strong> that wins loyalty and referral, at the same time reduces customer service cost.
|
11 |
<p></p><p>Install in minutes, you will get a major face-lift for all your order confirmation and order shipped notification emails, which has:
|
12 |
<strong>A dynamically updated one-touch service center</strong> that
|
13 |
+
<br /><br />&nbsp;&nbsp;&nbsp;1. shows your customers <strong>live order tracking status</strong> right within the email at the time the customers open the emails. <a href="https://internal.letslinc.com/ecare/dashboard/demo/36ad21cc-eabd-11e3-b42b-22000ac69e83"><b>Click to see a live demo</b></a>
|
14 |
<br /><br />&nbsp;&nbsp;&nbsp;2. offers your customers <strong>text message notifications</strong> on an opt-in basis for shipping and delivery (we are integrated to all shippers and manages both notifications and customer preference without any development on your end)
|
15 |
+
<br /><br />&nbsp;&nbsp;&nbsp;3. assists your customers on interactions with you. Let it be a product question or a general inquiry, Linc Care uses the customer’s own purchase details to <strong>intelligently guide the customer through a seamless experience</strong>, plus customers can request a call back or receive answers in text messages. We handle it all, and all you need is a customer service email address and reply the email inquiries :) <a href="https://internal.letslinc.com/ecare/dashboard/demo/36ad21cc-eabd-11e3-b42b-22000ac69e83"><b>Click to see a live demo</b></a>
|
16 |
<br /><br />&nbsp;&nbsp;&nbsp;4. [Optional] assists your customers with return / exchange, where they can directly view the return policy, give you feedback on reasons for return, and directly print out shipping label.</p>
|
17 |

|
18 |
<p><strong> </strong>
|
25 |

|
26 |
<p><strong> </strong>
|
27 |
<h2>Follow Linc</h2>
|
28 |
+
Linc Care is built by a team of seasoned technologists who brought to life large scale consumer products for companies like <strong>Google, Yahoo and Amazon</strong>. We were driven by the passion and believe that technology can truly empower mid-sized retail owners to compete and out-perform large retailers. We are new to Magneto platform, but are<strong> serving internet 1000 everyday</strong>. If you have feature requests and suggestions for us, please do contact us at <a href="mailto:linc-care-issues-magento@letslinc.com">linc-care-issues-magento@letslinc.com</a>. We want to hear from you! </p>
|
29 |
<p><a href="http://www.letslinc.com">www.letslinc.com</a></p>
|
30 |

|
31 |
&nbsp;
|
39 |
For those of you installing manually:
|
40 |
1. Go to System / Magento Connect / Magento Connect Manager
|
41 |
2. If you're installing via the Magento Connect website, follow the normal procedure then skip to step 5
|
42 |
+
3. If you're installing manually, download the package from http://care.letslinc.com/downloads/Linc_Care-1.1.2.tgz
|
43 |
4. Click the Browse button and select the file you just downloaded, the click the Upload button.
|
44 |
5. Go to System/Configuration/Linc Care/General
|
45 |
6. Enter the store's url and admin email along with a password, then click register.
|
53 |
14. Go to System / Sales / Sales Email / Order and select the new templates for New Order Confirmation Email
|
54 |
15. Save the configuration
|
55 |

|
56 |
+
If you have any comments or questions, please email us at linc-care-issues-magento@letslinc.com</notes>
|
57 |
<authors><author><name>Linc Care</name><user>letslincapp</user><email>apps@letslinc.com</email></author></authors>
|
58 |
+
<date>2014-11-18</date>
|
59 |
+
<time>01:44:38</time>
|
60 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Linc_Care.xml" hash="f9738b6f4a087a40329f646a95afd4e7"/></dir></target><target name="magecommunity"><dir name="Linc"><dir name="Care"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Register.php" hash="cf5b1496e1f4d4fa111a3019e499fc16"/></dir></dir></dir></dir><file name="Confirm.php" hash="c5802e17ab99fe29759d4f0c3b61c16d"/><file name="Email.php" hash="8f6eb60dd06f7258c842377cb92bec07"/><file name="Faqbutton.php" hash="e9804ff3824aaaa5383af0f97fc75c1b"/><file name="Note.php" hash="637733c4a7ad19ef66b9db1d75c28b8d"/><file name="Pwd.php" hash="7dbe6f455456f06cb47ebdd072bdbd7f"/><file name="Url.php" hash="3a0fd1cc64646c14eb5183a05523879e"/><file name="Widget.php" hash="022d5247786710a94d159773f485421f"/></dir><dir name="Helper"><file name="Data.php" hash="34aec0a0ed4d5a1652b46fb7fe54707d"/></dir><dir name="Model"><file name="Fulfillmentobserver.php" hash="eeca57985d47973dd0b1e3853960e72a"/><file name="Orderobserver.php" hash="a652ef5211ef38fdc2a413a543ef312d"/></dir><file name="common.php" hash="31f91dd2a7df5e436de0732a45d90d0b"/><dir name="controllers"><file name="CareController.php" hash="f776db586f41a51d640ed18cb00aec95"/><file name="CareController.php~" hash="90c332b395c8a585fb0434b84e2efce1"/></dir><dir name="etc"><file name="config.xml" hash="c8a37cba285ae751bbc6f78b7cee54eb"/><file name="config.xml~" hash="87d37abe79dc48827b800d03767f53f8"/><file name="system.xml" hash="95036d9df5911e0c0d2e6db996a4bbff"/><file name="system.xml~" hash="aa589277ea49b5dfefadbe6ff8121ae8"/></dir><file name="readme" hash="98490fe600e3d2b890a25746f17d5960"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="care"><dir name="system"><dir name="config"><file name="register.phtml" hash="21bb40b68538eae06facc2c14e8183cc"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
|
61 |
<compatible/>
|
62 |
+
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
63 |
</package>
|