Commit Graph
1 Commits
Author SHA1 Message Date
Lauri Ojansivu 04436a739d Board View / Shop: the products on the cards as a web shop, with a cart and a checkout.
A new entry in the Board View menu, under Communication and code after
Website, shown, hidden and ordered per board like every other view, and an
Admin Panel / Settings / Features entry, Shop view, that turns it off.

The view draws the board's own cards: a grid of products with their cover
image, title, price and the first words of their description, a category
filter from their labels, a page per product with its description drawn by
WeKan's Markdown viewer, a cart kept in this browser (localStorage), and a
checkout that sends card ids and quantities, the buyer's details and the
chosen payment method. The order placed shows its number, total, payment
reference and how to pay: the QR code, the Finnish bank barcode, the link or
the account details of Budget and billing's payment methods. A closed shop
shows its products to the board's admins only.

The QR code and barcode drawing, and the payment methods' labels, move from
the Budget and billing page to client/lib/paymentCodeSvg.js, which both use.

Thanks to xet7 !
2026-11-22 19:41:49 +02:00