@shopware-ag/acceptance-test-suite 12.13.3 → 12.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -10,6 +10,394 @@ import fs from 'fs';
10
10
  import { AxeBuilder } from '@axe-core/playwright';
11
11
  import { createHtmlReport } from 'axe-html-reporter';
12
12
 
13
+ const LOCALE_MAPPINGS = {
14
+ "en-US": { countryCode: "US", currencyCode: "USD", currencySymbol: "$", languageCode: "en-GB" },
15
+ "en-GB": { countryCode: "GB", currencyCode: "GBP", currencySymbol: "\xA3", languageCode: "en-GB" },
16
+ "en-DE": { countryCode: "DE", currencyCode: "EUR", currencySymbol: "\u20AC", languageCode: "en-GB" },
17
+ "de-DE": { countryCode: "DE", currencyCode: "EUR", currencySymbol: "\u20AC", languageCode: "de-DE" }
18
+ };
19
+ const COUNTRY_ADDRESS_DATA = {
20
+ DE: {
21
+ street: "Ebbinghoff 10",
22
+ city: "Sch\xF6ppingen",
23
+ country: "Germany",
24
+ postalCode: "48624",
25
+ vatRegNo: "DE1234567890"
26
+ },
27
+ US: {
28
+ street: "1600 Pennsylvania Avenue NW",
29
+ city: "Washington",
30
+ country: "United States of America",
31
+ postalCode: "20500",
32
+ vatRegNo: "US123456789"
33
+ },
34
+ GB: {
35
+ street: "10 Downing Street",
36
+ city: "London",
37
+ country: "United Kingdom",
38
+ postalCode: "SW1A 2AA",
39
+ vatRegNo: "GB123456789"
40
+ }
41
+ };
42
+ const getCountryAddressData = (countryCode) => {
43
+ const code = countryCode || getCountryCodeFromLocale(getLocale());
44
+ if (code in COUNTRY_ADDRESS_DATA) {
45
+ return COUNTRY_ADDRESS_DATA[code];
46
+ }
47
+ return COUNTRY_ADDRESS_DATA.GB;
48
+ };
49
+ const getLocale = () => {
50
+ const rawLocale = process.env.LANG || process.env.LANGUAGE || process.env.lang || "en-GB";
51
+ const locale = rawLocale.split(".")[0].replace(/_/g, "-");
52
+ return LOCALE_MAPPINGS[locale] ? locale : "en-GB";
53
+ };
54
+ const getLanguageCode = (locale) => {
55
+ const mapping = LOCALE_MAPPINGS[locale ?? getLocale()];
56
+ return mapping ? mapping.languageCode : "en-GB";
57
+ };
58
+ const getCountryCodeFromLocale = (locale) => {
59
+ const mapping = LOCALE_MAPPINGS[locale ?? getLocale()];
60
+ return mapping ? mapping.countryCode : "GB";
61
+ };
62
+ const getCurrencyCodeFromLocale = (locale) => {
63
+ const mapping = LOCALE_MAPPINGS[locale ?? getLocale()];
64
+ return mapping ? mapping.currencyCode : "GBP";
65
+ };
66
+ const getCurrencySymbolFromLocale = (locale) => {
67
+ const mapping = LOCALE_MAPPINGS[locale ?? getLocale()];
68
+ return mapping ? mapping.currencySymbol : "\xA3";
69
+ };
70
+ const formatPrice = (price, locale, currencyCode) => {
71
+ const currentLocale = locale || getLocale();
72
+ const currency = currencyCode || getCurrencyCodeFromLocale(currentLocale);
73
+ const formatter = new Intl.NumberFormat(currentLocale, {
74
+ style: "currency",
75
+ currency,
76
+ currencyDisplay: "symbol",
77
+ minimumFractionDigits: 2,
78
+ maximumFractionDigits: 2
79
+ });
80
+ return formatter.format(price).replace(/\u00A0/g, " ");
81
+ };
82
+ const getLanguageData = async (adminApiContext, languageCode) => {
83
+ const code = languageCode || getLanguageCode(getLocale());
84
+ const resp = await adminApiContext.post("search/language", {
85
+ data: {
86
+ limit: 1,
87
+ filter: [
88
+ {
89
+ type: "equals",
90
+ field: "translationCode.code",
91
+ value: code
92
+ }
93
+ ],
94
+ associations: { translationCode: {} }
95
+ }
96
+ });
97
+ const result = await resp.json();
98
+ if (result.data.length === 0) {
99
+ throw new Error(`Language ${code} not found`);
100
+ }
101
+ return result.data[0];
102
+ };
103
+ const getSnippetSetId = async (adminApiContext, languageCode) => {
104
+ const code = languageCode || getLanguageCode(getLocale());
105
+ const resp = await adminApiContext.post("search/snippet-set", {
106
+ data: {
107
+ limit: 1,
108
+ filter: [
109
+ {
110
+ type: "equals",
111
+ field: "iso",
112
+ value: code
113
+ }
114
+ ]
115
+ }
116
+ });
117
+ const result = await resp.json();
118
+ return result.data[0].id;
119
+ };
120
+ const getCurrency = async (adminApiContext, isoCode) => {
121
+ const code = isoCode || getCurrencyCodeFromLocale(getLocale());
122
+ const resp = await adminApiContext.post("search/currency", {
123
+ data: {
124
+ limit: 1,
125
+ filter: [
126
+ {
127
+ type: "equals",
128
+ field: "isoCode",
129
+ value: code
130
+ }
131
+ ]
132
+ }
133
+ });
134
+ const result = await resp.json();
135
+ if (result.data.length === 0) {
136
+ throw new Error(`Currency ${code} not found`);
137
+ }
138
+ return result.data[0];
139
+ };
140
+ const getTaxId = async (adminApiContext) => {
141
+ const resp = await adminApiContext.post("search/tax", {
142
+ data: { limit: 1 }
143
+ });
144
+ const result = await resp.json();
145
+ return result.data[0].id;
146
+ };
147
+ const getPaymentMethodId = async (adminApiContext, handlerId) => {
148
+ const handler = handlerId || "Shopware\\Core\\Checkout\\Payment\\Cart\\PaymentHandler\\InvoicePayment";
149
+ const resp = await adminApiContext.post("search/payment-method", {
150
+ data: {
151
+ limit: 1,
152
+ filter: [
153
+ {
154
+ type: "equals",
155
+ field: "handlerIdentifier",
156
+ value: handler
157
+ }
158
+ ]
159
+ }
160
+ });
161
+ const result = await resp.json();
162
+ return result.data[0].id;
163
+ };
164
+ const getDefaultShippingMethodId = async (adminApiContext) => {
165
+ const resp = await adminApiContext.post("search/shipping-method", {
166
+ data: {
167
+ limit: 1,
168
+ filter: [
169
+ {
170
+ type: "equals",
171
+ field: "name",
172
+ value: "Standard"
173
+ }
174
+ ]
175
+ }
176
+ });
177
+ const result = await resp.json();
178
+ return result.data[0].id;
179
+ };
180
+ const getShippingMethodId = async (name, adminApiContext) => {
181
+ const resp = await adminApiContext.post("search/shipping-method", {
182
+ data: {
183
+ limit: 1,
184
+ filter: [
185
+ {
186
+ type: "equals",
187
+ field: "name",
188
+ value: name
189
+ }
190
+ ]
191
+ }
192
+ });
193
+ const result = await resp.json();
194
+ return result.data[0].id;
195
+ };
196
+ const getCountryId = async (iso2, adminApiContext) => {
197
+ const resp = await adminApiContext.post("search/country", {
198
+ data: {
199
+ limit: 1,
200
+ filter: [
201
+ {
202
+ type: "equals",
203
+ field: "iso",
204
+ value: iso2
205
+ }
206
+ ]
207
+ }
208
+ });
209
+ const result = await resp.json();
210
+ return result.data[0].id;
211
+ };
212
+ const getThemeId = async (technicalName, adminApiContext) => {
213
+ const resp = await adminApiContext.post("search/theme", {
214
+ data: {
215
+ limit: 1,
216
+ filter: [
217
+ {
218
+ type: "equals",
219
+ field: "technicalName",
220
+ value: technicalName
221
+ }
222
+ ]
223
+ }
224
+ });
225
+ const result = await resp.json();
226
+ return result.data[0].id;
227
+ };
228
+ const getSalutationId = async (salutationKey, adminApiContext) => {
229
+ const resp = await adminApiContext.post("search/salutation", {
230
+ data: {
231
+ limit: 1,
232
+ filter: [
233
+ {
234
+ type: "equals",
235
+ field: "salutationKey",
236
+ value: salutationKey
237
+ }
238
+ ]
239
+ }
240
+ });
241
+ const result = await resp.json();
242
+ return result.data[0].id;
243
+ };
244
+ const getStateMachineId = async (technicalName, adminApiContext) => {
245
+ const resp = await adminApiContext.post("search/state-machine", {
246
+ data: {
247
+ limit: 1,
248
+ filter: [
249
+ {
250
+ type: "equals",
251
+ field: "technicalName",
252
+ value: technicalName
253
+ }
254
+ ]
255
+ }
256
+ });
257
+ const result = await resp.json();
258
+ return result.data[0].id;
259
+ };
260
+ const getStateMachineStateId = async (stateMachineId, adminApiContext) => {
261
+ const resp = await adminApiContext.post("search/state-machine-state", {
262
+ data: {
263
+ limit: 1,
264
+ filter: [
265
+ {
266
+ type: "equals",
267
+ field: "stateMachineId",
268
+ value: stateMachineId
269
+ }
270
+ ]
271
+ }
272
+ });
273
+ const result = await resp.json();
274
+ return result.data[0].id;
275
+ };
276
+ const getFlowId = async (flowName, adminApiContext) => {
277
+ const resp = await adminApiContext.post("./search/flow", {
278
+ data: {
279
+ limit: 1,
280
+ filter: [
281
+ {
282
+ type: "equals",
283
+ field: "name",
284
+ value: flowName
285
+ }
286
+ ]
287
+ }
288
+ });
289
+ const result = await resp.json();
290
+ return result.data[0].id;
291
+ };
292
+ const getOrderTransactionId = async (orderId, adminApiContext) => {
293
+ const orderTransactionResponse = await adminApiContext.get(`order/${orderId}/transactions?_response`);
294
+ const { data: orderTransaction } = await orderTransactionResponse.json();
295
+ return orderTransaction[0].id;
296
+ };
297
+ const getMediaId = async (fileName, adminApiContext) => {
298
+ const resp = await adminApiContext.post("./search/media", {
299
+ data: {
300
+ limit: 1,
301
+ filter: [
302
+ {
303
+ type: "equals",
304
+ field: "fileName",
305
+ value: fileName
306
+ }
307
+ ]
308
+ }
309
+ });
310
+ const result = await resp.json();
311
+ return result.data[0].id;
312
+ };
313
+ const getFlowTemplate = async (flowTemplateId, adminApiContext) => {
314
+ const flowTemplateResponse = await adminApiContext.post(`search/flow-template`, {
315
+ data: {
316
+ limit: 1,
317
+ filter: [
318
+ {
319
+ type: "equals",
320
+ field: "id",
321
+ value: flowTemplateId
322
+ }
323
+ ]
324
+ }
325
+ });
326
+ const result = await flowTemplateResponse.json();
327
+ return result.data[0];
328
+ };
329
+ const getFlow = async (flowId, adminApiContext) => {
330
+ const flowResponse = await adminApiContext.post(`search/flow`, {
331
+ data: {
332
+ limit: 1,
333
+ filter: [
334
+ {
335
+ type: "equals",
336
+ field: "id",
337
+ value: flowId
338
+ }
339
+ ],
340
+ associations: { sequences: {} }
341
+ }
342
+ });
343
+ const result = await flowResponse.json();
344
+ return result.data[0];
345
+ };
346
+ const compareFlowTemplateWithFlow = async (flowId, flowTemplateId, adminApiContext) => {
347
+ const flowTemplateData = await getFlowTemplate(flowTemplateId, adminApiContext);
348
+ const flowData = await getFlow(flowId, adminApiContext);
349
+ if (flowTemplateData.config.eventName != flowData.eventName) {
350
+ return false;
351
+ }
352
+ let i = 0;
353
+ for (const sequenceTemplate of flowTemplateData.config.sequences) {
354
+ if (sequenceTemplate.actionName != flowData.sequences[i].actionName) {
355
+ return false;
356
+ }
357
+ if (JSON.stringify(sequenceTemplate.config) != JSON.stringify(flowData.sequences[i].config)) {
358
+ return false;
359
+ }
360
+ i++;
361
+ }
362
+ return true;
363
+ };
364
+ function extractIdFromUrl(url) {
365
+ const segments = url.split("/");
366
+ return segments.length > 0 ? segments[segments.length - 1] : null;
367
+ }
368
+ const setOrderStatus = async (orderId, orderStatus, adminApiContext) => {
369
+ return await adminApiContext.post(`./_action/order/${orderId}/state/${orderStatus}`);
370
+ };
371
+ const getPromotionWithDiscount = async (promotionId, adminApiContext) => {
372
+ const resp = await adminApiContext.post("search/promotion", {
373
+ data: {
374
+ limit: 1,
375
+ associations: {
376
+ discounts: {
377
+ limit: 10,
378
+ type: "equals",
379
+ field: "promotionId",
380
+ value: promotionId
381
+ }
382
+ },
383
+ filter: [
384
+ {
385
+ type: "equals",
386
+ field: "id",
387
+ value: promotionId
388
+ }
389
+ ]
390
+ }
391
+ });
392
+ const { data: promotion } = await resp.json();
393
+ return promotion[0];
394
+ };
395
+ const updateAdminUser = async (adminUserId, adminApiContext, data) => {
396
+ await adminApiContext.patch(`user/${adminUserId}?_response=basic`, {
397
+ data
398
+ });
399
+ };
400
+
13
401
  const test$d = test$e.extend({
14
402
  SalesChannelBaseConfig: [
15
403
  async ({ Country, Currency, Language, PaymentMethod, ShippingMethod, SnippetSet, Tax, Theme }, use) => {
@@ -107,6 +495,7 @@ const test$d = test$e.extend({
107
495
  const salesChannelPromise = AdminApiContext.get(`./sales-channel/${uuid}`);
108
496
  const salutationResponse = await AdminApiContext.get(`./salutation`);
109
497
  const salutations = await salutationResponse.json();
498
+ const addressData = getCountryAddressData();
110
499
  const customerData = {
111
500
  id: customerUuid,
112
501
  email: `customer_${id}@example.com`,
@@ -116,18 +505,18 @@ const test$d = test$e.extend({
116
505
  defaultShippingAddress: {
117
506
  firstName: `${id} admin`,
118
507
  lastName: `${id} admin`,
119
- city: "not",
120
- street: "not",
121
- zipcode: "not",
508
+ city: addressData.city,
509
+ street: addressData.street,
510
+ zipcode: addressData.postalCode,
122
511
  countryId: SalesChannelBaseConfig.currentCountryId,
123
512
  salutationId: salutations.data[0].id
124
513
  },
125
514
  defaultBillingAddress: {
126
515
  firstName: `${id} admin`,
127
516
  lastName: `${id} admin`,
128
- city: "not",
129
- street: "not",
130
- zipcode: "not",
517
+ city: addressData.city,
518
+ street: addressData.street,
519
+ zipcode: addressData.postalCode,
131
520
  countryId: SalesChannelBaseConfig.currentCountryId,
132
521
  salutationId: salutations.data[0].id
133
522
  },
@@ -138,7 +527,7 @@ const test$d = test$e.extend({
138
527
  customerNumber: `${customerUuid}`,
139
528
  defaultPaymentMethodId: SalesChannelBaseConfig.invoicePaymentMethodId
140
529
  };
141
- const customerRespPromise = AdminApiContext.post("./customer?_response", {
530
+ const customerRespPromise = AdminApiContext.post("./customer?_response=detail", {
142
531
  data: customerData
143
532
  });
144
533
  const [customerResp, salesChannelResp] = await Promise.all([customerRespPromise, salesChannelPromise]);
@@ -1574,7 +1963,8 @@ const confirm$1 = {
1574
1963
  completeOrder: "Complete order",
1575
1964
  submitOrder: "Submit order",
1576
1965
  termsAndConditions: "I have read and accepted the general terms and conditions.",
1577
- immediateAccessToDigitalProduct: "I want immediate access to the digital content and I acknowledge that thereby I waive my right to cancel."
1966
+ immediateAccessToDigitalProduct: "I want immediate access to the digital content and I acknowledge that thereby I waive my right to cancel.",
1967
+ autoConfirmTermsText: "By placing your order you accept our Terms and Conditions and cancellation policy."
1578
1968
  };
1579
1969
  const finish$1 = {
1580
1970
  thankYouForOrder: "Thank you for your order"
@@ -2565,1186 +2955,799 @@ const links$2 = {
2565
2955
  deliveryTimes: "Lieferzeiten",
2566
2956
  documents: "Dokumente",
2567
2957
  essentialCharacteristics: "Wesentliche Merkmale",
2568
- paymentMethods: "Zahlungsarten",
2569
- products: "Produkte",
2570
- shipping: "Versand",
2571
- cachesAndIndexes: "Caches & Indizes",
2572
- eventLogs: "Ereignis-Logs",
2573
- firstRunWizard: "Ersteinrichtungs-Assistent",
2574
- integrations: "Integrationen",
2575
- mailer: "Mailer",
2576
- messageQueueStatistics: "Nachrichtenwarteschlangen-Statistiken",
2577
- privacy: "Datenschutzeinstellungen",
2578
- shopwareAccount: "Shopware Account",
2579
- shopwareServices: "Shopware Services",
2580
- shopwareUpdates: "Shopware-Aktualisierungen",
2581
- storefront: "Storefront",
2582
- usersAndPermissions: "Benutzer & Rechte"
2583
- };
2584
- const deAdministrationSettings = {
2585
- header: header,
2586
- links: links$2
2587
- };
2588
-
2589
- const common$3 = {
2590
- name: "Name",
2591
- availabilityRule: "Verfügbarkeitsregel"
2592
- };
2593
- const listing$2 = {
2594
- addShippingMethod: "Versandart hinzufügen"
2595
- };
2596
- const detail$1 = {
2597
- };
2598
- const methods$1 = {
2599
- standard: "Standard",
2600
- express: "Express",
2601
- customShippingMethod: "Benutzerdefinierte Versandart"
2602
- };
2603
- const dialogs = {
2604
- warning: "Warnung",
2605
- cancel: "Abbrechen",
2606
- "delete": "Löschen"
2607
- };
2608
- const deAdministrationShipping = {
2609
- common: common$3,
2610
- listing: listing$2,
2611
- detail: detail$1,
2612
- methods: methods$1,
2613
- dialogs: dialogs
2614
- };
2615
-
2616
- const headings = {
2617
- futureProofStore: "Zukunftssicher mit Shopware Services"
2618
- };
2619
- const buttons$3 = {
2620
- activateServices: "Services aktivieren",
2621
- grantPermissions: "Berechtigungen erteilen",
2622
- deactivate: "Deaktivieren",
2623
- exploreNow: "Jetzt erkunden"
2624
- };
2625
- const modals = {
2626
- deactivateServices: "Shopware Services deaktivieren"
2627
- };
2628
- const messages$1 = {
2629
- accessDenied: "Zugriff verweigert"
2630
- };
2631
- const links$1 = {
2632
- shopwareServices: "Shopware Services"
2633
- };
2634
- const dashboard = {
2635
- shopwareServicesIntroduction: "Introducing Shopware Services"
2636
- };
2637
- const deAdministrationShopwareServices = {
2638
- headings: headings,
2639
- buttons: buttons$3,
2640
- modals: modals,
2641
- messages: messages$1,
2642
- links: links$1,
2643
- dashboard: dashboard
2644
- };
2645
-
2646
- const general$2 = {
2647
- title: "Ihr Profil",
2648
- firstName: "Vorname",
2649
- lastName: "Nachname",
2650
- email: "E-Mail",
2651
- username: "Benutzername",
2652
- currentPassword: "Aktuelles Passwort",
2653
- newPassword: "Neues Passwort",
2654
- newPasswordConfirm: "Neues Passwort bestätigen",
2655
- language: "Sprache",
2656
- timeZone: "Zeitzone",
2657
- save: "Speichern",
2658
- saveSuccess: "Profil wurde erfolgreich aktualisiert."
2659
- };
2660
- const tabs$1 = {
2661
- searchPreferences: "Suchen",
2662
- privacyPreferences: "Datenschutzeinstellungen"
2663
- };
2664
- const fields = {
2665
- firstName: "Vorname",
2666
- lastName: "Nachname",
2667
- username: "Benutzername",
2668
- email: "E-Mail"
2669
- };
2670
- const buttons$2 = {
2671
- deselectAll: "Alle abwählen"
2672
- };
2673
- const links = {
2674
- privacy: "Datenschutzerklärung"
2675
- };
2676
- const checkboxes = {
2677
- usageDataCheckbox: "Nutzungsdaten teilen"
2678
- };
2679
- const headlines = {
2680
- usageDataHeadline: "Nutzungsdaten",
2681
- cardTitle: "Hilfen Sie uns, Shopware zu verbessern"
2682
- };
2683
- const deAdministrationYourProfile = {
2684
- general: general$2,
2685
- tabs: tabs$1,
2686
- fields: fields,
2687
- buttons: buttons$2,
2688
- links: links,
2689
- checkboxes: checkboxes,
2690
- headlines: headlines
2691
- };
2692
-
2693
- const tabs = {
2694
- general: "Allgemein",
2695
- products: "Produkte",
2696
- theme: "Theme",
2697
- analytics: "Analyse"
2698
- };
2699
- const buttons$1 = {
2700
- addDomain: "Domain hinzufügen"
2701
- };
2702
- const deAdministrationSalesChannel = {
2703
- tabs: tabs,
2704
- buttons: buttons$1
2705
- };
2706
-
2707
- const common$2 = {
2708
- salutation: "Anrede",
2709
- firstName: "Vorname",
2710
- lastName: "Nachname",
2711
- company: "Firma",
2712
- department: "Abteilung",
2713
- back: "Zurück",
2714
- changePassword: "Passwort ändern",
2715
- passwordUpdated: "Ihr Passwort wurde aktualisiert.",
2716
- cashOnDelivery: "Nachnahme",
2717
- paidInAdvance: "Vorauskasse",
2718
- invoice: "Rechnung"
2719
- };
2720
- const login = {
2721
- email: "Ihre E-Mail-Adresse",
2722
- password: "Ihr Passwort",
2723
- logIn: "Anmelden",
2724
- logOut: "Abmelden",
2725
- forgotPassword: "Ich habe mein Passwort vergessen.",
2726
- invalidCredentials: "Es konnte kein Konto gefunden werden, das den angegebenen Anmeldedaten entspricht.",
2727
- successfulLogout: "Erfolgreich abgemeldet."
2728
- };
2729
- const profile = {
2730
- saveChanges: "Änderungen speichern",
2731
- changeEmail: "E-Mail-Adresse ändern",
2732
- emailConfirmation: "E-Mail-Adresse bestätigen",
2733
- emailUpdated: "Ihre E-Mail-Adresse wurde aktualisiert.",
2734
- invalidEmail: "Ungültige E-Mail-Adresse.",
2735
- emailUpdateFailure: "E-Mail-Adresse konnte nicht geändert werden.",
2736
- passwordTooShort: "Eingabe ist zu kurz.",
2737
- passwordUpdateFailure: "Passwort konnte nicht geändert werden."
2738
- };
2739
- const orders = {
2740
- download: "Herunterladen",
2741
- cancelOrder: "Bestellung stornieren",
2742
- repeatOrder: "Bestellung wiederholen",
2743
- changePaymentMethod: "Zahlungsart ändern",
2744
- actions: "Aktionen",
2745
- expand: "Erweitern",
2746
- showDetails: "Details anzeigen",
2747
- creditItem: "Gutschrift",
2748
- orderNumber: "Bestellnummer",
2749
- plusVat: "zzgl.",
2750
- includeVat: "inkl.",
2751
- vatSuffix: "% MwSt.",
2752
- shippingCosts: "Versandkosten:",
2753
- totalGross: "Gesamtsumme (brutto):",
2754
- headlineCompletePayment: "Zahlung abschließen",
2755
- buttonCompletePayment: "Zahlung abschließen",
2756
- editCompleted: "Vielen Dank für die Aktualisierung Ihrer Bestellung!"
2757
- };
2758
- const addresses = {
2759
- street: "Straße",
2760
- streetAddress: "Straßenadresse",
2761
- city: "Stadt",
2762
- country: "Land",
2763
- postalCode: "Postleitzahl",
2764
- state: "Bundesland",
2765
- editAddress: "Adresse bearbeiten",
2766
- addNewAddress: "Neue Adresse hinzufügen",
2767
- useAsDefaultBilling: "Als Standard-Rechnungsadresse verwenden",
2768
- useAsDefaultShipping: "Als Standard-Versandadresse verwenden",
2769
- deliveryNotPossible: "Eine Lieferung in dieses Land ist nicht möglich."
2770
- };
2771
- const registration = {
2772
- "continue": "Weiter",
2773
- differentShippingAddress: "Versand- und Rechnungsadresse stimmen nicht überein."
2774
- };
2775
- const general$1 = {
2776
- yourAccount: "Ihr Konto",
2777
- newsletter: "Ja, ich möchte",
2778
- newsletterRegistrationSuccess: "Sie haben sich erfolgreich für den Newsletter angemeldet.",
2779
- cannotDeliverToCountry: "Wir können nicht in das Land liefern, das in Ihrer Lieferadresse gespeichert ist.",
2780
- shippingNotPossible: "Der Versand an die ausgewählte Versandadresse ist derzeit nicht möglich.",
2781
- overview: "Übersicht",
2782
- personalData: "Persönliche Daten",
2783
- defaultPaymentMethod: "Zahlung",
2784
- defaultBillingAddress: "Hinzufügen",
2785
- defaultShippingAddress: "Hinzufügen",
2786
- customerGroupAccessRequested: "Zugang zur Kundengruppe \"{{customerGroup}}\" angefragt."
2787
- };
2788
- const navigation = {
2789
- overview: "Übersicht",
2790
- yourProfile: "Persönliches Profil",
2791
- addresses: "Adressen",
2792
- orders: "Bestellungen",
2793
- logout: "Abmelden"
2794
- };
2795
- const recovery = {
2796
- title: "Passwort-Wiederherstellung",
2797
- subtitle: "Wir senden Ihnen eine Bestätigungs-E-Mail. Klicken Sie auf den Link in dieser E-Mail, um Ihr Passwort zu ändern.",
2798
- requestEmail: "E-Mail anfordern",
2799
- emailSent: "Falls die angegebene E-Mail-Adresse registriert ist, wurde eine Bestätigungs-E-Mail mit einem Link zum Zurücksetzen des Passworts gesendet.",
2800
- invalidLink: "Der Link zum Zurücksetzen des Passworts scheint ungültig zu sein.",
2801
- newPassword: "Neues Passwort",
2802
- passwordConfirmation: "Passwort bestätigen"
2803
- };
2804
- const payment = {
2805
- change: "Ändern"
2806
- };
2807
- const tasks = {
2808
- registration: {
2809
- defaultStreet: "Ebbinghoff 10",
2810
- defaultCity: "Schöppingen",
2811
- defaultCountry: "Deutschland",
2812
- defaultDepartment: "Betrieb",
2813
- defaultVatRegNo: "DE1234567890"
2814
- },
2815
- deprecation: {
2816
- registerGuestDeprecated: "Verwenden Sie stattdessen `Register.ts`.",
2817
- isCommercialDeprecated: "Das 'isCommercial'-Argument ist veraltet und wird in einer zukünftigen Version entfernt. Bitte vermeiden Sie dessen Verwendung und verlassen Sie sich stattdessen auf das `isCommercial`-Feld in `RegistrationData`."
2818
- }
2958
+ paymentMethods: "Zahlungsarten",
2959
+ products: "Produkte",
2960
+ shipping: "Versand",
2961
+ cachesAndIndexes: "Caches & Indizes",
2962
+ eventLogs: "Ereignis-Logs",
2963
+ firstRunWizard: "Ersteinrichtungs-Assistent",
2964
+ integrations: "Integrationen",
2965
+ mailer: "Mailer",
2966
+ messageQueueStatistics: "Nachrichtenwarteschlangen-Statistiken",
2967
+ privacy: "Datenschutzeinstellungen",
2968
+ shopwareAccount: "Shopware Account",
2969
+ shopwareServices: "Shopware Services",
2970
+ shopwareUpdates: "Shopware-Aktualisierungen",
2971
+ storefront: "Storefront",
2972
+ usersAndPermissions: "Benutzer & Rechte"
2819
2973
  };
2820
- const deStorefrontAccount = {
2821
- common: common$2,
2822
- login: login,
2823
- profile: profile,
2824
- orders: orders,
2825
- addresses: addresses,
2826
- registration: registration,
2827
- general: general$1,
2828
- navigation: navigation,
2829
- recovery: recovery,
2830
- payment: payment,
2831
- tasks: tasks
2974
+ const deAdministrationSettings = {
2975
+ header: header,
2976
+ links: links$2
2832
2977
  };
2833
2978
 
2834
- const common$1 = {
2835
- salutation: "Anrede",
2836
- firstName: "Vorname",
2837
- lastName: "Nachname",
2838
- company: "Unternehmen",
2839
- department: "Abteilung",
2840
- street: "Straße",
2841
- postalCode: "Postleitzahl"
2842
- };
2843
- const actions$2 = {
2844
- editAddress: "Bearbeiten",
2845
- useAsDefaultBilling: "Als Standard-Rechnungsadresse verwenden",
2846
- useAsDefaultShipping: "Als Standard-Lieferadresse verwenden",
2847
- addressOptions: "Adress-Optionen",
2848
- deleteAddress: "Adresse löschen"
2849
- };
2850
- const badges = {
2851
- defaultBilling: "Standard-Rechnungsadresse",
2852
- defaultShipping: "Standard-Lieferadresse"
2979
+ const common$3 = {
2980
+ name: "Name",
2981
+ availabilityRule: "Verfügbarkeitsregel"
2853
2982
  };
2854
- const messages = {
2855
- deliveryNotPossible: "Eine Lieferung in dieses Land ist nicht möglich."
2983
+ const listing$2 = {
2984
+ addShippingMethod: "Versandart hinzufügen"
2856
2985
  };
2857
- const deStorefrontAddress = {
2858
- common: common$1,
2859
- actions: actions$2,
2860
- badges: badges,
2861
- messages: messages
2986
+ const detail$1 = {
2862
2987
  };
2863
-
2864
- const common = {
2865
- back: "Zurück",
2866
- paymentMethod: "Zahlungsart",
2867
- cashOnDelivery: "Nachnahme",
2868
- paidInAdvance: "Vorkasse",
2869
- invoice: "Rechnung",
2870
- shippingMethod: "Versandart",
2988
+ const methods$1 = {
2871
2989
  standard: "Standard",
2872
2990
  express: "Express",
2873
- grandTotal: "Gesamtsumme",
2874
- plusVat: "zzgl.",
2875
- vatSuffix: " % MwSt."
2991
+ customShippingMethod: "Benutzerdefinierte Versandart"
2876
2992
  };
2877
- const cart = {
2878
- shoppingCart: "Warenkorb",
2879
- goToCheckout: "Zur Kasse gehen",
2880
- displayShoppingCart: "Warenkorb anzeigen",
2881
- continueShopping: "Weiter einkaufen",
2882
- promoCode: "Aktionscode",
2883
- emptyCart: "Ihr Warenkorb ist leer.",
2884
- quantity: "Anzahl",
2885
- stockReached: "nur noch 1x verfügbar"
2993
+ const dialogs = {
2994
+ warning: "Warnung",
2995
+ cancel: "Abbrechen",
2996
+ "delete": "Löschen"
2886
2997
  };
2887
- const confirm = {
2888
- confirmOrder: "Bestellung bestätigen",
2889
- orderSummary: "Bestellübersicht",
2890
- shippingAddress: "Lieferadresse",
2891
- billingAddress: "Rechnungsadresse",
2892
- agreeToTerms: "Ich stimme den AGBs zu",
2893
- revocationNotice: "Widerrufsbelehrung",
2894
- completeOrder: "Bestellung abschließen",
2895
- submitOrder: "Zahlungspflichtig bestellen",
2896
- termsAndConditions: "Ich habe die AGB gelesen und bin mit ihnen einverstanden.",
2897
- immediateAccessToDigitalProduct: "Ja, ich möchte sofort Zugang zu dem digitalen Inhalt und weiß, dass mein Widerrufsrecht mit dem Zugang erlischt."
2998
+ const deAdministrationShipping = {
2999
+ common: common$3,
3000
+ listing: listing$2,
3001
+ detail: detail$1,
3002
+ methods: methods$1,
3003
+ dialogs: dialogs
2898
3004
  };
2899
- const finish = {
2900
- thankYouForOrder: "Vielen Dank für Ihre Bestellung"
3005
+
3006
+ const headings = {
3007
+ futureProofStore: "Zukunftssicher mit Shopware Services"
2901
3008
  };
2902
- const orderEdit = {
2903
- cancelOrder: "Bestellung stornieren"
3009
+ const buttons$3 = {
3010
+ activateServices: "Services aktivieren",
3011
+ grantPermissions: "Berechtigungen erteilen",
3012
+ deactivate: "Deaktivieren",
3013
+ exploreNow: "Jetzt erkunden"
2904
3014
  };
2905
- const deStorefrontCheckout = {
2906
- common: common,
2907
- cart: cart,
2908
- confirm: confirm,
2909
- finish: finish,
2910
- orderEdit: orderEdit
3015
+ const modals = {
3016
+ deactivateServices: "Shopware Services deaktivieren"
2911
3017
  };
2912
-
2913
- const cookie = {
2914
- title: "Cookie-Einstellungen",
2915
- description: "Wir verwenden Cookies, um Ihnen die bestmögliche Nutzung unserer Website zu ermöglichen.",
2916
- acceptAll: "Alle akzeptieren",
2917
- acceptSelected: "Auswahl akzeptieren",
2918
- decline: "Ablehnen",
2919
- necessary: "Notwendig",
2920
- functional: "Funktional",
2921
- statistics: "Statistiken",
2922
- acceptAllCookies: "Alle Cookies akzeptieren",
2923
- configure: "Konfigurieren",
2924
- onlyTechnicallyRequired: "Nur technisch erforderliche",
2925
- preferences: "Cookie-Einstellungen",
2926
- marketing: "Marketing"
3018
+ const messages$1 = {
3019
+ accessDenied: "Zugriff verweigert"
2927
3020
  };
2928
- const privacy = {
2929
- policy: "Datenschutzrichtlinie",
2930
- readMore: "Mehr lesen"
3021
+ const links$1 = {
3022
+ shopwareServices: "Shopware Services"
2931
3023
  };
2932
- const deStorefrontConsent = {
2933
- cookie: cookie,
2934
- privacy: privacy
3024
+ const dashboard = {
3025
+ shopwareServicesIntroduction: "Introducing Shopware Services"
3026
+ };
3027
+ const deAdministrationShopwareServices = {
3028
+ headings: headings,
3029
+ buttons: buttons$3,
3030
+ modals: modals,
3031
+ messages: messages$1,
3032
+ links: links$1,
3033
+ dashboard: dashboard
2935
3034
  };
2936
3035
 
2937
- const title$2 = "Titel";
2938
- const link = {
2939
- contactForm: "Kontaktformular"
3036
+ const general$2 = {
3037
+ title: "Ihr Profil",
3038
+ firstName: "Vorname",
3039
+ lastName: "Nachname",
3040
+ email: "E-Mail",
3041
+ username: "Benutzername",
3042
+ currentPassword: "Aktuelles Passwort",
3043
+ newPassword: "Neues Passwort",
3044
+ newPasswordConfirm: "Neues Passwort bestätigen",
3045
+ language: "Sprache",
3046
+ timeZone: "Zeitzone",
3047
+ save: "Speichern",
3048
+ saveSuccess: "Profil wurde erfolgreich aktualisiert."
2940
3049
  };
2941
- const form = {
2942
- contact: "Kontakt",
2943
- salutation: "Anrede",
3050
+ const tabs$1 = {
3051
+ searchPreferences: "Suchen",
3052
+ privacyPreferences: "Datenschutzeinstellungen"
3053
+ };
3054
+ const fields = {
2944
3055
  firstName: "Vorname",
2945
3056
  lastName: "Nachname",
2946
- email: "Ihre E-Mail-Adresse",
2947
- phone: "Telefon",
2948
- subject: "Betreff",
2949
- comment: "Kommentar",
2950
- submit: "Senden",
2951
- privacyPolicy: "Durch die Auswahl von 'Weiter' bestätigen Sie, dass Sie unsere gelesen und akzeptiert haben",
2952
- emailAddress: "E-Mail-Adresse"
3057
+ username: "Benutzername",
3058
+ email: "E-Mail"
2953
3059
  };
2954
- const email = {
2955
- from: "doNotReply@localhost.com",
2956
- subject: "Ihre Anmeldung"
3060
+ const buttons$2 = {
3061
+ deselectAll: "Alle abwählen"
2957
3062
  };
2958
- const deStorefrontContact = {
2959
- title: title$2,
2960
- link: link,
2961
- form: form,
2962
- email: email
3063
+ const links = {
3064
+ privacy: "Datenschutzerklärung"
2963
3065
  };
2964
-
2965
- const topBarNav = "Shop-Einstellungen";
2966
- const currencyDropdown = "Währung ändern";
2967
- const languageDropdown = "Sprache ändern";
2968
- const skipToContentLink = "Zum Hauptinhalt springen";
2969
- const searchInputAriaLabel = "Suchbegriff eingeben ...";
2970
- const wishlistIcon = "Merkzettel";
2971
- const shoppingCart = "Warenkorb";
2972
- const deStorefrontHeader = {
2973
- topBarNav: topBarNav,
2974
- currencyDropdown: currencyDropdown,
2975
- languageDropdown: languageDropdown,
2976
- skipToContentLink: skipToContentLink,
2977
- searchInputAriaLabel: searchInputAriaLabel,
2978
- wishlistIcon: wishlistIcon,
2979
- shoppingCart: shoppingCart
3066
+ const checkboxes = {
3067
+ usageDataCheckbox: "Nutzungsdaten teilen"
2980
3068
  };
2981
-
2982
- const account = {
2983
- yourAccount: "Ihr Konto"
3069
+ const headlines = {
3070
+ usageDataHeadline: "Nutzungsdaten",
3071
+ cardTitle: "Hilfen Sie uns, Shopware zu verbessern"
2984
3072
  };
2985
- const consent = {
2986
- close: "Cookie-Voreinstellungen schließen",
2987
- onlyTechnicallyRequired: "Nur technisch erforderlich",
2988
- technicallyRequired: "Technisch erforderlich",
2989
- configure: "Konfigurieren",
2990
- acceptAllCookies: "Alle Cookies akzeptieren",
2991
- cookiePreferences: "Cookie-Einstellungen",
2992
- marketing: "Marketing",
2993
- statistics: "Statistiken",
2994
- save: "Speichern"
3073
+ const deAdministrationYourProfile = {
3074
+ general: general$2,
3075
+ tabs: tabs$1,
3076
+ fields: fields,
3077
+ buttons: buttons$2,
3078
+ links: links,
3079
+ checkboxes: checkboxes,
3080
+ headlines: headlines
2995
3081
  };
2996
- const filters = {
2997
- filterPanel: "Produkte filtern",
2998
- labelPrefix: "Filtern nach ",
2999
- manufacturer: "Hersteller",
3000
- price: "Preis",
3001
- resetAll: "Alle zurücksetzen",
3002
- freeShipping: "Filter hinzufügen: Versandkostenfrei",
3003
- rating: "Mindestbewertung",
3004
- minRating: "mind. {{rating}}/5"
3082
+
3083
+ const tabs = {
3084
+ general: "Allgemein",
3085
+ products: "Produkte",
3086
+ theme: "Theme",
3087
+ analytics: "Analyse"
3005
3088
  };
3006
- const listing$1 = {
3007
- addToShoppingCart: "In den Warenkorb"
3089
+ const buttons$1 = {
3090
+ addDomain: "Domain hinzufügen"
3008
3091
  };
3009
- const deStorefrontHome = {
3010
- account: account,
3011
- consent: consent,
3012
- filters: filters,
3013
- listing: listing$1
3092
+ const deAdministrationSalesChannel = {
3093
+ tabs: tabs,
3094
+ buttons: buttons$1
3014
3095
  };
3015
3096
 
3016
- const emailAddress = "Ihre E-Mail-Adresse";
3017
- const password = "Ihr Passwort";
3018
- const loginButton = "Anmelden";
3019
- const forgotPassword = "Ich habe mein Passwort vergessen.";
3020
- const logout = "Abmelden";
3021
- const invalidCredentials = "Es konnte kein Konto gefunden werden, das den angegebenen Anmeldedaten entspricht.";
3022
- const successfulLogout = "Erfolgreich abgemeldet.";
3023
- const passwordUpdated = "Ihr Passwort wurde aktualisiert.";
3024
- const register = {
3097
+ const common$2 = {
3025
3098
  salutation: "Anrede",
3026
3099
  firstName: "Vorname",
3027
3100
  lastName: "Nachname",
3028
- company: "Unternehmen",
3101
+ company: "Firma",
3029
3102
  department: "Abteilung",
3030
- emailAddress: "E-Mail-Adresse",
3031
- password: "Passwort",
3032
- streetAddress: "Straße und Hausnummer",
3103
+ back: "Zurück",
3104
+ changePassword: "Passwort ändern",
3105
+ passwordUpdated: "Ihr Passwort wurde aktualisiert.",
3106
+ cashOnDelivery: "Nachnahme",
3107
+ paidInAdvance: "Vorauskasse",
3108
+ invoice: "Rechnung"
3109
+ };
3110
+ const login = {
3111
+ email: "Ihre E-Mail-Adresse",
3112
+ password: "Ihr Passwort",
3113
+ logIn: "Anmelden",
3114
+ logOut: "Abmelden",
3115
+ forgotPassword: "Ich habe mein Passwort vergessen.",
3116
+ invalidCredentials: "Es konnte kein Konto gefunden werden, das den angegebenen Anmeldedaten entspricht.",
3117
+ successfulLogout: "Erfolgreich abgemeldet."
3118
+ };
3119
+ const profile = {
3120
+ saveChanges: "Änderungen speichern",
3121
+ changeEmail: "E-Mail-Adresse ändern",
3122
+ emailConfirmation: "E-Mail-Adresse bestätigen",
3123
+ emailUpdated: "Ihre E-Mail-Adresse wurde aktualisiert.",
3124
+ invalidEmail: "Ungültige E-Mail-Adresse.",
3125
+ emailUpdateFailure: "E-Mail-Adresse konnte nicht geändert werden.",
3126
+ passwordTooShort: "Eingabe ist zu kurz.",
3127
+ passwordUpdateFailure: "Passwort konnte nicht geändert werden."
3128
+ };
3129
+ const orders = {
3130
+ download: "Herunterladen",
3131
+ cancelOrder: "Bestellung stornieren",
3132
+ repeatOrder: "Bestellung wiederholen",
3133
+ changePaymentMethod: "Zahlungsart ändern",
3134
+ actions: "Aktionen",
3135
+ expand: "Erweitern",
3136
+ showDetails: "Details anzeigen",
3137
+ creditItem: "Gutschrift",
3138
+ orderNumber: "Bestellnummer",
3139
+ plusVat: "zzgl.",
3140
+ includeVat: "inkl.",
3141
+ vatSuffix: "% MwSt.",
3142
+ shippingCosts: "Versandkosten:",
3143
+ totalGross: "Gesamtsumme (brutto):",
3144
+ headlineCompletePayment: "Zahlung abschließen",
3145
+ buttonCompletePayment: "Zahlung abschließen",
3146
+ editCompleted: "Vielen Dank für die Aktualisierung Ihrer Bestellung!"
3147
+ };
3148
+ const addresses = {
3149
+ street: "Straße",
3150
+ streetAddress: "Straßenadresse",
3033
3151
  city: "Stadt",
3034
3152
  country: "Land",
3035
3153
  postalCode: "Postleitzahl",
3036
3154
  state: "Bundesland",
3037
- differentShippingAddress: "Lieferadresse weicht von Rechnungsadresse ab.",
3038
- "continue": "Weiter"
3039
- };
3040
- const deStorefrontLogin = {
3041
- emailAddress: emailAddress,
3042
- password: password,
3043
- loginButton: loginButton,
3044
- forgotPassword: forgotPassword,
3045
- logout: logout,
3046
- invalidCredentials: invalidCredentials,
3047
- successfulLogout: successfulLogout,
3048
- passwordUpdated: passwordUpdated,
3049
- register: register
3155
+ editAddress: "Adresse bearbeiten",
3156
+ addNewAddress: "Neue Adresse hinzufügen",
3157
+ useAsDefaultBilling: "Als Standard-Rechnungsadresse verwenden",
3158
+ useAsDefaultShipping: "Als Standard-Versandadresse verwenden",
3159
+ deliveryNotPossible: "Eine Lieferung in dieses Land ist nicht möglich."
3050
3160
  };
3051
-
3052
- const pageNotFound = {
3053
- title: "Seite nicht gefunden",
3054
- backToShop: "Zurück zum Shop"
3161
+ const registration = {
3162
+ "continue": "Weiter",
3163
+ differentShippingAddress: "Versand- und Rechnungsadresse stimmen nicht überein."
3055
3164
  };
3056
- const home = {
3165
+ const general$1 = {
3057
3166
  yourAccount: "Ihr Konto",
3058
- manufacturerFilter: "Hersteller",
3059
- priceFilter: "Preis",
3060
- resetAll: "Alle zurücksetzen",
3061
- freeShipping: "Kostenloser Versand"
3062
- };
3063
- const footer = {
3064
- contactForm: "Kontaktformular"
3167
+ newsletter: "Ja, ich möchte",
3168
+ newsletterRegistrationSuccess: "Sie haben sich erfolgreich für den Newsletter angemeldet.",
3169
+ cannotDeliverToCountry: "Wir können nicht in das Land liefern, das in Ihrer Lieferadresse gespeichert ist.",
3170
+ shippingNotPossible: "Der Versand an die ausgewählte Versandadresse ist derzeit nicht möglich.",
3171
+ overview: "Übersicht",
3172
+ personalData: "Persönliche Daten",
3173
+ defaultPaymentMethod: "Zahlung",
3174
+ defaultBillingAddress: "Hinzufügen",
3175
+ defaultShippingAddress: "Hinzufügen",
3176
+ customerGroupAccessRequested: "Zugang zur Kundengruppe \"{{customerGroup}}\" angefragt."
3065
3177
  };
3066
- const category = {
3067
- sorting: "Sortierung",
3068
- addToCart: "In den Warenkorb legen",
3069
- noProductsFound: "Keine Produkte gefunden."
3178
+ const navigation = {
3179
+ overview: "Übersicht",
3180
+ yourProfile: "Persönliches Profil",
3181
+ addresses: "Adressen",
3182
+ orders: "Bestellungen",
3183
+ logout: "Abmelden"
3070
3184
  };
3071
- const deStorefrontNavigation = {
3072
- pageNotFound: pageNotFound,
3073
- home: home,
3074
- footer: footer,
3075
- category: category
3185
+ const recovery = {
3186
+ title: "Passwort-Wiederherstellung",
3187
+ subtitle: "Wir senden Ihnen eine Bestätigungs-E-Mail. Klicken Sie auf den Link in dieser E-Mail, um Ihr Passwort zu ändern.",
3188
+ requestEmail: "E-Mail anfordern",
3189
+ emailSent: "Falls die angegebene E-Mail-Adresse registriert ist, wurde eine Bestätigungs-E-Mail mit einem Link zum Zurücksetzen des Passworts gesendet.",
3190
+ invalidLink: "Der Link zum Zurücksetzen des Passworts scheint ungültig zu sein.",
3191
+ newPassword: "Neues Passwort",
3192
+ passwordConfirmation: "Passwort bestätigen"
3076
3193
  };
3077
-
3078
- const title$1 = "Warenkorb";
3079
- const emptyCart = "Ihr Warenkorb ist leer";
3080
- const quantity$1 = "Anzahl";
3081
- const remove = "Entfernen";
3082
- const subtotal = "Zwischensumme";
3083
- const goToCart = "Zum Warenkorb";
3084
- const continueShopping = "Weiter einkaufen";
3085
- const addedToCart = "Zum Warenkorb hinzugefügt";
3086
- const general = {
3087
- title: "Titel"
3194
+ const payment = {
3195
+ change: "Ändern"
3088
3196
  };
3089
- const buttons = {
3090
- goToCheckout: "Zur Kasse gehen",
3091
- goToCart: "Display shopping cart",
3092
- continueShopping: "Fortfahren"
3197
+ const tasks = {
3198
+ registration: {
3199
+ defaultStreet: "Ebbinghoff 10",
3200
+ defaultCity: "Schöppingen",
3201
+ defaultCountry: "Deutschland",
3202
+ defaultDepartment: "Betrieb",
3203
+ defaultVatRegNo: "DE1234567890"
3204
+ },
3205
+ deprecation: {
3206
+ registerGuestDeprecated: "Verwenden Sie stattdessen `Register.ts`.",
3207
+ isCommercialDeprecated: "Das 'isCommercial'-Argument ist veraltet und wird in einer zukünftigen Version entfernt. Bitte vermeiden Sie dessen Verwendung und verlassen Sie sich stattdessen auf das `isCommercial`-Feld in `RegistrationData`."
3208
+ }
3093
3209
  };
3094
- const deStorefrontOffCanvasCart = {
3095
- title: title$1,
3096
- emptyCart: emptyCart,
3097
- quantity: quantity$1,
3098
- remove: remove,
3099
- subtotal: subtotal,
3100
- goToCart: goToCart,
3101
- continueShopping: continueShopping,
3102
- addedToCart: addedToCart,
3103
- general: general,
3104
- buttons: buttons
3210
+ const deStorefrontAccount = {
3211
+ common: common$2,
3212
+ login: login,
3213
+ profile: profile,
3214
+ orders: orders,
3215
+ addresses: addresses,
3216
+ registration: registration,
3217
+ general: general$1,
3218
+ navigation: navigation,
3219
+ recovery: recovery,
3220
+ payment: payment,
3221
+ tasks: tasks
3105
3222
  };
3106
3223
 
3107
- const actions$1 = {
3108
- cancelOrder: "Bestellung stornieren",
3109
- back: "Zurück"
3110
- };
3111
- const shipping = {
3112
- standard: "Standard",
3113
- express: "Express"
3114
- };
3115
- const deStorefrontOrder = {
3116
- actions: actions$1,
3117
- shipping: shipping
3224
+ const common$1 = {
3225
+ salutation: "Anrede",
3226
+ firstName: "Vorname",
3227
+ lastName: "Nachname",
3228
+ company: "Unternehmen",
3229
+ department: "Abteilung",
3230
+ street: "Straße",
3231
+ postalCode: "Postleitzahl"
3118
3232
  };
3119
-
3120
- const title = "Seite nicht gefunden";
3121
- const message = "Die angeforderte Seite konnte nicht gefunden werden.";
3122
- const backToHome = "Zurück zur Startseite";
3123
- const searchPlaceholder = "Produkte suchen...";
3124
- const suggestions = "Vorschläge";
3125
- const backToShop = "Zurück";
3126
- const deStorefrontPageNotFound = {
3127
- title: title,
3128
- message: message,
3129
- backToHome: backToHome,
3130
- searchPlaceholder: searchPlaceholder,
3131
- suggestions: suggestions,
3132
- backToShop: backToShop
3233
+ const actions$2 = {
3234
+ editAddress: "Bearbeiten",
3235
+ useAsDefaultBilling: "Als Standard-Rechnungsadresse verwenden",
3236
+ useAsDefaultShipping: "Als Standard-Lieferadresse verwenden",
3237
+ addressOptions: "Adress-Optionen",
3238
+ deleteAddress: "Adresse löschen"
3133
3239
  };
3134
-
3135
- const methods = {
3136
- cashOnDelivery: "Nachnahme",
3137
- paidInAdvance: "Vorkasse",
3138
- invoice: "Rechnung"
3240
+ const badges = {
3241
+ defaultBilling: "Standard-Rechnungsadresse",
3242
+ defaultShipping: "Standard-Lieferadresse"
3139
3243
  };
3140
- const actions = {
3141
- change: "Ändern",
3142
- completePayment: "Zahlung abschließen"
3244
+ const messages = {
3245
+ deliveryNotPossible: "Eine Lieferung in dieses Land ist nicht möglich."
3143
3246
  };
3144
- const deStorefrontPayment = {
3145
- methods: methods,
3146
- actions: actions
3247
+ const deStorefrontAddress = {
3248
+ common: common$1,
3249
+ actions: actions$2,
3250
+ badges: badges,
3251
+ messages: messages
3147
3252
  };
3148
3253
 
3149
- const detail = {
3150
- addToCart: "In den Warenkorb",
3151
- addToWishlist: "Auf die Wunschliste",
3152
- availableFrom: "Verfügbar ab",
3153
- deliveryTime: "Lieferzeit",
3154
- description: "Beschreibung",
3155
- price: "Preis",
3156
- quantity: "Anzahl",
3157
- relatedProducts: "Verwandte Produkte",
3158
- reviews: "Bewertungen",
3159
- specifications: "Spezifikationen",
3160
- stock: "Lagerbestand"
3161
- };
3162
- const listing = {
3163
- filter: "Filter",
3164
- noResults: "Keine Ergebnisse gefunden",
3165
- showMore: "Mehr anzeigen",
3166
- sortBy: "Sortieren nach",
3167
- sorting: "Sortierung",
3168
- noProductsFound: "Keine Produkte gefunden."
3254
+ const common = {
3255
+ back: "Zurück",
3256
+ paymentMethod: "Zahlungsart",
3257
+ cashOnDelivery: "Nachnahme",
3258
+ paidInAdvance: "Vorkasse",
3259
+ invoice: "Rechnung",
3260
+ shippingMethod: "Versandart",
3261
+ standard: "Standard",
3262
+ express: "Express",
3263
+ grandTotal: "Gesamtsumme",
3264
+ plusVat: "zzgl.",
3265
+ vatSuffix: " % MwSt."
3169
3266
  };
3170
- const search = {
3171
- noResults: "Keine Suchergebnisse",
3172
- placeholder: "Suchbegriff eingeben",
3173
- results: "Suchergebnisse"
3267
+ const cart = {
3268
+ shoppingCart: "Warenkorb",
3269
+ goToCheckout: "Zur Kasse gehen",
3270
+ displayShoppingCart: "Warenkorb anzeigen",
3271
+ continueShopping: "Weiter einkaufen",
3272
+ promoCode: "Aktionscode",
3273
+ emptyCart: "Ihr Warenkorb ist leer.",
3274
+ quantity: "Anzahl",
3275
+ stockReached: "nur noch 1x verfügbar"
3174
3276
  };
3175
- const addToCart = "In den Warenkorb";
3176
- const addToWishlist = "Auf die Wunschliste";
3177
- const removeFromWishlist = "Von der Wunschliste entfernen";
3178
- const deliveryTime = "Lieferzeit";
3179
- const quantity = "Anzahl";
3180
- const review = {
3181
- tabTitle: "Bewertungen",
3182
- title: "Titel",
3183
- text: "Bewertungstext",
3184
- emptyText: "Noch keine Bewertungen vorhanden",
3185
- submitMessage: "Bewertung abgesendet"
3277
+ const confirm = {
3278
+ confirmOrder: "Bestellung bestätigen",
3279
+ orderSummary: "Bestellübersicht",
3280
+ shippingAddress: "Lieferadresse",
3281
+ billingAddress: "Rechnungsadresse",
3282
+ agreeToTerms: "Ich stimme den AGBs zu",
3283
+ revocationNotice: "Widerrufsbelehrung",
3284
+ completeOrder: "Bestellung abschließen",
3285
+ submitOrder: "Zahlungspflichtig bestellen",
3286
+ termsAndConditions: "Ich habe die AGB gelesen und bin mit ihnen einverstanden.",
3287
+ immediateAccessToDigitalProduct: "Ja, ich möchte sofort Zugang zu dem digitalen Inhalt und weiß, dass mein Widerrufsrecht mit dem Zugang erlischt.",
3288
+ autoConfirmTermsText: "Mit Ihrer Bestellung akzeptieren Sie unsere AGB und die Widerrufsbelehrung."
3186
3289
  };
3187
- const deStorefrontProduct = {
3188
- detail: detail,
3189
- listing: listing,
3190
- search: search,
3191
- addToCart: addToCart,
3192
- addToWishlist: addToWishlist,
3193
- removeFromWishlist: removeFromWishlist,
3194
- deliveryTime: deliveryTime,
3195
- quantity: quantity,
3196
- review: review
3290
+ const finish = {
3291
+ thankYouForOrder: "Vielen Dank für Ihre Bestellung"
3197
3292
  };
3198
-
3199
- const passwordRecovery = "Passwort-Wiederherstellung";
3200
- const subtitle = "Wir senden Ihnen eine Bestätigungs-E-Mail. Klicken Sie auf den Link in dieser E-Mail, um Ihr Passwort zu ändern.";
3201
- const requestEmail = "E-Mail anfordern";
3202
- const back = "Zurück";
3203
- const emailSent = "Falls die angegebene E-Mail-Adresse registriert ist, wurde eine Bestätigungs-E-Mail mit einem Link zum Zurücksetzen des Passworts gesendet.";
3204
- const newPassword = "Neues Passwort";
3205
- const passwordConfirmation = "Passwort bestätigen";
3206
- const changePassword = "Passwort ändern";
3207
- const invalidLink = "Der Link zum Zurücksetzen des Passworts scheint ungültig zu sein.";
3208
- const deStorefrontRecover = {
3209
- passwordRecovery: passwordRecovery,
3210
- subtitle: subtitle,
3211
- requestEmail: requestEmail,
3212
- back: back,
3213
- emailSent: emailSent,
3214
- newPassword: newPassword,
3215
- passwordConfirmation: passwordConfirmation,
3216
- changePassword: changePassword,
3217
- invalidLink: invalidLink
3293
+ const orderEdit = {
3294
+ cancelOrder: "Bestellung stornieren"
3218
3295
  };
3219
-
3220
- const removeProduct = "Vom Merkzettel entfernen";
3221
- const deStorefrontWishlist = {
3222
- removeProduct: removeProduct
3296
+ const deStorefrontCheckout = {
3297
+ common: common,
3298
+ cart: cart,
3299
+ confirm: confirm,
3300
+ finish: finish,
3301
+ orderEdit: orderEdit
3223
3302
  };
3224
3303
 
3225
- const BUNDLED_RESOURCES = {
3226
- en: {
3227
- // Administration
3228
- "administration/category": administrationCategory,
3229
- "administration/customer": administrationCustomer,
3230
- "administration/customField": administrationCustomField,
3231
- "administration/dataSharing": administrationDataSharing,
3232
- "administration/document": administrationDocument,
3233
- "administration/landingPage": administrationLandingPage,
3234
- "administration/layout": administrationLayout,
3235
- "administration/login": administrationLogin,
3236
- "administration/flowBuilder": administrationFlowBuilder,
3237
- "administration/dashboard": administrationDashboard,
3238
- "administration/manufacturer": administrationManufacturer,
3239
- "administration/media": administrationMedia,
3240
- "administration/order": administrationOrder,
3241
- "administration/payment": administrationPayment,
3242
- "administration/promotion": administrationPromotion,
3243
- "administration/rule": administrationRule,
3244
- "administration/settings": administrationSettings,
3245
- "administration/shipping": administrationShipping,
3246
- "administration/yourProfile": administrationYourProfile,
3247
- "administration/customerGroup": administrationCustomerGroup,
3248
- "administration/firstRunWizard": administrationFirstRunWizard,
3249
- "administration/shopwareServices": administrationShopwareServices,
3250
- "administration/product": administrationProduct,
3251
- "administration/salesChannel": administrationSalesChannel,
3252
- // Storefront
3253
- "storefront/account": storefrontAccount,
3254
- "storefront/address": storefrontAddress,
3255
- "storefront/checkout": storefrontCheckout,
3256
- "storefront/product": storefrontProduct,
3257
- "storefront/navigation": storefrontNavigation,
3258
- "storefront/contact": storefrontContact,
3259
- "storefront/consent": storefrontConsent,
3260
- "storefront/header": storefrontHeader,
3261
- "storefront/home": storefrontHome,
3262
- "storefront/login": storefrontLogin,
3263
- "storefront/order": storefrontOrder,
3264
- "storefront/pageNotFound": storefrontPageNotFound,
3265
- "storefront/payment": storefrontPayment,
3266
- "storefront/recover": storefrontRecover,
3267
- "storefront/offCanvasCart": storefrontOffCanvasCart,
3268
- "storefront/wishlist": storefrontWishlist
3269
- },
3270
- de: {
3271
- // Administration
3272
- "administration/category": deAdministrationCategory,
3273
- "administration/customer": deAdministrationCustomer,
3274
- "administration/customerGroup": deAdministrationCustomerGroup,
3275
- "administration/customField": deAdministrationCustomField,
3276
- "administration/dashboard": deAdministrationDashboard,
3277
- "administration/dataSharing": deAdministrationDataSharing,
3278
- "administration/document": deAdministrationDocument,
3279
- "administration/firstRunWizard": deAdministrationFirstRunWizard,
3280
- "administration/flowBuilder": deAdministrationFlowBuilder,
3281
- "administration/landingPage": deAdministrationLandingPage,
3282
- "administration/layout": deAdministrationLayout,
3283
- "administration/login": deAdministrationLogin,
3284
- "administration/manufacturer": deAdministrationManufacturer,
3285
- "administration/media": deAdministrationMedia,
3286
- "administration/order": deAdministrationOrder,
3287
- "administration/payment": deAdministrationPayment,
3288
- "administration/product": deAdministrationProduct,
3289
- "administration/promotion": deAdministrationPromotion,
3290
- "administration/rule": deAdministrationRule,
3291
- "administration/settings": deAdministrationSettings,
3292
- "administration/shipping": deAdministrationShipping,
3293
- "administration/shopwareServices": deAdministrationShopwareServices,
3294
- "administration/yourProfile": deAdministrationYourProfile,
3295
- "administration/salesChannel": deAdministrationSalesChannel,
3296
- // Storefront
3297
- "storefront/account": deStorefrontAccount,
3298
- "storefront/address": deStorefrontAddress,
3299
- "storefront/checkout": deStorefrontCheckout,
3300
- "storefront/consent": deStorefrontConsent,
3301
- "storefront/contact": deStorefrontContact,
3302
- "storefront/header": deStorefrontHeader,
3303
- "storefront/home": deStorefrontHome,
3304
- "storefront/login": deStorefrontLogin,
3305
- "storefront/navigation": deStorefrontNavigation,
3306
- "storefront/offCanvasCart": deStorefrontOffCanvasCart,
3307
- "storefront/order": deStorefrontOrder,
3308
- "storefront/pageNotFound": deStorefrontPageNotFound,
3309
- "storefront/payment": deStorefrontPayment,
3310
- "storefront/product": deStorefrontProduct,
3311
- "storefront/recover": deStorefrontRecover,
3312
- "storefront/wishlist": deStorefrontWishlist
3313
- }
3314
- };
3315
- const baseNamespaces = {
3316
- administration: {
3317
- category: administrationCategory,
3318
- customer: administrationCustomer,
3319
- customField: administrationCustomField,
3320
- dataSharing: administrationDataSharing,
3321
- document: administrationDocument,
3322
- landingPage: administrationLandingPage,
3323
- layout: administrationLayout,
3324
- login: administrationLogin,
3325
- flowBuilder: administrationFlowBuilder,
3326
- dashboard: administrationDashboard,
3327
- manufacturer: administrationManufacturer,
3328
- media: administrationMedia,
3329
- order: administrationOrder,
3330
- payment: administrationPayment,
3331
- promotion: administrationPromotion,
3332
- rule: administrationRule,
3333
- settings: administrationSettings,
3334
- shipping: administrationShipping,
3335
- yourProfile: administrationYourProfile,
3336
- customerGroup: administrationCustomerGroup,
3337
- firstRunWizard: administrationFirstRunWizard,
3338
- shopwareServices: administrationShopwareServices,
3339
- product: administrationProduct,
3340
- salesChannel: administrationSalesChannel
3341
- },
3342
- storefront: {
3343
- account: storefrontAccount,
3344
- address: storefrontAddress,
3345
- checkout: storefrontCheckout,
3346
- product: storefrontProduct,
3347
- navigation: storefrontNavigation,
3348
- contact: storefrontContact,
3349
- consent: storefrontConsent,
3350
- header: storefrontHeader,
3351
- home: storefrontHome,
3352
- login: storefrontLogin,
3353
- order: storefrontOrder,
3354
- pageNotFound: storefrontPageNotFound,
3355
- payment: storefrontPayment,
3356
- recover: storefrontRecover,
3357
- offCanvasCart: storefrontOffCanvasCart,
3358
- wishlist: storefrontWishlist
3359
- }
3304
+ const cookie = {
3305
+ title: "Cookie-Einstellungen",
3306
+ description: "Wir verwenden Cookies, um Ihnen die bestmögliche Nutzung unserer Website zu ermöglichen.",
3307
+ acceptAll: "Alle akzeptieren",
3308
+ acceptSelected: "Auswahl akzeptieren",
3309
+ decline: "Ablehnen",
3310
+ necessary: "Notwendig",
3311
+ functional: "Funktional",
3312
+ statistics: "Statistiken",
3313
+ acceptAllCookies: "Alle Cookies akzeptieren",
3314
+ configure: "Konfigurieren",
3315
+ onlyTechnicallyRequired: "Nur technisch erforderliche",
3316
+ preferences: "Cookie-Einstellungen",
3317
+ marketing: "Marketing"
3318
+ };
3319
+ const privacy = {
3320
+ policy: "Datenschutzrichtlinie",
3321
+ readMore: "Mehr lesen"
3322
+ };
3323
+ const deStorefrontConsent = {
3324
+ cookie: cookie,
3325
+ privacy: privacy
3360
3326
  };
3361
3327
 
3362
- const LOCALE_MAPPINGS = {
3363
- "en-US": { countryCode: "US", currencyCode: "USD", currencySymbol: "$", languageCode: "en-GB" },
3364
- "en-GB": { countryCode: "GB", currencyCode: "GBP", currencySymbol: "\xA3", languageCode: "en-GB" },
3365
- "en-DE": { countryCode: "DE", currencyCode: "EUR", currencySymbol: "\u20AC", languageCode: "en-GB" },
3366
- "de-DE": { countryCode: "DE", currencyCode: "EUR", currencySymbol: "\u20AC", languageCode: "de-DE" }
3328
+ const title$2 = "Titel";
3329
+ const link = {
3330
+ contactForm: "Kontaktformular"
3367
3331
  };
3368
- const COUNTRY_ADDRESS_DATA = {
3369
- DE: {
3370
- street: "Ebbinghoff 10",
3371
- city: "Sch\xF6ppingen",
3372
- country: "Germany",
3373
- postalCode: "48624",
3374
- vatRegNo: "DE1234567890"
3375
- },
3376
- US: {
3377
- street: "1600 Pennsylvania Avenue NW",
3378
- city: "Washington",
3379
- country: "United States of America",
3380
- postalCode: "20500",
3381
- vatRegNo: "US123456789"
3382
- },
3383
- GB: {
3384
- street: "10 Downing Street",
3385
- city: "London",
3386
- country: "United Kingdom",
3387
- postalCode: "SW1A 2AA",
3388
- vatRegNo: "GB123456789"
3389
- }
3332
+ const form = {
3333
+ contact: "Kontakt",
3334
+ salutation: "Anrede",
3335
+ firstName: "Vorname",
3336
+ lastName: "Nachname",
3337
+ email: "Ihre E-Mail-Adresse",
3338
+ phone: "Telefon",
3339
+ subject: "Betreff",
3340
+ comment: "Kommentar",
3341
+ submit: "Senden",
3342
+ privacyPolicy: "Durch die Auswahl von 'Weiter' bestätigen Sie, dass Sie unsere gelesen und akzeptiert haben",
3343
+ emailAddress: "E-Mail-Adresse"
3390
3344
  };
3391
- const getCountryAddressData = (countryCode) => {
3392
- const code = countryCode || getCountryCodeFromLocale(getLocale());
3393
- if (code in COUNTRY_ADDRESS_DATA) {
3394
- return COUNTRY_ADDRESS_DATA[code];
3395
- }
3396
- return COUNTRY_ADDRESS_DATA.GB;
3345
+ const email = {
3346
+ from: "doNotReply@localhost.com",
3347
+ subject: "Ihre Anmeldung"
3397
3348
  };
3398
- const getLocale = () => {
3399
- const rawLocale = process.env.LANG || process.env.LANGUAGE || process.env.lang || "en-GB";
3400
- const locale = rawLocale.split(".")[0].replace(/_/g, "-");
3401
- return LOCALE_MAPPINGS[locale] ? locale : "en-GB";
3349
+ const deStorefrontContact = {
3350
+ title: title$2,
3351
+ link: link,
3352
+ form: form,
3353
+ email: email
3402
3354
  };
3403
- const getLanguageCode = (locale) => {
3404
- const mapping = LOCALE_MAPPINGS[locale ?? getLocale()];
3405
- return mapping ? mapping.languageCode : "en-GB";
3355
+
3356
+ const topBarNav = "Shop-Einstellungen";
3357
+ const currencyDropdown = "Währung ändern";
3358
+ const languageDropdown = "Sprache ändern";
3359
+ const skipToContentLink = "Zum Hauptinhalt springen";
3360
+ const searchInputAriaLabel = "Suchbegriff eingeben ...";
3361
+ const wishlistIcon = "Merkzettel";
3362
+ const shoppingCart = "Warenkorb";
3363
+ const deStorefrontHeader = {
3364
+ topBarNav: topBarNav,
3365
+ currencyDropdown: currencyDropdown,
3366
+ languageDropdown: languageDropdown,
3367
+ skipToContentLink: skipToContentLink,
3368
+ searchInputAriaLabel: searchInputAriaLabel,
3369
+ wishlistIcon: wishlistIcon,
3370
+ shoppingCart: shoppingCart
3406
3371
  };
3407
- const getCountryCodeFromLocale = (locale) => {
3408
- const mapping = LOCALE_MAPPINGS[locale ?? getLocale()];
3409
- return mapping ? mapping.countryCode : "GB";
3372
+
3373
+ const account = {
3374
+ yourAccount: "Ihr Konto"
3410
3375
  };
3411
- const getCurrencyCodeFromLocale = (locale) => {
3412
- const mapping = LOCALE_MAPPINGS[locale ?? getLocale()];
3413
- return mapping ? mapping.currencyCode : "GBP";
3376
+ const consent = {
3377
+ close: "Cookie-Voreinstellungen schließen",
3378
+ onlyTechnicallyRequired: "Nur technisch erforderlich",
3379
+ technicallyRequired: "Technisch erforderlich",
3380
+ configure: "Konfigurieren",
3381
+ acceptAllCookies: "Alle Cookies akzeptieren",
3382
+ cookiePreferences: "Cookie-Einstellungen",
3383
+ marketing: "Marketing",
3384
+ statistics: "Statistiken",
3385
+ save: "Speichern"
3414
3386
  };
3415
- const getCurrencySymbolFromLocale = (locale) => {
3416
- const mapping = LOCALE_MAPPINGS[locale ?? getLocale()];
3417
- return mapping ? mapping.currencySymbol : "\xA3";
3387
+ const filters = {
3388
+ filterPanel: "Produkte filtern",
3389
+ labelPrefix: "Filtern nach ",
3390
+ manufacturer: "Hersteller",
3391
+ price: "Preis",
3392
+ resetAll: "Alle zurücksetzen",
3393
+ freeShipping: "Filter hinzufügen: Versandkostenfrei",
3394
+ rating: "Mindestbewertung",
3395
+ minRating: "mind. {{rating}}/5"
3418
3396
  };
3419
- const formatPrice = (price, locale, currencyCode) => {
3420
- const currentLocale = locale || getLocale();
3421
- const currency = currencyCode || getCurrencyCodeFromLocale(currentLocale);
3422
- const formatter = new Intl.NumberFormat(currentLocale, {
3423
- style: "currency",
3424
- currency,
3425
- currencyDisplay: "symbol",
3426
- minimumFractionDigits: 2,
3427
- maximumFractionDigits: 2
3428
- });
3429
- return formatter.format(price).replace(/\u00A0/g, " ");
3397
+ const listing$1 = {
3398
+ addToShoppingCart: "In den Warenkorb"
3430
3399
  };
3431
- const getLanguageData = async (adminApiContext, languageCode) => {
3432
- const code = languageCode || getLanguageCode(getLocale());
3433
- const resp = await adminApiContext.post("search/language", {
3434
- data: {
3435
- limit: 1,
3436
- filter: [
3437
- {
3438
- type: "equals",
3439
- field: "translationCode.code",
3440
- value: code
3441
- }
3442
- ],
3443
- associations: { translationCode: {} }
3444
- }
3445
- });
3446
- const result = await resp.json();
3447
- if (result.data.length === 0) {
3448
- throw new Error(`Language ${code} not found`);
3449
- }
3450
- return result.data[0];
3400
+ const deStorefrontHome = {
3401
+ account: account,
3402
+ consent: consent,
3403
+ filters: filters,
3404
+ listing: listing$1
3451
3405
  };
3452
- const getSnippetSetId = async (adminApiContext, languageCode) => {
3453
- const code = languageCode || getLanguageCode(getLocale());
3454
- const resp = await adminApiContext.post("search/snippet-set", {
3455
- data: {
3456
- limit: 1,
3457
- filter: [
3458
- {
3459
- type: "equals",
3460
- field: "iso",
3461
- value: code
3462
- }
3463
- ]
3464
- }
3465
- });
3466
- const result = await resp.json();
3467
- return result.data[0].id;
3406
+
3407
+ const emailAddress = "Ihre E-Mail-Adresse";
3408
+ const password = "Ihr Passwort";
3409
+ const loginButton = "Anmelden";
3410
+ const forgotPassword = "Ich habe mein Passwort vergessen.";
3411
+ const logout = "Abmelden";
3412
+ const invalidCredentials = "Es konnte kein Konto gefunden werden, das den angegebenen Anmeldedaten entspricht.";
3413
+ const successfulLogout = "Erfolgreich abgemeldet.";
3414
+ const passwordUpdated = "Ihr Passwort wurde aktualisiert.";
3415
+ const register = {
3416
+ salutation: "Anrede",
3417
+ firstName: "Vorname",
3418
+ lastName: "Nachname",
3419
+ company: "Unternehmen",
3420
+ department: "Abteilung",
3421
+ emailAddress: "E-Mail-Adresse",
3422
+ password: "Passwort",
3423
+ streetAddress: "Straße und Hausnummer",
3424
+ city: "Stadt",
3425
+ country: "Land",
3426
+ postalCode: "Postleitzahl",
3427
+ state: "Bundesland",
3428
+ differentShippingAddress: "Lieferadresse weicht von Rechnungsadresse ab.",
3429
+ "continue": "Weiter"
3468
3430
  };
3469
- const getCurrency = async (adminApiContext, isoCode) => {
3470
- const code = isoCode || getCurrencyCodeFromLocale(getLocale());
3471
- const resp = await adminApiContext.post("search/currency", {
3472
- data: {
3473
- limit: 1,
3474
- filter: [
3475
- {
3476
- type: "equals",
3477
- field: "isoCode",
3478
- value: code
3479
- }
3480
- ]
3481
- }
3482
- });
3483
- const result = await resp.json();
3484
- if (result.data.length === 0) {
3485
- throw new Error(`Currency ${code} not found`);
3486
- }
3487
- return result.data[0];
3431
+ const deStorefrontLogin = {
3432
+ emailAddress: emailAddress,
3433
+ password: password,
3434
+ loginButton: loginButton,
3435
+ forgotPassword: forgotPassword,
3436
+ logout: logout,
3437
+ invalidCredentials: invalidCredentials,
3438
+ successfulLogout: successfulLogout,
3439
+ passwordUpdated: passwordUpdated,
3440
+ register: register
3488
3441
  };
3489
- const getTaxId = async (adminApiContext) => {
3490
- const resp = await adminApiContext.post("search/tax", {
3491
- data: { limit: 1 }
3492
- });
3493
- const result = await resp.json();
3494
- return result.data[0].id;
3442
+
3443
+ const pageNotFound = {
3444
+ title: "Seite nicht gefunden",
3445
+ backToShop: "Zurück zum Shop"
3446
+ };
3447
+ const home = {
3448
+ yourAccount: "Ihr Konto",
3449
+ manufacturerFilter: "Hersteller",
3450
+ priceFilter: "Preis",
3451
+ resetAll: "Alle zurücksetzen",
3452
+ freeShipping: "Kostenloser Versand"
3453
+ };
3454
+ const footer = {
3455
+ contactForm: "Kontaktformular"
3456
+ };
3457
+ const category = {
3458
+ sorting: "Sortierung",
3459
+ addToCart: "In den Warenkorb legen",
3460
+ noProductsFound: "Keine Produkte gefunden."
3495
3461
  };
3496
- const getPaymentMethodId = async (adminApiContext, handlerId) => {
3497
- const handler = handlerId || "Shopware\\Core\\Checkout\\Payment\\Cart\\PaymentHandler\\InvoicePayment";
3498
- const resp = await adminApiContext.post("search/payment-method", {
3499
- data: {
3500
- limit: 1,
3501
- filter: [
3502
- {
3503
- type: "equals",
3504
- field: "handlerIdentifier",
3505
- value: handler
3506
- }
3507
- ]
3508
- }
3509
- });
3510
- const result = await resp.json();
3511
- return result.data[0].id;
3462
+ const deStorefrontNavigation = {
3463
+ pageNotFound: pageNotFound,
3464
+ home: home,
3465
+ footer: footer,
3466
+ category: category
3512
3467
  };
3513
- const getDefaultShippingMethodId = async (adminApiContext) => {
3514
- const resp = await adminApiContext.post("search/shipping-method", {
3515
- data: {
3516
- limit: 1,
3517
- filter: [
3518
- {
3519
- type: "equals",
3520
- field: "name",
3521
- value: "Standard"
3522
- }
3523
- ]
3524
- }
3525
- });
3526
- const result = await resp.json();
3527
- return result.data[0].id;
3468
+
3469
+ const title$1 = "Warenkorb";
3470
+ const emptyCart = "Ihr Warenkorb ist leer";
3471
+ const quantity$1 = "Anzahl";
3472
+ const remove = "Entfernen";
3473
+ const subtotal = "Zwischensumme";
3474
+ const goToCart = "Zum Warenkorb";
3475
+ const continueShopping = "Weiter einkaufen";
3476
+ const addedToCart = "Zum Warenkorb hinzugefügt";
3477
+ const general = {
3478
+ title: "Titel"
3528
3479
  };
3529
- const getShippingMethodId = async (name, adminApiContext) => {
3530
- const resp = await adminApiContext.post("search/shipping-method", {
3531
- data: {
3532
- limit: 1,
3533
- filter: [
3534
- {
3535
- type: "equals",
3536
- field: "name",
3537
- value: name
3538
- }
3539
- ]
3540
- }
3541
- });
3542
- const result = await resp.json();
3543
- return result.data[0].id;
3480
+ const buttons = {
3481
+ goToCheckout: "Zur Kasse gehen",
3482
+ goToCart: "Display shopping cart",
3483
+ continueShopping: "Fortfahren"
3544
3484
  };
3545
- const getCountryId = async (iso2, adminApiContext) => {
3546
- const resp = await adminApiContext.post("search/country", {
3547
- data: {
3548
- limit: 1,
3549
- filter: [
3550
- {
3551
- type: "equals",
3552
- field: "iso",
3553
- value: iso2
3554
- }
3555
- ]
3556
- }
3557
- });
3558
- const result = await resp.json();
3559
- return result.data[0].id;
3485
+ const deStorefrontOffCanvasCart = {
3486
+ title: title$1,
3487
+ emptyCart: emptyCart,
3488
+ quantity: quantity$1,
3489
+ remove: remove,
3490
+ subtotal: subtotal,
3491
+ goToCart: goToCart,
3492
+ continueShopping: continueShopping,
3493
+ addedToCart: addedToCart,
3494
+ general: general,
3495
+ buttons: buttons
3560
3496
  };
3561
- const getThemeId = async (technicalName, adminApiContext) => {
3562
- const resp = await adminApiContext.post("search/theme", {
3563
- data: {
3564
- limit: 1,
3565
- filter: [
3566
- {
3567
- type: "equals",
3568
- field: "technicalName",
3569
- value: technicalName
3570
- }
3571
- ]
3572
- }
3573
- });
3574
- const result = await resp.json();
3575
- return result.data[0].id;
3497
+
3498
+ const actions$1 = {
3499
+ cancelOrder: "Bestellung stornieren",
3500
+ back: "Zurück"
3576
3501
  };
3577
- const getSalutationId = async (salutationKey, adminApiContext) => {
3578
- const resp = await adminApiContext.post("search/salutation", {
3579
- data: {
3580
- limit: 1,
3581
- filter: [
3582
- {
3583
- type: "equals",
3584
- field: "salutationKey",
3585
- value: salutationKey
3586
- }
3587
- ]
3588
- }
3589
- });
3590
- const result = await resp.json();
3591
- return result.data[0].id;
3502
+ const shipping = {
3503
+ standard: "Standard",
3504
+ express: "Express"
3592
3505
  };
3593
- const getStateMachineId = async (technicalName, adminApiContext) => {
3594
- const resp = await adminApiContext.post("search/state-machine", {
3595
- data: {
3596
- limit: 1,
3597
- filter: [
3598
- {
3599
- type: "equals",
3600
- field: "technicalName",
3601
- value: technicalName
3602
- }
3603
- ]
3604
- }
3605
- });
3606
- const result = await resp.json();
3607
- return result.data[0].id;
3506
+ const deStorefrontOrder = {
3507
+ actions: actions$1,
3508
+ shipping: shipping
3608
3509
  };
3609
- const getStateMachineStateId = async (stateMachineId, adminApiContext) => {
3610
- const resp = await adminApiContext.post("search/state-machine-state", {
3611
- data: {
3612
- limit: 1,
3613
- filter: [
3614
- {
3615
- type: "equals",
3616
- field: "stateMachineId",
3617
- value: stateMachineId
3618
- }
3619
- ]
3620
- }
3621
- });
3622
- const result = await resp.json();
3623
- return result.data[0].id;
3510
+
3511
+ const title = "Seite nicht gefunden";
3512
+ const message = "Die angeforderte Seite konnte nicht gefunden werden.";
3513
+ const backToHome = "Zurück zur Startseite";
3514
+ const searchPlaceholder = "Produkte suchen...";
3515
+ const suggestions = "Vorschläge";
3516
+ const backToShop = "Zurück";
3517
+ const deStorefrontPageNotFound = {
3518
+ title: title,
3519
+ message: message,
3520
+ backToHome: backToHome,
3521
+ searchPlaceholder: searchPlaceholder,
3522
+ suggestions: suggestions,
3523
+ backToShop: backToShop
3624
3524
  };
3625
- const getFlowId = async (flowName, adminApiContext) => {
3626
- const resp = await adminApiContext.post("./search/flow", {
3627
- data: {
3628
- limit: 1,
3629
- filter: [
3630
- {
3631
- type: "equals",
3632
- field: "name",
3633
- value: flowName
3634
- }
3635
- ]
3636
- }
3637
- });
3638
- const result = await resp.json();
3639
- return result.data[0].id;
3525
+
3526
+ const methods = {
3527
+ cashOnDelivery: "Nachnahme",
3528
+ paidInAdvance: "Vorkasse",
3529
+ invoice: "Rechnung"
3640
3530
  };
3641
- const getOrderTransactionId = async (orderId, adminApiContext) => {
3642
- const orderTransactionResponse = await adminApiContext.get(`order/${orderId}/transactions?_response`);
3643
- const { data: orderTransaction } = await orderTransactionResponse.json();
3644
- return orderTransaction[0].id;
3531
+ const actions = {
3532
+ change: "Ändern",
3533
+ completePayment: "Zahlung abschließen"
3645
3534
  };
3646
- const getMediaId = async (fileName, adminApiContext) => {
3647
- const resp = await adminApiContext.post("./search/media", {
3648
- data: {
3649
- limit: 1,
3650
- filter: [
3651
- {
3652
- type: "equals",
3653
- field: "fileName",
3654
- value: fileName
3655
- }
3656
- ]
3657
- }
3658
- });
3659
- const result = await resp.json();
3660
- return result.data[0].id;
3535
+ const deStorefrontPayment = {
3536
+ methods: methods,
3537
+ actions: actions
3661
3538
  };
3662
- const getFlowTemplate = async (flowTemplateId, adminApiContext) => {
3663
- const flowTemplateResponse = await adminApiContext.post(`search/flow-template`, {
3664
- data: {
3665
- limit: 1,
3666
- filter: [
3667
- {
3668
- type: "equals",
3669
- field: "id",
3670
- value: flowTemplateId
3671
- }
3672
- ]
3673
- }
3674
- });
3675
- const result = await flowTemplateResponse.json();
3676
- return result.data[0];
3539
+
3540
+ const detail = {
3541
+ addToCart: "In den Warenkorb",
3542
+ addToWishlist: "Auf die Wunschliste",
3543
+ availableFrom: "Verfügbar ab",
3544
+ deliveryTime: "Lieferzeit",
3545
+ description: "Beschreibung",
3546
+ price: "Preis",
3547
+ quantity: "Anzahl",
3548
+ relatedProducts: "Verwandte Produkte",
3549
+ reviews: "Bewertungen",
3550
+ specifications: "Spezifikationen",
3551
+ stock: "Lagerbestand"
3552
+ };
3553
+ const listing = {
3554
+ filter: "Filter",
3555
+ noResults: "Keine Ergebnisse gefunden",
3556
+ showMore: "Mehr anzeigen",
3557
+ sortBy: "Sortieren nach",
3558
+ sorting: "Sortierung",
3559
+ noProductsFound: "Keine Produkte gefunden."
3677
3560
  };
3678
- const getFlow = async (flowId, adminApiContext) => {
3679
- const flowResponse = await adminApiContext.post(`search/flow`, {
3680
- data: {
3681
- limit: 1,
3682
- filter: [
3683
- {
3684
- type: "equals",
3685
- field: "id",
3686
- value: flowId
3687
- }
3688
- ],
3689
- associations: { sequences: {} }
3690
- }
3691
- });
3692
- const result = await flowResponse.json();
3693
- return result.data[0];
3561
+ const search = {
3562
+ noResults: "Keine Suchergebnisse",
3563
+ placeholder: "Suchbegriff eingeben",
3564
+ results: "Suchergebnisse"
3694
3565
  };
3695
- const compareFlowTemplateWithFlow = async (flowId, flowTemplateId, adminApiContext) => {
3696
- const flowTemplateData = await getFlowTemplate(flowTemplateId, adminApiContext);
3697
- const flowData = await getFlow(flowId, adminApiContext);
3698
- if (flowTemplateData.config.eventName != flowData.eventName) {
3699
- return false;
3700
- }
3701
- let i = 0;
3702
- for (const sequenceTemplate of flowTemplateData.config.sequences) {
3703
- if (sequenceTemplate.actionName != flowData.sequences[i].actionName) {
3704
- return false;
3705
- }
3706
- if (JSON.stringify(sequenceTemplate.config) != JSON.stringify(flowData.sequences[i].config)) {
3707
- return false;
3708
- }
3709
- i++;
3710
- }
3711
- return true;
3566
+ const addToCart = "In den Warenkorb";
3567
+ const addToWishlist = "Auf die Wunschliste";
3568
+ const removeFromWishlist = "Von der Wunschliste entfernen";
3569
+ const deliveryTime = "Lieferzeit";
3570
+ const quantity = "Anzahl";
3571
+ const review = {
3572
+ tabTitle: "Bewertungen",
3573
+ title: "Titel",
3574
+ text: "Bewertungstext",
3575
+ emptyText: "Noch keine Bewertungen vorhanden",
3576
+ submitMessage: "Bewertung abgesendet"
3712
3577
  };
3713
- function extractIdFromUrl(url) {
3714
- const segments = url.split("/");
3715
- return segments.length > 0 ? segments[segments.length - 1] : null;
3716
- }
3717
- const setOrderStatus = async (orderId, orderStatus, adminApiContext) => {
3718
- return await adminApiContext.post(`./_action/order/${orderId}/state/${orderStatus}`);
3578
+ const deStorefrontProduct = {
3579
+ detail: detail,
3580
+ listing: listing,
3581
+ search: search,
3582
+ addToCart: addToCart,
3583
+ addToWishlist: addToWishlist,
3584
+ removeFromWishlist: removeFromWishlist,
3585
+ deliveryTime: deliveryTime,
3586
+ quantity: quantity,
3587
+ review: review
3719
3588
  };
3720
- const getPromotionWithDiscount = async (promotionId, adminApiContext) => {
3721
- const resp = await adminApiContext.post("search/promotion", {
3722
- data: {
3723
- limit: 1,
3724
- associations: {
3725
- discounts: {
3726
- limit: 10,
3727
- type: "equals",
3728
- field: "promotionId",
3729
- value: promotionId
3730
- }
3731
- },
3732
- filter: [
3733
- {
3734
- type: "equals",
3735
- field: "id",
3736
- value: promotionId
3737
- }
3738
- ]
3739
- }
3740
- });
3741
- const { data: promotion } = await resp.json();
3742
- return promotion[0];
3589
+
3590
+ const passwordRecovery = "Passwort-Wiederherstellung";
3591
+ const subtitle = "Wir senden Ihnen eine Bestätigungs-E-Mail. Klicken Sie auf den Link in dieser E-Mail, um Ihr Passwort zu ändern.";
3592
+ const requestEmail = "E-Mail anfordern";
3593
+ const back = "Zurück";
3594
+ const emailSent = "Falls die angegebene E-Mail-Adresse registriert ist, wurde eine Bestätigungs-E-Mail mit einem Link zum Zurücksetzen des Passworts gesendet.";
3595
+ const newPassword = "Neues Passwort";
3596
+ const passwordConfirmation = "Passwort bestätigen";
3597
+ const changePassword = "Passwort ändern";
3598
+ const invalidLink = "Der Link zum Zurücksetzen des Passworts scheint ungültig zu sein.";
3599
+ const deStorefrontRecover = {
3600
+ passwordRecovery: passwordRecovery,
3601
+ subtitle: subtitle,
3602
+ requestEmail: requestEmail,
3603
+ back: back,
3604
+ emailSent: emailSent,
3605
+ newPassword: newPassword,
3606
+ passwordConfirmation: passwordConfirmation,
3607
+ changePassword: changePassword,
3608
+ invalidLink: invalidLink
3743
3609
  };
3744
- const updateAdminUser = async (adminUserId, adminApiContext, data) => {
3745
- await adminApiContext.patch(`user/${adminUserId}?_response=basic`, {
3746
- data
3747
- });
3610
+
3611
+ const removeProduct = "Vom Merkzettel entfernen";
3612
+ const deStorefrontWishlist = {
3613
+ removeProduct: removeProduct
3614
+ };
3615
+
3616
+ const BUNDLED_RESOURCES = {
3617
+ en: {
3618
+ // Administration
3619
+ "administration/category": administrationCategory,
3620
+ "administration/customer": administrationCustomer,
3621
+ "administration/customField": administrationCustomField,
3622
+ "administration/dataSharing": administrationDataSharing,
3623
+ "administration/document": administrationDocument,
3624
+ "administration/landingPage": administrationLandingPage,
3625
+ "administration/layout": administrationLayout,
3626
+ "administration/login": administrationLogin,
3627
+ "administration/flowBuilder": administrationFlowBuilder,
3628
+ "administration/dashboard": administrationDashboard,
3629
+ "administration/manufacturer": administrationManufacturer,
3630
+ "administration/media": administrationMedia,
3631
+ "administration/order": administrationOrder,
3632
+ "administration/payment": administrationPayment,
3633
+ "administration/promotion": administrationPromotion,
3634
+ "administration/rule": administrationRule,
3635
+ "administration/settings": administrationSettings,
3636
+ "administration/shipping": administrationShipping,
3637
+ "administration/yourProfile": administrationYourProfile,
3638
+ "administration/customerGroup": administrationCustomerGroup,
3639
+ "administration/firstRunWizard": administrationFirstRunWizard,
3640
+ "administration/shopwareServices": administrationShopwareServices,
3641
+ "administration/product": administrationProduct,
3642
+ "administration/salesChannel": administrationSalesChannel,
3643
+ // Storefront
3644
+ "storefront/account": storefrontAccount,
3645
+ "storefront/address": storefrontAddress,
3646
+ "storefront/checkout": storefrontCheckout,
3647
+ "storefront/product": storefrontProduct,
3648
+ "storefront/navigation": storefrontNavigation,
3649
+ "storefront/contact": storefrontContact,
3650
+ "storefront/consent": storefrontConsent,
3651
+ "storefront/header": storefrontHeader,
3652
+ "storefront/home": storefrontHome,
3653
+ "storefront/login": storefrontLogin,
3654
+ "storefront/order": storefrontOrder,
3655
+ "storefront/pageNotFound": storefrontPageNotFound,
3656
+ "storefront/payment": storefrontPayment,
3657
+ "storefront/recover": storefrontRecover,
3658
+ "storefront/offCanvasCart": storefrontOffCanvasCart,
3659
+ "storefront/wishlist": storefrontWishlist
3660
+ },
3661
+ de: {
3662
+ // Administration
3663
+ "administration/category": deAdministrationCategory,
3664
+ "administration/customer": deAdministrationCustomer,
3665
+ "administration/customerGroup": deAdministrationCustomerGroup,
3666
+ "administration/customField": deAdministrationCustomField,
3667
+ "administration/dashboard": deAdministrationDashboard,
3668
+ "administration/dataSharing": deAdministrationDataSharing,
3669
+ "administration/document": deAdministrationDocument,
3670
+ "administration/firstRunWizard": deAdministrationFirstRunWizard,
3671
+ "administration/flowBuilder": deAdministrationFlowBuilder,
3672
+ "administration/landingPage": deAdministrationLandingPage,
3673
+ "administration/layout": deAdministrationLayout,
3674
+ "administration/login": deAdministrationLogin,
3675
+ "administration/manufacturer": deAdministrationManufacturer,
3676
+ "administration/media": deAdministrationMedia,
3677
+ "administration/order": deAdministrationOrder,
3678
+ "administration/payment": deAdministrationPayment,
3679
+ "administration/product": deAdministrationProduct,
3680
+ "administration/promotion": deAdministrationPromotion,
3681
+ "administration/rule": deAdministrationRule,
3682
+ "administration/settings": deAdministrationSettings,
3683
+ "administration/shipping": deAdministrationShipping,
3684
+ "administration/shopwareServices": deAdministrationShopwareServices,
3685
+ "administration/yourProfile": deAdministrationYourProfile,
3686
+ "administration/salesChannel": deAdministrationSalesChannel,
3687
+ // Storefront
3688
+ "storefront/account": deStorefrontAccount,
3689
+ "storefront/address": deStorefrontAddress,
3690
+ "storefront/checkout": deStorefrontCheckout,
3691
+ "storefront/consent": deStorefrontConsent,
3692
+ "storefront/contact": deStorefrontContact,
3693
+ "storefront/header": deStorefrontHeader,
3694
+ "storefront/home": deStorefrontHome,
3695
+ "storefront/login": deStorefrontLogin,
3696
+ "storefront/navigation": deStorefrontNavigation,
3697
+ "storefront/offCanvasCart": deStorefrontOffCanvasCart,
3698
+ "storefront/order": deStorefrontOrder,
3699
+ "storefront/pageNotFound": deStorefrontPageNotFound,
3700
+ "storefront/payment": deStorefrontPayment,
3701
+ "storefront/product": deStorefrontProduct,
3702
+ "storefront/recover": deStorefrontRecover,
3703
+ "storefront/wishlist": deStorefrontWishlist
3704
+ }
3705
+ };
3706
+ const baseNamespaces = {
3707
+ administration: {
3708
+ category: administrationCategory,
3709
+ customer: administrationCustomer,
3710
+ customField: administrationCustomField,
3711
+ dataSharing: administrationDataSharing,
3712
+ document: administrationDocument,
3713
+ landingPage: administrationLandingPage,
3714
+ layout: administrationLayout,
3715
+ login: administrationLogin,
3716
+ flowBuilder: administrationFlowBuilder,
3717
+ dashboard: administrationDashboard,
3718
+ manufacturer: administrationManufacturer,
3719
+ media: administrationMedia,
3720
+ order: administrationOrder,
3721
+ payment: administrationPayment,
3722
+ promotion: administrationPromotion,
3723
+ rule: administrationRule,
3724
+ settings: administrationSettings,
3725
+ shipping: administrationShipping,
3726
+ yourProfile: administrationYourProfile,
3727
+ customerGroup: administrationCustomerGroup,
3728
+ firstRunWizard: administrationFirstRunWizard,
3729
+ shopwareServices: administrationShopwareServices,
3730
+ product: administrationProduct,
3731
+ salesChannel: administrationSalesChannel
3732
+ },
3733
+ storefront: {
3734
+ account: storefrontAccount,
3735
+ address: storefrontAddress,
3736
+ checkout: storefrontCheckout,
3737
+ product: storefrontProduct,
3738
+ navigation: storefrontNavigation,
3739
+ contact: storefrontContact,
3740
+ consent: storefrontConsent,
3741
+ header: storefrontHeader,
3742
+ home: storefrontHome,
3743
+ login: storefrontLogin,
3744
+ order: storefrontOrder,
3745
+ pageNotFound: storefrontPageNotFound,
3746
+ payment: storefrontPayment,
3747
+ recover: storefrontRecover,
3748
+ offCanvasCart: storefrontOffCanvasCart,
3749
+ wishlist: storefrontWishlist
3750
+ }
3748
3751
  };
3749
3752
 
3750
3753
  function normalizeLanguage(input) {
@@ -4296,7 +4299,7 @@ class TestDataService {
4296
4299
  * @param currencyId - The uuid of the currency to use for the product pricing.
4297
4300
  */
4298
4301
  async createDigitalProduct(content = "Lorem ipsum dolor", overrides = {}, taxId = this.defaultTaxId, currencyId = this.defaultCurrencyId) {
4299
- const product = await this.createBasicProduct(overrides, taxId, currencyId);
4302
+ const product = await this.createBasicProduct({ type: "digital", ...overrides }, taxId, currencyId);
4300
4303
  const media = await this.createMediaTXT(content);
4301
4304
  await this.assignProductDownload(product.id, media.id);
4302
4305
  return product;
@@ -7264,6 +7267,7 @@ class CheckoutConfirm {
7264
7267
  grandTotalPrice;
7265
7268
  taxPrice;
7266
7269
  submitOrderButton;
7270
+ termsAutoConfirmedText;
7267
7271
  /**
7268
7272
  * Payment and Shipping options
7269
7273
  */
@@ -7300,6 +7304,7 @@ class CheckoutConfirm {
7300
7304
  this.shippingStandard = page.getByLabel(translate("storefront:checkout:common.standard"));
7301
7305
  this.shippingExpress = page.getByLabel(translate("storefront:checkout:common.express"));
7302
7306
  this.cartLineItemImages = page.locator(".line-item-img-link");
7307
+ this.termsAutoConfirmedText = page.locator(".checkout-confirm-tos-information");
7303
7308
  }
7304
7309
  url() {
7305
7310
  return "checkout/confirm";
@@ -12446,8 +12451,12 @@ const ConfirmTermsAndConditions = test$e.extend({
12446
12451
  ConfirmTermsAndConditions: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
12447
12452
  const task = () => {
12448
12453
  return async function ConfirmTermsAndConditions2() {
12449
- await ShopCustomer.presses(StorefrontCheckoutConfirm.termsAndConditionsCheckbox);
12450
- await ShopCustomer.expects(StorefrontCheckoutConfirm.termsAndConditionsCheckbox).toBeChecked();
12454
+ if (await StorefrontCheckoutConfirm.termsAndConditionsCheckbox.isVisible()) {
12455
+ await ShopCustomer.presses(StorefrontCheckoutConfirm.termsAndConditionsCheckbox);
12456
+ await ShopCustomer.expects(StorefrontCheckoutConfirm.termsAndConditionsCheckbox).toBeChecked();
12457
+ } else {
12458
+ await ShopCustomer.expects(StorefrontCheckoutConfirm.termsAutoConfirmedText).toBeVisible();
12459
+ }
12451
12460
  };
12452
12461
  };
12453
12462
  await use(task);