algoliasearch - Version 1.4.3

Version Notes

- UPDATED: improve indexing performance
- FIX: Issue with importing AlgoliaSearch
- FIX: CSS issue
- FIX: Prevent purchase from crashing if Algolia account is blocked

Download this release

Release Info

Developer Algolia Team
Extension algoliasearch
Version 1.4.3
Comparing to
See all releases


Code changes from version 1.4.2 to 1.4.3

app/code/community/Algolia/Algoliasearch/Helper/Data.php CHANGED
@@ -2,11 +2,11 @@
2
 
3
  if (class_exists('AlgoliaSearch\Client', false) == false)
4
  {
5
- require_once 'AlgoliaSearch/Version.php';
6
- require_once 'AlgoliaSearch/AlgoliaException.php';
7
- require_once 'AlgoliaSearch/ClientContext.php';
8
- require_once 'AlgoliaSearch/Client.php';
9
- require_once 'AlgoliaSearch/Index.php';
10
  }
11
 
12
  class Algolia_Algoliasearch_Helper_Data extends Mage_Core_Helper_Abstract
@@ -23,7 +23,7 @@ class Algolia_Algoliasearch_Helper_Data extends Mage_Core_Helper_Abstract
23
 
24
  public function __construct()
25
  {
26
- \AlgoliaSearch\Version::$custom_value = " Magento (1.4.2)";
27
 
28
  $this->algolia_helper = Mage::helper('algoliasearch/algoliahelper');
29
 
@@ -338,8 +338,6 @@ class Algolia_Algoliasearch_Helper_Data extends Mage_Core_Helper_Abstract
338
 
339
  public function rebuildStoreProductIndexPage($storeId, $collectionDefault, $page, $pageSize)
340
  {
341
- set_time_limit(0);
342
-
343
  $collection = clone $collectionDefault;
344
  $collection->setCurPage($page)->setPageSize($pageSize);
345
  $collection->load();
2
 
3
  if (class_exists('AlgoliaSearch\Client', false) == false)
4
  {
5
+ require_once Mage::getBaseDir('lib').'/AlgoliaSearch/Version.php';
6
+ require_once Mage::getBaseDir('lib').'/AlgoliaSearch/AlgoliaException.php';
7
+ require_once Mage::getBaseDir('lib').'/AlgoliaSearch/ClientContext.php';
8
+ require_once Mage::getBaseDir('lib').'/AlgoliaSearch/Client.php';
9
+ require_once Mage::getBaseDir('lib').'/AlgoliaSearch/Index.php';
10
  }
11
 
12
  class Algolia_Algoliasearch_Helper_Data extends Mage_Core_Helper_Abstract
23
 
24
  public function __construct()
25
  {
26
+ \AlgoliaSearch\Version::$custom_value = " Magento (1.4.3)";
27
 
28
  $this->algolia_helper = Mage::helper('algoliasearch/algoliahelper');
29
 
338
 
339
  public function rebuildStoreProductIndexPage($storeId, $collectionDefault, $page, $pageSize)
340
  {
 
 
341
  $collection = clone $collectionDefault;
342
  $collection->setCurPage($page)->setPageSize($pageSize);
343
  $collection->load();
app/code/community/Algolia/Algoliasearch/Helper/Entity/Producthelper.php CHANGED
@@ -59,26 +59,18 @@ class Algolia_Algoliasearch_Helper_Entity_Producthelper extends Algolia_Algolias
59
  return false;
60
  }
61
 
62
- protected function getReportForProduct($product)
63
- {
64
- $report = Mage::getResourceModel('reports/product_collection')
65
- ->addOrderedQty()
66
- ->addAttributeToFilter('sku', $product->getSku())
67
- ->setOrder('ordered_qty', 'desc')
68
- ->getFirstItem();
69
-
70
- return $report;
71
- }
72
-
73
- public function getProductCollectionQuery($storeId, $productIds = null)
74
  {
75
  /** @var $products Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection */
76
  $products = Mage::getResourceModel('catalog/product_collection');
77
 
78
  $products = $products->setStoreId($storeId)
79
- ->addStoreFilter($storeId)
80
- ->addAttributeToFilter('visibility', array('in' => Mage::getSingleton('catalog/product_visibility')->getVisibleInSearchIds()))
81
- ->addFinalPrice()
 
 
 
82
  ->addAttributeToSelect('special_from_date')
83
  ->addAttributeToSelect('special_to_date')
84
  ->addAttributeToFilter('status', Mage_Catalog_Model_Product_Status::STATUS_ENABLED);
@@ -377,6 +369,8 @@ class Algolia_Algoliasearch_Helper_Entity_Producthelper extends Algolia_Algolias
377
  $additionalAttributes = $this->config->getProductAdditionalAttributes($product->getStoreId());
378
 
379
  $sub_products = null;
 
 
380
 
381
  if ($product->getTypeId() == 'configurable' || $product->getTypeId() == 'grouped')
382
  {
@@ -386,16 +380,21 @@ class Algolia_Algoliasearch_Helper_Entity_Producthelper extends Algolia_Algolias
386
  if ($product->getTypeId() == 'configurable')
387
  $sub_products = $product->getTypeInstance(true)->getUsedProducts(null, $product);
388
 
 
 
 
 
 
 
389
  $min = PHP_INT_MAX;
390
  $max = 0;
391
 
392
  $min_with_tax = PHP_INT_MAX;
393
  $max_with_tax = 0;
394
 
 
395
  foreach ($sub_products as $sub_product)
396
  {
397
- $sub_product = Mage::getModel('catalog/product')->load($sub_product->getId());
398
-
399
  $price = $sub_product->getPrice();
400
  $price_with_tax = Mage::helper('tax')->getPrice($sub_product, $price, true, null, null, null, null, false);
401
 
@@ -422,13 +421,14 @@ class Algolia_Algoliasearch_Helper_Entity_Producthelper extends Algolia_Algolias
422
  // skip default calculation if we have provided these attributes via the observer in $defaultData
423
  if (false === isset($defaultData['ordered_qty']) && false === isset($defaultData['stock_qty']))
424
  {
 
 
 
 
 
 
425
 
426
- $ordered_qty = Mage::getResourceModel('reports/product_collection')
427
- ->addOrderedQty()
428
- ->addAttributeToFilter('sku', $product->getSku())
429
- ->setOrder('ordered_qty', 'desc')
430
- ->getFirstItem()
431
- ->ordered_qty;
432
 
433
  $customData['ordered_qty'] = (int) $ordered_qty;
434
  $customData['stock_qty'] = (int) Mage::getModel('cataloginventory/stock_item')->loadByProduct($product)->getQty();
@@ -442,20 +442,29 @@ class Algolia_Algoliasearch_Helper_Entity_Producthelper extends Algolia_Algolias
442
  {
443
  $stock_qty += (int)Mage::getModel('cataloginventory/stock_item')->loadByProduct($sub_product)->getQty();
444
 
445
- $ordered_qty += (int) $this->getReportForProduct($sub_product)->ordered_qty;
 
 
 
 
 
 
 
446
  }
447
 
448
  $customData['ordered_qty'] = $ordered_qty;
449
  $customData['stock_qty'] = $stock_qty;
450
  }
451
 
452
- if ($this->isAttributeEnabled($additionalAttributes, 'ordered_qty') == false)
 
453
  unset($customData['ordered_qty']);
454
 
455
- if ($this->isAttributeEnabled($additionalAttributes, 'stock_qty') == false)
456
  unset($customData['stock_qty']);
457
  }
458
 
 
459
  if ($this->isAttributeEnabled($additionalAttributes, 'rating_summary'))
460
  {
461
  $summaryData = Mage::getModel('review/review_summary')
@@ -488,8 +497,6 @@ class Algolia_Algoliasearch_Helper_Entity_Producthelper extends Algolia_Algolias
488
 
489
  foreach ($sub_products as $sub_product)
490
  {
491
- $sub_product = Mage::getModel('catalog/product')->load($sub_product->getId());
492
-
493
  $value = $sub_product->getData($attribute['attribute']);
494
 
495
  if ($value)
59
  return false;
60
  }
61
 
62
+ public function getProductCollectionQuery($storeId, $productIds = null, $only_visible = true)
 
 
 
 
 
 
 
 
 
 
 
63
  {
64
  /** @var $products Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection */
65
  $products = Mage::getResourceModel('catalog/product_collection');
66
 
67
  $products = $products->setStoreId($storeId)
68
+ ->addStoreFilter($storeId);
69
+
70
+ if ($only_visible)
71
+ $products = $products->addAttributeToFilter('visibility', array('in' => Mage::getSingleton('catalog/product_visibility')->getVisibleInSearchIds()));
72
+
73
+ $products = $products->addFinalPrice()
74
  ->addAttributeToSelect('special_from_date')
75
  ->addAttributeToSelect('special_to_date')
76
  ->addAttributeToFilter('status', Mage_Catalog_Model_Product_Status::STATUS_ENABLED);
369
  $additionalAttributes = $this->config->getProductAdditionalAttributes($product->getStoreId());
370
 
371
  $sub_products = null;
372
+ $ids = null;
373
+
374
 
375
  if ($product->getTypeId() == 'configurable' || $product->getTypeId() == 'grouped')
376
  {
380
  if ($product->getTypeId() == 'configurable')
381
  $sub_products = $product->getTypeInstance(true)->getUsedProducts(null, $product);
382
 
383
+ $ids = array_map(function ($product) {
384
+ return $product->getId();
385
+ }, $sub_products);
386
+
387
+ $sub_products = $this->getProductCollectionQuery($product->getStoreId(), $ids, false)->load();
388
+
389
  $min = PHP_INT_MAX;
390
  $max = 0;
391
 
392
  $min_with_tax = PHP_INT_MAX;
393
  $max_with_tax = 0;
394
 
395
+
396
  foreach ($sub_products as $sub_product)
397
  {
 
 
398
  $price = $sub_product->getPrice();
399
  $price_with_tax = Mage::helper('tax')->getPrice($sub_product, $price, true, null, null, null, null, false);
400
 
421
  // skip default calculation if we have provided these attributes via the observer in $defaultData
422
  if (false === isset($defaultData['ordered_qty']) && false === isset($defaultData['stock_qty']))
423
  {
424
+ $query = Mage::getResourceModel('sales/order_item_collection');
425
+ $query->getSelect()->reset(Zend_Db_Select::COLUMNS)
426
+ ->columns(array('sku','SUM(qty_ordered) as ordered_qty'))
427
+ ->group(array('sku'))
428
+ ->where('sku = ?',array($product->getSku()))
429
+ ->limit(1);
430
 
431
+ $ordered_qty = (int) $query->getFirstItem()->ordered_qty;
 
 
 
 
 
432
 
433
  $customData['ordered_qty'] = (int) $ordered_qty;
434
  $customData['stock_qty'] = (int) Mage::getModel('cataloginventory/stock_item')->loadByProduct($product)->getQty();
442
  {
443
  $stock_qty += (int)Mage::getModel('cataloginventory/stock_item')->loadByProduct($sub_product)->getQty();
444
 
445
+ $query = Mage::getResourceModel('sales/order_item_collection');
446
+ $query->getSelect()->reset(Zend_Db_Select::COLUMNS)
447
+ ->columns(array('sku','SUM(qty_ordered) as ordered_qty'))
448
+ ->group(array('sku'))
449
+ ->where('sku = ?',array($sub_product->getSku()))
450
+ ->limit(1);
451
+
452
+ $ordered_qty += (int) $query->getFirstItem()->ordered_qty;
453
  }
454
 
455
  $customData['ordered_qty'] = $ordered_qty;
456
  $customData['stock_qty'] = $stock_qty;
457
  }
458
 
459
+
460
+ if ($this->isAttributeEnabled($additionalAttributes, 'ordered_qty') === false)
461
  unset($customData['ordered_qty']);
462
 
463
+ if ($this->isAttributeEnabled($additionalAttributes, 'stock_qty') === false)
464
  unset($customData['stock_qty']);
465
  }
466
 
467
+
468
  if ($this->isAttributeEnabled($additionalAttributes, 'rating_summary'))
469
  {
470
  $summaryData = Mage::getModel('review/review_summary')
497
 
498
  foreach ($sub_products as $sub_product)
499
  {
 
 
500
  $value = $sub_product->getData($attribute['attribute']);
501
 
502
  if ($value)
app/code/community/Algolia/Algoliasearch/Model/Observer.php CHANGED
@@ -60,7 +60,15 @@ class Algolia_Algoliasearch_Model_Observer
60
  if ( ! $store->getIsActive())
61
  continue;
62
 
63
- $this->helper->rebuildStoreProductIndex($storeId, array($product_id));
 
 
 
 
 
 
 
 
64
  }
65
  }
66
 
60
  if ( ! $store->getIsActive())
61
  continue;
62
 
63
+ try
64
+ {
65
+ $this->helper->rebuildStoreProductIndex($storeId, array($product_id));
66
+ }
67
+ catch(\Exception $e)
68
+ {
69
+ Mage::log($e->getMessage());
70
+ Mage::log($e->getTraceAsString());
71
+ }
72
  }
73
  }
74
 
app/code/community/Algolia/Algoliasearch/etc/system.xml CHANGED
@@ -4,7 +4,7 @@
4
  <algoliasearch translate="label" module="algoliasearch">
5
  <label>
6
  <![CDATA[
7
- Algolia Search 1.4.2
8
  <style>
9
  .algoliasearch-admin-menu span {
10
  padding-left: 38px !important;
4
  <algoliasearch translate="label" module="algoliasearch">
5
  <label>
6
  <![CDATA[
7
+ Algolia Search 1.4.3
8
  <style>
9
  .algoliasearch-admin-menu span {
10
  padding-left: 38px !important;
app/design/frontend/base/default/template/algoliasearch/topsearch.phtml CHANGED
@@ -208,7 +208,12 @@ $class = $isSearchPage ? 'search-page' : '';
208
  {{/image_url}}
209
  {{^image_url}}
210
  <div class="info-without-thumb">
211
- {{{_highlightResult.path.value}}}
 
 
 
 
 
212
 
213
  {{#product_count}}
214
  <small>( {{product_count}} )</small>
208
  {{/image_url}}
209
  {{^image_url}}
210
  <div class="info-without-thumb">
211
+ {{#_highlightResult.path}}
212
+ {{{_highlightResult.path.value}}}
213
+ {{/_highlightResult.path}}
214
+ {{^_highlightResult.path}}
215
+ {{{path}}}
216
+ {{/_highlightResult.path}}
217
 
218
  {{#product_count}}
219
  <small>( {{product_count}} )</small>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>algoliasearch</name>
4
- <version>1.4.2</version>
5
  <stability>stable</stability>
6
  <license uri="https://github.com/algolia/algoliasearch-magento/blob/master/LICENSE.txt">MIT</license>
7
  <channel>community</channel>
@@ -11,11 +11,14 @@
11
  &#xD;
12
  This extension replaces Magento's FullText Search module and provide an as-you-type auto-completion menu in your searchbar.&#xD;
13
  </description>
14
- <notes>- FIX: issue with slider</notes>
 
 
 
15
  <authors><author><name>Algolia Team</name><user>algolia</user><email>support@algolia.com</email></author></authors>
16
- <date>2015-08-24</date>
17
- <time>14:12:23</time>
18
- <contents><target name="mageetc"><dir name="modules"><file name="Algolia_Algoliasearch.xml" hash="17a1452f533423291332642969b41a53"/></dir></target><target name="magecommunity"><dir name="Algolia"><dir name="Algoliasearch"><dir name="Block"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Additionalsections.php" hash="b2514910e3b56745e66239d5ee916331"/><file name="Custompages.php" hash="f87a9cf7b5559717cd9d6570374dcda7"/><file name="Customrankingcategory.php" hash="6d9575c12dbaecf9054de1cf12736025"/><file name="Customrankingproduct.php" hash="6d1b145e37c4f22d5b56f5783ac47511"/><file name="Customsortorder.php" hash="786c8f8fca2e4b41b8732f5fe270491b"/><file name="Customsortordercategory.php" hash="9908ea7f463138d3047c51b98591db9c"/><file name="Customsortorderproduct.php" hash="ee62901a3911bb7784467e1ca5cd8e84"/><file name="Facets.php" hash="097998767edeee986958f421979ea141"/><file name="Select.php" hash="6e3cb4c1798775048bebbdc878e90aa9"/><file name="Sorts.php" hash="fede73c4ecbe39bf0344fbf6de46ed95"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Algoliahelper.php" hash="ff48a4929fffd913da57868457ace02f"/><file name="Config.php" hash="2c4ccdf65066df3be068d87b4bbe3871"/><file name="Data.php" hash="d0e262ecf0b30a716e08fc6122b01251"/><dir name="Entity"><file name="Additionalsectionshelper.php" hash="5d20d805b31b7dec4feb943c5e6a96ef"/><file name="Categoryhelper.php" hash="0ec97836a0c1de3e3e22ce462fc756c7"/><file name="Helper.php" hash="3b6025b96ac4e41af10953f012abb77a"/><file name="Pagehelper.php" hash="7a0dcb237f6720d1637c48fc05a7d45e"/><file name="Producthelper.php" hash="34de3d3f33586a006e29b9c26401ae79"/><file name="Suggestionhelper.php" hash="52f709b27a94c66aa9f7af8648dcb30a"/></dir></dir><dir name="Model"><dir name="Indexer"><file name="Algolia.php" hash="87c5725e054c0a39983643a07399c453"/><file name="Algoliaadditionalsections.php" hash="3113413441afccba3b8e79aa9fd8cdb1"/><file name="Algoliapages.php" hash="26ea3afee58d07b721c5cd74b3d6c4e3"/><file name="Algoliasuggestions.php" hash="7020d40bae60469d0acc7138ee72a419"/></dir><file name="Observer.php" hash="e3f5779b623032f5c0b2ea9d75d41949"/><file name="Queue.php" hash="4e0c7559dd15b4cbd75cf41ab90f5bdf"/><dir name="Resource"><file name="Engine.php" hash="9322be8fe132f14a03540c4eb4cb5986"/><dir name="Fulltext"><file name="Collection.php" hash="66e8b9af58384bc3a99ee1464cbd3537"/></dir><file name="Fulltext.php" hash="33566998e9588d6950797908f525b76f"/></dir><dir name="System"><file name="Removewords.php" hash="69c9727a324b657f7cfdf7f5d06e3cbc"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="ea4176ed43885e531f90d1f5369f29ee"/><file name="config.xml" hash="40c7c9ffb5140a758fd52723741fccf2"/><file name="system.xml" hash="b6369cdd716cdde3bb23f54e0270b366"/></dir><dir name="sql"><dir name="algoliasearch_setup"><file name="mysql4-install-0.1.0.php" hash="fffd964f9c60be7909ec216260c37ba0"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="algoliasearch.xml" hash="f0df0b6ed09d186da4429577aefd346d"/></dir><dir name="template"><dir name="algoliasearch"><file name="topsearch.phtml" hash="e972a56c1762f35747faf9461c202cf3"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="algoliasearch"><file name="algolia-admin-menu.png" hash="9202a559c30a43d4d4bbc2f9ee774fd9"/><file name="algolia-logo.png" hash="190884b3e8652f3517754ae15bca31de"/><file name="algoliasearch.css" hash="43794dc017946d07326d662d2becce2e"/><file name="bundle.css" hash="10df17cf0f50b56246a2ba017adcdae3"/><dir name="images"><file name="ui-bg_diagonals-thick_18_b81900_40x40.png" hash="62568c006bb1066f40fd5f9cfe4489be"/><file name="ui-bg_diagonals-thick_20_666666_40x40.png" hash="406541454ec466d93217826588335194"/><file name="ui-bg_flat_10_000000_40x100.png" hash="85243ed808c91ae60d33bda3a6bdee3c"/><file name="ui-bg_glass_100_f6f6f6_1x400.png" hash="f912ffca9b1919ab26c64cf1332c5322"/><file name="ui-bg_glass_100_fdf5ce_1x400.png" hash="a9b41e3f4db0fb9be1cd2c649deb253f"/><file name="ui-bg_glass_65_ffffff_1x400.png" hash="ff9e9b45e03f11808144324fd5350612"/><file name="ui-bg_gloss-wave_35_f6a828_500x100.png" hash="08ece8908c07b1c0d18b8db076ff50fc"/><file name="ui-bg_highlight-soft_100_eeeeee_1x100.png" hash="72fe4b0e1bbb83dfd6787989d3583fbe"/><file name="ui-bg_highlight-soft_75_ffe45c_1x100.png" hash="81262299ac7f591fd1763c1ccee0691f"/><file name="ui-icons_222222_256x240.png" hash="3a3c5468f484f07ac4a320d9e22acb8c"/><file name="ui-icons_228ef1_256x240.png" hash="92b29683b6a48eae7de7eb4b1cfa039c"/><file name="ui-icons_ef8c08_256x240.png" hash="f492970693640894fb54166c75dd2925"/><file name="ui-icons_ffd27a_256x240.png" hash="dda1b6f694b0d196aefc66a1d6d758f6"/><file name="ui-icons_ffffff_256x240.png" hash="41612b0f4a034424f8321c9f824a94da"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="algoliasearch"><file name="bundle.min.js" hash="50dc171cb2cbd89fda2a18a4b64e6e4c"/></dir></dir><dir name="lib"><dir name="AlgoliaSearch"><file name="AlgoliaException.php" hash="4acaa7c9142e19d1084295a3b8ba18e2"/><file name="Client.php" hash="11ad687a9868a9f574ae6a069800dd2c"/><file name="ClientContext.php" hash="77d2449636d263162460a7ccaea4e6b6"/><file name="Index.php" hash="5c1eacc54cd503bff296e9bbbd402895"/><file name="Version.php" hash="0c37eb6324361991364e0efd2696e56d"/><dir name="resources"><file name="ca-bundle.crt" hash="47961e7ef15667c93cd99be01b51f00a"/></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>algoliasearch</name>
4
+ <version>1.4.3</version>
5
  <stability>stable</stability>
6
  <license uri="https://github.com/algolia/algoliasearch-magento/blob/master/LICENSE.txt">MIT</license>
7
  <channel>community</channel>
11
  &#xD;
12
  This extension replaces Magento's FullText Search module and provide an as-you-type auto-completion menu in your searchbar.&#xD;
13
  </description>
14
+ <notes>- UPDATED: improve indexing performance&#xD;
15
+ - FIX: Issue with importing AlgoliaSearch&#xD;
16
+ - FIX: CSS issue&#xD;
17
+ - FIX: Prevent purchase from crashing if Algolia account is blocked</notes>
18
  <authors><author><name>Algolia Team</name><user>algolia</user><email>support@algolia.com</email></author></authors>
19
+ <date>2015-08-29</date>
20
+ <time>09:58:17</time>
21
+ <contents><target name="mageetc"><dir name="modules"><file name="Algolia_Algoliasearch.xml" hash="17a1452f533423291332642969b41a53"/></dir></target><target name="magecommunity"><dir name="Algolia"><dir name="Algoliasearch"><dir name="Block"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Additionalsections.php" hash="b2514910e3b56745e66239d5ee916331"/><file name="Custompages.php" hash="f87a9cf7b5559717cd9d6570374dcda7"/><file name="Customrankingcategory.php" hash="6d9575c12dbaecf9054de1cf12736025"/><file name="Customrankingproduct.php" hash="6d1b145e37c4f22d5b56f5783ac47511"/><file name="Customsortorder.php" hash="786c8f8fca2e4b41b8732f5fe270491b"/><file name="Customsortordercategory.php" hash="9908ea7f463138d3047c51b98591db9c"/><file name="Customsortorderproduct.php" hash="ee62901a3911bb7784467e1ca5cd8e84"/><file name="Facets.php" hash="097998767edeee986958f421979ea141"/><file name="Select.php" hash="6e3cb4c1798775048bebbdc878e90aa9"/><file name="Sorts.php" hash="fede73c4ecbe39bf0344fbf6de46ed95"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Algoliahelper.php" hash="ff48a4929fffd913da57868457ace02f"/><file name="Config.php" hash="2c4ccdf65066df3be068d87b4bbe3871"/><file name="Data.php" hash="ec4df17ef827e4b8dc64d774bee0c2c7"/><dir name="Entity"><file name="Additionalsectionshelper.php" hash="5d20d805b31b7dec4feb943c5e6a96ef"/><file name="Categoryhelper.php" hash="0ec97836a0c1de3e3e22ce462fc756c7"/><file name="Helper.php" hash="3b6025b96ac4e41af10953f012abb77a"/><file name="Pagehelper.php" hash="7a0dcb237f6720d1637c48fc05a7d45e"/><file name="Producthelper.php" hash="3f3148e37f75ef1c5779321a74d16612"/><file name="Suggestionhelper.php" hash="52f709b27a94c66aa9f7af8648dcb30a"/></dir></dir><dir name="Model"><dir name="Indexer"><file name="Algolia.php" hash="87c5725e054c0a39983643a07399c453"/><file name="Algoliaadditionalsections.php" hash="3113413441afccba3b8e79aa9fd8cdb1"/><file name="Algoliapages.php" hash="26ea3afee58d07b721c5cd74b3d6c4e3"/><file name="Algoliasuggestions.php" hash="7020d40bae60469d0acc7138ee72a419"/></dir><file name="Observer.php" hash="ebc42a95ceb718ff8dc7ed3e30c16e93"/><file name="Queue.php" hash="4e0c7559dd15b4cbd75cf41ab90f5bdf"/><dir name="Resource"><file name="Engine.php" hash="9322be8fe132f14a03540c4eb4cb5986"/><dir name="Fulltext"><file name="Collection.php" hash="66e8b9af58384bc3a99ee1464cbd3537"/></dir><file name="Fulltext.php" hash="33566998e9588d6950797908f525b76f"/></dir><dir name="System"><file name="Removewords.php" hash="69c9727a324b657f7cfdf7f5d06e3cbc"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="ea4176ed43885e531f90d1f5369f29ee"/><file name="config.xml" hash="40c7c9ffb5140a758fd52723741fccf2"/><file name="system.xml" hash="52b348c6f81e3e7d1480e0af49cf4bb2"/></dir><dir name="sql"><dir name="algoliasearch_setup"><file name="mysql4-install-0.1.0.php" hash="fffd964f9c60be7909ec216260c37ba0"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="algoliasearch.xml" hash="f0df0b6ed09d186da4429577aefd346d"/></dir><dir name="template"><dir name="algoliasearch"><file name="topsearch.phtml" hash="86af9bf82ee8699fa207087c8e49c622"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="algoliasearch"><file name="algolia-admin-menu.png" hash="9202a559c30a43d4d4bbc2f9ee774fd9"/><file name="algolia-logo.png" hash="190884b3e8652f3517754ae15bca31de"/><file name="algoliasearch.css" hash="6a8e4ead3f27dfb5820662cab167301f"/><file name="bundle.css" hash="10df17cf0f50b56246a2ba017adcdae3"/><dir name="images"><file name="ui-bg_diagonals-thick_18_b81900_40x40.png" hash="62568c006bb1066f40fd5f9cfe4489be"/><file name="ui-bg_diagonals-thick_20_666666_40x40.png" hash="406541454ec466d93217826588335194"/><file name="ui-bg_flat_10_000000_40x100.png" hash="85243ed808c91ae60d33bda3a6bdee3c"/><file name="ui-bg_glass_100_f6f6f6_1x400.png" hash="f912ffca9b1919ab26c64cf1332c5322"/><file name="ui-bg_glass_100_fdf5ce_1x400.png" hash="a9b41e3f4db0fb9be1cd2c649deb253f"/><file name="ui-bg_glass_65_ffffff_1x400.png" hash="ff9e9b45e03f11808144324fd5350612"/><file name="ui-bg_gloss-wave_35_f6a828_500x100.png" hash="08ece8908c07b1c0d18b8db076ff50fc"/><file name="ui-bg_highlight-soft_100_eeeeee_1x100.png" hash="72fe4b0e1bbb83dfd6787989d3583fbe"/><file name="ui-bg_highlight-soft_75_ffe45c_1x100.png" hash="81262299ac7f591fd1763c1ccee0691f"/><file name="ui-icons_222222_256x240.png" hash="3a3c5468f484f07ac4a320d9e22acb8c"/><file name="ui-icons_228ef1_256x240.png" hash="92b29683b6a48eae7de7eb4b1cfa039c"/><file name="ui-icons_ef8c08_256x240.png" hash="f492970693640894fb54166c75dd2925"/><file name="ui-icons_ffd27a_256x240.png" hash="dda1b6f694b0d196aefc66a1d6d758f6"/><file name="ui-icons_ffffff_256x240.png" hash="41612b0f4a034424f8321c9f824a94da"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="algoliasearch"><file name="bundle.min.js" hash="50dc171cb2cbd89fda2a18a4b64e6e4c"/></dir></dir><dir name="lib"><dir name="AlgoliaSearch"><file name="AlgoliaException.php" hash="4acaa7c9142e19d1084295a3b8ba18e2"/><file name="Client.php" hash="11ad687a9868a9f574ae6a069800dd2c"/><file name="ClientContext.php" hash="77d2449636d263162460a7ccaea4e6b6"/><file name="Index.php" hash="5c1eacc54cd503bff296e9bbbd402895"/><file name="Version.php" hash="0c37eb6324361991364e0efd2696e56d"/><dir name="resources"><file name="ca-bundle.crt" hash="47961e7ef15667c93cd99be01b51f00a"/></dir></dir></dir></target></contents>
22
  <compatible/>
23
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
24
  </package>
skin/frontend/base/default/algoliasearch/algoliasearch.css CHANGED
@@ -463,13 +463,16 @@
463
  ** GRID
464
  */
465
 
466
- * {
 
467
  -webkit-box-sizing: border-box;
468
  -moz-box-sizing: border-box;
469
  box-sizing: border-box;
470
  }
471
- *:before,
472
- *:after {
 
 
473
  -webkit-box-sizing: border-box;
474
  -moz-box-sizing: border-box;
475
  box-sizing: border-box;
463
  ** GRID
464
  */
465
 
466
+ #algolia_instant_selector, #algolia_instant_selector *,
467
+ #search_mini_form, #search_mini_form * {
468
  -webkit-box-sizing: border-box;
469
  -moz-box-sizing: border-box;
470
  box-sizing: border-box;
471
  }
472
+ #algolia_instant_selector:before, #algolia_instant_selector:after,
473
+ #algolia_instant_selector *:before, #algolia_instant_selector *:after,
474
+ #search_mini_form:before, #search_mini_form:after,
475
+ #search_mini_form *:before, #search_mini_form *:after {
476
  -webkit-box-sizing: border-box;
477
  -moz-box-sizing: border-box;
478
  box-sizing: border-box;