Download the PHP package thelia/product-search-module without Composer

On this page you can find all versions of the php package thelia/product-search-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package product-search-module

IndexEngine module for Thelia

Summary

  1. Description
  2. Install
  3. Usage

  4. Description

This module provides a search pop-in for the front office based on IndexEngine module.

This is an integration example of the "products" index, provided by default with IndexEngine module.

  1. Install

You can install this module with composer:

This module requires IndexEngine module to work.

  1. Usage

Go to your backOffice and activate the module. A search button should have appeared in your front navbar.

This module provides an overlay to index engine's search for products, using its default configuration.

You can require it this way:

You can improve your search with the following constructor parameters:

Name Default value Definition
locale en_US The current site locale
currency USD The current site currency code
currencySymbol $ The current site currency symbol
templateItem $('#item-template').html() The item template to use
noResultTemplate
  • Sorry, no result for you search
  • The template to display if no product is found
    listResult document.getElementById('list-result') The
      element to inject the result list on
    searchButton search-button The search button ID
    closeButton close-search The search overlay close button ID
    submitSearch search-query-form The search
    tag ID
    inputSubmitSearch search-query The search tag ID
    searchBlock search-block The search overlay container ID
    pageWrapper page The page container class
    apiUrl /api/public/search Relative search API url
    indexCode products The index configuration code
    params {} The filter parameters. Example: {"ref":["LIKE", '']}

    All versions of product-search-module with dependencies

    PHP Build Version
    Package Version
    Requires thelia/installer Version ~1.1
    thelia/index-engine-module Version ~2.3
    Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

    The package thelia/product-search-module contains the following files

    Loading the files please wait ....