Bazaarvoice_Connector - Version 6.3.10

Version Notes

Plugin corresponds to version 6.0.2 of the Bazaarvoice platform

Download this release

Release Info

Developer BV DTS
Extension Bazaarvoice_Connector
Version 6.3.10
Comparing to
See all releases


Code changes from version 6.3.8 to 6.3.10

app/code/local/Bazaarvoice/Connector/Block/Roi/Beacon.php CHANGED
@@ -26,6 +26,7 @@ class Bazaarvoice_Connector_Block_Roi_Beacon extends Mage_Core_Block_Template
26
  public function getOrderDetails()
27
  {
28
  $orderDetails = array();
 
29
  $orderId = Mage::getSingleton('checkout/session')->getLastOrderId();
30
  if ($orderId)
31
  {
@@ -63,14 +64,14 @@ class Bazaarvoice_Connector_Block_Roi_Beacon extends Mage_Core_Block_Template
63
  // 'category' is not included. Mage products can be in 0 - many categories. Should we try to include it?
64
  $itemDetails['price'] = number_format($item->getPrice(), 2, '.', '');
65
  $itemDetails['quantity'] = number_format($item->getQtyOrdered(), 0);
66
- $itemDetails['imageUrl'] = $product->getImageUrl();
67
 
68
  if(Mage::getStoreConfig('bazaarvoice/feeds/families') && $item->getParentItem()) {
69
- if(strpos($itemDetails['imageUrl'], "placeholder/image.jpg")) {
70
  // if product families are enabled and product has no image, use configurable image
71
  $parentId = $item->getParentItem()->getProductId();
72
  $parent = Mage::getModel('catalog/product')->load($parentId);
73
- $itemDetails['imageUrl'] = $parent->getImageUrl();
74
  }
75
  // also get price from parent item
76
  $itemDetails['price'] = number_format($item->getParentItem()->getPrice(), 2, '.', '');
@@ -92,10 +93,29 @@ class Bazaarvoice_Connector_Block_Roi_Beacon extends Mage_Core_Block_Template
92
 
93
  // Add partnerSource field
94
  $orderDetails['partnerSource'] = 'Magento Extension r' . Mage::helper('bazaarvoice')->getExtensionVersion();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  }
96
  }
97
- Mage::log($orderDetails, Zend_Log::DEBUG, Bazaarvoice_Connector_Helper_Data::LOG_FILE);
98
- $orderDetailsJson = json_encode( $orderDetails, JSON_UNESCAPED_UNICODE );
99
- return (stripslashes($orderDetailsJson));
100
  }
101
  }
26
  public function getOrderDetails()
27
  {
28
  $orderDetails = array();
29
+ $result = '';
30
  $orderId = Mage::getSingleton('checkout/session')->getLastOrderId();
31
  if ($orderId)
32
  {
64
  // 'category' is not included. Mage products can be in 0 - many categories. Should we try to include it?
65
  $itemDetails['price'] = number_format($item->getPrice(), 2, '.', '');
66
  $itemDetails['quantity'] = number_format($item->getQtyOrdered(), 0);
67
+ $itemDetails['imageURL'] = $product->getImageUrl();
68
 
69
  if(Mage::getStoreConfig('bazaarvoice/feeds/families') && $item->getParentItem()) {
70
+ if(strpos($itemDetails['imageURL'], "placeholder/image.jpg")) {
71
  // if product families are enabled and product has no image, use configurable image
72
  $parentId = $item->getParentItem()->getProductId();
73
  $parent = Mage::getModel('catalog/product')->load($parentId);
74
+ $itemDetails['imageURL'] = $parent->getImageUrl();
75
  }
76
  // also get price from parent item
77
  $itemDetails['price'] = number_format($item->getParentItem()->getPrice(), 2, '.', '');
93
 
94
  // Add partnerSource field
95
  $orderDetails['partnerSource'] = 'Magento Extension r' . Mage::helper('bazaarvoice')->getExtensionVersion();
96
+ $deploymentZone = Mage::getStoreConfig('bazaarvoice/general/deployment_zone', $order->getStoreId());
97
+ $orderDetails['deploymentZone'] = $deploymentZone;
98
+
99
+ $loader = '<script src="//apps.bazaarvoice.com/deployments/'
100
+ . Mage::getStoreConfig('bazaarvoice/general/client_name', $order->getStoreId())
101
+ . '/' . strtolower(str_replace(' ', '_', $deploymentZone))
102
+ . '/' . Mage::getStoreConfig('bazaarvoice/general/environment', $order->getStoreId())
103
+ . '/' . Mage::getStoreConfig('bazaarvoice/general/locale', $order->getStoreId())
104
+ . '/bv.js"></script>';
105
+
106
+ Mage::log($orderDetails, Zend_Log::DEBUG, Bazaarvoice_Connector_Helper_Data::LOG_FILE);
107
+ $result = '
108
+ <!--
109
+ ' . print_r($orderDetails, 1) . '
110
+ -->';
111
+ $result .= $loader."\n";
112
+ $result .= '
113
+ <script type="text/javascript">
114
+ var transactionData = ' . json_encode($orderDetails, JSON_UNESCAPED_UNICODE) . ';
115
+ BV.pixel.trackTransaction(transactionData);
116
+ </script>';
117
  }
118
  }
119
+ return $result;
 
 
120
  }
121
  }
app/code/local/Bazaarvoice/Connector/Helper/Data.php CHANGED
@@ -137,7 +137,7 @@ class Bazaarvoice_Connector_Helper_Data extends Mage_Core_Helper_Abstract
137
  $sftp = Mage::helper('bazaarvoice/sftpConnection');
138
 
139
  if (!$sftp->connect($sftpHost, 22, $sftpUser, $sftpPw)) {
140
- Mage::throwException(' BV - SFTP connection attempt failed!', Zend_Log::ERR, self::LOG_FILE);
141
  }
142
  return $sftp;
143
  }
@@ -322,6 +322,8 @@ class Bazaarvoice_Connector_Helper_Data extends Mage_Core_Helper_Abstract
322
  // Lookup other config settings
323
  $clientName = Mage::getStoreConfig('bazaarvoice/general/client_name', $store);
324
  $deploymnetZoneName = Mage::getStoreConfig('bazaarvoice/general/deployment_zone', $store);
 
 
325
  // Get locale code from BV config,
326
  // Note that this doesn't use Magento's locale, this will allow clients to override this and map it as they see fit
327
  $localeCode = Mage::getStoreConfig('bazaarvoice/general/locale', $store);
@@ -329,7 +331,7 @@ class Bazaarvoice_Connector_Helper_Data extends Mage_Core_Helper_Abstract
329
  $staging = $this->getBvStaging();
330
 
331
  // Build url string
332
- $url = $protocol . '://' . $apiHostname . $staging . $static . $clientName . '/' . urlencode($deploymnetZoneName) . '/' . $localeCode;
333
  // Return final url
334
  return $url;
335
  }
137
  $sftp = Mage::helper('bazaarvoice/sftpConnection');
138
 
139
  if (!$sftp->connect($sftpHost, 22, $sftpUser, $sftpPw)) {
140
+ Mage::throwException(' BV - SFTP connection attempt failed!', self::LOG_FILE);
141
  }
142
  return $sftp;
143
  }
322
  // Lookup other config settings
323
  $clientName = Mage::getStoreConfig('bazaarvoice/general/client_name', $store);
324
  $deploymnetZoneName = Mage::getStoreConfig('bazaarvoice/general/deployment_zone', $store);
325
+ // clean deployment zone for url
326
+ $deploymnetZoneName = strtolower(str_replace(' ', '_', $deploymnetZoneName));
327
  // Get locale code from BV config,
328
  // Note that this doesn't use Magento's locale, this will allow clients to override this and map it as they see fit
329
  $localeCode = Mage::getStoreConfig('bazaarvoice/general/locale', $store);
331
  $staging = $this->getBvStaging();
332
 
333
  // Build url string
334
+ $url = $protocol . '://' . $apiHostname . $staging . $static . $clientName . '/' . $deploymnetZoneName . '/' . $localeCode;
335
  // Return final url
336
  return $url;
337
  }
app/code/local/Bazaarvoice/Connector/Model/ExportPurchaseFeed.php CHANGED
@@ -511,7 +511,7 @@ class Bazaarvoice_Connector_Model_ExportPurchaseFeed extends Mage_Core_Model_Abs
511
  $product = $bvHelper->getReviewableProductFromOrderItem($item);
512
 
513
  // skip disabled products
514
- //if($product->getStatus() != Mage_Catalog_Model_Product_Status::STATUS_ENABLED) continue;
515
 
516
  if (!is_null($product)) {
517
  $productXml = '';
511
  $product = $bvHelper->getReviewableProductFromOrderItem($item);
512
 
513
  // skip disabled products
514
+ if($product->getStatus() != Mage_Catalog_Model_Product_Status::STATUS_ENABLED) continue;
515
 
516
  if (!is_null($product)) {
517
  $productXml = '';
app/code/local/Bazaarvoice/Connector/Model/ProductFeed/Category.php CHANGED
@@ -37,8 +37,13 @@ class Bazaarvoice_Connector_Model_ProductFeed_Category extends Mage_Core_Model_A
37
  // Include the root category itself in the feed
38
  $categoryIds
39
  ->addAttributeToFilter('level', array('gt' => 1))
40
- ->addAttributeToFilter('is_active', 1)
41
  ->addAttributeToFilter('path', array('like' => $rootCategoryPath . '/%'));
 
 
 
 
 
 
42
  // Check count of categories
43
  if (count($categoryIds) > 0) {
44
  $ioObject->streamWrite("<Categories>\n");
@@ -57,6 +62,14 @@ class Bazaarvoice_Connector_Model_ProductFeed_Category extends Mage_Core_Model_A
57
  $category->setStoreId($store->getId());
58
  // Load category object
59
  $category->load($categoryId->getId());
 
 
 
 
 
 
 
 
60
  // Capture localized URL in extra var
61
  $category->setData('localized_url', $this->getCategoryUrl($category));
62
  // Set default category
@@ -101,8 +114,13 @@ class Bazaarvoice_Connector_Model_ProductFeed_Category extends Mage_Core_Model_A
101
  // Include the root category itself in the feed
102
  $categoryIds
103
  ->addAttributeToFilter('level', array('gt' => 1))
104
- ->addAttributeToFilter('is_active', 1)
105
- ->addAttributeToFilter('path', array('like' => $rootCategoryPath . '%'));
 
 
 
 
 
106
  // Check count of categories
107
  if (count($categoryIds) > 0) {
108
  $ioObject->streamWrite("<Categories>\n");
@@ -121,6 +139,14 @@ class Bazaarvoice_Connector_Model_ProductFeed_Category extends Mage_Core_Model_A
121
  $category->setStoreId($store->getId());
122
  // Load category object
123
  $category->load($categoryId->getId());
 
 
 
 
 
 
 
 
124
  // Capture localized URL in extra var
125
  $category->setData('localized_url', $this->getCategoryUrl($category));
126
  // Set default category
@@ -165,8 +191,13 @@ class Bazaarvoice_Connector_Model_ProductFeed_Category extends Mage_Core_Model_A
165
  // Include the root category itself in the feed
166
  $categoryIds
167
  ->addAttributeToFilter('level', array('gt' => 1))
168
- ->addAttributeToFilter('is_active', 1)
169
- ->addAttributeToFilter('path', array('like' => $rootCategoryPath . '%'));
 
 
 
 
 
170
  // Check count of categories
171
  if (count($categoryIds) > 0) {
172
  $ioObject->streamWrite("<Categories>\n");
@@ -183,6 +214,9 @@ class Bazaarvoice_Connector_Model_ProductFeed_Category extends Mage_Core_Model_A
183
  $categoryDefault->setStoreId($store->getId());
184
  // Load category object
185
  $categoryDefault->load($categoryId->getId());
 
 
 
186
  // Capture localized URL in extra var
187
  $categoryDefault->setData('localized_url', $this->getCategoryUrl($categoryDefault));
188
  // Get store locale
@@ -226,6 +260,8 @@ class Bazaarvoice_Connector_Model_ProductFeed_Category extends Mage_Core_Model_A
226
 
227
  array_push($this->_categoryIdList, $categoryExternalId);
228
 
 
 
229
  $ioObject->streamWrite("<Category>\n" .
230
  " <ExternalId>" . $categoryExternalId . "</ExternalId>\n" .
231
  $parentExtId .
37
  // Include the root category itself in the feed
38
  $categoryIds
39
  ->addAttributeToFilter('level', array('gt' => 1))
 
40
  ->addAttributeToFilter('path', array('like' => $rootCategoryPath . '/%'));
41
+
42
+ if(Mage::getStoreConfig('bazaarvoice/feeds/filter_global')) {
43
+ $categoryIds
44
+ ->addAttributeToFilter('is_active', 1);
45
+ }
46
+
47
  // Check count of categories
48
  if (count($categoryIds) > 0) {
49
  $ioObject->streamWrite("<Categories>\n");
62
  $category->setStoreId($store->getId());
63
  // Load category object
64
  $category->load($categoryId->getId());
65
+ // skip inactive categories
66
+ if($category->getData('is_active') != 1) {
67
+ if ($website->getDefaultGroup()->getDefaultStoreId() == $store->getId()) {
68
+ continue 2;
69
+ } else {
70
+ continue;
71
+ }
72
+ }
73
  // Capture localized URL in extra var
74
  $category->setData('localized_url', $this->getCategoryUrl($category));
75
  // Set default category
114
  // Include the root category itself in the feed
115
  $categoryIds
116
  ->addAttributeToFilter('level', array('gt' => 1))
117
+ ->addAttributeToFilter('path', array('like' => $rootCategoryPath . '/%'));
118
+
119
+ if(Mage::getStoreConfig('bazaarvoice/feeds/filter_global')) {
120
+ $categoryIds
121
+ ->addAttributeToFilter('is_active', 1);
122
+ }
123
+
124
  // Check count of categories
125
  if (count($categoryIds) > 0) {
126
  $ioObject->streamWrite("<Categories>\n");
139
  $category->setStoreId($store->getId());
140
  // Load category object
141
  $category->load($categoryId->getId());
142
+ // skip inactive categories
143
+ if($category->getData('is_active') != 1) {
144
+ if ($group->getDefaultStoreId() == $store->getId()) {
145
+ continue 2;
146
+ } else {
147
+ continue;
148
+ }
149
+ }
150
  // Capture localized URL in extra var
151
  $category->setData('localized_url', $this->getCategoryUrl($category));
152
  // Set default category
191
  // Include the root category itself in the feed
192
  $categoryIds
193
  ->addAttributeToFilter('level', array('gt' => 1))
194
+ ->addAttributeToFilter('path', array('like' => $rootCategoryPath . '/%'));
195
+
196
+ if(Mage::getStoreConfig('bazaarvoice/feeds/filter_global')) {
197
+ $categoryIds
198
+ ->addAttributeToFilter('is_active', 1);
199
+ }
200
+
201
  // Check count of categories
202
  if (count($categoryIds) > 0) {
203
  $ioObject->streamWrite("<Categories>\n");
214
  $categoryDefault->setStoreId($store->getId());
215
  // Load category object
216
  $categoryDefault->load($categoryId->getId());
217
+ // skip inactive categories
218
+ if($categoryDefault->getData('is_active') != 1)
219
+ continue;
220
  // Capture localized URL in extra var
221
  $categoryDefault->setData('localized_url', $this->getCategoryUrl($categoryDefault));
222
  // Get store locale
260
 
261
  array_push($this->_categoryIdList, $categoryExternalId);
262
 
263
+ Mage::log('write category: ' . $categoryExternalId, Zend_Log::DEBUG, Bazaarvoice_Connector_Helper_Data::LOG_FILE);
264
+
265
  $ioObject->streamWrite("<Category>\n" .
266
  " <ExternalId>" . $categoryExternalId . "</ExternalId>\n" .
267
  $parentExtId .
app/code/local/Bazaarvoice/Connector/Model/ProductFeed/Product.php CHANGED
@@ -28,7 +28,10 @@ class Bazaarvoice_Connector_Model_ProductFeed_Product extends Mage_Core_Model_Ab
28
  // Filter collection for the specific website
29
  $productIds->addWebsiteFilter($website->getId());
30
  // Filter collection for product status
31
- $productIds->addAttributeToFilter('status', Mage_Catalog_Model_Product_Status::STATUS_ENABLED);
 
 
 
32
 
33
 
34
  // Output tag only if more than 1 product
@@ -50,6 +53,16 @@ class Bazaarvoice_Connector_Model_ProductFeed_Product extends Mage_Core_Model_Ab
50
  $product->setStoreId($store->getId());
51
  // Load product object
52
  $product->load($productId->getId());
 
 
 
 
 
 
 
 
 
 
53
  // Product families
54
  if (Mage::getStoreConfig('bazaarvoice/feeds/families', $store->getId())) {
55
  $product->setData("product_families", $this->getProductFamilies($product));
@@ -110,7 +123,10 @@ class Bazaarvoice_Connector_Model_ProductFeed_Product extends Mage_Core_Model_Ab
110
  // Filter collection for the specific website
111
  $productIds->addWebsiteFilter($group->getWebsiteId());
112
  // Filter collection for product status
113
- $productIds->addAttributeToFilter('status', Mage_Catalog_Model_Product_Status::STATUS_ENABLED);
 
 
 
114
 
115
  // Output tag only if more than 1 product
116
  if (count($productIds) > 0) {
@@ -131,6 +147,16 @@ class Bazaarvoice_Connector_Model_ProductFeed_Product extends Mage_Core_Model_Ab
131
  $product->setStoreId($store->getId());
132
  // Load product object
133
  $product->load($productId->getId());
 
 
 
 
 
 
 
 
 
 
134
  // Product families
135
  if (Mage::getStoreConfig('bazaarvoice/feeds/families', $store->getId())) {
136
  $product->setData("product_families", $this->getProductFamilies($product));
@@ -189,8 +215,10 @@ class Bazaarvoice_Connector_Model_ProductFeed_Product extends Mage_Core_Model_Ab
189
  $productIds = Mage::getModel('catalog/product')->getCollection();
190
  // Filter collection for the specific website
191
  $productIds->addWebsiteFilter($store->getWebsiteId());
192
- // Filter collection for product status
193
- $productIds->addAttributeToFilter('status', Mage_Catalog_Model_Product_Status::STATUS_ENABLED);
 
 
194
  if (Mage::getStoreConfig('bazaarvoice/feeds/families', $store->getId()) == false) {
195
  // Filter collection for product visibility
196
  // if families are disabled
@@ -212,6 +240,9 @@ class Bazaarvoice_Connector_Model_ProductFeed_Product extends Mage_Core_Model_Ab
212
  $productDefault->setStoreId($store->getId());
213
  // Load product object
214
  $productDefault->load($productId->getId());
 
 
 
215
  // Product families
216
  if (Mage::getStoreConfig('bazaarvoice/feeds/families', $store->getId())) {
217
  $productDefault->setData("product_families", $this->getProductFamilies($productDefault));
28
  // Filter collection for the specific website
29
  $productIds->addWebsiteFilter($website->getId());
30
  // Filter collection for product status
31
+ if(Mage::getStoreConfig('bazaarvoice/feeds/filter_global')) {
32
+ // Filter collection for product status
33
+ $productIds->addAttributeToFilter('status', Mage_Catalog_Model_Product_Status::STATUS_ENABLED);
34
+ }
35
 
36
 
37
  // Output tag only if more than 1 product
53
  $product->setStoreId($store->getId());
54
  // Load product object
55
  $product->load($productId->getId());
56
+ // skip disabled products
57
+ if($product->getStatus() != Mage_Catalog_Model_Product_Status::STATUS_ENABLED) {
58
+ if ($website->getDefaultGroup()->getDefaultStoreId() == $store->getId()) {
59
+ // if default store/group skip entire product
60
+ continue 2;
61
+ } else {
62
+ // else just skip store
63
+ continue;
64
+ }
65
+ }
66
  // Product families
67
  if (Mage::getStoreConfig('bazaarvoice/feeds/families', $store->getId())) {
68
  $product->setData("product_families", $this->getProductFamilies($product));
123
  // Filter collection for the specific website
124
  $productIds->addWebsiteFilter($group->getWebsiteId());
125
  // Filter collection for product status
126
+ if(Mage::getStoreConfig('bazaarvoice/feeds/filter_global')) {
127
+ // Filter collection for product status
128
+ $productIds->addAttributeToFilter('status', Mage_Catalog_Model_Product_Status::STATUS_ENABLED);
129
+ }
130
 
131
  // Output tag only if more than 1 product
132
  if (count($productIds) > 0) {
147
  $product->setStoreId($store->getId());
148
  // Load product object
149
  $product->load($productId->getId());
150
+ // skip disabled products
151
+ if($product->getStatus() != Mage_Catalog_Model_Product_Status::STATUS_ENABLED) {
152
+ if ($group->getDefaultStoreId() == $store->getId()) {
153
+ // if default store/group skip entire product
154
+ continue 2;
155
+ } else {
156
+ // else just skip store
157
+ continue;
158
+ }
159
+ }
160
  // Product families
161
  if (Mage::getStoreConfig('bazaarvoice/feeds/families', $store->getId())) {
162
  $product->setData("product_families", $this->getProductFamilies($product));
215
  $productIds = Mage::getModel('catalog/product')->getCollection();
216
  // Filter collection for the specific website
217
  $productIds->addWebsiteFilter($store->getWebsiteId());
218
+ if(Mage::getStoreConfig('bazaarvoice/feeds/filter_global')) {
219
+ // Filter collection for product status
220
+ $productIds->addAttributeToFilter('status', Mage_Catalog_Model_Product_Status::STATUS_ENABLED);
221
+ }
222
  if (Mage::getStoreConfig('bazaarvoice/feeds/families', $store->getId()) == false) {
223
  // Filter collection for product visibility
224
  // if families are disabled
240
  $productDefault->setStoreId($store->getId());
241
  // Load product object
242
  $productDefault->load($productId->getId());
243
+ // skip disabled products
244
+ if($productDefault->getStatus() != Mage_Catalog_Model_Product_Status::STATUS_ENABLED)
245
+ continue;
246
  // Product families
247
  if (Mage::getStoreConfig('bazaarvoice/feeds/families', $store->getId())) {
248
  $productDefault->setData("product_families", $this->getProductFamilies($productDefault));
app/code/local/Bazaarvoice/Connector/etc/config.xml CHANGED
@@ -8,7 +8,7 @@
8
  <config>
9
  <modules>
10
  <Bazaarvoice_Connector>
11
- <version>6.3.8</version>
12
  <depends>
13
  <!-- no dependencies -->
14
  </depends>
@@ -142,6 +142,7 @@
142
  <lookback>30</lookback>
143
  <triggering_event>shipping</triggering_event>
144
  <generation_scope>website</generation_scope>
 
145
  </feeds>
146
 
147
  <!-- These config settings are intended to be overriden with installation-specific values in
8
  <config>
9
  <modules>
10
  <Bazaarvoice_Connector>
11
+ <version>6.3.10</version>
12
  <depends>
13
  <!-- no dependencies -->
14
  </depends>
142
  <lookback>30</lookback>
143
  <triggering_event>shipping</triggering_event>
144
  <generation_scope>website</generation_scope>
145
+ <filter_global>1</filter_global>
146
  </feeds>
147
 
148
  <!-- These config settings are intended to be overriden with installation-specific values in
app/code/local/Bazaarvoice/Connector/etc/system.xml CHANGED
@@ -131,11 +131,11 @@
131
  <show_in_store>1</show_in_store>
132
  </cloud_seo_key>
133
  <enable_roibeacon>
134
- <label>Enable ROI Beacon</label>
135
  <frontend_type>select</frontend_type>
136
  <source_model>adminhtml/system_config_source_yesno</source_model>
137
  <comment>
138
- <![CDATA[Turn on the BV ROI beacon tag on the purchase transaction (checkout) page. See documentation for additional steps that must be completed for this feature to take effect.]]></comment>
139
  <sort_order>100</sort_order>
140
  <show_in_default>1</show_in_default>
141
  <show_in_website>1</show_in_website>
@@ -314,12 +314,23 @@
314
  <show_in_website>0</show_in_website>
315
  <show_in_store>0</show_in_store>
316
  </generation_scope>
 
 
 
 
 
 
 
 
 
 
 
317
  <run_purchase translate="label">
318
  <label>Run Purchase Feed</label>
319
  <comment><![CDATA[This will run the purchase feed using currently saved config settings.]]></comment>
320
  <frontend_type>button</frontend_type>
321
  <frontend_model>bazaarvoice/system_config_form_button</frontend_model>
322
- <sort_order>100</sort_order>
323
  <show_in_default>1</show_in_default>
324
  <show_in_website>1</show_in_website>
325
  <show_in_store>1</show_in_store>
131
  <show_in_store>1</show_in_store>
132
  </cloud_seo_key>
133
  <enable_roibeacon>
134
+ <label>Enable BV Pixel</label>
135
  <frontend_type>select</frontend_type>
136
  <source_model>adminhtml/system_config_source_yesno</source_model>
137
  <comment>
138
+ <![CDATA[Turn on the BV Pixel on the purchase transaction (checkout) page. See documentation for additional steps that must be completed for this feature to take effect.]]></comment>
139
  <sort_order>100</sort_order>
140
  <show_in_default>1</show_in_default>
141
  <show_in_website>1</show_in_website>
314
  <show_in_website>0</show_in_website>
315
  <show_in_store>0</show_in_store>
316
  </generation_scope>
317
+ <filter_global>
318
+ <label>Check Product Status at Default Scope</label>
319
+ <frontend_type>select</frontend_type>
320
+ <source_model>adminhtml/system_config_source_yesno</source_model>
321
+ <comment>
322
+ <![CDATA[If 'yes', feed generation will filter out products that are disabled at the default scope. This makes feed generation faster, but does not account for products that are disabled by default but enable for specific stores.]]></comment>
323
+ <sort_order>100</sort_order>
324
+ <show_in_default>1</show_in_default>
325
+ <show_in_website>0</show_in_website>
326
+ <show_in_store>0</show_in_store>
327
+ </filter_global>
328
  <run_purchase translate="label">
329
  <label>Run Purchase Feed</label>
330
  <comment><![CDATA[This will run the purchase feed using currently saved config settings.]]></comment>
331
  <frontend_type>button</frontend_type>
332
  <frontend_model>bazaarvoice/system_config_form_button</frontend_model>
333
+ <sort_order>110</sort_order>
334
  <show_in_default>1</show_in_default>
335
  <show_in_website>1</show_in_website>
336
  <show_in_store>1</show_in_store>
app/design/frontend/enterprise/default/template/bazaarvoice/submit/roi_beacon.phtml CHANGED
@@ -1,5 +1,3 @@
1
  <?php if ($this->getIsEnabled()):?>
2
- <script type="text/javascript">
3
- $BV.SI.trackTransactionPageView(<?php echo $this->getOrderDetails(); ?>);
4
- </script>
5
- <?php endif;?>
1
  <?php if ($this->getIsEnabled()):?>
2
+ <?php echo $this->getOrderDetails(); ?>
3
+ <?php endif; ?>
 
 
docs/Integrations_Magento_for_Bazaarvoice_v6.3.10.pdf ADDED
Binary file
docs/Integrations_Magento_for_Bazaarvoice_v6.3.8.pdf DELETED
Binary file
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Bazaarvoice_Connector</name>
4
- <version>6.3.8</version>
5
  <stability>stable</stability>
6
  <license>Bazaarvoice, Inc.</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>See www.bazaarvoice.com for further details on our offerings</description>
11
  <notes>Plugin corresponds to version 6.0.2 of the Bazaarvoice platform</notes>
12
  <authors><author><name>BV DTS</name><user>bvdts</user><email>dts@bazaarvoice.com</email></author></authors>
13
- <date>2017-07-21</date>
14
- <time>21:01:56</time>
15
- <contents><target name="magelocal"><dir name="Bazaarvoice"><dir name="Connector"><dir name="Block"><file name="Bazaarvoice.php" hash="473e92e58fd86c823fb55765ed473414"/><file name="Questions.php" hash="1830c782c131f7932b6c7c2e9f6c1310"/><file name="Ratings.php" hash="6822db584f2ee777beb8d39c662e8465"/><file name="Reviews.php" hash="19900bd330cbd16d65a4f06ed1270804"/><dir name="Roi"><file name="Beacon.php" hash="95e8062db18f4508267114b57e725be9"/></dir><file name="Submissioncontainer.php" hash="23d04ee9ece011d107bb8b914653a24d"/><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="0dfddc3a24317572f73887c616ddc8ee"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="f48fd0c4911b176954c0d91043291f75"/><file name="Sftp.php" hash="1c2867bdaaaaa94e14848a07a2b6b688"/><file name="SftpConnection.php" hash="a50078565951d100aa2b7e98553f79e5"/></dir><dir name="Model"><file name="ExportProductFeed.php" hash="dce2bd76373b00b413b94d60b7ede183"/><file name="ExportPurchaseFeed.php" hash="8eda46b635ed214525993d809ac5da03"/><dir name="Mysql4"><file name="Setup.php" hash="884c886c1e9fa395f05e7872ba6478a2"/></dir><dir name="ProductFeed"><file name="Brand.php" hash="b2ab72e79d7e3afe23b38bc3b64ba115"/><file name="Category.php" hash="abf1ea4943f855e56e99cdc26810c235"/><file name="Product.php" hash="f5839be66f03f718b0ef809d8e97ce54"/></dir><file name="RetrieveInlineRatingsFeed.php" hash="c64ad33753408111e04322ef4b39ef34"/><file name="RetrieveSmartSEOPackage.php" hash="ececf2f31e0b3ca9c2dda4ed6967c8c1"/><dir name="Source"><file name="AuthenticationMethod.php" hash="582d6c76372bac64728e6e4d68f959e4"/><file name="Environment.php" hash="1e575c9adb480df80e4a8a917960bd55"/><file name="FeedGenerationScope.php" hash="b2450e4c0c69b0da328f1d0d7d67012a"/><file name="Lookback.php" hash="47ca1710ec7f9fb6d163db566f075e89"/><file name="TriggeringEvent.php" hash="fa47f3a2fcec92d9603f21541c853035"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="BvadminController.php" hash="37eeac48b0203e9bf571fb52c877e430"/></dir><file name="IndexController.php" hash="16b9a353153d40ebc32e759112ca6d6f"/></dir><dir name="etc"><file name="adminhtml.xml" hash="39cf8642bfc219709849618519a1c767"/><file name="config.xml" hash="0b5e5a9789cfd3b6c2546112b4f35681"/><file name="system.xml" hash="41938f75227d5838aaecda4430f506a8"/></dir><dir name="sql"><dir name="bazaarvoice_setup"><file name="mysql4-install-0.1.0.php" hash="2cf37e5f08ae8bb7f8c43d23d9493e58"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Bazaarvoice_Connector.xml" hash="c517b52d29fec93a83a8010451368ee1"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="bazaarvoice"><file name="button.phtml" hash="5056698122495d8898486dfaa646700a"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="enterprise"><dir name="default"><dir name="template"><dir name="bazaarvoice"><dir name="display"><file name="headerincludes.phtml" hash="0faf96303bfe38e1c4130dfdbaff9c87"/><file name="headerproduct.phtml" hash="53eb24a69f3a7377de3a74dee08dff67"/><dir name="qa"><file name="questions.phtml" hash="b5c186576e9c20cd764860ad08702349"/><file name="questionsummary.phtml" hash="c6044994c1d355730d7e5cfd3a6e3125"/></dir><dir name="rr"><file name="ratings.phtml" hash="56047515b347d0250d44e4e2eb0a923c"/><file name="reviews.phtml" hash="7d2ad8b18910010d22240c9521131290"/><file name="reviewsummary.phtml" hash="75e823088dd75387fc94e6028d8236a5"/></dir></dir><dir name="submit"><file name="roi_beacon.phtml" hash="494b9a44ceb14b1f376611d30ac18645"/><file name="submissioncontainer.phtml" hash="3f3f22b922c1aa5b87f7bbf4fbeea51c"/></dir></dir></dir><dir name="layout"><file name="bazaarvoice.xml" hash="e8d6c4a2ca62a21ddac1cd22e1ee8ad0"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="bazaarvoice_notification.html" hash="9a0e90ac62d926dad4db13719f3c8b73"/></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="bazaarvoice"><file name="rating-0_0.gif" hash="f50bd3f45f69a753614b2e76f53bdafc"/><file name="rating-1_0.gif" hash="c691e11e3250a18939aec523734d9b67"/><file name="rating-1_1.gif" hash="26377f1337bb6fb9e340292243a6f780"/><file name="rating-1_2.gif" hash="5c51583dc52d901c61d9470d5faeb2a4"/><file name="rating-1_3.gif" hash="3948c716d18ea0389ce9e57c347e7b6d"/><file name="rating-1_4.gif" hash="2211d8586bda467cb8fcc617670b94df"/><file name="rating-1_5.gif" hash="3fa9480c8b86f85749147fa0e8144b05"/><file name="rating-1_6.gif" hash="a577c79e7ea0c6c59ac15251c39de515"/><file name="rating-1_7.gif" hash="b5b52fa267632eda6ba5b3be56319397"/><file name="rating-1_8.gif" hash="205170e1ffbfcc81569286a9e1a88eb5"/><file name="rating-1_9.gif" hash="63709f7b2a2e2f14ae442dbef6513f25"/><file name="rating-2_0.gif" hash="4eec2468b5e41dc03d198ed6fe084a53"/><file name="rating-2_1.gif" hash="155cab7b16f4cfef3e94b99ca297cedc"/><file name="rating-2_2.gif" hash="2e2dc606fd83853bdf90a3beb901cf3e"/><file name="rating-2_3.gif" hash="638632f37a750558722c0bf1a79f2546"/><file name="rating-2_4.gif" hash="6b0a85c21066c6402b9f8914284b999f"/><file name="rating-2_5.gif" hash="c4792dac3b9d5a914a72a4200f931c6e"/><file name="rating-2_6.gif" hash="1c7ac3f4e3721d4779721973cfaaa8db"/><file name="rating-2_7.gif" hash="21b680dce6ffef505532afea7fea1452"/><file name="rating-2_8.gif" hash="136ac6b284d1a2b9452a06eea993c1fa"/><file name="rating-2_9.gif" hash="d13af6920569aa85da6dfb0a139d560a"/><file name="rating-3_0.gif" hash="6b30e597cc23aec52dbd2be978d52351"/><file name="rating-3_1.gif" hash="cb544d168a949100fb5ee117adbd765b"/><file name="rating-3_2.gif" hash="75124c4b4dfc5cbcf5ae3ccfa7bdf906"/><file name="rating-3_3.gif" hash="0693b6a471361957da1dc8ee2e9af5ec"/><file name="rating-3_4.gif" hash="1a6e3cff41a61e1bbed9296badb94392"/><file name="rating-3_5.gif" hash="7f63ecf505414386267fad2e92617a9f"/><file name="rating-3_6.gif" hash="8b9b9ccebc3537cffd2bed75c60eaa9e"/><file name="rating-3_7.gif" hash="7f83f3996a738d1fd6763204cd964376"/><file name="rating-3_8.gif" hash="219a1f2dbd45bcb58a58f460c9491bbf"/><file name="rating-3_9.gif" hash="e4114607ca469db2fd5f87ac21c4f00a"/><file name="rating-4_0.gif" hash="a15541525186bf6911202e0f64daa4a6"/><file name="rating-4_1.gif" hash="818971c067beb397247095f5eedbac29"/><file name="rating-4_2.gif" hash="5b9599176771adfbf8c52c7dfa04e565"/><file name="rating-4_3.gif" hash="18dc68db736819e17ab5cf0d5725d99c"/><file name="rating-4_4.gif" hash="56b124f1a2e599918b462ce29cd1cd96"/><file name="rating-4_5.gif" hash="2044f11b1f7005f66f14219c5fce1020"/><file name="rating-4_6.gif" hash="3166f044e7f73f9b3e75bda4507eaa35"/><file name="rating-4_7.gif" hash="20546d3ebee7a364927e9da9274996a7"/><file name="rating-4_8.gif" hash="9dab0f19785d1592a96c5c295842f308"/><file name="rating-4_9.gif" hash="19a47143b04aceae85def246059fba33"/><file name="rating-5_0.gif" hash="e43b403663785255d2f023ca35566ac3"/></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="Bazaarvoice"><file name="BVFooter.php" hash="9280f088a835892a444d1c867b40536b"/><file name="BVUtility.php" hash="25f8d7d12edb5405599fd2b0e32f8715"/><file name="bvseosdk.php" hash="491a9f724bf1c6385fba23af2826b42c"/></dir></target><target name="mageweb"><dir name="shell"><file name="bv_export_order_feed.php" hash="309995ede2f85d95a0b91d8845c06ae5"/><file name="bv_export_product_feed.php" hash="1696c363c97bf9943560045b297c98fb"/></dir><dir name="docs"><file name="Integrations_Magento_for_Bazaarvoice_v6.3.8.pdf" hash="5e538e0aec1f4ff72256a1266886a775"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Bazaarvoice_Connector</name>
4
+ <version>6.3.10</version>
5
  <stability>stable</stability>
6
  <license>Bazaarvoice, Inc.</license>
7
  <channel>community</channel>
10
  <description>See www.bazaarvoice.com for further details on our offerings</description>
11
  <notes>Plugin corresponds to version 6.0.2 of the Bazaarvoice platform</notes>
12
  <authors><author><name>BV DTS</name><user>bvdts</user><email>dts@bazaarvoice.com</email></author></authors>
13
+ <date>2017-09-13</date>
14
+ <time>20:55:34</time>
15
+ <contents><target name="magelocal"><dir name="Bazaarvoice"><dir name="Connector"><dir name="Block"><file name="Bazaarvoice.php" hash="473e92e58fd86c823fb55765ed473414"/><file name="Questions.php" hash="1830c782c131f7932b6c7c2e9f6c1310"/><file name="Ratings.php" hash="6822db584f2ee777beb8d39c662e8465"/><file name="Reviews.php" hash="19900bd330cbd16d65a4f06ed1270804"/><dir name="Roi"><file name="Beacon.php" hash="a6c236b6b72488132ed968c0f1ffaa46"/></dir><file name="Submissioncontainer.php" hash="23d04ee9ece011d107bb8b914653a24d"/><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="0dfddc3a24317572f73887c616ddc8ee"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="d504b3bca86574763dae966bec05996c"/><file name="Sftp.php" hash="1c2867bdaaaaa94e14848a07a2b6b688"/><file name="SftpConnection.php" hash="a50078565951d100aa2b7e98553f79e5"/></dir><dir name="Model"><file name="ExportProductFeed.php" hash="dce2bd76373b00b413b94d60b7ede183"/><file name="ExportPurchaseFeed.php" hash="cd420b656a26e7f8cb5b5613cd43fe53"/><dir name="Mysql4"><file name="Setup.php" hash="884c886c1e9fa395f05e7872ba6478a2"/></dir><dir name="ProductFeed"><file name="Brand.php" hash="b2ab72e79d7e3afe23b38bc3b64ba115"/><file name="Category.php" hash="a8f96e165e1eeb81d21147196447c7a4"/><file name="Product.php" hash="0465396333d09114b8eda8c4844a4115"/></dir><file name="RetrieveInlineRatingsFeed.php" hash="c64ad33753408111e04322ef4b39ef34"/><file name="RetrieveSmartSEOPackage.php" hash="ececf2f31e0b3ca9c2dda4ed6967c8c1"/><dir name="Source"><file name="AuthenticationMethod.php" hash="582d6c76372bac64728e6e4d68f959e4"/><file name="Environment.php" hash="1e575c9adb480df80e4a8a917960bd55"/><file name="FeedGenerationScope.php" hash="b2450e4c0c69b0da328f1d0d7d67012a"/><file name="Lookback.php" hash="47ca1710ec7f9fb6d163db566f075e89"/><file name="TriggeringEvent.php" hash="fa47f3a2fcec92d9603f21541c853035"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="BvadminController.php" hash="37eeac48b0203e9bf571fb52c877e430"/></dir><file name="IndexController.php" hash="16b9a353153d40ebc32e759112ca6d6f"/></dir><dir name="etc"><file name="adminhtml.xml" hash="39cf8642bfc219709849618519a1c767"/><file name="config.xml" hash="cfe200003599f88fbd1a19c3d2f7f144"/><file name="system.xml" hash="535de427ebd7e9744283fcae712d9c60"/></dir><dir name="sql"><dir name="bazaarvoice_setup"><file name="mysql4-install-0.1.0.php" hash="2cf37e5f08ae8bb7f8c43d23d9493e58"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Bazaarvoice_Connector.xml" hash="c517b52d29fec93a83a8010451368ee1"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="bazaarvoice"><file name="button.phtml" hash="5056698122495d8898486dfaa646700a"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="enterprise"><dir name="default"><dir name="template"><dir name="bazaarvoice"><dir name="display"><file name="headerincludes.phtml" hash="0faf96303bfe38e1c4130dfdbaff9c87"/><file name="headerproduct.phtml" hash="53eb24a69f3a7377de3a74dee08dff67"/><dir name="qa"><file name="questions.phtml" hash="b5c186576e9c20cd764860ad08702349"/><file name="questionsummary.phtml" hash="c6044994c1d355730d7e5cfd3a6e3125"/></dir><dir name="rr"><file name="ratings.phtml" hash="56047515b347d0250d44e4e2eb0a923c"/><file name="reviews.phtml" hash="7d2ad8b18910010d22240c9521131290"/><file name="reviewsummary.phtml" hash="75e823088dd75387fc94e6028d8236a5"/></dir></dir><dir name="submit"><file name="roi_beacon.phtml" hash="5c5be5ad1614f7af9544dc64bf91212d"/><file name="submissioncontainer.phtml" hash="3f3f22b922c1aa5b87f7bbf4fbeea51c"/></dir></dir></dir><dir name="layout"><file name="bazaarvoice.xml" hash="e8d6c4a2ca62a21ddac1cd22e1ee8ad0"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="bazaarvoice_notification.html" hash="9a0e90ac62d926dad4db13719f3c8b73"/></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="bazaarvoice"><file name="rating-0_0.gif" hash="f50bd3f45f69a753614b2e76f53bdafc"/><file name="rating-1_0.gif" hash="c691e11e3250a18939aec523734d9b67"/><file name="rating-1_1.gif" hash="26377f1337bb6fb9e340292243a6f780"/><file name="rating-1_2.gif" hash="5c51583dc52d901c61d9470d5faeb2a4"/><file name="rating-1_3.gif" hash="3948c716d18ea0389ce9e57c347e7b6d"/><file name="rating-1_4.gif" hash="2211d8586bda467cb8fcc617670b94df"/><file name="rating-1_5.gif" hash="3fa9480c8b86f85749147fa0e8144b05"/><file name="rating-1_6.gif" hash="a577c79e7ea0c6c59ac15251c39de515"/><file name="rating-1_7.gif" hash="b5b52fa267632eda6ba5b3be56319397"/><file name="rating-1_8.gif" hash="205170e1ffbfcc81569286a9e1a88eb5"/><file name="rating-1_9.gif" hash="63709f7b2a2e2f14ae442dbef6513f25"/><file name="rating-2_0.gif" hash="4eec2468b5e41dc03d198ed6fe084a53"/><file name="rating-2_1.gif" hash="155cab7b16f4cfef3e94b99ca297cedc"/><file name="rating-2_2.gif" hash="2e2dc606fd83853bdf90a3beb901cf3e"/><file name="rating-2_3.gif" hash="638632f37a750558722c0bf1a79f2546"/><file name="rating-2_4.gif" hash="6b0a85c21066c6402b9f8914284b999f"/><file name="rating-2_5.gif" hash="c4792dac3b9d5a914a72a4200f931c6e"/><file name="rating-2_6.gif" hash="1c7ac3f4e3721d4779721973cfaaa8db"/><file name="rating-2_7.gif" hash="21b680dce6ffef505532afea7fea1452"/><file name="rating-2_8.gif" hash="136ac6b284d1a2b9452a06eea993c1fa"/><file name="rating-2_9.gif" hash="d13af6920569aa85da6dfb0a139d560a"/><file name="rating-3_0.gif" hash="6b30e597cc23aec52dbd2be978d52351"/><file name="rating-3_1.gif" hash="cb544d168a949100fb5ee117adbd765b"/><file name="rating-3_2.gif" hash="75124c4b4dfc5cbcf5ae3ccfa7bdf906"/><file name="rating-3_3.gif" hash="0693b6a471361957da1dc8ee2e9af5ec"/><file name="rating-3_4.gif" hash="1a6e3cff41a61e1bbed9296badb94392"/><file name="rating-3_5.gif" hash="7f63ecf505414386267fad2e92617a9f"/><file name="rating-3_6.gif" hash="8b9b9ccebc3537cffd2bed75c60eaa9e"/><file name="rating-3_7.gif" hash="7f83f3996a738d1fd6763204cd964376"/><file name="rating-3_8.gif" hash="219a1f2dbd45bcb58a58f460c9491bbf"/><file name="rating-3_9.gif" hash="e4114607ca469db2fd5f87ac21c4f00a"/><file name="rating-4_0.gif" hash="a15541525186bf6911202e0f64daa4a6"/><file name="rating-4_1.gif" hash="818971c067beb397247095f5eedbac29"/><file name="rating-4_2.gif" hash="5b9599176771adfbf8c52c7dfa04e565"/><file name="rating-4_3.gif" hash="18dc68db736819e17ab5cf0d5725d99c"/><file name="rating-4_4.gif" hash="56b124f1a2e599918b462ce29cd1cd96"/><file name="rating-4_5.gif" hash="2044f11b1f7005f66f14219c5fce1020"/><file name="rating-4_6.gif" hash="3166f044e7f73f9b3e75bda4507eaa35"/><file name="rating-4_7.gif" hash="20546d3ebee7a364927e9da9274996a7"/><file name="rating-4_8.gif" hash="9dab0f19785d1592a96c5c295842f308"/><file name="rating-4_9.gif" hash="19a47143b04aceae85def246059fba33"/><file name="rating-5_0.gif" hash="e43b403663785255d2f023ca35566ac3"/></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="Bazaarvoice"><file name="BVFooter.php" hash="9280f088a835892a444d1c867b40536b"/><file name="BVUtility.php" hash="25f8d7d12edb5405599fd2b0e32f8715"/><file name="bvseosdk.php" hash="491a9f724bf1c6385fba23af2826b42c"/></dir></target><target name="mageweb"><dir name="shell"><file name="bv_export_order_feed.php" hash="309995ede2f85d95a0b91d8845c06ae5"/><file name="bv_export_product_feed.php" hash="1696c363c97bf9943560045b297c98fb"/></dir><dir name="docs"><file name="Integrations_Magento_for_Bazaarvoice_v6.3.10.pdf" hash="97e39e35c813b11b73ce2306a6dfea34"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>