View Issue Details

IDProjectCategoryView StatusLast Update
0008839Talermechant backendpublic2024-06-20 23:24
ReporterChristian Grothoff Assigned Tosebasjm  
Status assignedResolutionopen 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.13 
Summary0008839: add support for product categories [16hs]
DescriptionTo fully support the new '/pos' endpoint, we need to add support for product categories to the merchant (backend and SPA).

A product can be in multiple categories.

A category has a name and translations (i18n-style) of that name into various languages.

I think this means we need a new categories table (with serial number, instance, category name, and JSON translations) and a new column in products with the category serial number. Plus CRUD API for categories, plus expanding inventory management to allow setting/editing the categories (zero or more!) for each product.

Ivan / Sebastian: it would be great if you could do the necessary modifications (schema change, new endpoints, spec of new endpoints, SPA) between the two of you. Happy to review merchant backend code changes if you put them into a branch.

 - add API support in taler-util [2hs]
 - create CRUD pages [8hs]
 - update product create/update to change categories [4hs]
TagsNo tags attached.


related to 0008969 resolvedChristian Grothoff various merchant backend category bugs 
child of 0008834 assignedavalos merchant backend should be able to generate PoS config JSON from inventory 


Christian Grothoff

2024-05-26 00:00

manager   ~0022470

Started to work on backend changes now...

Christian Grothoff

2024-05-26 15:22

manager   ~0022471

Backend is done now, but could use more tests. Note that I had to fix a bug in libgnunetpq, so update that, too, before using the new code...

Issue History

Date Modified Username Field Change
2024-05-13 13:49 Christian Grothoff New Issue
2024-05-13 13:49 Christian Grothoff Status new => assigned
2024-05-13 13:49 Christian Grothoff Assigned To => sebasjm
2024-05-13 13:49 Christian Grothoff Relationship added child of 0008834
2024-05-26 00:00 Christian Grothoff Assigned To sebasjm => Christian Grothoff
2024-05-26 00:00 Christian Grothoff Note Added: 0022470
2024-05-26 15:22 Christian Grothoff Assigned To Christian Grothoff => sebasjm
2024-05-26 15:22 Christian Grothoff Note Added: 0022471
2024-05-26 15:23 Christian Grothoff Target Version 0.14 => 0.12
2024-06-16 22:36 sebasjm Summary add support for product categories => add support for product categories [16hs]
2024-06-16 22:36 sebasjm Description Updated
2024-06-19 18:15 sebasjm Target Version 0.12 => 0.13
2024-06-20 23:24 sebasjm Relationship added related to 0008969