pretix icon indicating copy to clipboard operation
pretix copied to clipboard

Widget and web-shop showing different html input types when only 1 ticket is left

Open TimmThaler opened this issue 6 years ago • 2 comments

Hi there,

just as the title says, when there is only 1 ticket left in a quota, the pretix shop widget used on our own homepage shows only a checkbox while the normal pretix web shop shows a text field.

Widget: photo_2019-09-19_20-13-41

Web-shop: photo_2019-09-19_20-13-38

When a customer should order only 1 ticket at a time the checkbox is very useful, but if not, it could be confusing, especially when all other tickets have a "normal" text field.

TimmThaler avatar Sep 19 '19 18:09 TimmThaler

Hmm, yeah, the checkbox should probably only show up when max_order=1, not just because of a near-empty quota.

raphaelm avatar Sep 20 '19 07:09 raphaelm

That's what I had in mind, too.

TimmThaler avatar Sep 20 '19 15:09 TimmThaler