2017 © Pedro Peláez
 

magento2-module magento2-visual-merchandiser-rebuild

Rebuild Magento 2 Visual Merchandiser categories using the CLI tool

image

dakzilla/magento2-visual-merchandiser-rebuild

Rebuild Magento 2 Visual Merchandiser categories using the CLI tool

  • Saturday, June 24, 2017
  • by snikad
  • Repository
  • 1 Watchers
  • 0 Stars
  • 43 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 6 Versions
  • 5 % Grown

The README.md

Rebuild Visual Merchandiser Categories for Magento 2

Rebuild Magento 2 Visual Merchandiser categories using the CLI tool or a scheduled task., (*1)

:warning: NOTE: This module is not fully tested, please make sure to test this on a non-production system first, and use at your own risk!, (*2)

Installation via .zip

  1. Download the zip file for the master branch on Github
  2. Extract the Dakzilla directory in the app/code directory of your Magento 2 EE project
  3. Run the php bin/magento setup:upgrade command to enable the module

Installation via Composer

composer require dakzilla/magento2-visual-merchandiser-rebuild

php bin/magento setup:upgrade

Usage

Rebuild all smart categories from the command line

bin/magento catalog:visual-merchandiser:rebuild

Show information about smart categories

bin/magento catalog:visual-merchandiser:show

The above command should display a nifty table like this one, (*3)

Information table, (*4)

Enable and set cron job in admin

In Magento Admin, in the Visual Merchandiser options, you can set a cron expression to be used to rebuild the smart categories on schedule. The example below will execute the job every day at 1:45 AM. If you're not sure, use Crontab Generator to create a valid cron expression. Admin cron options, (*5)

Compatibility

This module was tested on Magento 2 Enterprise Edition versions 2.1.5 to 2.1.7. Compatibility with older versions is not guaranteed, but should not be an issue anyhow., (*6)

Changelog

 0.2 - 2017-06-24

  • Fixed an app state bug with the latest version of Magento 2
  • Internal refactor
  • Added the catalog:visual-merchandiser:show command to display a useful information table about your smart categories
  • Added a configurable cron job in admin. From the Visual Merchandiser options, you can now set a cron job to rebuild smart categories automatically. Make sure your Magento cron in configured correctly!

0.1.1 — 2017-03-17

  • Fixed major issue where URL keys were missing from collection

0.1.0 — 2017-02-28

  • Released!

The Versions

24/06 2017

dev-master

9999999-dev https://github.com/dakzilla/magento2-visual-merchandiser-rebuild

Rebuild Magento 2 Visual Merchandiser categories using the CLI tool

  Sources   Download

MIT

The Requires

 

by Simon Dakin

magento2 magento visual merchandiser

24/06 2017

0.2

0.2.0.0 https://github.com/dakzilla/magento2-visual-merchandiser-rebuild

Rebuild Magento 2 Visual Merchandiser categories using the CLI tool

  Sources   Download

MIT

The Requires

 

by Simon Dakin

magento2 magento visual merchandiser

24/06 2017

dev-feature/admin-cron

dev-feature/admin-cron https://github.com/dannynimmo/magento2-visual-merchandiser-rebuild

Rebuild Magento 2 Visual Merchandiser categories using the CLI tool

  Sources   Download

MIT

The Requires

 

magento2 magento visual merchandiser

24/06 2017

dev-feature/refactor-show-command

dev-feature/refactor-show-command https://github.com/dannynimmo/magento2-visual-merchandiser-rebuild

Rebuild Magento 2 Visual Merchandiser categories using the CLI tool

  Sources   Download

MIT

The Requires

 

magento2 magento visual merchandiser

17/03 2017

0.1.1

0.1.1.0 https://github.com/dannynimmo/magento2-visual-merchandiser-rebuild

Rebuild Magento 2 Visual Merchandiser categories using the CLI tool

  Sources   Download

MIT

The Requires

 

magento2 magento visual merchandiser

28/02 2017

0.1.0

0.1.0.0 https://github.com/dannynimmo/magento2-visual-merchandiser-rebuild

Rebuild Magento 2 Visual Merchandiser categories using the CLI tool

  Sources   Download

MIT

The Requires

 

magento2 magento visual merchandiser