diff --git a/src/pretix/static/pretixpresale/widget/src/sharedStore.ts b/src/pretix/static/pretixpresale/widget/src/sharedStore.ts index 00d36c02f..6de87c28d 100644 --- a/src/pretix/static/pretixpresale/widget/src/sharedStore.ts +++ b/src/pretix/static/pretixpresale/widget/src/sharedStore.ts @@ -510,10 +510,6 @@ export function createWidgetStore (config: { // button with subevent but no items redirectUrl += `${this.subevent}/` } - if (this.subevent && !this.cartId) { - // button with subevent but no items - redirectUrl += `${this.subevent}/` - } redirectUrl += `?iframe=1&locale=${LANG}` if (this.cartId) { // ajax to make sure the cart-id is used, even if the cart is currently empty