@zonos/elements 1.3.129 → 1.3.130
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/cjs/{CheckoutConfig-62479cef.js → CheckoutConfig-1d38a21d.js} +2 -0
- package/dist/cjs/{cart-ba8cca00.js → cart-d5240ba9.js} +192 -5
- package/dist/cjs/{getBorderRadius-61ed5601.js → getBorderRadius-f72d8edf.js} +1 -1
- package/dist/cjs/index.cjs.js +8 -8
- package/dist/cjs/{isDarkColor-d206c6fa.js → isDarkColor-dd6d723b.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{paypal-441c3f79.js → paypal-78db30b7.js} +3 -3
- package/dist/cjs/zonos-address_7.cjs.entry.js +4 -4
- package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
- package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
- package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
- package/dist/cjs/zonos-card.cjs.entry.js +2 -2
- package/dist/cjs/zonos-cart-items_13.cjs.entry.js +5 -5
- package/dist/cjs/zonos-checkout.cjs.entry.js +82 -7
- package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +4 -4
- package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +4 -4
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
- package/dist/cjs/zonos-hello.cjs.entry.js +4 -4
- package/dist/cjs/zonos-input.cjs.entry.js +2 -2
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
- package/dist/cjs/zonos-notification_3.cjs.entry.js +5 -5
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
- package/dist/cjs/zonos-text.cjs.entry.js +1 -1
- package/dist/cjs/zonos-toggle.cjs.entry.js +1 -1
- package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
- package/dist/cjs/{zonosStore-e12d459c.js → zonosStore-293bb3ba.js} +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +77 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
- package/dist/collection/components/store/translationStore/strings.base.js +9 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
- package/dist/collection/components/store/translationStore/strings.french.js +9 -0
- package/dist/collection/components/store/translationStore/strings.german.js +9 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
- package/dist/collection/components/store/zonosStore.js +1 -0
- package/dist/collection/components/utils/api/prepCalculateLandedCost.js +9 -2
- package/dist/collection/scripts/cart/_setupCartData.js +2 -0
- package/dist/esm/{CheckoutConfig-5da839fa.js → CheckoutConfig-56c63bdf.js} +2 -0
- package/dist/esm/{cart-01b5bf4a.js → cart-4f1ee6dd.js} +192 -5
- package/dist/esm/{getBorderRadius-008516a4.js → getBorderRadius-bdd709e7.js} +1 -1
- package/dist/esm/index.js +9 -9
- package/dist/esm/{isDarkColor-dc08fa26.js → isDarkColor-c6924924.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{paypal-4c094b25.js → paypal-5b1964b6.js} +3 -3
- package/dist/esm/zonos-address_7.entry.js +4 -4
- package/dist/esm/zonos-badge.entry.js +1 -1
- package/dist/esm/zonos-banner.entry.js +1 -1
- package/dist/esm/zonos-button_3.entry.js +3 -3
- package/dist/esm/zonos-card.entry.js +2 -2
- package/dist/esm/zonos-cart-items_13.entry.js +5 -5
- package/dist/esm/zonos-checkout.entry.js +83 -8
- package/dist/esm/zonos-collapse.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +4 -4
- package/dist/esm/zonos-country-flag.entry.js +4 -4
- package/dist/esm/zonos-country-select_4.entry.js +4 -4
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +4 -4
- package/dist/esm/zonos-hello.entry.js +4 -4
- package/dist/esm/zonos-input.entry.js +2 -2
- package/dist/esm/zonos-language-select_2.entry.js +4 -4
- package/dist/esm/zonos-logo.entry.js +1 -1
- package/dist/esm/zonos-notification_3.entry.js +5 -5
- package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
- package/dist/esm/zonos-text.entry.js +1 -1
- package/dist/esm/zonos-toggle.entry.js +1 -1
- package/dist/esm/zonos-v-stack.entry.js +1 -1
- package/dist/esm/{zonosStore-6b5bd87c.js → zonosStore-c493c4fe.js} +1 -0
- package/dist/esm-es5/{CheckoutConfig-5da839fa.js → CheckoutConfig-56c63bdf.js} +1 -1
- package/dist/esm-es5/cart-4f1ee6dd.js +1 -0
- package/dist/esm-es5/{getBorderRadius-008516a4.js → getBorderRadius-bdd709e7.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-dc08fa26.js → isDarkColor-c6924924.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{paypal-4c094b25.js → paypal-5b1964b6.js} +1 -1
- package/dist/esm-es5/zonos-address_7.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-input.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/zonos-toggle.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-6b5bd87c.js → zonosStore-c493c4fe.js} +1 -1
- package/dist/scripts/index.d.ts +7 -0
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/types/checkout/CheckoutConfig.d.ts +5 -0
- package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +1 -0
- package/dist/types/types/checkout/api/NormalizedTempCart.d.ts +1 -0
- package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
- package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
- package/dist/types/types/generated/graphql.internal.types.d.ts +1 -0
- package/dist/types/types/generated/graphql.internal.types.ts +1 -0
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-2faa3104.system.entry.js → p-0531689a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1e4d8228.entry.js → p-0cf44851.entry.js} +1 -1
- package/dist/zonos-elements/{p-57d93236.entry.js → p-0cfab69e.entry.js} +1 -1
- package/dist/zonos-elements/{p-5ac777a7.system.entry.js → p-0fc96872.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-700c5732.entry.js → p-10cebad7.entry.js} +1 -1
- package/dist/zonos-elements/{p-e1ce04b1.js → p-10d6fe23.js} +1 -1
- package/dist/zonos-elements/{p-00dc1507.system.js → p-10efff62.system.js} +1 -1
- package/dist/zonos-elements/{p-55a3db7d.entry.js → p-124a4a50.entry.js} +1 -1
- package/dist/zonos-elements/{p-c93c9524.system.js → p-14022fab.system.js} +2 -2
- package/dist/zonos-elements/{p-7312d038.system.entry.js → p-19944a13.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9d057d1d.entry.js → p-1a6e9eec.entry.js} +1 -1
- package/dist/zonos-elements/{p-8ca3b73a.entry.js → p-1da0c1cb.entry.js} +1 -1
- package/dist/zonos-elements/{p-ff0a79e6.system.entry.js → p-22458c90.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-60b0025b.system.js → p-2b29a3ac.system.js} +1 -1
- package/dist/zonos-elements/{p-ce391c90.entry.js → p-30d6e78c.entry.js} +1 -1
- package/dist/zonos-elements/{p-4fee6e7f.system.entry.js → p-320e7cb9.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0bc813a9.system.entry.js → p-3a89fb48.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-4cd1e79c.system.entry.js → p-3cfa90d1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2bb86f3d.system.entry.js → p-3e4b11ed.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6c047faf.system.entry.js → p-3efbcf88.system.entry.js} +1 -1
- package/dist/zonos-elements/p-3f40806c.entry.js +1 -0
- package/dist/zonos-elements/{p-5e22a288.system.js → p-40596087.system.js} +1 -1
- package/dist/zonos-elements/{p-c3e98be6.system.js → p-46a5ec52.system.js} +1 -1
- package/dist/zonos-elements/p-49fff22c.js +1 -0
- package/dist/zonos-elements/{p-970527fe.entry.js → p-5b90dd6d.entry.js} +1 -1
- package/dist/zonos-elements/{p-0f465aa6.entry.js → p-5cd970b9.entry.js} +1 -1
- package/dist/zonos-elements/{p-3b5f49f6.system.entry.js → p-68cfdd01.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2906956b.entry.js → p-6b00344a.entry.js} +1 -1
- package/dist/zonos-elements/p-6b6cd6c3.system.js +1 -0
- package/dist/zonos-elements/{p-17a5550a.system.entry.js → p-72c682ac.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-10aef679.system.entry.js → p-7af3b735.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-a9069f68.js → p-7d3a63c5.js} +2 -2
- package/dist/zonos-elements/{p-91e111c4.entry.js → p-7fa88e0a.entry.js} +1 -1
- package/dist/zonos-elements/{p-8390f23d.system.entry.js → p-876ded0e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5ee9685e.system.entry.js → p-87945d75.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6de5611e.entry.js → p-92fbf9e6.entry.js} +1 -1
- package/dist/zonos-elements/p-942a0605.js +1 -0
- package/dist/zonos-elements/{p-08948e65.system.entry.js → p-9cb6599d.system.entry.js} +1 -1
- package/dist/zonos-elements/p-a1c26abb.system.entry.js +1 -0
- package/dist/zonos-elements/{p-8612f8d1.system.entry.js → p-a277cde0.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-26172f0d.entry.js → p-a49ac35e.entry.js} +1 -1
- package/dist/zonos-elements/p-a50ebda1.entry.js +1 -0
- package/dist/zonos-elements/{p-c562de4a.entry.js → p-bc8b22ad.entry.js} +1 -1
- package/dist/zonos-elements/{p-8b3d9796.system.entry.js → p-c39dc3e9.system.entry.js} +1 -1
- package/dist/zonos-elements/p-c78dd680.system.js +1 -1
- package/dist/zonos-elements/{p-67a32cc5.js → p-d10ffd69.js} +1 -1
- package/dist/zonos-elements/{p-0c6a933c.entry.js → p-d963d9d4.entry.js} +1 -1
- package/dist/zonos-elements/{p-5610934b.entry.js → p-db5e0d2b.entry.js} +1 -1
- package/dist/zonos-elements/{p-7c7feadb.system.entry.js → p-dc09df19.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d6f8309b.entry.js → p-dc823080.entry.js} +1 -1
- package/dist/zonos-elements/{p-e6fad32a.system.entry.js → p-e205ef1c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6b0a8709.system.entry.js → p-e5f27005.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-91cfbf46.js → p-edc16f69.js} +1 -1
- package/dist/zonos-elements/{p-798d715c.entry.js → p-fb6cf324.entry.js} +1 -1
- package/dist/zonos-elements/{p-a372a9a0.entry.js → p-fce202ab.entry.js} +1 -1
- package/dist/zonos-elements/p-fd05d150.system.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/cart-01b5bf4a.js +0 -1
- package/dist/zonos-elements/p-0e8613be.entry.js +0 -1
- package/dist/zonos-elements/p-4d4ea5dc.system.entry.js +0 -1
- package/dist/zonos-elements/p-582cdd52.system.js +0 -1
- package/dist/zonos-elements/p-94146bc9.js +0 -1
- package/dist/zonos-elements/p-9b0cbd91.entry.js +0 -1
- package/dist/zonos-elements/p-b7cfbfc1.js +0 -1
- package/dist/zonos-elements/p-c85b4e43.system.js +0 -1
|
@@ -185,6 +185,9 @@ export const stringsPortuguese = {
|
|
|
185
185
|
'Nothing due at the door': {
|
|
186
186
|
value: 'Nada a pagar na porta',
|
|
187
187
|
},
|
|
188
|
+
OK: {
|
|
189
|
+
value: 'OK',
|
|
190
|
+
},
|
|
188
191
|
'Order complete!': {
|
|
189
192
|
value: 'Pedido completo!',
|
|
190
193
|
},
|
|
@@ -299,6 +302,9 @@ export const stringsPortuguese = {
|
|
|
299
302
|
'Shipping method': {
|
|
300
303
|
value: 'Método de envio',
|
|
301
304
|
},
|
|
305
|
+
'Shopping cart expired': {
|
|
306
|
+
value: 'Carrinho de compras expirado',
|
|
307
|
+
},
|
|
302
308
|
Show: {
|
|
303
309
|
value: 'Mostrar',
|
|
304
310
|
},
|
|
@@ -380,6 +386,9 @@ export const stringsPortuguese = {
|
|
|
380
386
|
'Would you like to close checkout and return to the site?': {
|
|
381
387
|
value: 'Gostaria de fechar o checkout e voltar ao site?',
|
|
382
388
|
},
|
|
389
|
+
'You are being sent back to the shop to re-add items to your cart.': {
|
|
390
|
+
value: 'Você está sendo enviado de volta à loja para readicionar itens ao seu carrinho.',
|
|
391
|
+
},
|
|
383
392
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
384
393
|
value: 'Você pode incorrer em taxas adicionais da transportadora por não pagar antecipadamente.',
|
|
385
394
|
},
|
|
@@ -185,6 +185,9 @@ export const stringsRussian = {
|
|
|
185
185
|
'Nothing due at the door': {
|
|
186
186
|
value: 'На двери ничего не должно',
|
|
187
187
|
},
|
|
188
|
+
OK: {
|
|
189
|
+
value: 'OK',
|
|
190
|
+
},
|
|
188
191
|
'Order complete!': {
|
|
189
192
|
value: 'Заказ завершен!',
|
|
190
193
|
},
|
|
@@ -299,6 +302,9 @@ export const stringsRussian = {
|
|
|
299
302
|
'Shipping method': {
|
|
300
303
|
value: 'Способ доставки',
|
|
301
304
|
},
|
|
305
|
+
'Shopping cart expired': {
|
|
306
|
+
value: 'Срок действия корзины истек',
|
|
307
|
+
},
|
|
302
308
|
Show: {
|
|
303
309
|
value: 'Показать',
|
|
304
310
|
},
|
|
@@ -380,6 +386,9 @@ export const stringsRussian = {
|
|
|
380
386
|
'Would you like to close checkout and return to the site?': {
|
|
381
387
|
value: 'Вы хотите завершить оформление заказа и вернуться на сайт?',
|
|
382
388
|
},
|
|
389
|
+
'You are being sent back to the shop to re-add items to your cart.': {
|
|
390
|
+
value: 'Вас отправляют обратно в магазин, чтобы заново добавить товары в вашу корзину.',
|
|
391
|
+
},
|
|
383
392
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
384
393
|
value: 'Вы можете понести дополнительные расходы от перевозчика, если не оплатите заранее.',
|
|
385
394
|
},
|
|
@@ -185,6 +185,9 @@ export const stringsSpanish = {
|
|
|
185
185
|
'Nothing due at the door': {
|
|
186
186
|
value: 'Nada debido en la puerta',
|
|
187
187
|
},
|
|
188
|
+
OK: {
|
|
189
|
+
value: 'OK',
|
|
190
|
+
},
|
|
188
191
|
'Order complete!': {
|
|
189
192
|
value: '¡Pedido completado!',
|
|
190
193
|
},
|
|
@@ -299,6 +302,9 @@ export const stringsSpanish = {
|
|
|
299
302
|
'Shipping method': {
|
|
300
303
|
value: 'Método de envío',
|
|
301
304
|
},
|
|
305
|
+
'Shopping cart expired': {
|
|
306
|
+
value: 'Carrito de compras caducado',
|
|
307
|
+
},
|
|
302
308
|
Show: {
|
|
303
309
|
value: 'Mostrar',
|
|
304
310
|
},
|
|
@@ -380,6 +386,9 @@ export const stringsSpanish = {
|
|
|
380
386
|
'Would you like to close checkout and return to the site?': {
|
|
381
387
|
value: '¿Te gustaría cerrar la caja y volver al sitio?',
|
|
382
388
|
},
|
|
389
|
+
'You are being sent back to the shop to re-add items to your cart.': {
|
|
390
|
+
value: 'Se le envía de regreso a la tienda para volver a agregar artículos a su carrito.',
|
|
391
|
+
},
|
|
383
392
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
384
393
|
value: 'Puede incurrir en tarifas adicionales del transportista si no paga por adelantado.',
|
|
385
394
|
},
|
|
@@ -185,6 +185,9 @@ export const stringsSwedish = {
|
|
|
185
185
|
'Nothing due at the door': {
|
|
186
186
|
value: 'Ingenting att betala vid dörren',
|
|
187
187
|
},
|
|
188
|
+
OK: {
|
|
189
|
+
value: 'OK',
|
|
190
|
+
},
|
|
188
191
|
'Order complete!': {
|
|
189
192
|
value: 'Beställning slutförd!',
|
|
190
193
|
},
|
|
@@ -299,6 +302,9 @@ export const stringsSwedish = {
|
|
|
299
302
|
'Shipping method': {
|
|
300
303
|
value: 'Fraktmetod',
|
|
301
304
|
},
|
|
305
|
+
'Shopping cart expired': {
|
|
306
|
+
value: 'Kundvagn har gått ut',
|
|
307
|
+
},
|
|
302
308
|
Show: {
|
|
303
309
|
value: 'Visa',
|
|
304
310
|
},
|
|
@@ -380,6 +386,9 @@ export const stringsSwedish = {
|
|
|
380
386
|
'Would you like to close checkout and return to the site?': {
|
|
381
387
|
value: 'Vill du stänga kassan och återvända till webbplatsen?',
|
|
382
388
|
},
|
|
389
|
+
'You are being sent back to the shop to re-add items to your cart.': {
|
|
390
|
+
value: 'Du skickas tillbaka till butiken för att lägga till varor i din kundvagn igen.',
|
|
391
|
+
},
|
|
383
392
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
384
393
|
value: 'Du kan få extra avgifter från fraktbolaget om du inte förbetalar.',
|
|
385
394
|
},
|
|
@@ -185,6 +185,9 @@ export const stringsTurkish = {
|
|
|
185
185
|
'Nothing due at the door': {
|
|
186
186
|
value: 'Kapıda ödenecek bir şey yok',
|
|
187
187
|
},
|
|
188
|
+
OK: {
|
|
189
|
+
value: 'Tamam',
|
|
190
|
+
},
|
|
188
191
|
'Order complete!': {
|
|
189
192
|
value: 'Sipariş tamamlandı!',
|
|
190
193
|
},
|
|
@@ -299,6 +302,9 @@ export const stringsTurkish = {
|
|
|
299
302
|
'Shipping method': {
|
|
300
303
|
value: 'Kargo yöntemi',
|
|
301
304
|
},
|
|
305
|
+
'Shopping cart expired': {
|
|
306
|
+
value: 'Alışveriş sepeti süresi doldu',
|
|
307
|
+
},
|
|
302
308
|
Show: {
|
|
303
309
|
value: 'Göster',
|
|
304
310
|
},
|
|
@@ -380,6 +386,9 @@ export const stringsTurkish = {
|
|
|
380
386
|
'Would you like to close checkout and return to the site?': {
|
|
381
387
|
value: 'Ödemeyi kapatıp siteye geri dönmek ister misiniz?',
|
|
382
388
|
},
|
|
389
|
+
'You are being sent back to the shop to re-add items to your cart.': {
|
|
390
|
+
value: 'Sepetinize ürünleri yeniden eklemek için mağazaya geri gönderiliyorsunuz.',
|
|
391
|
+
},
|
|
383
392
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
384
393
|
value: 'Ön ödeme yapmazsanız, nakliye şirketinden ek ücretler alabilirsiniz.',
|
|
385
394
|
},
|
|
@@ -185,6 +185,9 @@ export const stringsVietnamese = {
|
|
|
185
185
|
'Nothing due at the door': {
|
|
186
186
|
value: 'Không có gì phải trả tại cửa',
|
|
187
187
|
},
|
|
188
|
+
OK: {
|
|
189
|
+
value: 'OK',
|
|
190
|
+
},
|
|
188
191
|
'Order complete!': {
|
|
189
192
|
value: 'Đơn hàng đã hoàn thành!',
|
|
190
193
|
},
|
|
@@ -299,6 +302,9 @@ export const stringsVietnamese = {
|
|
|
299
302
|
'Shipping method': {
|
|
300
303
|
value: 'Phương thức vận chuyển',
|
|
301
304
|
},
|
|
305
|
+
'Shopping cart expired': {
|
|
306
|
+
value: 'Giỏ hàng đã hết hạn',
|
|
307
|
+
},
|
|
302
308
|
Show: {
|
|
303
309
|
value: 'Hiển thị',
|
|
304
310
|
},
|
|
@@ -380,6 +386,9 @@ export const stringsVietnamese = {
|
|
|
380
386
|
'Would you like to close checkout and return to the site?': {
|
|
381
387
|
value: 'Bạn có muốn đóng thanh toán và quay lại trang web không?',
|
|
382
388
|
},
|
|
389
|
+
'You are being sent back to the shop to re-add items to your cart.': {
|
|
390
|
+
value: 'Bạn đang được gửi lại cửa hàng để thêm lại các mặt hàng vào giỏ hàng của mình.',
|
|
391
|
+
},
|
|
383
392
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
384
393
|
value: 'Bạn có thể phải chịu thêm phí từ nhà vận chuyển nếu không trả trước.',
|
|
385
394
|
},
|
|
@@ -12,6 +12,7 @@ const { dispose: zonosStoreDispose, reset, state: zonosStore, } = createStore(()
|
|
|
12
12
|
checkoutSettings: {
|
|
13
13
|
allowedCharacterSets: 'ALL',
|
|
14
14
|
analyticsProviders: [],
|
|
15
|
+
cartExpiration: 60,
|
|
15
16
|
externalPaymentMethods: [],
|
|
16
17
|
externalServiceTokens: [],
|
|
17
18
|
mode: 'TEST',
|
|
@@ -123,6 +123,13 @@ export const prepCalculateLandedCost = () => {
|
|
|
123
123
|
});
|
|
124
124
|
const billingFirstName = translatedBillingAddress.name.split(' ')[0] || '';
|
|
125
125
|
const billingLastName = translatedBillingAddress.name.split(' ').splice(1).join(' ') || '';
|
|
126
|
+
const convertedCartAdjuments = cartStore.adjustments.map(adjustment => ({
|
|
127
|
+
amount: adjustment.amount,
|
|
128
|
+
name: adjustment.description || null,
|
|
129
|
+
productId: adjustment.productId,
|
|
130
|
+
sku: adjustment.sku,
|
|
131
|
+
type: adjustment.type,
|
|
132
|
+
}));
|
|
126
133
|
const adjustments = cartStore.promoCode
|
|
127
134
|
? [
|
|
128
135
|
{
|
|
@@ -132,9 +139,9 @@ export const prepCalculateLandedCost = () => {
|
|
|
132
139
|
sku: null,
|
|
133
140
|
type: 'PROMO_CODE',
|
|
134
141
|
},
|
|
135
|
-
...
|
|
142
|
+
...convertedCartAdjuments,
|
|
136
143
|
]
|
|
137
|
-
:
|
|
144
|
+
: convertedCartAdjuments;
|
|
138
145
|
return {
|
|
139
146
|
billingAddress: {
|
|
140
147
|
addressLine1: translatedBillingAddress.line1,
|
|
@@ -14,6 +14,8 @@ export const setupCartData = async (cartId) => {
|
|
|
14
14
|
logError('[ZONOS - loadZonos] Error getting temp cart data, stop checkout process.');
|
|
15
15
|
return null;
|
|
16
16
|
}
|
|
17
|
+
window.Zonos.storeId = tempCartResult.cartData.storeId;
|
|
18
|
+
window.Zonos.zonosApiKey = tempCartResult.cartData.credentialToken;
|
|
17
19
|
return {
|
|
18
20
|
cartData: tempCartResult.cartData,
|
|
19
21
|
storeFavicon: tempCartResult.storeFaviconUrl,
|
|
@@ -53,6 +53,8 @@ const setupCartData = async (cartId) => {
|
|
|
53
53
|
logError('[ZONOS - loadZonos] Error getting temp cart data, stop checkout process.');
|
|
54
54
|
return null;
|
|
55
55
|
}
|
|
56
|
+
window.Zonos.storeId = tempCartResult.cartData.storeId;
|
|
57
|
+
window.Zonos.zonosApiKey = tempCartResult.cartData.credentialToken;
|
|
56
58
|
return {
|
|
57
59
|
cartData: tempCartResult.cartData,
|
|
58
60
|
storeFavicon: tempCartResult.storeFaviconUrl,
|