From 4d60d7bfbc2febb8d2b6a9c0cc2d4307659587a3 Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Thu, 12 Feb 2026 12:04:11 +0100 Subject: [PATCH] Fix widget quantity prefill (#5886) --- src/pretix/static/pretixpresale/js/widget/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/static/pretixpresale/js/widget/widget.js b/src/pretix/static/pretixpresale/js/widget/widget.js index f6eabc1bef..6dabea3ff6 100644 --- a/src/pretix/static/pretixpresale/js/widget/widget.js +++ b/src/pretix/static/pretixpresale/js/widget/widget.js @@ -252,7 +252,7 @@ Vue.component('availbox', { variation: Object }, mounted: function() { - if (this.$root.itemnum === 1 && (!this.$root.categories[0].items[0].has_variations || this.$root.categories[0].items[0].variations.length < 2) && !this.$root.has_seating_plan ? 1 : 0) { + if (!this.$root.cart_exists && this.$root.itemnum === 1 && (!this.$root.categories[0].items[0].has_variations || this.$root.categories[0].items[0].variations.length < 2) && !this.$root.has_seating_plan ? 1 : 0) { this.$refs.quantity.value = 1; if (this.order_max === 1) { this.$refs.quantity.checked = true;