migrate widget bugfix #5886

This commit is contained in:
rash
2026-02-19 14:12:37 +01:00
parent f3eb2fba6d
commit 961253bac4

View File

@@ -86,7 +86,8 @@ function onStep (e: Event) {
onMounted(() => {
// Auto-select first item if single item with no variations
if (
store.itemnum === 1
!store.cartExists
&& store.itemnum === 1
&& (!store.categories[0]?.items[0]?.has_variations || store.categories[0]?.items[0]?.variations.length < 2)
&& !store.hasSeatingPlan
&& quantity.value