Coder Social home page Coder Social logo

magento2-module's Introduction

alt text

Accelasearch Magento 2

This document is available in English, Italian.

Installation

Composer Installation

Install the module through Composer:

composer require accelasearch/magento2

Enable the module:

bin/magento module:enable AccelaSearch_Search

Upgrade Magento's database and dependencies:

bin/magento setup:upgrade

Compile dependency injection:

bin/magento setup:di:compile

Compile static content:

bin/magento setup:static-content-deploy

Clear cache:

bin/magento cache:flush

Manual Installation

Download package from GitHub:

wget https://github.com/accelasearch/magento2-module/archive/refs/heads/main.zip

Extract the zip file:

unzip main.zip

Copy its content into Magento's appropriate location:

cp -R main/* app/code/AccelaSearch/Search

Enable the module:

bin/magento module:enable AccelaSearch_Search

Upgrade Magento's database and dependencies:

bin/magento setup:upgrade

Compile dependency injection:

bin/magento setup:di:compile

Compile static content:

bin/magento setup:static-content-deploy

Clear cache:

bin/magento cache:flush

Feed Configuration


Feed Status

Accelasearch Status

Enables or disables feed export


Use Vue Storefront

Accelasearch Status

If enabled it will be possible to specify a custom image size for the export process


Export Directory

Accelasearch Status

Specifies destination directory for the XML feeds, relative to Magento 2 root


Custom Base URL

Accelasearch Status

Allows to specify a custom base URL, for example when using VUE to retrieve images of products


Category

Accelasearch Status

Specifies whether selected categories should be included or excluded

Accelasearch Status


Exclude from Path generation

Accelasearch Status

Specifies categories which shall be excluded by the category path generation process. As an example, if some categories are specific for some language, they should be excluded from the feed of other Storeviews.


Search

Accelasearch Status

Specifies endpoint where the JavaScript code of AccelaSearch can be accessed, as well as an optional CSS to be included for overriding and customization


Fields

Accelasearch Status

Specifies main fields for the feed. Some fields will be inherited form the GoogleShopping module and will not be used by AccelaSearch

Accelasearch Status

Allows to specify additional values for custom fields which will be mapped as key => value

Accelasearch Status

Allows to specify attributes with multiple values which will be exploded over multiple rows, as dictated by Google Shopping specifications


Cron Configuration

Accelasearch Status

Allows to enable a cronjob to scheduler generation of feeds, as well as configure the relative cron expression and schedule the process as soon as possible.


Notification

Accelasearch Status

Allows to specify a set of email addresses to which notify products affected by errors during the feed generation process


Dynamic Price

Accelasearch Status

Exposes an endpoint which AccelaSearch can query to get dynamic prices depending on type of customer and currency code.

  • Listing price: Attribute used to identify prices
  • Public Visitor Type: Whether to export customer group
  • Public Currency Code: Whether to export currency code
  • Cache Lifetime: Time to live of dynamic price (used for caching)

Comandi Manuali

Generates feeds as configured:

bin/magento accelasearch:generate:feed

Cron

Default cron expression (configurable through user interface):

0 1 * * *

NOTE

This modules generates a lock file under var/locks in order to prevent concurrent feed generation processes.

magento2-module's People

Contributors

marco-zanella avatar 60770 avatar albertogottardo avatar samuelemartini avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.