bornhack / bornhack-website

Django project to power BornHack
https://bornhack.dk
BSD 3-Clause "New" or "Revised" License
7 stars 31 forks source link

Show soldout when negative stock #1608

Closed flummer closed 1 month ago

flummer commented 1 month ago

Changed to follow same overall logic from product detail, though slightly different setup

This is to allow products to be visible (in an attempts to minimize questions), but indicate that they are unavailable. It's very relevant for merch when getting to the point where stock is running out or we can't get stuff.

github-actions[bot] commented 1 month ago

Test Results

103 tests  ±0   102 :white_check_mark: ±0   0s :stopwatch: ±0s  24 suites ±0     1 :zzz: ±0    1 files   ±0     0 :x: ±0 

Results for commit 5f3ee235. ± Comparison against base commit 2954d69d.