Version Notes
- Fix some attributes retrival
Download this release
Release Info
Developer | Algolia Team |
Extension | algoliasearch |
Version | 1.3.3 |
Comparing to | |
See all releases |
Code changes from version 1.3.2 to 1.3.3
- app/code/community/Algolia/Algoliasearch/Helper/Data.php +1 -1
- app/code/community/Algolia/Algoliasearch/Helper/Entity/Categoryhelper.php +10 -5
- app/code/community/Algolia/Algoliasearch/Helper/Entity/Helper.php +0 -1
- app/code/community/Algolia/Algoliasearch/Helper/Entity/Producthelper.php +7 -4
- app/code/community/Algolia/Algoliasearch/etc/system.xml +40 -39
- package.xml +5 -6
app/code/community/Algolia/Algoliasearch/Helper/Data.php
CHANGED
@@ -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.3.
|
27 |
|
28 |
$this->algolia_helper = Mage::helper('algoliasearch/algoliahelper');
|
29 |
|
23 |
|
24 |
public function __construct()
|
25 |
{
|
26 |
+
\AlgoliaSearch\Version::$custom_value = " Magento (1.3.3)";
|
27 |
|
28 |
$this->algolia_helper = Mage::helper('algoliasearch/algoliahelper');
|
29 |
|
app/code/community/Algolia/Algoliasearch/Helper/Entity/Categoryhelper.php
CHANGED
@@ -152,12 +152,17 @@ class Algolia_Algoliasearch_Helper_Entity_Categoryhelper extends Algolia_Algolia
|
|
152 |
if ( ! empty($image_url)) {
|
153 |
$data['image_url'] = $image_url;
|
154 |
}
|
155 |
-
foreach ($this->config->getCategoryAdditionalAttributes($storeId) as $attribute) {
|
156 |
-
$value = $category->hasData($this->_dataPrefix.$attribute['attribute'])
|
157 |
-
? $category->getData($this->_dataPrefix.$attribute['attribute'])
|
158 |
-
: $category->getData($attribute['attribute']);
|
159 |
|
160 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
|
162 |
if (isset($data[$attribute['attribute']]))
|
163 |
$value = $data[$attribute['attribute']];
|
152 |
if ( ! empty($image_url)) {
|
153 |
$data['image_url'] = $image_url;
|
154 |
}
|
|
|
|
|
|
|
|
|
155 |
|
156 |
+
foreach ($this->config->getCategoryAdditionalAttributes($storeId) as $attribute)
|
157 |
+
{
|
158 |
+
$value = $category->getData($attribute['attribute']);
|
159 |
+
|
160 |
+
$attribute_ressource = $category->getResource()->getAttribute($attribute['attribute']);
|
161 |
+
|
162 |
+
if ($attribute_ressource)
|
163 |
+
{
|
164 |
+
$value = $attribute_ressource->getFrontend()->getValue($category);
|
165 |
+
}
|
166 |
|
167 |
if (isset($data[$attribute['attribute']]))
|
168 |
$value = $data[$attribute['attribute']];
|
app/code/community/Algolia/Algoliasearch/Helper/Entity/Helper.php
CHANGED
@@ -7,7 +7,6 @@ abstract class Algolia_Algoliasearch_Helper_Entity_Helper
|
|
7 |
|
8 |
protected static $_activeCategories;
|
9 |
protected static $_categoryNames;
|
10 |
-
protected $_dataPrefix = 'algolia_';
|
11 |
|
12 |
abstract protected function getIndexNameSuffix();
|
13 |
|
7 |
|
8 |
protected static $_activeCategories;
|
9 |
protected static $_categoryNames;
|
|
|
10 |
|
11 |
abstract protected function getIndexNameSuffix();
|
12 |
|
app/code/community/Algolia/Algoliasearch/Helper/Entity/Producthelper.php
CHANGED
@@ -366,11 +366,14 @@ class Algolia_Algoliasearch_Helper_Entity_Producthelper extends Algolia_Algolias
|
|
366 |
|
367 |
foreach ($additionalAttributes as $attribute)
|
368 |
{
|
369 |
-
$value = $product->
|
370 |
-
? $product->getData($this->_dataPrefix . $attribute['attribute'])
|
371 |
-
: $product->getData($attribute['attribute']);
|
372 |
|
373 |
-
$
|
|
|
|
|
|
|
|
|
|
|
374 |
|
375 |
if ($value)
|
376 |
$customData[$attribute['attribute']] = $value;
|
366 |
|
367 |
foreach ($additionalAttributes as $attribute)
|
368 |
{
|
369 |
+
$value = $product->getData($attribute['attribute']);
|
|
|
|
|
370 |
|
371 |
+
$attribute_ressource = $product->getResource()->getAttribute($attribute['attribute']);
|
372 |
+
|
373 |
+
if ($attribute_ressource)
|
374 |
+
{
|
375 |
+
$value = $attribute_ressource->getFrontend()->getValue($product);
|
376 |
+
}
|
377 |
|
378 |
if ($value)
|
379 |
$customData[$attribute['attribute']] = $value;
|
app/code/community/Algolia/Algoliasearch/etc/system.xml
CHANGED
@@ -43,17 +43,8 @@
|
|
43 |
<show_in_default>1</show_in_default>
|
44 |
<show_in_website>1</show_in_website>
|
45 |
<show_in_store>1</show_in_store>
|
46 |
-
<comment>Your Application ID
|
47 |
</application_id>
|
48 |
-
<search_only_api_key translate="label">
|
49 |
-
<label>Search-only (public) API key</label>
|
50 |
-
<frontend_type>text</frontend_type>
|
51 |
-
<sort_order>20</sort_order>
|
52 |
-
<show_in_default>1</show_in_default>
|
53 |
-
<show_in_website>1</show_in_website>
|
54 |
-
<show_in_store>1</show_in_store>
|
55 |
-
<comment>A search-only API key (will be included in the public JavaScript code)</comment>
|
56 |
-
</search_only_api_key>
|
57 |
<api_key translate="label">
|
58 |
<label>Admin API key</label>
|
59 |
<frontend_type>password</frontend_type>
|
@@ -63,6 +54,15 @@
|
|
63 |
<show_in_store>1</show_in_store>
|
64 |
<comment>Your administration API key (kept private)</comment>
|
65 |
</api_key>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
<index_prefix translate="label">
|
67 |
<label>Index Name Prefix</label>
|
68 |
<frontend_type>text</frontend_type>
|
@@ -70,7 +70,7 @@
|
|
70 |
<show_in_default>1</show_in_default>
|
71 |
<show_in_website>1</show_in_website>
|
72 |
<show_in_store>1</show_in_store>
|
73 |
-
<comment>If configured, all indices created by the extension will be prefixed by this value.</comment>
|
74 |
</index_prefix>
|
75 |
<is_popup_enabled translate="label comment">
|
76 |
<label>Enable Auto-completion Menu</label>
|
@@ -82,7 +82,7 @@
|
|
82 |
<show_in_store>1</show_in_store>
|
83 |
<comment>
|
84 |
<![CDATA[
|
85 |
-
|
86 |
]]>
|
87 |
</comment>
|
88 |
</is_popup_enabled>
|
@@ -96,7 +96,7 @@
|
|
96 |
<show_in_store>1</show_in_store>
|
97 |
<comment>
|
98 |
<![CDATA[
|
99 |
-
|
100 |
]]>
|
101 |
</comment>
|
102 |
</is_instant_enabled>
|
@@ -128,7 +128,7 @@
|
|
128 |
<show_in_default>1</show_in_default>
|
129 |
<show_in_website>1</show_in_website>
|
130 |
<show_in_store>1</show_in_store>
|
131 |
-
<comment>Configure here the
|
132 |
</facets>
|
133 |
<sorts>
|
134 |
<label>Sorts</label>
|
@@ -138,7 +138,7 @@
|
|
138 |
<show_in_default>1</show_in_default>
|
139 |
<show_in_website>1</show_in_website>
|
140 |
<show_in_store>1</show_in_store>
|
141 |
-
<comment>Configure here the different
|
142 |
</sorts>
|
143 |
<replace_categories translate="label comment">
|
144 |
<label>Replace categories page</label>
|
@@ -148,12 +148,12 @@
|
|
148 |
<show_in_default>1</show_in_default>
|
149 |
<show_in_website>1</show_in_website>
|
150 |
<show_in_store>1</show_in_store>
|
151 |
-
<comment>
|
152 |
</replace_categories>
|
153 |
</fields>
|
154 |
</instant>
|
155 |
<products translate="label">
|
156 |
-
<label>
|
157 |
<frontend_type>text</frontend_type>
|
158 |
<sort_order>30</sort_order>
|
159 |
<show_in_default>1</show_in_default>
|
@@ -171,7 +171,7 @@
|
|
171 |
<show_in_store>1</show_in_store>
|
172 |
<comment>
|
173 |
<![CDATA[
|
174 |
-
|
175 |
<span style="color: #D83900">⚠</span> <code>Retrievable</code> need to be set to <code>Yes</code> in order to be displayed.
|
176 |
]]>
|
177 |
</comment>
|
@@ -186,7 +186,7 @@
|
|
186 |
<show_in_store>1</show_in_store>
|
187 |
<comment>
|
188 |
<![CDATA[
|
189 |
-
Configure here the attributes
|
190 |
<span style="color: #D83900">⚠</span> All attributes used here must be included in the Attributes configuration.
|
191 |
]]>
|
192 |
</comment>
|
@@ -194,7 +194,7 @@
|
|
194 |
</fields>
|
195 |
</products>
|
196 |
<categories translate="label">
|
197 |
-
<label>
|
198 |
<frontend_type>text</frontend_type>
|
199 |
<sort_order>40</sort_order>
|
200 |
<show_in_default>1</show_in_default>
|
@@ -210,7 +210,7 @@
|
|
210 |
<show_in_default>1</show_in_default>
|
211 |
<show_in_website>1</show_in_website>
|
212 |
<show_in_store>1</show_in_store>
|
213 |
-
<comment>Configure here the attributes
|
214 |
</category_additional_attributes2>
|
215 |
<custom_ranking_category_attributes translate="label comment">
|
216 |
<label>Ranking</label>
|
@@ -222,7 +222,7 @@
|
|
222 |
<show_in_store>1</show_in_store>
|
223 |
<comment>
|
224 |
<![CDATA[
|
225 |
-
Configure here the attributes
|
226 |
<span style="color: #D83900">⚠</span> All attributes used here must be included in the Attributes configuration.
|
227 |
]]>
|
228 |
</comment>
|
@@ -230,7 +230,7 @@
|
|
230 |
</fields>
|
231 |
</categories>
|
232 |
<pages>
|
233 |
-
<label>
|
234 |
<frontend_type>text</frontend_type>
|
235 |
<sort_order>45</sort_order>
|
236 |
<show_in_default>1</show_in_default>
|
@@ -251,7 +251,7 @@
|
|
251 |
</fields>
|
252 |
</pages>
|
253 |
<suggestions>
|
254 |
-
<label>Suggestions Configuration</label>
|
255 |
<frontend_type>text</frontend_type>
|
256 |
<sort_order>46</sort_order>
|
257 |
<show_in_default>1</show_in_default>
|
@@ -267,7 +267,7 @@
|
|
267 |
<show_in_default>1</show_in_default>
|
268 |
<show_in_website>1</show_in_website>
|
269 |
<show_in_store>1</show_in_store>
|
270 |
-
<comment>The min popularity a query suggestion
|
271 |
</min_popularity>
|
272 |
<min_number_of_results translate="label comment">
|
273 |
<label>Min number of products</label>
|
@@ -277,7 +277,7 @@
|
|
277 |
<show_in_default>1</show_in_default>
|
278 |
<show_in_website>1</show_in_website>
|
279 |
<show_in_store>1</show_in_store>
|
280 |
-
<comment>The min number of results a query suggestion to
|
281 |
</min_number_of_results>
|
282 |
</fields>
|
283 |
</suggestions>
|
@@ -298,11 +298,12 @@
|
|
298 |
<show_in_default>1</show_in_default>
|
299 |
<show_in_website>1</show_in_website>
|
300 |
<show_in_store>1</show_in_store>
|
301 |
-
<comment><![CDATA[Optional property to avoid
|
302 |
-
|
303 |
-
LastWords: when a query does not return any result, the
|
304 |
-
|
305 |
-
|
|
|
306 |
</remove_words_if_no_result>
|
307 |
</fields>
|
308 |
</relevance>
|
@@ -323,7 +324,7 @@
|
|
323 |
<show_in_default>1</show_in_default>
|
324 |
<show_in_website>1</show_in_website>
|
325 |
<show_in_store>1</show_in_store>
|
326 |
-
<comment>The number of product
|
327 |
</number_product_suggestions>
|
328 |
<number_product_results translate="label comment">
|
329 |
<label>Number of products per page</label>
|
@@ -333,7 +334,7 @@
|
|
333 |
<show_in_default>1</show_in_default>
|
334 |
<show_in_website>1</show_in_website>
|
335 |
<show_in_store>1</show_in_store>
|
336 |
-
<comment>The number of
|
337 |
</number_product_results>
|
338 |
<number_category_suggestions translate="label comment">
|
339 |
<label>Number of category suggestions</label>
|
@@ -343,7 +344,7 @@
|
|
343 |
<show_in_default>1</show_in_default>
|
344 |
<show_in_website>1</show_in_website>
|
345 |
<show_in_store>1</show_in_store>
|
346 |
-
<comment>The number of category
|
347 |
</number_category_suggestions>
|
348 |
<number_page_suggestions translate="label comment">
|
349 |
<label>Number of page suggestions</label>
|
@@ -353,7 +354,7 @@
|
|
353 |
<show_in_default>1</show_in_default>
|
354 |
<show_in_website>1</show_in_website>
|
355 |
<show_in_store>1</show_in_store>
|
356 |
-
<comment>The number of page suggestions the
|
357 |
</number_page_suggestions>
|
358 |
<number_query_suggestions translate="label comment">
|
359 |
<label>Number of query suggestions</label>
|
@@ -363,7 +364,7 @@
|
|
363 |
<show_in_default>1</show_in_default>
|
364 |
<show_in_website>1</show_in_website>
|
365 |
<show_in_store>1</show_in_store>
|
366 |
-
<comment>The number of query suggestions the
|
367 |
</number_query_suggestions>
|
368 |
<max_values_per_facet translate="label comment">
|
369 |
<label>Number of values per facet</label>
|
@@ -383,7 +384,7 @@
|
|
383 |
<show_in_default>1</show_in_default>
|
384 |
<show_in_website>1</show_in_website>
|
385 |
<show_in_store>1</show_in_store>
|
386 |
-
<comment>
|
387 |
</remove_branding>
|
388 |
<add_to_cart_enable translate="label comment">
|
389 |
<label>Add to Cart</label>
|
@@ -393,7 +394,7 @@
|
|
393 |
<show_in_default>1</show_in_default>
|
394 |
<show_in_website>1</show_in_website>
|
395 |
<show_in_store>1</show_in_store>
|
396 |
-
<comment>
|
397 |
</add_to_cart_enable>
|
398 |
</fields>
|
399 |
</ui>
|
@@ -417,7 +418,7 @@
|
|
417 |
<comment>
|
418 |
<![CDATA[
|
419 |
If enabled, all indexing operations (add, remove & update operations) will be done asynchronously using the CRON mechanism.<br />
|
420 |
-
<span style="color: #D83900">⚠</span> Enabling
|
421 |
]]>
|
422 |
|
423 |
</comment>
|
43 |
<show_in_default>1</show_in_default>
|
44 |
<show_in_website>1</show_in_website>
|
45 |
<show_in_store>1</show_in_store>
|
46 |
+
<comment>Your Application ID, which can be found in the Credentials section of your Algolia account.</comment>
|
47 |
</application_id>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
<api_key translate="label">
|
49 |
<label>Admin API key</label>
|
50 |
<frontend_type>password</frontend_type>
|
54 |
<show_in_store>1</show_in_store>
|
55 |
<comment>Your administration API key (kept private)</comment>
|
56 |
</api_key>
|
57 |
+
<search_only_api_key translate="label">
|
58 |
+
<label>Search-only (public) API key</label>
|
59 |
+
<frontend_type>text</frontend_type>
|
60 |
+
<sort_order>20</sort_order>
|
61 |
+
<show_in_default>1</show_in_default>
|
62 |
+
<show_in_website>1</show_in_website>
|
63 |
+
<show_in_store>1</show_in_store>
|
64 |
+
<comment>A search-only API key (will be included in the public JavaScript code)</comment>
|
65 |
+
</search_only_api_key>
|
66 |
<index_prefix translate="label">
|
67 |
<label>Index Name Prefix</label>
|
68 |
<frontend_type>text</frontend_type>
|
70 |
<show_in_default>1</show_in_default>
|
71 |
<show_in_website>1</show_in_website>
|
72 |
<show_in_store>1</show_in_store>
|
73 |
+
<comment>If configured, all indices created by the Algolia search extension will be prefixed by this value.</comment>
|
74 |
</index_prefix>
|
75 |
<is_popup_enabled translate="label comment">
|
76 |
<label>Enable Auto-completion Menu</label>
|
82 |
<show_in_store>1</show_in_store>
|
83 |
<comment>
|
84 |
<![CDATA[
|
85 |
+
If set to Yes, the seach box will display a search-as-you-type drop-down menu. It requires your theme to expose a <code>top.search</code> template.
|
86 |
]]>
|
87 |
</comment>
|
88 |
</is_popup_enabled>
|
96 |
<show_in_store>1</show_in_store>
|
97 |
<comment>
|
98 |
<![CDATA[
|
99 |
+
If set to Yes, the products inside the results pages will be searchable with the as-you-type display of the refined results. It requires your theme to expose a <code>top.search</code> template.
|
100 |
]]>
|
101 |
</comment>
|
102 |
</is_instant_enabled>
|
128 |
<show_in_default>1</show_in_default>
|
129 |
<show_in_website>1</show_in_website>
|
130 |
<show_in_store>1</show_in_store>
|
131 |
+
<comment>Configure here the filtering options you want to display on your search results page sidebar. Choose Disjunctive to allow the selection of different value of a facet (e.g., hotels with 4 OR 5 stars). Choose Conjunctive to allow the selection of only one value of a facet (e.g., only "Size M"). (</comment>
|
132 |
</facets>
|
133 |
<sorts>
|
134 |
<label>Sorts</label>
|
138 |
<show_in_default>1</show_in_default>
|
139 |
<show_in_website>1</show_in_website>
|
140 |
<show_in_store>1</show_in_store>
|
141 |
+
<comment>Configure here the different sorting options you want to offer.</comment>
|
142 |
</sorts>
|
143 |
<replace_categories translate="label comment">
|
144 |
<label>Replace categories page</label>
|
148 |
<show_in_default>1</show_in_default>
|
149 |
<show_in_website>1</show_in_website>
|
150 |
<show_in_store>1</show_in_store>
|
151 |
+
<comment>Choose here if you want the default category pages to be replaced by the instant-search results page when a category is selected either in the menu of categories or in the drop-down menu.</comment>
|
152 |
</replace_categories>
|
153 |
</fields>
|
154 |
</instant>
|
155 |
<products translate="label">
|
156 |
+
<label>Product Search Configuration</label>
|
157 |
<frontend_type>text</frontend_type>
|
158 |
<sort_order>30</sort_order>
|
159 |
<show_in_default>1</show_in_default>
|
171 |
<show_in_store>1</show_in_store>
|
172 |
<comment>
|
173 |
<![CDATA[
|
174 |
+
Choose here the attributes your users can search in and the ones you want to display in the search results. The order of these attributes matters: the higher in the list, the more important to rank the results. A match of a query in the first attribute of a product will put this product before the others in the results. Chose "Ordered" if you want the position of the matched word(s) inside the attribute to matter. A match at the beginning of an attribute will be considered more important: "iPhone 5s" will be ranked before "case for iPhone" for the query "iPhone".<br />
|
175 |
<span style="color: #D83900">⚠</span> <code>Retrievable</code> need to be set to <code>Yes</code> in order to be displayed.
|
176 |
]]>
|
177 |
</comment>
|
186 |
<show_in_store>1</show_in_store>
|
187 |
<comment>
|
188 |
<![CDATA[
|
189 |
+
Configure here the attributes that reflect the popularity of your product (number of orders, number of likes, number of views, ...).<br />
|
190 |
<span style="color: #D83900">⚠</span> All attributes used here must be included in the Attributes configuration.
|
191 |
]]>
|
192 |
</comment>
|
194 |
</fields>
|
195 |
</products>
|
196 |
<categories translate="label">
|
197 |
+
<label>Category Search Configuration</label>
|
198 |
<frontend_type>text</frontend_type>
|
199 |
<sort_order>40</sort_order>
|
200 |
<show_in_default>1</show_in_default>
|
210 |
<show_in_default>1</show_in_default>
|
211 |
<show_in_website>1</show_in_website>
|
212 |
<show_in_store>1</show_in_store>
|
213 |
+
<comment>Configure here the attributes your users can search in. The order of these attributes matters: the higher in the list, the more important to rank the results.</comment>
|
214 |
</category_additional_attributes2>
|
215 |
<custom_ranking_category_attributes translate="label comment">
|
216 |
<label>Ranking</label>
|
222 |
<show_in_store>1</show_in_store>
|
223 |
<comment>
|
224 |
<![CDATA[
|
225 |
+
Configure here the attributes that reflect the popularity of your categories (number of products, number total sales of the category, ...).<br />
|
226 |
<span style="color: #D83900">⚠</span> All attributes used here must be included in the Attributes configuration.
|
227 |
]]>
|
228 |
</comment>
|
230 |
</fields>
|
231 |
</categories>
|
232 |
<pages>
|
233 |
+
<label>Page Search Configuration</label>
|
234 |
<frontend_type>text</frontend_type>
|
235 |
<sort_order>45</sort_order>
|
236 |
<show_in_default>1</show_in_default>
|
251 |
</fields>
|
252 |
</pages>
|
253 |
<suggestions>
|
254 |
+
<label>Query Suggestions Configuration</label>
|
255 |
<frontend_type>text</frontend_type>
|
256 |
<sort_order>46</sort_order>
|
257 |
<show_in_default>1</show_in_default>
|
267 |
<show_in_default>1</show_in_default>
|
268 |
<show_in_website>1</show_in_website>
|
269 |
<show_in_store>1</show_in_store>
|
270 |
+
<comment>The min popularity a query suggestion needs in order to be indexed. Default value is 4.</comment>
|
271 |
</min_popularity>
|
272 |
<min_number_of_results translate="label comment">
|
273 |
<label>Min number of products</label>
|
277 |
<show_in_default>1</show_in_default>
|
278 |
<show_in_website>1</show_in_website>
|
279 |
<show_in_store>1</show_in_store>
|
280 |
+
<comment>The min number of results a query suggestion needs to return to be indexed. Default value is 2.</comment>
|
281 |
</min_number_of_results>
|
282 |
</fields>
|
283 |
</suggestions>
|
298 |
<show_in_default>1</show_in_default>
|
299 |
<show_in_website>1</show_in_website>
|
300 |
<show_in_store>1</show_in_store>
|
301 |
+
<comment><![CDATA[Optional property to avoid empty result pages.<br/>
|
302 |
+
By default, Algolia performs "AND" queries, which can lead to no results pages when queries are too long or too detailed. To avoid this, you can select among the following options:<br/>
|
303 |
+
LastWords: when a query does not return any result, the last word will be considered as optional and the query will be automatically performed again (the process is repeated with the n-1 word, n-2 word, ... until there is results).<br/>
|
304 |
+
FirstWords: when a query does not return any result, the first word will be considered as optional and the query will be automatically performed again (the process is repeated with the second word, third word, ... until there is results).<br/>
|
305 |
+
allOptional: when a query does not return any result, all words will be optional.<br/>
|
306 |
+
None: No specific processing is done when a query does not return any result. <br/>]]></comment>
|
307 |
</remove_words_if_no_result>
|
308 |
</fields>
|
309 |
</relevance>
|
324 |
<show_in_default>1</show_in_default>
|
325 |
<show_in_website>1</show_in_website>
|
326 |
<show_in_store>1</show_in_store>
|
327 |
+
<comment>The number of product results displayed in the drop-down menu. Default value is 3.</comment>
|
328 |
</number_product_suggestions>
|
329 |
<number_product_results translate="label comment">
|
330 |
<label>Number of products per page</label>
|
334 |
<show_in_default>1</show_in_default>
|
335 |
<show_in_website>1</show_in_website>
|
336 |
<show_in_store>1</show_in_store>
|
337 |
+
<comment>The number of products displayed on the search results page. Default value is 9.</comment>
|
338 |
</number_product_results>
|
339 |
<number_category_suggestions translate="label comment">
|
340 |
<label>Number of category suggestions</label>
|
344 |
<show_in_default>1</show_in_default>
|
345 |
<show_in_website>1</show_in_website>
|
346 |
<show_in_store>1</show_in_store>
|
347 |
+
<comment>The number of category results displayed in the drop-down menu. Default value is 5.</comment>
|
348 |
</number_category_suggestions>
|
349 |
<number_page_suggestions translate="label comment">
|
350 |
<label>Number of page suggestions</label>
|
354 |
<show_in_default>1</show_in_default>
|
355 |
<show_in_website>1</show_in_website>
|
356 |
<show_in_store>1</show_in_store>
|
357 |
+
<comment>The number of page suggestions displayed in the drop-down menu. Default value is 3.</comment>
|
358 |
</number_page_suggestions>
|
359 |
<number_query_suggestions translate="label comment">
|
360 |
<label>Number of query suggestions</label>
|
364 |
<show_in_default>1</show_in_default>
|
365 |
<show_in_website>1</show_in_website>
|
366 |
<show_in_store>1</show_in_store>
|
367 |
+
<comment>The number of query suggestions displayed in the drop-down menu. Default value is 0.</comment>
|
368 |
</number_query_suggestions>
|
369 |
<max_values_per_facet translate="label comment">
|
370 |
<label>Number of values per facet</label>
|
384 |
<show_in_default>1</show_in_default>
|
385 |
<show_in_website>1</show_in_website>
|
386 |
<show_in_store>1</show_in_store>
|
387 |
+
<comment>Choose here if the algolia logo is added to the drop-down template.</comment>
|
388 |
</remove_branding>
|
389 |
<add_to_cart_enable translate="label comment">
|
390 |
<label>Add to Cart</label>
|
394 |
<show_in_default>1</show_in_default>
|
395 |
<show_in_website>1</show_in_website>
|
396 |
<show_in_store>1</show_in_store>
|
397 |
+
<comment>Choose here if you want to add an "add to cart" button in the template.</comment>
|
398 |
</add_to_cart_enable>
|
399 |
</fields>
|
400 |
</ui>
|
418 |
<comment>
|
419 |
<![CDATA[
|
420 |
If enabled, all indexing operations (add, remove & update operations) will be done asynchronously using the CRON mechanism.<br />
|
421 |
+
<span style="color: #D83900">⚠</span> Enabling this option is recommended in production or if your store has a lot of products.
|
422 |
]]>
|
423 |
|
424 |
</comment>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>algoliasearch</name>
|
4 |
-
<version>1.3.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="https://github.com/algolia/algoliasearch-magento/blob/master/LICENSE.txt">MIT</license>
|
7 |
<channel>community</channel>
|
@@ -11,12 +11,11 @@
|
|
11 |

|
12 |
This extension replaces Magento's FullText Search module and provide an as-you-type auto-completion menu in your searchbar.
|
13 |
</description>
|
14 |
-
<notes>-
|
15 |
-
- Fix issues with reloading</notes>
|
16 |
<authors><author><name>Algolia Team</name><user>algolia</user><email>support@algolia.com</email></author></authors>
|
17 |
-
<date>2015-06-
|
18 |
-
<time>
|
19 |
-
<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="Custompages.php" hash="f87a9cf7b5559717cd9d6570374dcda7"/><file name="Customrankingcategory.php" hash="6d9575c12dbaecf9054de1cf12736025"/><file name="Customrankingproduct.php" hash="a62d746763c851027e3c3c9d6446d697"/><file name="Customsortorder.php" hash="786c8f8fca2e4b41b8732f5fe270491b"/><file name="Customsortordercategory.php" hash="9908ea7f463138d3047c51b98591db9c"/><file name="Customsortorderproduct.php" hash="ee62901a3911bb7784467e1ca5cd8e84"/><file name="Facets.php" hash="b5aa10b599093eadbd286cdf29bdab00"/><file name="Select.php" hash="6e3cb4c1798775048bebbdc878e90aa9"/><file name="Sorts.php" hash="b2eb71b3ef0198bbea7080f755127071"/></dir></dir></dir></dir></dir><dir name="Helper"><dir name="AlgoliaSearch"><file name="AlgoliaException.php" hash="4acaa7c9142e19d1084295a3b8ba18e2"/><file name="Client.php" hash="961c0b1f3762db7dbd93de2047e22bde"/><file name="ClientContext.php" hash="77d2449636d263162460a7ccaea4e6b6"/><file name="Index.php" hash="5c1eacc54cd503bff296e9bbbd402895"/><file name="Version.php" hash="0c37eb6324361991364e0efd2696e56d"/></dir><file name="Algoliahelper.php" hash="13bdc43f43784f63f4814b05bdbfd1f3"/><file name="Config.php" hash="081a1834dfb79706bb4355057d9c9d86"/><file name="Data.php" hash="
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>algoliasearch</name>
|
4 |
+
<version>1.3.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 |

|
12 |
This extension replaces Magento's FullText Search module and provide an as-you-type auto-completion menu in your searchbar.
|
13 |
</description>
|
14 |
+
<notes>- Fix some attributes retrival</notes>
|
|
|
15 |
<authors><author><name>Algolia Team</name><user>algolia</user><email>support@algolia.com</email></author></authors>
|
16 |
+
<date>2015-06-29</date>
|
17 |
+
<time>12:24:54</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="Custompages.php" hash="f87a9cf7b5559717cd9d6570374dcda7"/><file name="Customrankingcategory.php" hash="6d9575c12dbaecf9054de1cf12736025"/><file name="Customrankingproduct.php" hash="a62d746763c851027e3c3c9d6446d697"/><file name="Customsortorder.php" hash="786c8f8fca2e4b41b8732f5fe270491b"/><file name="Customsortordercategory.php" hash="9908ea7f463138d3047c51b98591db9c"/><file name="Customsortorderproduct.php" hash="ee62901a3911bb7784467e1ca5cd8e84"/><file name="Facets.php" hash="b5aa10b599093eadbd286cdf29bdab00"/><file name="Select.php" hash="6e3cb4c1798775048bebbdc878e90aa9"/><file name="Sorts.php" hash="b2eb71b3ef0198bbea7080f755127071"/></dir></dir></dir></dir></dir><dir name="Helper"><dir name="AlgoliaSearch"><file name="AlgoliaException.php" hash="4acaa7c9142e19d1084295a3b8ba18e2"/><file name="Client.php" hash="961c0b1f3762db7dbd93de2047e22bde"/><file name="ClientContext.php" hash="77d2449636d263162460a7ccaea4e6b6"/><file name="Index.php" hash="5c1eacc54cd503bff296e9bbbd402895"/><file name="Version.php" hash="0c37eb6324361991364e0efd2696e56d"/></dir><file name="Algoliahelper.php" hash="13bdc43f43784f63f4814b05bdbfd1f3"/><file name="Config.php" hash="081a1834dfb79706bb4355057d9c9d86"/><file name="Data.php" hash="ed55b1bc7327a65228edabc4a1c6cffd"/><dir name="Entity"><file name="Categoryhelper.php" hash="0ec97836a0c1de3e3e22ce462fc756c7"/><file name="Helper.php" hash="3b6025b96ac4e41af10953f012abb77a"/><file name="Pagehelper.php" hash="7a0dcb237f6720d1637c48fc05a7d45e"/><file name="Producthelper.php" hash="e55e89a586b70c0b1801fd3ea44e9d36"/><file name="Suggestionhelper.php" hash="52f709b27a94c66aa9f7af8648dcb30a"/></dir><dir name="resources"><file name="ca-bundle.crt" hash="47961e7ef15667c93cd99be01b51f00a"/></dir></dir><dir name="Model"><dir name="Indexer"><file name="Algolia.php" hash="01955e079f1dc397fc98eafcd6b2d669"/><file name="Algoliapages.php" hash="26ea3afee58d07b721c5cd74b3d6c4e3"/><file name="Algoliasuggestions.php" hash="7020d40bae60469d0acc7138ee72a419"/></dir><file name="Observer.php" hash="6350a18a6339f021f1aeea8aef293115"/><file name="Queue.php" hash="1d3b80b27be56469f69e67f29c933151"/><dir name="Resource"><file name="Engine.php" hash="140515bd1a27cd7644b1efe2d290b0a7"/><dir name="Fulltext"><file name="Collection.php" hash="a981bfa8d811d07e42a31b7072a49d2f"/></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="9187c66f4bb0e3d55a353053f4ec49cd"/><file name="system.xml" hash="bbf3bc6e01de08847209ef8048729b52"/></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="b1071fc4184da286d51604d7a55347e9"/></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="30c6ad2d994a4957add6f159b8439ca3"/><file name="bundle.css" hash="80812f8e0f00180ec21a60ba90718c9b"/><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="d4dfb168bc9c04b3618e946edfa235d2"/></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>
|