353

Product support

Visit this product's website for support.

Categories

Algolia for Shopaholic

This plugin allows you to use Algolia as search engine for Shopaholic.

Benefits

  • Easy to install, easy to use
  • Opened to your new ideas and features as contributions.

© 2022, Nick Khaetsky at Biz-Mark under the GNU General Public License v2.0.

Installation

Install plugin from marketplace:

  1. Install plugin

    php artisan plugin:install BizMark.AlgoliaShopaholic
  2. Create App inside Algolia Dashboard: https://www.algolia.com/account/plan/create

  3. Get API keys. Algolia Dashboard -> Settings -> API Keys

  4. Add parameters into your .env

    ALGOLIA_APP_ID=#Application ID
    ALGOLIA_ADMIN_API_KEY=#Admin API Key
  5. Sync catalog with Algolia. Execute command:

    php artisan shopaholic:algolia.sync

Configuration

There is no configuration inside October CMS admin panel, because all search configurations are performed inside Algolia dashboard. Go to your Dashboard, select app, then configure everything like you want.

Using

ProductCollection / ProductList:

$obCollection = ProductCollection::make()->active()->search('query');
{% set obCollection = ProductList.make().active().search('query') %}

CategoryCollection / CategoryList:

$obCollection = CategoryCollection::make()->active()->search('query');
{% set obCollection = CategoryList.make().active().search('query') %}

BrandCollection / BrandList

$obCollection = BrandCollection::make()->active()->search('query');
{% set obCollection = BrandList.make().active().search('query') %}

TagCollection / TagList

$obCollection = TagCollection::make()->active()->search('query');
{% set obCollection = TagList.make().active().search('query') %}

© 2022, Nick Khaetsky at Biz-Mark under the GNU General Public License v2.0.

1.0.4

Updated migrations

Jun 10, 2022

1.0.3

Added README and LICENSE

May 27, 2022

1.0.2

Fix error with Tag handlers

May 27, 2022

1.0.1

Minor fixes, support October CMS v3

May 27, 2022

1.0.0

First version of AlgoliaShopaholic

May 27, 2022