Ordering Improvements #4258
No Reviewers
Labels
Clear labels
Accessibility
bug
build
cgi Scripting
design
disruptive
documentation
duplicate
easy
enhancement
feature-request
help wanted
javascript
priority/low
question
system-hackers
tagging
text
translations
wait/bugfix
wait/inprogress
wait/misc
wait/proofread
wontfix
xsl
Requires careful coordination and documentation changes
Improving what is already there
No labels
Milestone
No items
No Milestone
Assignees
albert (Albert Dengg)
alex.busch (alex.busch)
alex.sander (alex.sander)
anaghz (anaghz)
annarita.russo (annarita.russo)
ao (André Ockers)
bonnie (bonnie)
ciampix (Marco Ciampa)
cryptie (cryptie)
dario (dario)
delliott (delliott)
dfajfer (Damian Fajfer)
dmaphy (Dominic Hopf)
doczkal (Thomas Doczkal)
eal (eal)
egnun (Erik Grun)
eventregbot (eventregbot)
fi (fi)
floriansnow (Florian Snow)
foxort (Tino Tempesta)
gabriel.ku (gabriel.ku)
guido (guido)
hf (hf)
hugo (hugo)
ineiev (ineiev)
jithendra (jithendra)
jn (jn)
jzarl (jzarl)
linus (Linus Sehn)
lucabon (Luca Bonissi)
lucas.lasota (lucas.lasota)
max.mehl (Max Mehl)
mk (Matthias Kirschner)
monochromec (monochromec)
mweimann (Michael Weimann)
nico.rikken (nico.rikken)
patrick (Patrick Ohnewein)
reinhard (Reinhard Müller)
renovate-bot (Renovate Bot)
repentinus (Heiki Lõhmus)
schiessle (Björn Schießle)
silviarbgl (Silvia Rbgl)
sofiaritz (Sofía Aritz)
tobiasd (tobiasd)
vincent (vincent)
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: FSFE/fsfe-website#4258
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This branch continues on the work completed by @rekado in #2750 and aims to incorporate the feedback about the ordering folder layouts raised by @reinhard in that thread.
Additionally it aims to add counts of items to the website, and so hide items at build time if there are too few of them to be sold, as trying to sell them will likely result in us having to refund people as the item is not available.
Current behavior can be seen at https://test.fsfe.org/order/index.en.html.
719c65b697tofc0165725bfc0165725btof11cf3ff27f11cf3ff27tocf88fef82e70321851cbtocd72c1c505411219a0bato0115935c740115935c74to75020cb1ff75020cb1fftoe4f1fb13a6e4f1fb13a6tocd0d1676d2cd0d1676d2to9220722b559220722b55to1ed614f880c4905b8d66to4591d0c8234591d0c823to1d5290dede8e49dcfd1dtob757253307b757253307to929b22a7b9929b22a7b9to3c92c50a203c92c50a20to3837a7cce8ac70bf8becto88e54314d788e54314d7to7a71d737337a71d73733to58aa88e705This pr is currently functional.
It fixes the issue with using post requests from the merch ordering page, and changes the layout of the items directory to no longer be based on year.
Removal of items from store based on available quantity at build time is not implemented.
NOTE Quantities of items in items.en.xml file not correct, should not be merged as it will make available items that should not be available.
Currently can hide sizes of items that are unavailable, but not a whole item if there are no sizes available.
564428b9c7to0106c530010106c53001to12c4abfe4c12c4abfe4ctoe6e3037ad9e6e3037ad9to90bac91ad290bac91ad2to64f7bae440Decisions made that this should hide unavailable sizes, but not whole items so that people see what items can theoretically be bought. Items that are no longer available for extended period, eg christmas cards, plussy pins, should be commented out in items.en.xml
64f7bae440to225ce057a3225ce057a3tofcd0b88041Following feedback from @reinhard it has been decided to remove the automatic item hiding feature.
fcd0b88041tod1c0a0f1c8