Version Notes
- Improvements and bugfixes
Download this release
Release Info
Developer | Cue Connect |
Extension | Cue |
Version | 3.0.16 |
Comparing to | |
See all releases |
Code changes from version 3.0.15 to 3.0.16
app/code/community/CueConnect/Cue/Model/Observer.php
CHANGED
@@ -251,6 +251,11 @@ class CueConnect_Cue_Model_Observer
|
|
251 |
$width = Mage::getStoreConfig('cueconnect/image/width');
|
252 |
$height = Mage::getStoreConfig('cueconnect/image/height');
|
253 |
|
|
|
|
|
|
|
|
|
|
|
254 |
$params = array(
|
255 |
'id' => $product->getId(),
|
256 |
'sku' => (string)$product->getSku(),
|
@@ -263,7 +268,7 @@ class CueConnect_Cue_Model_Observer
|
|
263 |
'sms_desc' => (string)$product->getDescription(),
|
264 |
'url' => $product->getProductUrl(),
|
265 |
'taxonomy_id' => Mage::getStoreConfig('cueconnect/taxomomy_id'),
|
266 |
-
'image' =>
|
267 |
'price' => number_format(Mage::helper('core')->currency($product->getPrice(), false, false), 2),
|
268 |
);
|
269 |
|
@@ -429,6 +434,11 @@ class CueConnect_Cue_Model_Observer
|
|
429 |
$width = Mage::getStoreConfig('cueconnect/image/width');
|
430 |
$height = Mage::getStoreConfig('cueconnect/image/height');
|
431 |
|
|
|
|
|
|
|
|
|
|
|
432 |
$params = array(
|
433 |
// customer
|
434 |
'storeId' => $storeId,
|
@@ -452,7 +462,7 @@ class CueConnect_Cue_Model_Observer
|
|
452 |
'sms_desc' => (string)$product->getDescription(),
|
453 |
'url' => $product->getProductUrl(),
|
454 |
'taxonomy_id' => Mage::getStoreConfig('cueconnect/taxomomy_id'),
|
455 |
-
'image' =>
|
456 |
'live' => '1',
|
457 |
'price' => number_format(Mage::helper('core')->currency($product->getPrice(), false, false), 2),
|
458 |
);
|
251 |
$width = Mage::getStoreConfig('cueconnect/image/width');
|
252 |
$height = Mage::getStoreConfig('cueconnect/image/height');
|
253 |
|
254 |
+
$image = 'https://www.cueconnect.com/images/no_image.gif';
|
255 |
+
if ($product->getData('small_image') && $product->getData('small_image') !== 'no_selection') {
|
256 |
+
$image = (string)Mage::helper('catalog/image')->init($product, 'small_image')->resize($width, $height);
|
257 |
+
}
|
258 |
+
|
259 |
$params = array(
|
260 |
'id' => $product->getId(),
|
261 |
'sku' => (string)$product->getSku(),
|
268 |
'sms_desc' => (string)$product->getDescription(),
|
269 |
'url' => $product->getProductUrl(),
|
270 |
'taxonomy_id' => Mage::getStoreConfig('cueconnect/taxomomy_id'),
|
271 |
+
'image' => $image,
|
272 |
'price' => number_format(Mage::helper('core')->currency($product->getPrice(), false, false), 2),
|
273 |
);
|
274 |
|
434 |
$width = Mage::getStoreConfig('cueconnect/image/width');
|
435 |
$height = Mage::getStoreConfig('cueconnect/image/height');
|
436 |
|
437 |
+
$image = 'https://www.cueconnect.com/images/no_image.gif';
|
438 |
+
if ($product->getData('small_image') && $product->getData('small_image') !== 'no_selection') {
|
439 |
+
$image = (string)Mage::helper('catalog/image')->init($product, 'small_image')->resize($width, $height);
|
440 |
+
}
|
441 |
+
|
442 |
$params = array(
|
443 |
// customer
|
444 |
'storeId' => $storeId,
|
462 |
'sms_desc' => (string)$product->getDescription(),
|
463 |
'url' => $product->getProductUrl(),
|
464 |
'taxonomy_id' => Mage::getStoreConfig('cueconnect/taxomomy_id'),
|
465 |
+
'image' => $image,
|
466 |
'live' => '1',
|
467 |
'price' => number_format(Mage::helper('core')->currency($product->getPrice(), false, false), 2),
|
468 |
);
|
app/code/community/CueConnect/Cue/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<CueConnect_Cue>
|
5 |
-
<version>3.0.
|
6 |
</CueConnect_Cue>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<CueConnect_Cue>
|
5 |
+
<version>3.0.16</version>
|
6 |
</CueConnect_Cue>
|
7 |
</modules>
|
8 |
<global>
|
app/design/frontend/base/default/template/cueconnect/elist.phtml
CHANGED
@@ -1,26 +1,26 @@
|
|
1 |
<?php
|
2 |
// CP
|
3 |
if (($this->getMode() == 2) && $this->getRetailerId() && $this->isEnabled()) :
|
4 |
-
|
5 |
-
|
|
|
|
|
|
|
|
|
6 |
?>
|
|
|
7 |
<iframe
|
8 |
id="streamIFrame"
|
9 |
name="streamIFrame"
|
10 |
-
src="https://www.cueconnect.com/poweredby/<?php echo $
|
11 |
height="640px"
|
12 |
width="100%"
|
13 |
-
scrolling="no"
|
14 |
-
style="
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
max-width:1000px;
|
19 |
-
margin: 0 auto 1em;
|
20 |
-
"></iframe>
|
21 |
-
<?php
|
22 |
// show prelogin
|
23 |
-
else:
|
24 |
?>
|
25 |
<!-- BEGIN Cue e-List -->
|
26 |
<style>
|
@@ -31,8 +31,9 @@ if (($this->getMode() == 2) && $this->getRetailerId() && $this->isEnabled()) :
|
|
31 |
display: table;
|
32 |
table-layout: fixed;
|
33 |
width: 100%;
|
34 |
-
|
35 |
-
|
|
|
36 |
}
|
37 |
|
38 |
#cue-magento-forms-container h1,
|
@@ -124,6 +125,27 @@ if (($this->getMode() == 2) && $this->getRetailerId() && $this->isEnabled()) :
|
|
124 |
max-width:100%;
|
125 |
}
|
126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
@media screen and (max-width: 798px){
|
128 |
#cue-magento-forms-container {
|
129 |
display:block;
|
@@ -141,7 +163,8 @@ if (($this->getMode() == 2) && $this->getRetailerId() && $this->isEnabled()) :
|
|
141 |
</style>
|
142 |
|
143 |
<!-- user is not authenticated -->
|
144 |
-
|
|
|
145 |
<div class="cue-info-container">
|
146 |
<h2 class="title cue-title">Welcome to My List</h2>
|
147 |
<p>Everything you care about in one place. Built just for you.</p>
|
@@ -182,42 +205,245 @@ if (($this->getMode() == 2) && $this->getRetailerId() && $this->isEnabled()) :
|
|
182 |
|
183 |
</div>
|
184 |
</div>
|
|
|
185 |
|
186 |
-
<
|
187 |
-
function showRecoverPasswordForm() {
|
188 |
-
document.getElementById('recover-password').style.display = 'block';
|
189 |
-
document.getElementById('login').style.display='none';
|
190 |
-
}
|
191 |
|
192 |
-
|
193 |
-
|
194 |
-
document.getElementById('login').style.display = 'block';
|
195 |
-
}
|
196 |
|
197 |
-
|
198 |
-
|
199 |
-
|
|
|
|
|
|
|
200 |
|
201 |
-
<p id="cue-show-signup" >Don't have an account? <a href="#" onclick="cueShowSignup();return false;">Sign up</a></p>
|
202 |
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
console.log(this);
|
209 |
-
}
|
210 |
-
|
211 |
-
function cueShowSignin(){
|
212 |
-
document.getElementById('customer-register').style.display = 'none';
|
213 |
-
document.getElementById('customer-login').style.display = 'block';
|
214 |
-
document.getElementById('cue-show-signup').style.display = 'block';
|
215 |
-
}
|
216 |
-
|
217 |
-
var pid = <?php echo ($this->getRetailerId()) ? $this->getRetailerId() : 0 ; ?>;
|
218 |
-
</script>
|
219 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
<!-- END Cue e-List -->
|
222 |
<?php
|
223 |
endif;
|
1 |
<?php
|
2 |
// CP
|
3 |
if (($this->getMode() == 2) && $this->getRetailerId() && $this->isEnabled()) :
|
4 |
+
|
5 |
+
$place_id = $this->getRetailerId() ? $this->getRetailerId() : 0;
|
6 |
+
$origin = Mage::getBaseUrl();
|
7 |
+
|
8 |
+
if ($this->getCustomerEmail()):
|
9 |
+
// signed in so show my-list
|
10 |
?>
|
11 |
+
|
12 |
<iframe
|
13 |
id="streamIFrame"
|
14 |
name="streamIFrame"
|
15 |
+
src="https://www.cueconnect.com/poweredby/<?php echo $place_id ?>/?origin=<?php echo $origin; ?>&version=embed&from=stream&email=<?php echo $this->getCustomerEmail() ?>"
|
16 |
height="640px"
|
17 |
width="100%"
|
18 |
+
scrolling="no"
|
19 |
+
style="border:none;display:block;max-width:100%;margin: 0 auto;"
|
20 |
+
></iframe>
|
21 |
+
|
22 |
+
<?php else :
|
|
|
|
|
|
|
|
|
23 |
// show prelogin
|
|
|
24 |
?>
|
25 |
<!-- BEGIN Cue e-List -->
|
26 |
<style>
|
31 |
display: table;
|
32 |
table-layout: fixed;
|
33 |
width: 100%;
|
34 |
+
min-height: 640px;
|
35 |
+
padding:0;
|
36 |
+
margin: 0 auto;
|
37 |
}
|
38 |
|
39 |
#cue-magento-forms-container h1,
|
125 |
max-width:100%;
|
126 |
}
|
127 |
|
128 |
+
#cue-faq-container {
|
129 |
+
padding: 0;
|
130 |
+
}
|
131 |
+
|
132 |
+
#cue-external-footer {
|
133 |
+
width: 100%;
|
134 |
+
height: auto;
|
135 |
+
overflow:hidden;
|
136 |
+
border-top: 1px solid #ccc;
|
137 |
+
padding: .5em 0;
|
138 |
+
}
|
139 |
+
|
140 |
+
.cue-links {
|
141 |
+
float:left;
|
142 |
+
}
|
143 |
+
|
144 |
+
.cue-links-right {
|
145 |
+
float:right;
|
146 |
+
}
|
147 |
+
|
148 |
+
|
149 |
@media screen and (max-width: 798px){
|
150 |
#cue-magento-forms-container {
|
151 |
display:block;
|
163 |
</style>
|
164 |
|
165 |
<!-- user is not authenticated -->
|
166 |
+
|
167 |
+
<div id="cue-magento-forms-container">
|
168 |
<div class="cue-info-container">
|
169 |
<h2 class="title cue-title">Welcome to My List</h2>
|
170 |
<p>Everything you care about in one place. Built just for you.</p>
|
205 |
|
206 |
</div>
|
207 |
</div>
|
208 |
+
<!-- login form END -->
|
209 |
|
210 |
+
<p id="cue-show-signup" >Don't have an account? <a href="#" onclick="cueShowSignup();return false;">Sign up</a></p>
|
|
|
|
|
|
|
|
|
211 |
|
212 |
+
</div>
|
213 |
+
</div>
|
|
|
|
|
214 |
|
215 |
+
<div id="cue-faq-container" style="display: none;">
|
216 |
+
<div style="width:100%;position:relative;">
|
217 |
+
<iframe id="faq_container_iframe" class="faqcontainer" name="streamIFrame" src="https://www.cueconnect.com/poweredby/<?php echo $place_id ?>/?origin=<?php echo $origin; ?>&action=faq" height="640px" width="100%" scrolling="no" style="outline: none; display: block; border: none; overflow-y: auto; z-index: 999999;max-width:100%;background-color: #fff">
|
218 |
+
</iframe>
|
219 |
+
</div>
|
220 |
+
</div>
|
221 |
|
|
|
222 |
|
223 |
+
<div id="cue-external-footer">
|
224 |
+
<div id="cue_links" class="cue-links">
|
225 |
+
<a href="#" id="open_learnmore">Learn More</a>
|
226 |
+
|
|
227 |
+
<a href="#" id="open_faq" class="faqs" >FAQs</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
228 |
</div>
|
229 |
+
|
230 |
+
<div class="cue-links">
|
231 |
+
<a id="go_back" style="display: none;" href="#">« Go Back</a>
|
232 |
+
</div>
|
233 |
+
|
234 |
+
<div class="cue-links-right">
|
235 |
+
|
236 |
+
<span id="imi-external-footer-title">My List</span> powered by
|
237 |
+
<a href="http://www.cueconnect.com" target="_BLANK">
|
238 |
+
<svg height="10" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 431.6 147.8" style="enable-background:new 0 0 431.6 147.8;max-width:35px;" xml:space="preserve">
|
239 |
+
<style type="text/css">.cueWhiteNoTMSVG0{fill:#000000;}.cueWhiteNoTMSVG1{display:none;}.cueWhiteNoTMSVG2{display:inline;fill:#000000;}</style>
|
240 |
+
<g>
|
241 |
+
<path class="cueWhiteNoTMSVG0" d="M124.2,111.6c-2.1-2.1-4.2-2.1-6.7,0.7c-3.9,4.2-17.6,20.8-44,20.8c-31.3,0-57.7-25.3-57.7-59.5c0-33.4,26-58.4,58.1-58.4c22.2,0,36.9,12.3,40.5,16.2c2.1,2.1,4.9,3.2,7.4,0.7l3.5-3.5c2.1-1.8,2.5-4.2,0.7-6.3C119.6,14.1,101.3,0,73.9,0C34.1,0,0,31.7,0,73.9c0,42.6,34.1,73.9,73.9,73.9c29.2,0,50-18.7,55.2-27.1c1.4-2.1,0.7-3.9-1-5.6L124.2,111.6z"></path>
|
242 |
+
</g>
|
243 |
+
<g>
|
244 |
+
<path class="cueWhiteNoTMSVG0" d="M412.3,24.6C385.4-4.8,339-8.5,307.9,20c-31.4,28.8-31.4,75.1-4.5,104.4c19.7,21.5,47.5,24.2,57.3,22.4c2.5-0.4,3.3-2.1,3.4-4.6l0-5.2c0.1-3-1.3-4.5-5-4.5c-5.7,0-27.2,1.1-45-18.4c-21.2-23.1-20.3-59.7,4.8-82.7c24.6-22.6,60.7-20.3,82.3,3.3c15,16.3,15.9,35.6,15.4,40.8c-0.1,3,0.2,4.9,3.7,5l7.3,0.6c2.7,0.4,3.2-0.5,3.6-3.3C432.8,67.8,430.8,44.8,412.3,24.6z"></path>
|
245 |
+
<path class="cueWhiteNoTMSVG0" d="M386.3,66.5h-56.8c-1.6,0-2.9,1.3-2.9,2.9v8.9c0,1.6,1.3,2.9,2.9,2.9h56.8c1.6,0,2.9-1.3,2.9-2.9v-8.9C389.2,67.7,387.9,66.5,386.3,66.5z"></path>
|
246 |
+
</g>
|
247 |
+
<g>
|
248 |
+
<path class="cueWhiteNoTMSVG0" d="M267.2,3.7c0-1.6-1.3-2.9-2.9-2.9h-9.1c-1.6,0-2.9,1.3-2.9,2.9v80.9c0,0.2,0.1,0.3,0.1,0.5v1.8c0,12.6-4.5,23.4-13.4,32.2c-8.9,8.8-19.7,13.3-32.3,13.5c-12.4-0.2-23.1-4.7-31.9-13.5c-8.8-8.8-13.2-19.6-13.2-32.2V8.3c0,0,0,0,0,0V3.7c0-1.6-1.3-2.9-2.9-2.9h-8.7c-1.6,0-2.9,1.3-2.9,2.9v76.8c0,0,0,0,0,0v6.3c0,16.6,5.8,30.8,17.4,42.6c11.6,11.7,25.8,17.6,42.4,17.6c16.6,0,30.8-5.9,42.6-17.6c11.7-11.7,17.6-25.9,17.6-42.6V6.6h0V3.7z"></path>
|
249 |
+
</g>
|
250 |
+
<g class="cueWhiteNoTMSVG1">
|
251 |
+
<path class="cueWhiteNoTMSVG2" d="M413.3,1.5v-1h6.9v1h-2.9v7.6h-1.1V1.5H413.3z"></path>
|
252 |
+
<path class="cueWhiteNoTMSVG2" d="M422.7,0.5l2.7,7.2l2.7-7.2h1.6v8.6h-1.1V1.9h0l-2.7,7.1h-1l-2.7-7.1h0v7.1h-1.1V0.5H422.7z"></path>
|
253 |
+
</g>
|
254 |
+
</svg>
|
255 |
+
</a>
|
256 |
+
</div>
|
257 |
+
|
258 |
</div>
|
259 |
+
|
260 |
+
<script>
|
261 |
+
|
262 |
+
function showRecoverPasswordForm() {
|
263 |
+
document.getElementById('recover-password').style.display = 'block';
|
264 |
+
document.getElementById('login').style.display='none';
|
265 |
+
}
|
266 |
+
|
267 |
+
function hideRecoverPasswordForm() {
|
268 |
+
document.getElementById('recover-password').style.display = 'none';
|
269 |
+
document.getElementById('login').style.display = 'block';
|
270 |
+
}
|
271 |
+
|
272 |
+
if (window.location.hash == '#recover') { showRecoverPasswordForm() }
|
273 |
+
function cueShowSignup(){
|
274 |
+
document.getElementById('cue-show-signup').style.display = 'none';
|
275 |
+
document.getElementById('customer-login').style.display = 'none';
|
276 |
+
document.getElementById('customer-register').style.display = 'block';
|
277 |
+
console.log(this);
|
278 |
+
}
|
279 |
+
|
280 |
+
function cueShowSignin(){
|
281 |
+
document.getElementById('customer-register').style.display = 'none';
|
282 |
+
document.getElementById('customer-login').style.display = 'block';
|
283 |
+
document.getElementById('cue-show-signup').style.display = 'block';
|
284 |
+
}
|
285 |
+
|
286 |
+
var pid = <?php echo $place_id; ?>;
|
287 |
+
|
288 |
+
(function($) {
|
289 |
+
|
290 |
+
var main_container = $('#cue-magento-forms-container');
|
291 |
+
var faq_container = $('#cue-faq-container');
|
292 |
+
var open_faq = $('#open_faq');
|
293 |
+
var open_learnmore = $('#open_learnmore');
|
294 |
+
var faq_container_iframe = $('#faq_container_iframe');
|
295 |
+
var cue_links = $('#cue_links');
|
296 |
+
var go_back = $('#go_back');
|
297 |
+
|
298 |
+
open_faq.bind('click', function(e){
|
299 |
+
main_container.hide();
|
300 |
+
faq_container.show();
|
301 |
+
go_back.show();
|
302 |
+
cue_links.hide();
|
303 |
+
e.preventDefault();
|
304 |
+
});
|
305 |
+
|
306 |
+
open_learnmore.bind('click', function(e){
|
307 |
+
faq_container_iframe[0].contentWindow.postMessage('openTuto', faq_container_iframe[0].src);
|
308 |
+
main_container.hide();
|
309 |
+
faq_container.show();
|
310 |
+
go_back.show();
|
311 |
+
cue_links.hide();
|
312 |
+
e.preventDefault();
|
313 |
+
});
|
314 |
+
|
315 |
+
go_back.bind('click', function(e){
|
316 |
+
faq_container_iframe[0].contentWindow.postMessage('closeTuto', faq_container_iframe[0].src);
|
317 |
+
main_container.show();
|
318 |
+
faq_container.hide();
|
319 |
+
go_back.hide();
|
320 |
+
cue_links.show();
|
321 |
+
e.preventDefault();
|
322 |
+
});
|
323 |
+
|
324 |
+
/* GA analytic events */
|
325 |
+
|
326 |
+
|
327 |
+
var retailerName = "<?php echo $origin ?>";
|
328 |
+
var retailerId = "<?php echo $place_id ?>";
|
329 |
+
|
330 |
+
|
331 |
+
document.getElementById('email').addEventListener('click',function(){
|
332 |
+
// Sends the event to Google Analytics start
|
333 |
+
var eventCategory = "cp sign in email input";
|
334 |
+
var eventAction = "cp sign in email input clicked";
|
335 |
+
var eventLabel = retailerId + " " + retailerName;
|
336 |
+
ga('send', 'event', eventCategory, eventAction, eventLabel, {
|
337 |
+
hitCallback: function() {}
|
338 |
+
});
|
339 |
+
// Sends the event to Google Analytics end
|
340 |
+
});
|
341 |
+
|
342 |
+
document.getElementById('pass').addEventListener('click',function(){
|
343 |
+
// Sends the event to Google Analytics start
|
344 |
+
var eventCategory = "cp sign in password input";
|
345 |
+
var eventAction = "cp sign in password input clicked";
|
346 |
+
var eventLabel = retailerId + " " + retailerName;
|
347 |
+
ga('send', 'event', eventCategory, eventAction, eventLabel, {
|
348 |
+
hitCallback: function() {}
|
349 |
+
});
|
350 |
+
// Sends the event to Google Analytics end
|
351 |
+
});
|
352 |
+
|
353 |
+
document.getElementById('send2').addEventListener('click',function(){
|
354 |
+
// Sends the event to Google Analytics start
|
355 |
+
var eventCategory = "cp sign in button";
|
356 |
+
var eventAction = "cp sign in button clicked";
|
357 |
+
var eventLabel = retailerId + " " + retailerName;
|
358 |
+
ga('send', 'event', eventCategory, eventAction, eventLabel, {
|
359 |
+
hitCallback: function() {}
|
360 |
+
});
|
361 |
+
// Sends the event to Google Analytics end
|
362 |
+
});
|
363 |
+
|
364 |
+
document.getElementById('open_learnmore').addEventListener('click',function(){
|
365 |
+
// Sends the event to Google Analytics start
|
366 |
+
var eventCategory = "cp learn more";
|
367 |
+
var eventAction = "cp learn more clicked";
|
368 |
+
var eventLabel = retailerId + " " + retailerName;
|
369 |
+
ga('send', 'event', eventCategory, eventAction, eventLabel, {
|
370 |
+
hitCallback: function() {}
|
371 |
+
});
|
372 |
+
// Sends the event to Google Analytics end
|
373 |
+
});
|
374 |
+
|
375 |
+
document.getElementById('open_faq').addEventListener('click',function(){
|
376 |
+
// Sends the event to Google Analytics start
|
377 |
+
var eventCategory = "cp faq";
|
378 |
+
var eventAction = "cp faq clicked";
|
379 |
+
var eventLabel = retailerId + " " + retailerName;
|
380 |
+
ga('send', 'event', eventCategory, eventAction, eventLabel, {
|
381 |
+
hitCallback: function() {}
|
382 |
+
});
|
383 |
+
// Sends the event to Google Analytics end
|
384 |
+
});
|
385 |
+
|
386 |
+
document.getElementById('email_address').addEventListener('click',function(){
|
387 |
+
// Sends the event to Google Analytics start
|
388 |
+
var eventCategory = "cp sign up email input";
|
389 |
+
var eventAction = "cp sign up email input clicked";
|
390 |
+
var eventLabel = retailerId + " " + retailerName;
|
391 |
+
ga('send', 'event', eventCategory, eventAction, eventLabel, {
|
392 |
+
hitCallback: function() {}
|
393 |
+
});
|
394 |
+
// Sends the event to Google Analytics end
|
395 |
+
});
|
396 |
+
|
397 |
+
document.getElementById('password').addEventListener('click',function(){
|
398 |
+
// Sends the event to Google Analytics start
|
399 |
+
var eventCategory = "cp sign up password input";
|
400 |
+
var eventAction = "cp sign up password input clicked";
|
401 |
+
var eventLabel = retailerId + " " + retailerName;
|
402 |
+
ga('send', 'event', eventCategory, eventAction, eventLabel, {
|
403 |
+
hitCallback: function() {}
|
404 |
+
});
|
405 |
+
// Sends the event to Google Analytics end
|
406 |
+
});
|
407 |
+
|
408 |
+
document.getElementById('firstname').addEventListener('click',function(){
|
409 |
+
// Sends the event to Google Analytics start
|
410 |
+
var eventCategory = "cp sign up first name input";
|
411 |
+
var eventAction = "cp sign up first name input clicked";
|
412 |
+
var eventLabel = retailerId + " " + retailerName;
|
413 |
+
ga('send', 'event', eventCategory, eventAction, eventLabel, {
|
414 |
+
hitCallback: function() {}
|
415 |
+
});
|
416 |
+
// Sends the event to Google Analytics end
|
417 |
+
});
|
418 |
+
|
419 |
+
document.getElementById('lastname').addEventListener('click',function(){
|
420 |
+
// Sends the event to Google Analytics start
|
421 |
+
var eventCategory = "cp sign up last name input";
|
422 |
+
var eventAction = "cp sign up last name input clicked";
|
423 |
+
var eventLabel = retailerId + " " + retailerName;
|
424 |
+
ga('send', 'event', eventCategory, eventAction, eventLabel, {
|
425 |
+
hitCallback: function() {}
|
426 |
+
});
|
427 |
+
// Sends the event to Google Analytics end
|
428 |
+
});
|
429 |
+
|
430 |
+
|
431 |
+
// document.getElementById('signupId').addEventListener('click',function(){
|
432 |
+
// // Sends the event to Google Analytics start
|
433 |
+
// var eventCategory = "cp sign up button";
|
434 |
+
// var eventAction = "cp sign up button clicked";
|
435 |
+
// var eventLabel = retailerId + " " + retailerName;
|
436 |
+
// ga('send', 'event', eventCategory, eventAction, eventLabel, {
|
437 |
+
// hitCallback: function() {}
|
438 |
+
// });
|
439 |
+
// // Sends the event to Google Analytics end
|
440 |
+
// });
|
441 |
+
|
442 |
+
})(jQuery);
|
443 |
+
|
444 |
+
</script>
|
445 |
+
|
446 |
+
|
447 |
<!-- END Cue e-List -->
|
448 |
<?php
|
449 |
endif;
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Cue</name>
|
4 |
-
<version>3.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Drive greater ROI using an experience and tools shoppers already engage with on your site today. Provide Cue as a free personal shopping assistant to your customers and get an inside look at the items they save and conversations they have about them. Use the data to personalize various touch points of their shopping journey and thoughtfully stimulate conversions. Receive a free 90-day trial when you sign up and grow your business risk-free.</description>
|
11 |
<notes>- Improvements and bugfixes</notes>
|
12 |
<authors><author><name>Cue Connect</name><user>hrais</user><email>hrais@cueconnect.com</email></author></authors>
|
13 |
-
<date>2016-
|
14 |
-
<time>
|
15 |
-
<contents><target name="mageetc"><dir name="modules"><file name="CueConnect_Cue.xml" hash="6bd6cf8a7f9e647dc5729e8b0a77cfa1"/></dir></target><target name="magecommunity"><dir name="CueConnect"><dir name="Cue"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><file name="Product.php" hash="da20e73d9d6c46f8e9b8f2e0b130b69a"/></dir><file name="Index.php" hash="0c40f5f733dd6ecd2dd5a0453d1df14b"/><file name="Progress.php" hash="9767500cf8507eacd58c6b441a23d7c1"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Readonly.php" hash="847f56fbe8ce7b3334b8831981aff5fb"/></dir></dir></dir></dir></dir><file name="Alert.php" hash="416cb0dba8485a32feb55306f2004664"/><file name="BaseCueBlock.php" hash="762bd5f6105ae2c82bb06888ac7e079d"/><file name="Collection.php" hash="34049e05086f52a1b74bcf7046f8a4f8"/><file name="Elist.php" hash="7832410c357470a083cf3d3679ab376d"/><file name="Favorite.php" hash="dd4bd0736e3cfea4d87e366fb0e228b3"/><file name="Js.php" hash="fa423dff429d99b1969fe9b2932be095"/><file name="Meta.php" hash="c16b07f77ac3c1ccb6fdcbcfc17ea703"/><file name="Navigation.php" hash="a43d159e9629ca20461c88ba9eb2c16a"/><file name="Share.php" hash="c0a2dd7fcc9a3537718fe811d1b4d7df"/></dir><dir name="Helper"><file name="Data.php" hash="b6483a7a9d4bd1025aaeec93840145a2"/><dir name="Wishlist"><file name="Data.php" hash="df7c81da4f905c5cfdc9adf18b2918f7"/></dir></dir><dir name="Model"><file name="CueConnect.php" hash="f87201b50f23e93a3c34f995de8a2fe5"/><file name="Demand.php" hash="e1d627c3207a364c861faf8decbcd7cc"/><dir name="Mysql4"><dir name="Demand"><file name="Collection.php" hash="4bd64ac5500aacdd861c05161bfdea60"/></dir><file name="Demand.php" hash="6b3b0d54f7d15fb55d47773ea96690d8"/><dir name="UserSync"><file name="Collection.php" hash="2f70172ef8506195355d0f34fa963de7"/></dir><file name="UserSync.php" hash="29fbf5674f15ba2a8db2c4f79545431c"/><dir name="WishlistSync"><file name="Collection.php" hash="c7ae0dc2a51c0d6e26360cba2c82c685"/></dir><file name="WishlistSync.php" hash="18079cce3dcf1129dd412d9de5199351"/></dir><file name="Observer.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>5.7.0</max></php><extension><name>Core</name><min/><max/></extension></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Cue</name>
|
4 |
+
<version>3.0.16</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Drive greater ROI using an experience and tools shoppers already engage with on your site today. Provide Cue as a free personal shopping assistant to your customers and get an inside look at the items they save and conversations they have about them. Use the data to personalize various touch points of their shopping journey and thoughtfully stimulate conversions. Receive a free 90-day trial when you sign up and grow your business risk-free.</description>
|
11 |
<notes>- Improvements and bugfixes</notes>
|
12 |
<authors><author><name>Cue Connect</name><user>hrais</user><email>hrais@cueconnect.com</email></author></authors>
|
13 |
+
<date>2016-09-09</date>
|
14 |
+
<time>14:35:04</time>
|
15 |
+
<contents><target name="mageetc"><dir name="modules"><file name="CueConnect_Cue.xml" hash="6bd6cf8a7f9e647dc5729e8b0a77cfa1"/></dir></target><target name="magecommunity"><dir name="CueConnect"><dir name="Cue"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><file name="Product.php" hash="da20e73d9d6c46f8e9b8f2e0b130b69a"/></dir><file name="Index.php" hash="0c40f5f733dd6ecd2dd5a0453d1df14b"/><file name="Progress.php" hash="9767500cf8507eacd58c6b441a23d7c1"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Readonly.php" hash="847f56fbe8ce7b3334b8831981aff5fb"/></dir></dir></dir></dir></dir><file name="Alert.php" hash="416cb0dba8485a32feb55306f2004664"/><file name="BaseCueBlock.php" hash="762bd5f6105ae2c82bb06888ac7e079d"/><file name="Collection.php" hash="34049e05086f52a1b74bcf7046f8a4f8"/><file name="Elist.php" hash="7832410c357470a083cf3d3679ab376d"/><file name="Favorite.php" hash="dd4bd0736e3cfea4d87e366fb0e228b3"/><file name="Js.php" hash="fa423dff429d99b1969fe9b2932be095"/><file name="Meta.php" hash="c16b07f77ac3c1ccb6fdcbcfc17ea703"/><file name="Navigation.php" hash="a43d159e9629ca20461c88ba9eb2c16a"/><file name="Share.php" hash="c0a2dd7fcc9a3537718fe811d1b4d7df"/></dir><dir name="Helper"><file name="Data.php" hash="b6483a7a9d4bd1025aaeec93840145a2"/><dir name="Wishlist"><file name="Data.php" hash="df7c81da4f905c5cfdc9adf18b2918f7"/></dir></dir><dir name="Model"><file name="CueConnect.php" hash="f87201b50f23e93a3c34f995de8a2fe5"/><file name="Demand.php" hash="e1d627c3207a364c861faf8decbcd7cc"/><dir name="Mysql4"><dir name="Demand"><file name="Collection.php" hash="4bd64ac5500aacdd861c05161bfdea60"/></dir><file name="Demand.php" hash="6b3b0d54f7d15fb55d47773ea96690d8"/><dir name="UserSync"><file name="Collection.php" hash="2f70172ef8506195355d0f34fa963de7"/></dir><file name="UserSync.php" hash="29fbf5674f15ba2a8db2c4f79545431c"/><dir name="WishlistSync"><file name="Collection.php" hash="c7ae0dc2a51c0d6e26360cba2c82c685"/></dir><file name="WishlistSync.php" hash="18079cce3dcf1129dd412d9de5199351"/></dir><file name="Observer.php" hash="4df7298647d514f8e6af371f2848307b"/><file name="Options.php" hash="6f312d0f07fb27129c6bb8eb83fdda8c"/><file name="UserSync.php" hash="45dc5508786c1db53088f4257cd5e3bd"/><file name="WishlistSync.php" hash="4b77f0097f4ed05ea63058cc1099ce66"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="SyncController.php" hash="c9cd0b21c257205cae0f09044ba12333"/></dir><file name="ElistController.php" hash="dc112c88f2ced7880379bc87ec0138a9"/></dir><dir name="etc"><file name="config.xml" hash="8e6bcdf70a9d93314dbc7e4bd1a40af9"/><file name="system.xml" hash="1801e59671ae1e08f4a0ac5aae4e8c7f"/></dir><dir name="sql"><dir name="cueconnect_setup"><file name="mysql4-install-3.0.9.php" hash="35e874c8e139497043b0e50ea6cf2fa0"/><file name="mysql4-upgrade-3.0.8-3.0.9.php" hash="54cfba6c455bebb9e614013642fb8fdd"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cueconnect.xml" hash="4b7e20ae6fda830865d7b30ee9e82aae"/></dir><dir name="template"><dir name="cueconnect"><file name="alert.phtml" hash="1b84532e255e6c4cfba9881e48013896"/><file name="collection.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><dir name="customer"><dir name="form"><file name="forgotpassword.phtml" hash="6cc627d8f6f4224965c00d4f7c2fb939"/><file name="login.phtml" hash="830203b7f6a8d8647a3812b51ac45721"/><file name="register.phtml" hash="b23b45199434202d0c7f582e804fb8c1"/></dir></dir><file name="elist.phtml" hash="b8c2211f819d4ae9b0faa23caee7f677"/><file name="favorite.phtml" hash="89f0bca645d6f81e2a3c3cf375c5d44e"/><file name="js.phtml" hash="4d779502845e4dc876010e2c7933d434"/><file name="links.phtml" hash="b5567bf97bd53184fb84e23c73ab4778"/><file name="meta.phtml" hash="57bd5367b677d71d935faf8a9dfefa82"/><file name="share.phtml" hash="781d6414c1b41f3bdb2a5befc8817463"/></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>5.7.0</max></php><extension><name>Core</name><min/><max/></extension></required></dependencies>
|
18 |
</package>
|