Skip to content

🗂️ Dawn of Shop categories

Compare
Choose a tag to compare
@lucca65 lucca65 released this 06 Jul 20:59
· 42 commits to master since this release
86521e4

New features ✨

Categories are here!

Keeping the theme of shop releases we introduce the first part of a new feature called categories. During the years, the shop, one of our first features in Cambiatus was used in so many ways, with very different offers from all our communities. I've seem courses and classes, clothing, services, drinks, natural products, and so many more. Sadly even if our communities contain a rich catalog, its often hard to find the stuff you are looking for.

One of our communities, Verdes asked us to implement a way to have different categories for products from the shop, to help users find what they are looking for.

This release is the first part of doing this feature. It allows admins to create categories and subcategories. It was done with SEO in mind and will help Cambiatus communities' products to be seen on the internet more easily, if the admins want to.

There is a lot to unpack, so lets do it!

Categories

First when creating a category, you will need to fill out two informations name and description. Those are used to present users to the category, its name and more details. It supports rich text so you can go wild with titles, bolds and more.

Categories also may have optional images, two in fact. One small to be displayed on categories references, may be seem as an icon to that category. The other one is a banner and will be displayed on the category page on the future, when we release it. Again, both are optional, so fell free to add them only if you want them.

Captura de Tela 2022-07-06 às 17 41 58

Subcategories

Categories can contain other categories as well as products. This helps admins to setup something like a department on their store. Lets see an example. Imagine our community have a lot of clothing. I can create some categories like:
Captura de Tela 2022-07-06 às 17 48 04

If our users try to check out all of men's clothing they can see them all. They can further scope and filter what they are looking for to be more precise on their browsing.

You can drag categories inside one another to make them a subcategory of another category, or click the text to create a subcategory directly.

SEO and sharing

Captura de Tela 2022-07-06 às 17 49 12

We've added this context menu, accessible using long press on mobile, right click on desktop or even by clicking on the 3 dots. This context menu allows you to edit the optional SEO information. We also allow you to preview how it would look like when sharing. You can set a different description (this one doesn't support rich text!) to make sure your text is seen properly by mobile devices. Also you are able to add keywords to further increase your chances of being indexed

Captura de Tela 2022-07-06 às 17 52 03

Under the hood improvements and bug fixes

We've also added two fixes, one related to search. Depending on the number of records stored in the community and your internet connection, you might get wrong results from the search bar. We've fixed this, now it should show the correct results only. You can see more details here: #768

We've also fixed a bug that would show proof code when claiming actions that don't actually require any proof code to begin with. More details here: #767

What's Changed

  • Fix/debounce search by @NeoVier in #768
  • Fix/action proof code by @NeoVier in #767
  • Feature/shop categories by @NeoVier in #760

Full Changelog: v1.18...v1.19