Blog

Welcome to our blog, where we share news related to Sylius and post about technology & eCommerce.

Sylius v0.12.0 with Faceted Search

After few months of hard work from the REISS team, especially Peter Ward and Argyrios Gounaris, we finally have a nice search functionality in Sylius!

Overview

The biggest new thing in this release is the Search system, which supports both Doctrine ORM driver and ElasticSearch! We have also done several improvements and even more “foundation” work for the REST API, which coming very soon. I have already configured it for one project, now it is about moving it to the core. Sneak Peak!

Search

Until now, all Sylius stores running in production relied on the awesome Symfony2 ElasticSearch bundle. As always, Sylius wants to make your life easier. Why would you need to do a lot of coding or pay (sic!) for a premium version in order to have powerful search?

From now on Sylius ships with SyliusSearchBundle, which can run on Doctrine ORM and ElasticSearch. In theory, we can add more drivers in the future, if community is interested in using Solr for example.

Obviously, the MySQL based solution is suitable for smaller stores, demo or just trying out Sylius locally without installing Java/ES.

Ok, so what the search can actually do?

Some of screenshots are from the new theme, which is a work in progress.

Faceted search

You can configure filters by price, options and attributes:

Search in categories

Of course, you can also search in a specific category:

Documentation and what is next

Documentation for this component is a work in progress, but configuration is really simple, because we actually use ElasticaBundle config schema. Please keep in mind, that there will be a lot of improvements to both architecture and functionality of Sylius search, but it is already a good starter for your e-commerce apps. Enjoy!

Important changes coming to v0.13.x

In the development branch v0.13.x, I will merge a very important PR, which brings localization support. This is a big change and contains multiple BC breaks. On the other hand, you get translatable products, options, attributes and even shipping methods... out of the box!

We provide a migration script, which is smart enough to update you to the new system and maintain the data. That being said, you use it at your own risk, please be careful.

More about this feature in the upcoming release blog post.

Installation

You can install and try the latest Sylius by running the following commands:

$ composer create-project -s dev sylius/sylius:v0.12.0
$ cd sylius
$ app/console sylius:install

To start a new project on top of Sylius, use Standard Edition:

$ composer create-project -s dev sylius/sylius-standard:v0.12.0 acme
$ cd acme
$ app/console sylius:install

Summary

As usually, huge thank you to all contributors and stay tuned for more!


More from our blog

New Sylius API For Modern eCommerce Web Apps (SPA/PWA)

We have a really strong belief that the next-generation eCommerce platform is not the one with all possible features, but the one that integrates with the best tools in the category. Read our latest blog post and find out why Sylius ShopApiPlugin is our another step in the direction of modern eCommerce projects with separate frontend applications.

Sylius Croatia Meetup #2 Summary

A week after our second Sylius Meetup in Croatia, we can already say with full confidence: We have the best Open Source community! Read more about lectures, BBQ and workshops that took place in Zagreb.

Sylius Croatia 2017

After successful travel to Berlin, Sylius is going to conquer Croatia. Come to Zagreb on 14th of June and meet our team at Sylius & Symfony Croatia 2017 Meetup, organised by our friends from Netgen & Locastic.

Want to boost your business with Sylius?

CONTACT US