fbpx
  • Home
  • Help
  • SniperFast Prestashop general configuration

SniperFast Prestashop general configuration

Once installed, if will be possible to configure and manage the module settings from the Catalog > SniperFast menu in your Prestashop backoffice.

Module is then subdivided into different tabs. In order to perform a quick setup, here are the mandatory operations to execute :

  1. Properly configure all the fields within the General tab (and optionally Features, Synonyms and filter products to export).
  2. Perform a first datafeed export from the Export tab.
  3. Verify the correct behavior of SniperFast service from your homepage searchbar.
  4. Setup a daily cronjob on your server to keep the search index up-to-date.

Activate or recover your license

The configuration screen will show you a language selector that contains all your website’s active languages. Make sure you select the language you would like to configure SniperFast for before starting.
When you open the module for the first time or you select a not yet configured language, the module will show the welcome page with only one button: click on it to start the automatic registration process, which will end with the activation of a license for the selected language and it will unlock all the remaining configuration tabs.

Modules tab

1. General

Enable search: you can enable or disable the search engine. Before of activating it, it is recommended to configure all the available option and generate a feed. Once its elaboration is complete (you can monitor its status withing the Export tab) you can then enable the search.

Desktop search bar: Insert here the name of the search bar in your website home page where you would like the SniperFast component to appear. Do not hesitate to get in touch with our technical support if you have trouble in finding that. Starting from release 1.5.5 the module will look for the search bar by itself; fill in this field only if the search bar is not dectected automatically.

Mobile search bar: If your template comes with a custom mobile theme / search bar, insert here the dedicated <div>, otherwise leave this field empty and SniperFast will adapt itself accordingly.

Use alternative search parameter: SniperFast writes the search links using the “q” character in the browser bar. On certain websites this can cause a conflict with some faceted search modules. Enable this option to solve the problem and avoid interferences between the two systems.

Export only products with stock: Select YES / NO if you would like SniperFast to only return active / in stock products.

Remove VAT from prices: enable this option if you want to export prices without VAT.

Add a filter for available/not available products: add a dedicated filter that lets you show only available or not available products. Enabling this option you will have three additional fields where you can fill in your own text to show in the search panel.

Currency: prices will be exported in this currency for the selected language.

Image format: Detemine the image format to use in products thumbnails used by SniperFast. Unless your theme requires very specific settings, we suggest you to use the “home_default” format. In general it is advisable to avoid formats bigger than 450 x 450 px.

Free shipping from: In this field you can optionally specify a minimum price value which will cause the search engine to show a “Free shipping” banner inside the product square in frontend.

Export reviews: By enabling this field you will export data needed to show “reviews” in your products. Sniperfast already provides support for a majority of review services. Contact us by reporting your system and we will check with you for a solution to export those data.

Synchronize products on save: By enabling this option , your product will be immediatly added / updated on search engine upon Prestashop save.

Dedicated page

Enable dedicated page for search results: By enabling this option you can use SniperFast as default for your website search result page, that will take over the Prestashop standard search. Here you can also choose the name and the slug (the rewritten url link) for the page itself.

Redirect to the page dedicated to clicking on the button of the search bar: if the search bar contains a button that refers to the results page (typically the classic magnifying glass) it is possible to make the click redirect to the page created by the module . In this way the results will be consistent with what is shown on the starting page and the site will not receive any additional load as the SniperFast service will be used.

This option might lead to a change in the aspect of the button.

To solve this mismatch, temporarily disable the option and follow the steps described in the following image (click on it to enlarge it).

Aspect

(Only for Prestashop 1.6 ) : In the “General” tab you will also find some useful informations related to your Prestashop search configuration, especially you will see the status of the “Ajax Search” (to be disabled), of the instant search (to be disabled too) and of the “Move javascript to the end” (to be enabled for improved performance). Those configurations can be fine-tuned in the “Preferences => Search” and “Advanced Parameters => Performance” in your backoffice.

Hide categories: activate this option to hide the category filter in the search results pane.

Hide manufacturers: activate this option to hide the category filter in the search results pane.

Results panel width: select the search results panel width on desktop. The Default value is different depending on the chosen template.

Results panel alignment: decide whether you want to align search results on the left, on the right or in the middle. This option is useful when you select a size which is narrower than the page and you want to align the results to one side of the search bar.

Template: there are three different options available.

  • Wide: results will be shown as a grid, where each element is aligned vertically.
  • Compact: results will be shown horizontally. The width is lower than the wide format and you will still have manufacturers and categories filters, so to allow the customer to filter the search results.
  • Minimal: results will be shown horizontally in a list with a minimalist look. You can configure the result panel width to match your search bar’s.

2. Seo

Enable dedicated page for most searched terms: this option allows to create a CMS page containing the most searched terms. Each term will redirect to the respective search page. In order for this option to work you must have previously created a dedicated page within the General tab.

Title: the CMS page title which contains the most searched terms.

Link rewrite: the url where the page will be visible. We suggest to leave the value automatically generated by the module.

Dedicated page meta title/description: the dedicated page (created in the General tab) will have the meta title and meta description added here, so to be properly indexed by the search engines. It is possible to add the [[search_term]] bookmark within the title and/or the description. That code will then be replaced with the user search term. I.e.: writing “Look for [[search_term]] on mywebsite.com!”, if one of the most searched terms is “Alfa Romeo”, then the result will be “Look for Alfa Romeo on mywebsite.com!”.
This means that, when a search engine will follow the links present in the CMS page with the most searched terms, that link will be indexed with a unique title and description.

3. Landing pages

In this tab it is possible to create dedicated landing pages. Once created, the module will provide a link that you can place on your website to reach that search results page. The Add landing page button opens the dedicated configuration page. Using the Massive actions it is possible to massively enabled or disable one or more landing pages. This operation will work on all the languages the landing page is configured for. Clicking on the green mark or on the red X under the Sync tab, instead, you will enable/disable the desired landing page for the currently selected language, so to be able to handle them in detail.

SniperFast landing page

The configuration for the landing page contains the followinf fields.

  • Title and Link rewrite: respectively the page title and the path that will be used to reach the landing page.
  • Description: a textual field that allows to add a dedicated description for each page.
  • Meta title/description: title and description for search engines.
  • Image: in this panel it is possible to add an image to be shown at the top of the page.
  • Source and Data source: the menu lets you select which criteria will be used to show data inside of the landing page. If you choose Category or Manufacturer a new input field will appeat. Fill in the Prestashop ID for the respective field.
  • Search term: fill in the phrase or the work that will be used to filter results. It is possible for example to add the “Lego” category ID as data source and write “Harry Potter” here to filter results based on that search.

5. Features

From this tab you can select the features you want to show as search filters in the left menu in SniperFast. Features will be processed by the Sniperfast engine and shown as a list with checkboxes or numeric sliders based on their values.
If changes are made in this section it is necessary to export a new search index from the “Export” tab

5. Attributes and filters order position

From this tab you can select the attributes group you want to show as search filters in the left menu in SniperFast. Features will be showed as checkbox in the frontend search engine filter.
If changes are made in this section it is necessary to export a new search index from the “Export” tab

The “Filters Position” tab allows you to change the order of the advanced search filters. Just move them and the new setting will be saved automatically.

6. Synonyms

Optionally you can specify some synonims that should be consided when performing a searh query – They should be comma separated, ie:

t-max, tmax, t max
computer, calculator, pc
etc.

When the user writes a word in the search (example “computer”) the SniperFast system will extend the search to all the words entered as synonym, giving priority of results first to the corresponding one (“computer”), then to subsequent ones (“calculator “,”computer”).

The synonyms can be entered directly on the screen (from the “TEXT” tab) or by uploading a file (via the “FILE” tab).
At the end of the upload it will be necessary to export a new data file (from the EXPORT menu) so that they are processed and made available in the search.

7. CSS Rules

In this tab it is possible to add some custom CSS rules, related to the frontend search component visualization style.

A typical rule, that will allow you to customize the position of the SniperFast windows related to the homepage search bar , is :

@media (min-width: 993px) {      
 #sniperfast_body { top: YOUR VALUEpx !important; }
 } 

You will have to edit YOUR VALUE with the number of pixels needed to correct the height of the search box according to your website template, usually starting from a value of 100.

Lower values will move the search box to the top, higher values will move the search box to the bottom.

8. Products

In this tab it is possible to exclude certain products from the search engine. Products will be excluded during data export, therefore a new index will have to be regenerated in case of changes.

9. Categories

In this tab you can exclude products belonging to certain categories from the search engine. The products will be detected considering the default category and excluded during data export, therefore a new index will have to be regenerated in case of changes

10. Manufacturers

In this tab it is possible to exclude products belonging to selected manufacturers from the search engine. Products will be excluded during data export, therefore a new index will have to be regenerated in case of changes.

11. Suppliers

In this tab it is possible to exclude products belonging to selected suppliers from the search engine. Products will be excluded during data export, therefore a new index will have to be regenerated in case of changes.

12. Statistics

This tab allows you to view statistics related to your customers search. Data will be updated on daily basis and could be filtered by starting date and country (obtained by geolocation).

It is also possible to exclude one ore more IPs from search results, by inserting them on the box on the top of the page.

Tab is divided in several panels:

GENERAL: Will show you the number of searchs and percentage relatd to the total requests of the current month

SEARCH TERMS: Will show you the most relevant search terms used by your customers, that returned at least one result.

SEARCH TERMS – NO RESULTS: Will show you the most relevant search terms used by your customers, that returned no results.

TOTAL SEARCHES: Will show you the total search numbers, splitted by day.

TOP CLICKED PRODUCTS: Will show you the most clicked products by your customers. Since this functionality had been included from module version 1.2.5, you will need to wait at least 24 hrs after the update in order
to receive first statistics.

13. Export

From this tab it is possible to export the data necessary for SniperFast to index the search. The export can be launched manually (via the “Export” button on the page) or via cron (with the link indicated in the “Cron” tab).

We recommend setting a daily cron to keep the list of indexed products updated automatically.
The module offers two types of CRON:

  • standard: in this mode the export starts and continues until the server limits are reached. If your machine is able to run an operation for 60 seconds, then the CRON will run for that time, then stop. If this period of time is not sufficient to complete the export, a red notice will appear on the form next to “Last export status”. It will therefore be necessary to set as many CRONs on the server as needed to complete the export successfully. In the example provided, the second CRON should be set 1 minute after the first.
  • advanced: this mode is reserved for expert users, who have access to the configuration parameters of their server. Using the command provided by the module, it is possible to make sure that the export takes place in a single operation, regardless of the processing time limits of your site.

In this screen it is also possible to obtain statistical data relating to the performance of your server (“Export Info” tab) and the last indexing carried out (Index Info).

Improve your site. It only takes a few minutes

  • Quick and easy installation

  • No template changes and improved store efficiency

  • External service. No load for your server

  • Javascript and SEO optimized code

Activate a free trial of sniperfast now

Improve your site now


The research that hits the target