Fanplayr - Version 1.0.55

Version Notes

- TBuy shipping support now allows for stackable coupons
- Facked domain tracking

Download this release

Release Info

Developer Magento Core Team
Extension Fanplayr
Version 1.0.55
Comparing to
See all releases


Code changes from version 1.0.52 to 1.0.55

app/code/community/Fanplayr/Socialcoupons/Block/Adminhtml/System/Config/Form/Field/Installhelper.php CHANGED
@@ -97,6 +97,8 @@ class Fanplayr_Socialcoupons_Block_Adminhtml_System_Config_Form_Field_Installhel
97
  $gtmContainerId = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/gtm_container_id'));
98
  $customEmbedUrlPost = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/custom_embed_url_post'));
99
 
 
 
100
  // have to use this variable for backwards compatability ...
101
  $currentEmbedType = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/wait_for_onload'));
102
  if (!$currentEmbedType) $currentEmbedType = '0';
@@ -227,6 +229,8 @@ class Fanplayr_Socialcoupons_Block_Adminhtml_System_Config_Form_Field_Installhel
227
  <tr><td><label>Extra Routes</label></td><td><input type="text" id="fanplayrsocialcoupons-console-deproutes" name="fanplayrsocialcoupons-console-deproutes" value="{$depRoutes}" /></td></tr>
228
  <tr><td><label>GTM Container Public ID</label></td><td><input type="text" id="fanplayrsocialcoupons-console-gtmcontainerid" name="fanplayrsocialcoupons-console-gtmcontainerid" value="{$gtmContainerId}" /></td></tr>
229
 
 
 
230
  <tr><td colspan="2"><a href="#" id="fanplayrsocialcoupons-console-save" onclick="Fanplayr.console.save(); return false;">Save</a> <a href="#" id="fanplayrsocialcoupons-console-hide" onclick="Fanplayr.console.hide(); return false;">Hide</a></td></tr>
231
  </table>
232
  <div id="fanplayrsocialcoupons-console-saving" style="display: none;"><b>Please be patient, saving ...</b></div>
97
  $gtmContainerId = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/gtm_container_id'));
98
  $customEmbedUrlPost = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/custom_embed_url_post'));
99
 
100
+ $useTbuy = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/use_tbuy'));
101
+
102
  // have to use this variable for backwards compatability ...
103
  $currentEmbedType = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/wait_for_onload'));
104
  if (!$currentEmbedType) $currentEmbedType = '0';
229
  <tr><td><label>Extra Routes</label></td><td><input type="text" id="fanplayrsocialcoupons-console-deproutes" name="fanplayrsocialcoupons-console-deproutes" value="{$depRoutes}" /></td></tr>
230
  <tr><td><label>GTM Container Public ID</label></td><td><input type="text" id="fanplayrsocialcoupons-console-gtmcontainerid" name="fanplayrsocialcoupons-console-gtmcontainerid" value="{$gtmContainerId}" /></td></tr>
231
 
232
+ <tr><td><label title="Set to '1' to disable">Disable TBuy Discounts</label></td><td><input type="text" id="fanplayrsocialcoupons-console-usetbuy" name="fanplayrsocialcoupons-console-usetbuy" value="{$useTbuy}" /></td></tr>
233
+
234
  <tr><td colspan="2"><a href="#" id="fanplayrsocialcoupons-console-save" onclick="Fanplayr.console.save(); return false;">Save</a> <a href="#" id="fanplayrsocialcoupons-console-hide" onclick="Fanplayr.console.hide(); return false;">Hide</a></td></tr>
235
  </table>
236
  <div id="fanplayrsocialcoupons-console-saving" style="display: none;"><b>Please be patient, saving ...</b></div>
app/code/community/Fanplayr/Socialcoupons/Model/EmbedObserver.php CHANGED
@@ -120,6 +120,11 @@
120
  $customEmbedUrl = trim(Mage::getStoreConfig('fanplayrsocialcoupons/config/custom_embed_url'));
121
  if (!empty($customEmbedUrl)) $shopUrl = $customEmbedUrl;
122
 
 
 
 
 
 
123
  $block->assign('shopUrl', $shopUrl);
124
 
125
  if (!$directEmbed){
@@ -252,6 +257,40 @@
252
  $discount = array_key_exists('subtotal_with_discount', $cartData) ? $subtotal - $cartData['subtotal_with_discount'] : 0;
253
  // after discount, before shipping / tax
254
  $total = array_key_exists('subtotal_with_discount', $cartData) ? $cartData['subtotal_with_discount'] : 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
255
  }
256
  }
257
 
120
  $customEmbedUrl = trim(Mage::getStoreConfig('fanplayrsocialcoupons/config/custom_embed_url'));
121
  if (!empty($customEmbedUrl)) $shopUrl = $customEmbedUrl;
122
 
123
+ // make sure that the shop URL is protocol agnostic
124
+ if (strpos($shopUrl, '//') !== false) {
125
+ $shopUrl = substr($shopUrl, strpos($shopUrl, '//'));
126
+ }
127
+
128
  $block->assign('shopUrl', $shopUrl);
129
 
130
  if (!$directEmbed){
257
  $discount = array_key_exists('subtotal_with_discount', $cartData) ? $subtotal - $cartData['subtotal_with_discount'] : 0;
258
  // after discount, before shipping / tax
259
  $total = array_key_exists('subtotal_with_discount', $cartData) ? $cartData['subtotal_with_discount'] : 0;
260
+
261
+ // support disabling of TBuy Shipping module
262
+ $useTbuy = Mage::getStoreConfig('fanplayrsocialcoupons/config/use_tbuy');
263
+ $useTbuy = $useTbuy === '1';
264
+
265
+ if ($useTbuy) {
266
+ if (array_key_exists('applied_rule_ids', $cartData) && strlen($cartData['applied_rule_ids'])) {
267
+ $ruleIds = explode(',', $cartData['applied_rule_ids']);
268
+ // get shipping amount
269
+ $shippingAddress = $quote->getShippingAddress();
270
+
271
+ $shipping = 0;
272
+ if ($shippingAddress) {
273
+ $shipping = round(abs($shippingAddress['shipping_amount']) + abs($shippingAddress['shipping_tax_amount']), 2);
274
+ }
275
+ foreach($ruleIds as $ruleId) {
276
+ $rule = Mage::getModel('salesrule/rule')->load($ruleId);
277
+ $d = $rule->getData();
278
+ $ruleSimpleAction = $d['simple_action'];
279
+ $ruleDiscountAmount = $d['discount_amount'];
280
+ if ($ruleSimpleAction == 'tbuy_sd_percent'){
281
+ $toRemove = $shipping * ($ruleDiscountAmount / 100);
282
+ $discount = round($discount - $toRemove, 2);
283
+ $total = round($total + $toRemove, 2);
284
+ $toRemove;
285
+ }else if($ruleSimpleAction == 'tbuy_sd_fixed') {
286
+ $toRemove = $ruleDiscountAmount;
287
+ $discount = round($discount - $toRemove, 2);
288
+ $total = round($total + $toRemove, 2);
289
+ }
290
+ }
291
+ }
292
+ }
293
+
294
  }
295
  }
296
 
app/code/community/Fanplayr/Socialcoupons/Model/OrderObserver.php CHANGED
@@ -271,9 +271,40 @@
271
  $orderSubTotal = round($order->getBaseSubtotal(), 2);
272
  $orderTotal = $orderSubTotal - abs($discountAmount);
273
 
274
- $shipping = round($order->getShippingAmount(), 2);
275
  $tax = round($order->getTaxAmount(), 2);
276
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
277
  $products = $this->getProductsFromOrder($order);
278
  }
279
 
271
  $orderSubTotal = round($order->getBaseSubtotal(), 2);
272
  $orderTotal = $orderSubTotal - abs($discountAmount);
273
 
274
+ $shipping = round(abs($order->getShippingAmount()) + abs($order->getShippingTaxAmount()), 2);
275
  $tax = round($order->getTaxAmount(), 2);
276
 
277
+ // support disabling of TBuy Shipping module
278
+ $useTbuy = Mage::getStoreConfig('fanplayrsocialcoupons/config/use_tbuy');
279
+ $useTbuy = $useTbuy === '1';
280
+
281
+ if ($useTbuy) {
282
+ $orderData = $order->getData();
283
+ if ($orderData && array_key_exists('applied_rule_ids', $orderData) && strlen($orderData['applied_rule_ids'])) {
284
+ $ruleIds = explode(',', $orderData['applied_rule_ids']);
285
+
286
+ foreach($ruleIds as $ruleId) {
287
+ $rule = Mage::getModel('salesrule/rule')->load($ruleId);
288
+ $d = $rule->getData();
289
+
290
+ $ruleSimpleAction = $d['simple_action'];
291
+ $ruleDiscountAmount = $d['discount_amount'];
292
+
293
+ if ($ruleSimpleAction == 'tbuy_sd_percent') {
294
+ $toRemove = abs($shipping * ($ruleDiscountAmount / 100));
295
+ $discountAmount = -1 * round(abs($discountAmount) - $toRemove, 2);
296
+ $shipping = round($shipping - $toRemove, 2);
297
+ $orderTotal = round($orderTotal + $toRemove, 2);
298
+ } else if($ruleSimpleAction == 'tbuy_sd_fixed') {
299
+ $toRemove = abs($ruleDiscountAmount);
300
+ $discountAmount = -1 * round(abs($discountAmount) - $toRemove, 2);
301
+ $shipping = round($shipping - $toRemove, 2);
302
+ $orderTotal = round($orderTotal + $toRemove, 2);
303
+ }
304
+ }
305
+ }
306
+ }
307
+
308
  $products = $this->getProductsFromOrder($order);
309
  }
310
 
app/code/community/Fanplayr/Socialcoupons/controllers/AjaxController.php CHANGED
@@ -31,6 +31,11 @@
31
  $customEmbedUrl = trim(Mage::getStoreConfig('fanplayrsocialcoupons/config/custom_embed_url'));
32
  if (!empty($customEmbedUrl)) $shopUrl = $customEmbedUrl;
33
 
 
 
 
 
 
34
  $block->assign('widgetKeys', Mage::getStoreConfig('fanplayrsocialcoupons/config/widget_keys'));
35
  $block->assign('widgetKeysGenius', Mage::getStoreConfig('fanplayrsocialcoupons/config/widget_keys_genius'));
36
  $block->assign('accountKey', Mage::getStoreConfig('fanplayrsocialcoupons/config/acc_key'));
31
  $customEmbedUrl = trim(Mage::getStoreConfig('fanplayrsocialcoupons/config/custom_embed_url'));
32
  if (!empty($customEmbedUrl)) $shopUrl = $customEmbedUrl;
33
 
34
+ // make sure that the shop URL is protocol agnostic
35
+ if (strpos($shopUrl, '//') !== false) {
36
+ $shopUrl = substr($shopUrl, strpos($shopUrl, '//'));
37
+ }
38
+
39
  $block->assign('widgetKeys', Mage::getStoreConfig('fanplayrsocialcoupons/config/widget_keys'));
40
  $block->assign('widgetKeysGenius', Mage::getStoreConfig('fanplayrsocialcoupons/config/widget_keys_genius'));
41
  $block->assign('accountKey', Mage::getStoreConfig('fanplayrsocialcoupons/config/acc_key'));
app/code/community/Fanplayr/Socialcoupons/controllers/CompyController.php CHANGED
@@ -57,6 +57,8 @@
57
  $this->updateConfig('fanplayrsocialcoupons/config/custom_embed_url', '', true);
58
  $this->updateConfig('fanplayrsocialcoupons/config/custom_embed_url_post', '', false);
59
 
 
 
60
  //$this->addNotice('Fanplayr details removed.');
61
  echo $this->jsonMessage(false, 'Fanplayr unlink successful".');
62
  }
@@ -133,9 +135,11 @@
133
 
134
  $this->updateConfig('fanplayrsocialcoupons/config/gtm_container_id', array_key_exists('gtmcontainerid', $p) ? $p['gtmcontainerid'] : '', false);
135
 
136
- $this->updateConfig('fanplayrsocialcoupons/config/custom_embed_url', array_key_exists('customembedurl', $p) ? $p['customembedurl'] : '', true);
137
  $this->updateConfig('fanplayrsocialcoupons/config/custom_embed_url_post', array_key_exists('customembedurlpost', $p) ? $p['customembedurlpost'] : '', false);
138
 
 
 
139
  //$this->addNotice('Fanplayr details updated.');
140
  echo $this->jsonMessage(false, 'Fanplayr details updated".');
141
  }
57
  $this->updateConfig('fanplayrsocialcoupons/config/custom_embed_url', '', true);
58
  $this->updateConfig('fanplayrsocialcoupons/config/custom_embed_url_post', '', false);
59
 
60
+ $this->updateConfig('fanplayrsocialcoupons/config/use_tbuy', '', false);
61
+
62
  //$this->addNotice('Fanplayr details removed.');
63
  echo $this->jsonMessage(false, 'Fanplayr unlink successful".');
64
  }
135
 
136
  $this->updateConfig('fanplayrsocialcoupons/config/gtm_container_id', array_key_exists('gtmcontainerid', $p) ? $p['gtmcontainerid'] : '', false);
137
 
138
+ $this->updateConfig('fanplayrsocialcoupons/config/custom_embed_url', array_key_exists('customembedurl', $p) ? $p['customembedurl'] : '', false);
139
  $this->updateConfig('fanplayrsocialcoupons/config/custom_embed_url_post', array_key_exists('customembedurlpost', $p) ? $p['customembedurlpost'] : '', false);
140
 
141
+ $this->updateConfig('fanplayrsocialcoupons/config/use_tbuy', array_key_exists('usetbuy', $p) ? $p['usetbuy'] : '', true);
142
+
143
  //$this->addNotice('Fanplayr details updated.');
144
  echo $this->jsonMessage(false, 'Fanplayr details updated".');
145
  }
app/code/community/Fanplayr/Socialcoupons/controllers/CouponController.php CHANGED
@@ -141,6 +141,11 @@
141
  $customEmbedUrl = trim(Mage::getStoreConfig('fanplayrsocialcoupons/config/custom_embed_url'));
142
  if (!empty($customEmbedUrl)) $shopUrl = $customEmbedUrl;
143
 
 
 
 
 
 
144
  header('Location: ' . $shopUrl . 'checkout/cart/');
145
  exit(1);
146
  }
141
  $customEmbedUrl = trim(Mage::getStoreConfig('fanplayrsocialcoupons/config/custom_embed_url'));
142
  if (!empty($customEmbedUrl)) $shopUrl = $customEmbedUrl;
143
 
144
+ // make sure that the shop URL is protocol agnostic
145
+ if (strpos($shopUrl, '//') !== false) {
146
+ $shopUrl = substr($shopUrl, strpos($shopUrl, '//'));
147
+ }
148
+
149
  header('Location: ' . $shopUrl . 'checkout/cart/');
150
  exit(1);
151
  }
app/design/frontend/base/default/template/fanplayr/embed.phtml CHANGED
@@ -52,6 +52,7 @@
52
  accountKey: _.accountKey || '<?php echo $accountKey; ?>',
53
  applyToCartUrl: encodeURIComponent(_.applyToCartUrl || '<?php echo $applyToCartUrl; ?>'),
54
  depitizeUrl: encodeURIComponent(_.depitizeUrl || '<?php echo $depitizeUrl; ?>'),
 
55
  data: {
56
  lineItemCount: <?php echo $data['lineItemCount']; ?>,
57
  numItems: <?php echo $data['numItems']; ?>,
@@ -71,8 +72,7 @@
71
  customerSegment: '<?php echo fanplayr_qr($data['customerSegment']); ?>',
72
  shopType: '<?php echo $data['shopType']; ?>',
73
  version: <?php echo $data['version']; ?>,
74
- products: '<?php echo $data['products']; ?>',
75
- storeDomain: _.storeDomain || ''
76
  },
77
  custom_data: w.fanplayrCustomData || {}
78
  });
52
  accountKey: _.accountKey || '<?php echo $accountKey; ?>',
53
  applyToCartUrl: encodeURIComponent(_.applyToCartUrl || '<?php echo $applyToCartUrl; ?>'),
54
  depitizeUrl: encodeURIComponent(_.depitizeUrl || '<?php echo $depitizeUrl; ?>'),
55
+ storeDomain: _.storeDomain || '',
56
  data: {
57
  lineItemCount: <?php echo $data['lineItemCount']; ?>,
58
  numItems: <?php echo $data['numItems']; ?>,
72
  customerSegment: '<?php echo fanplayr_qr($data['customerSegment']); ?>',
73
  shopType: '<?php echo $data['shopType']; ?>',
74
  version: <?php echo $data['version']; ?>,
75
+ products: '<?php echo $data['products']; ?>'
 
76
  },
77
  custom_data: w.fanplayrCustomData || {}
78
  });
app/design/frontend/default/default/template/fanplayr/embed.phtml CHANGED
@@ -52,6 +52,7 @@
52
  accountKey: _.accountKey || '<?php echo $accountKey; ?>',
53
  applyToCartUrl: encodeURIComponent(_.applyToCartUrl || '<?php echo $applyToCartUrl; ?>'),
54
  depitizeUrl: encodeURIComponent(_.depitizeUrl || '<?php echo $depitizeUrl; ?>'),
 
55
  data: {
56
  lineItemCount: <?php echo $data['lineItemCount']; ?>,
57
  numItems: <?php echo $data['numItems']; ?>,
@@ -71,8 +72,7 @@
71
  customerSegment: '<?php echo fanplayr_qr($data['customerSegment']); ?>',
72
  shopType: '<?php echo $data['shopType']; ?>',
73
  version: <?php echo $data['version']; ?>,
74
- products: '<?php echo $data['products']; ?>',
75
- storeDomain: _.storeDomain || ''
76
  },
77
  custom_data: w.fanplayrCustomData || {}
78
  });
52
  accountKey: _.accountKey || '<?php echo $accountKey; ?>',
53
  applyToCartUrl: encodeURIComponent(_.applyToCartUrl || '<?php echo $applyToCartUrl; ?>'),
54
  depitizeUrl: encodeURIComponent(_.depitizeUrl || '<?php echo $depitizeUrl; ?>'),
55
+ storeDomain: _.storeDomain || '',
56
  data: {
57
  lineItemCount: <?php echo $data['lineItemCount']; ?>,
58
  numItems: <?php echo $data['numItems']; ?>,
72
  customerSegment: '<?php echo fanplayr_qr($data['customerSegment']); ?>',
73
  shopType: '<?php echo $data['shopType']; ?>',
74
  version: <?php echo $data['version']; ?>,
75
+ products: '<?php echo $data['products']; ?>'
 
76
  },
77
  custom_data: w.fanplayrCustomData || {}
78
  });
app/etc/modules/Fanplayr_Socialcoupons.xml CHANGED
@@ -4,7 +4,7 @@
4
  <Fanplayr_Socialcoupons>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
- <version>1.0.52</version>
8
  </Fanplayr_Socialcoupons>
9
  </modules>
10
  </config>
4
  <Fanplayr_Socialcoupons>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
+ <version>1.0.55</version>
8
  </Fanplayr_Socialcoupons>
9
  </modules>
10
  </config>
package.xml CHANGED
@@ -1,18 +1,19 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Fanplayr</name>
4
- <version>1.0.52</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.fanplayr.com/Fanplayr_terms_and_conditions.pdf">Fanplayr License</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Fanplayr Conversions enables Magento merchants to harness an automated solution to track, analyze and intelligently target your visitors</summary>
10
  <description>Fanplayr Conversion enables Magento merchants to harness an automated solution to track, analyze and intelligently target your visitors</description>
11
- <notes>- added "applyToCartUrl" and "depitizeUrl" to custom override JS vars</notes>
 
12
  <authors><author><name>Tarwin Stroh-Spijer</name><user>auto-converted</user><email>tarwin@fanplayr.com</email></author></authors>
13
- <date>2014-10-11</date>
14
- <time>00:56:06</time>
15
- <contents><target name="mageskin"><dir name="frontend"><dir name="socialcoupons"><dir name="images"><file name="accept.png" hash="8bfed48756f192ed7afe6eaa4799aae4"/><file name="activity.gif" hash="fc4ac1c258ac6d13be5afe5ecc5f10e6"/><file name="disable.png" hash="bb2fc85482c3e9c9a9ab4bc3e8e4ebe6"/><file name="fanplayr_logo.png" hash="3d8827fedc2ff79d3041a64265a2f7e0"/><file name="genius_16.png" hash="895bf92ff7689c8116bf1a6f7583c3ab"/><file name="pencil.png" hash="a34e71ab08a6d1162b948d26321dea50"/><file name="progress-loader.gif" hash="5243dea18965998ada5477a2117e2ead"/><file name="sales_16.png" hash="e7b77f97a81b4339c9c6b94e1077a675"/><file name="star_gold.png" hash="73541d75f70cbda977a8b04bf87ddc39"/><file name="warning.png" hash="c847e1076da70df83ef5284622b82a74"/><file name=".picasa.ini" hash="98908647c7af9a7c540c9d711b911d0c"/></dir><file name="fanplayr_join.html" hash="72f2ba80caf3b3f790a3eed928c79626"/><file name="fanplayr_socialcoupons.css" hash="ef40e0653303cbe861ac2141fce32222"/><file name="fanplayr_socialcoupons.js" hash="538c3fb2e6b67ac186b60a3c34a082d9"/><file name="fanplayr_socialcoupons.min.css" hash="c6d326ff4161a090b77a0b00e2f7d81d"/><file name="jquery-1.7.2.min.js" hash="8d1a6f9c08b59506c56b18e2b2695fc8"/></dir></dir></target><target name="magecommunity"><dir name="Fanplayr"><dir name="Socialcoupons"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Installhelper.php" hash="1cbc19578cd03cfaaf7453efd9a1c513"/></dir></dir></dir></dir></dir></dir><dir name="Model"><file name="CartObserver.php" hash="baca491c222a4dd401e779a7c60d98bc"/><file name="EmbedObserver.php" hash="11e96eff725167bee2df8c3d73ad476f"/><file name="OrderObserver.php" hash="ca94b4bdcc08c4a7c1c4a1be9064e639"/></dir><dir name="controllers"><file name="AjaxController.php" hash="6f75c084b1d11d34ccacc66248166d2c"/><file name="CompyController.php" hash="7a7e0a8f66081cec64897868f7082f83"/><file name="CouponController.php" hash="7a76962c34af6e4943a881acdcca3b32"/><file name="IndexController.php" hash="8b18f83d9592433bfd4f196cf574fec3"/></dir><dir name="etc"><file name="config.xml" hash="df1c1ebc423b6e0dc0c71b6ba87e80b4"/><file name="system.xml" hash="a32e53b5dd521ca60be8b61bc49c886b"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fanplayr_Socialcoupons.xml" hash="32e7125de49db389e1837e2361998281"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="fanplayr"><file name="embed.phtml" hash="4dfd9669ff46b88d76e26516758d968f"/><file name="success.phtml" hash="244d6a0380af72e13ec1fc3ce0596b90"/><file name="embed_ajax.phtml" hash="54142bcc213aa5f463de747619d2ad3f"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="fanplayr"><file name="embed.phtml" hash="4dfd9669ff46b88d76e26516758d968f"/><file name="success.phtml" hash="244d6a0380af72e13ec1fc3ce0596b90"/><file name="embed_ajax.phtml" hash="54142bcc213aa5f463de747619d2ad3f"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Fanplayr</name>
4
+ <version>1.0.55</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.fanplayr.com/Fanplayr_terms_and_conditions.pdf">Fanplayr License</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Fanplayr Conversions enables Magento merchants to harness an automated solution to track, analyze and intelligently target your visitors</summary>
10
  <description>Fanplayr Conversion enables Magento merchants to harness an automated solution to track, analyze and intelligently target your visitors</description>
11
+ <notes>- TBuy shipping support now allows for stackable coupons&#xD;
12
+ - Facked domain tracking</notes>
13
  <authors><author><name>Tarwin Stroh-Spijer</name><user>auto-converted</user><email>tarwin@fanplayr.com</email></author></authors>
14
+ <date>2014-10-31</date>
15
+ <time>16:08:58</time>
16
+ <contents><target name="mageskin"><dir name="frontend"><dir name="socialcoupons"><dir name="images"><file name="accept.png" hash="8bfed48756f192ed7afe6eaa4799aae4"/><file name="activity.gif" hash="fc4ac1c258ac6d13be5afe5ecc5f10e6"/><file name="disable.png" hash="bb2fc85482c3e9c9a9ab4bc3e8e4ebe6"/><file name="fanplayr_logo.png" hash="3d8827fedc2ff79d3041a64265a2f7e0"/><file name="genius_16.png" hash="895bf92ff7689c8116bf1a6f7583c3ab"/><file name="pencil.png" hash="a34e71ab08a6d1162b948d26321dea50"/><file name="progress-loader.gif" hash="5243dea18965998ada5477a2117e2ead"/><file name="sales_16.png" hash="e7b77f97a81b4339c9c6b94e1077a675"/><file name="star_gold.png" hash="73541d75f70cbda977a8b04bf87ddc39"/><file name="warning.png" hash="c847e1076da70df83ef5284622b82a74"/><file name=".picasa.ini" hash="98908647c7af9a7c540c9d711b911d0c"/></dir><file name="fanplayr_join.html" hash="72f2ba80caf3b3f790a3eed928c79626"/><file name="fanplayr_socialcoupons.css" hash="ef40e0653303cbe861ac2141fce32222"/><file name="fanplayr_socialcoupons.js" hash="ee3946e645278c5a0f59a0e70ca55271"/><file name="fanplayr_socialcoupons.min.css" hash="c6d326ff4161a090b77a0b00e2f7d81d"/><file name="jquery-1.7.2.min.js" hash="8d1a6f9c08b59506c56b18e2b2695fc8"/></dir></dir></target><target name="magecommunity"><dir name="Fanplayr"><dir name="Socialcoupons"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Installhelper.php" hash="86ec4ace497e66f91ac3857d0388939c"/></dir></dir></dir></dir></dir></dir><dir name="Model"><file name="CartObserver.php" hash="baca491c222a4dd401e779a7c60d98bc"/><file name="EmbedObserver.php" hash="9e54871336179d0a70047f2f9ebd9e75"/><file name="OrderObserver.php" hash="b91d807c426018c5775104cd088ec34a"/></dir><dir name="controllers"><file name="AjaxController.php" hash="2475b29df4b94a3f23d917c59765e632"/><file name="CompyController.php" hash="f45b1bd7ef87cbcdf17e894e6637adcb"/><file name="CouponController.php" hash="e549d11b699dab3ebcdcc7af0ae99e62"/><file name="IndexController.php" hash="8b18f83d9592433bfd4f196cf574fec3"/></dir><dir name="etc"><file name="config.xml" hash="df1c1ebc423b6e0dc0c71b6ba87e80b4"/><file name="system.xml" hash="a32e53b5dd521ca60be8b61bc49c886b"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fanplayr_Socialcoupons.xml" hash="e21a0602937c58ca622ed895846b3d3e"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="fanplayr"><file name="embed.phtml" hash="b23ba679f2fb3c6e0e6b2df7dc7c427a"/><file name="success.phtml" hash="244d6a0380af72e13ec1fc3ce0596b90"/><file name="embed_ajax.phtml" hash="54142bcc213aa5f463de747619d2ad3f"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="fanplayr"><file name="embed.phtml" hash="b23ba679f2fb3c6e0e6b2df7dc7c427a"/><file name="success.phtml" hash="244d6a0380af72e13ec1fc3ce0596b90"/><file name="embed_ajax.phtml" hash="54142bcc213aa5f463de747619d2ad3f"/></dir></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies/>
19
  </package>
skin/frontend/socialcoupons/fanplayr_socialcoupons.js CHANGED
@@ -315,7 +315,8 @@ if (typeof Array.prototype.map !== "function") {
315
  deproutes: $('#fanplayrsocialcoupons-console-deproutes').val(),
316
  customembedurl: $('#fanplayrsocialcoupons-console-customembedurl').val(),
317
  customembedurlpost: $('#fanplayrsocialcoupons-console-customembedurlpost').val(),
318
- gtmcontainerid: $('#fanplayrsocialcoupons-console-gtmcontainerid').val()
 
319
  })
320
  .success(function(result) {
321
  Fanplayr.isWorking = false;
315
  deproutes: $('#fanplayrsocialcoupons-console-deproutes').val(),
316
  customembedurl: $('#fanplayrsocialcoupons-console-customembedurl').val(),
317
  customembedurlpost: $('#fanplayrsocialcoupons-console-customembedurlpost').val(),
318
+ gtmcontainerid: $('#fanplayrsocialcoupons-console-gtmcontainerid').val(),
319
+ usetbuy: $('#fanplayrsocialcoupons-console-usetbuy').val()
320
  })
321
  .success(function(result) {
322
  Fanplayr.isWorking = false;