Social:

Skype:

vuletic.dragan

Phone:

+358 044 929 7212

Location:

Finland, Europe

Sellvana Admin Products Grid Category Filter

Recently I had the chance to checkout new eCommerce platform Sellvana. Sellvana is still in private alpha but after I had a quick look in the code and local installation I couldn’t resist the urge to try and create my first module for Sellvana.

I’ve choose to implement the same functionality I developed as part of “Admin Product Grid Category Filter” extension for Magento. Basically module should add category column and filter into products grid in Admin area.

After only 2 hours of coding and total of 2 files created, in less then 50 lines of code including blank lines “Admin Products Grid Category Filter for Sellvana” module was created. Ok, I do have a bit of experience with Magento, but still, 2 hours !!!

Since there was no need to overwrite core classes and templates, whole functionality was achieved with event observers.
Column was added with 1 line of code. Additional line was required to add the grid filter. Exactly 4 lines of code were required to extend products collection with 2 joined tables and 1 grouping.

My module files didn’t trigger any behind the scenes changes to Sellvana installation, at least not before module was actually requested/installed by admin action. Additionally I was able to uninstall my module from Admin area, without having to alter module files. This may seam as normal functionality for WordPress developers, but in Magento world this is long expected functionality that still doesn’t exist in latest Magento releases ( both Community and Enterprise editions ).

Even if Sellvana is still not released and the code does require a lot of work to be considered as stable and suitable to apply on production eCommerce website, combination of application speed, responsive layout, twig templates, speed of development and quality of architecture is surely enough to seriously consider Sellvana as platform of choice for some future projects.

Sellvana Admin Products Grid

Category column on Sellvana Admin Products Grid

Changelog:

  • Alpha: version 0.0.1 – Initial release
  • Alpha: version 0.0.2 – sanity cleanup
  • Alpha: version 0.0.3 – pagination and single observed event thanks to Boris
  • Alpha: version 0.0.4 – standardize ORM and better filer logic
  • Alpha: version 0.0.5 – dependency update

Known Issues:

  • The personalized filter value is not showing after reloading the grid page.

Features:

  • Add category column and search filter to Sellvana admin products grid, enabling merchants to search for products assigned only to selected category.
  • Observers/Events based.
  • No core files are rewritten.
  • Database is not altered in any way.
  • Ability to search product in categories that contain, do not contain, starts with, ends with or equals to search keyword.
  • Module does not have any extra options or configuration.
  • Full open source code

Installation:

  1. Clear the store cache under storage/cache and all cookies for your store domain.
  2. Backup your store database and web directory.
  3. Download and unzip extension contents on your computer and navigate inside the extracted folder.
  4. Using your FTP client upload content of “local” directory to “local” directory inside your store root.

Activation:

  1. Log in to Sellvana admin area.
  2. Navigate to Modules->Menage Modules page.
  3. Filter for module which name equals to Vuleticd_AdminGridCategoryFilter.
  4. Select the module and Change Status to Run Level = REQUESTED.

Deactivation:

  1. Log in to Sellvana admin area.
  2. Navigate to Modules->Menage Modules page.
  3. Filter for module which name equals to Vuleticd_AdminGridCategoryFilter.
  4. Select the module and Change Status to Run Level = DISABLED.

Uninstall:

You can safely remove the extension files from your store.