Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit 80f4664

Browse files
authored
Merge pull request #4031 from DivanteLtd/hotfix/v1.11.1
Hotfix/v1.11.1
2 parents 74dca89 + 4943c9a commit 80f4664

File tree

86 files changed

+1408
-627
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+1408
-627
lines changed

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,42 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.11.1] - 2020.02.05
9+
10+
### Added
11+
- Add `ProductPrice` component with bundleOptions and customOptions prices - @gibkigonzo (#3978)
12+
- Add lazy create cart token - @gibkigonzo (#3994)
13+
14+
### Changed / Improved
15+
- Set cache tag when loading a category - @haelbichalex (#3940)
16+
- In development build `webpack.config.js` in theme folder is now called without the `default` key
17+
18+
### Fixed
19+
- Added Finnish translations - @mattiteraslahti and @alphpkeemik
20+
- Updated Estonian translations to match 1.11 - @alphpkeemik
21+
- CookieNotification CSR&SSR mismatch fixed - @Fifciu (#3922)
22+
- The attribute filter in `attribute/list` was not filtering the already loaded attributes properly - @pkarw (#3964)
23+
- Update `hasProductErrors` in Product component and support additional sku in custom options - @gibkigonzo (#3976)
24+
- Fixed logic for generating ${lang}.json files in multi-store setup - @jpkempf
25+
- Fixed logic for collecting valid locales in single-store, multi-lang setup - @jpkempf
26+
- Make initial custom option value reactive - @gibkigonzo
27+
- Fixed No image thumbnails leaded on 404 page - @andrzejewsky (#3955)
28+
- Fixed Stock logic not working with manage_stock set to false - @andrzejewsky - (#3957)
29+
- Support old price format in `ProductPrice` - @gibkigonzo (#3978)
30+
- Fixed product bundle comparison condition - @gk-daniel (#4004)
31+
- Add event callback for checkout load initial data - @gibkigonzo(#3985)
32+
- Fixed `Processing order...` modal closing too early - @grimasod (#4021)
33+
- Keep registered payment methods after `syncTotals` - @grimasod (#4020)
34+
- Added status code to the cache content and use it in cache response - @resubaka (#4014)
35+
- Fixed sku attribute is missing on compare page - @gibkigonzo (#4036)
36+
- Fixed z-index for aside in compare list - @gibkigonzo (#4037)
37+
- Disable checking max quantity when manage stock is set to false - @gibkigonzo (#4038)
38+
- Add products quantity only when token is created - @gibkigonzo (#4017)
39+
- Revert init filters in Vue app - add storeView to global/store and pass it to filters - @gibkigonzo (#3929)
40+
- Fix v-model not working in BaseRadioButton - @lukeromanowicz (#4035)
41+
- always keep filters values as array of object - @gibkigonzo (#4045)
42+
- Fix ecosystem config to work with ts-node - @andrzejewsky (#3981)
43+
844
## [1.11.0] - 2019.12.20
945

1046
### Added

config/default.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@
270270
"width": 150,
271271
"height": 150
272272
},
273-
"bypassCartLoaderForAuthorizedUsers": true,
274273
"serverMergeByDefault": true,
275274
"serverSyncCanRemoveLocalItems": false,
276275
"serverSyncCanModifyLocalItems": false,

core/app.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,6 @@ const createApp = async (ssrContext, config, storeCode = null): Promise<{app: Vu
7777
})
7878
})
7979

80-
// @todo remove this part when we'll get rid of global multistore mixin
81-
if (isServer) {
82-
Object.defineProperty(ssrContext, 'helpers', {
83-
value: {
84-
currentStoreView
85-
},
86-
writable: true
87-
})
88-
}
89-
9080
let vueOptions = {
9181
router: routerProxy,
9282
store,

core/build/dev-server.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ const path = require('path')
22
const webpack = require('webpack')
33
const MFS = require('memory-fs')
44

5-
let baseClientConfig = require('./webpack.client.config')
6-
let baseServerConfig = require('./webpack.server.config')
5+
let baseClientConfig = require('./webpack.client.config').default
6+
let baseServerConfig = require('./webpack.server.config').default
77

88
const themeRoot = require('./theme-path')
99
const extendedConfig = require(path.join(themeRoot, '/webpack.config.js'))
1010

11-
let clientConfig = extendedConfig(baseClientConfig, { isClient: true, isDev: true }).default;
12-
let serverConfig = extendedConfig(baseServerConfig, { isClient: false, isDev: true }).default;
11+
let clientConfig = extendedConfig(baseClientConfig, { isClient: true, isDev: true })
12+
let serverConfig = extendedConfig(baseServerConfig, { isClient: false, isDev: true })
1313

1414
module.exports = function setupDevServer (app, cb) {
1515
let bundle

core/filters/date.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ once('__VUE_EXTEND_DAYJS_LOCALIZED_FORMAT__', () => {
1212
* @param {String} date
1313
* @param {String} format
1414
*/
15-
export function date (date, format) {
16-
const displayFormat = format || currentStoreView().i18n.dateFormat
17-
let storeLocale = currentStoreView().i18n.defaultLocale.toLocaleLowerCase()
15+
export function date (date, format, storeView) {
16+
const _storeView = storeView || currentStoreView()
17+
const displayFormat = format || _storeView.i18n.dateFormat
18+
let storeLocale = _storeView.i18n.defaultLocale.toLocaleLowerCase()
1819
const separatorIndex = storeLocale.indexOf('-')
1920
const languageCode = (separatorIndex > -1) ? storeLocale.substr(0, separatorIndex) : storeLocale
2021

core/filters/price.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ const applyCurrencySign = (formattedPrice, { currencySign, priceFormat }) => {
1313
* Converts number to price string
1414
* @param {Number} value
1515
*/
16-
export function price (value) {
16+
export function price (value, storeView) {
1717
if (isNaN(value)) {
1818
return value;
1919
}
20-
const storeView = currentStoreView();
21-
if (!storeView.i18n) {
20+
const _storeView = storeView || currentStoreView();
21+
if (!_storeView.i18n) {
2222
return value;
2323
}
24-
const { defaultLocale, currencySign, priceFormat } = storeView.i18n
24+
const { defaultLocale, currencySign, priceFormat } = _storeView.i18n
2525

2626
const formattedValue = formatValue(value, defaultLocale);
2727
const valueWithSign = applyCurrencySign(formattedValue, { currencySign, priceFormat })

core/i18n/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const currentBuildLocales = (): string[] => {
66
? Object.values(config.storeViews)
77
.map((store: any) => store && typeof store === 'object' && store.i18n && store.i18n.defaultLocale)
88
.filter(Boolean)
9-
: []
9+
: config.i18n.availableLocale
1010
const locales = multistoreLocales.includes(defaultLocale)
1111
? multistoreLocales
1212
: [defaultLocale, ...multistoreLocales]

core/i18n/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue-storefront/i18n",
3-
"version": "1.11.0",
3+
"version": "1.11.1",
44
"description": "Vue Storefront i18n",
55
"license": "MIT",
66
"main": "index.ts",

core/i18n/resource/i18n/en-US.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"No such configuration for the product. Please do choose another combination of attributes.","No such configuration for the product. Please do choose another combination of attributes."
3131
"OK","OK"
3232
"Only {maxQuantity} products of this type are available!","Only {maxQuantity} products of this type are available!"
33-
"Or if you will stay on "Order confirmation" page, the order will be placed automatically without confirmation, once the internet connection will be back.","Or if you will stay on "Order confirmation" page, the order will be placed automatically without confirmation, once the internet connection will be back."
33+
"Or if you will stay on ""Order confirmation"" page, the order will be placed automatically without confirmation, once the internet connection will be back.","Or if you will stay on ""Order confirmation"" page, the order will be placed automatically without confirmation, once the internet connection will be back."
3434
"Out of stock!","Out of stock!"
3535
"Out of the stock!","Out of the stock!"
3636
"Payment Information","Payment Information"

core/i18n/resource/i18n/et-EE.csv

Lines changed: 76 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,90 @@
1-
"Registering the account ...","Konto loomine…"
1+
" is out of stock!","ei ole laos!"
2+
"404 Page Not Found","404 Lehekülge ei leitud"
3+
"Account data has successfully been updated","Konto andmed uuendatud"
4+
"Add review","Lisa kommentaar"
5+
"Adding a review ...","Lisan kommentaari ..."
6+
"Address provided in checkout contains invalid data. Please check if all required fields are filled in and also contact us on {email} to resolve this issue for future. Your order has been canceled.","Ostuvormistamisel sisestatud aadress sisaldab vigu! Palun kontrolli, et kõik kohustuslikud väljad oleksid täidetud või kirjuta meile {email}."
7+
"Allow notification about the order","Luba tellimusge seotud teadete edastamine"
8+
"Are you sure you would like to remove this item from the shopping cart?","Olete kindel, et soovite antud toote ostukorvist eemaldada?"
9+
"Compare Products","Võrdle tooteid"
10+
"Compare products","Võrdle tooteid"
11+
"Confirm your order","Kinnitage oma tellimus"
12+
"Error refreshing user token. User is not authorized to access the resource","Kasutaja tokeni uuendamisel esineb probleeme. Kasutajal puuduvad õigused antud lehele sisenemiseks"
13+
"Error with response - bad content-type!","Viga sisu laadimisel"
14+
"Error: Error while adding products","Viga toote lisamisel."
15+
"Extension developers would like to thank you for placing an order!","Mooduli loojad tänavad tellimuse tegemise eest!"
16+
"Field is required",Kohustuslik
17+
"Field is required.",Kohustuslik.
18+
"Grand total",Kokku
19+
"Home Page",Esileht
20+
"In stock!",Laos
21+
"Internal Application error while refreshing the tokens. Please clear the storage and refresh page.","Tokeni värskendamisel esines viga. Palun tühjendage vahemälu ja uuendage lehekülge."
22+
"Internal validation error. Please check if all required fields are filled in. Please contact us on {email}","Viga! Palun kontrolli, et kõik kohustuslikud väljad oleksid täidetud või kirjuta meile {email}."
23+
"Must be greater than 0","Peab olema suurem, kui 0"
24+
"My Account","Minu konto"
25+
"Newsletter preferences have successfully been updated","Uudiskirjaga liitumine uuendatud"
26+
"No available product variants","Toote valikvariandid puuduvad"
227
"No products synchronized for this category. Please come back while online!","Kategooria on tühi."
3-
"Shopping cart is empty. Please add some products before entering Checkout","Otsukorv on tühi."
4-
"Out of stock!","Laost otsas!"
5-
" is out of the stock!"," on laost otsas!"
6-
"Some of the ordered products are not available!","Mõned tellitud tooted ei ole kahjuks enam saadaval."
7-
"Please wait ...","Palun oota…"
8-
"Stock check in progress, please wait while available stock quantities are checked","Palun oota, kontrollime laoseise."
9-
"There is no Internet connection. You can still place your order. We will notify you if any of ordered products is not available because we cannot check it right now.","Interneti ühendus puudub. Saad sellegi poolest tellimuse luua. Kontrollime interneti ühenduse taastudes tellitud toodete laoseisu üle. Anname märku, kui mõni tellitud toodetest vahepeal otsa on saanud. "
1028
"No such configuration for the product. Please do choose another combination of attributes.","Sellise kombinatsiooniga toodet ei saa tellida."
11-
"The system is not sure about the stock quantity (volatile). Product has been added to the cart for pre-reservation.","Antud toodet ostetakse väga palju ja me ei ole laoseisu osas kindlad. Toode on ostukorvi lisatud ja Teie jaoks broneeritud."
12-
"This feature is not implemented yet! Please take a look at https://github.com/DivanteLtd/vue-storefront/issues for our Roadmap!","Sellist funktsionaalsust ei ole veel lisatud. Saad meie arendusplaanidega tutvuda https://github.com/DivanteLtd/vue-storefront/issues."
13-
"The product is out of stock and cannot be added to the cart!","Toode on kahjuks laost otsa saanud."
29+
"Only {maxQuantity} products of this type are available!","Ainult {maxQuantity} seda tüüpi toodet on saadaval!"
30+
"Or if you will stay on ""Order confirmation"" page, the order will be placed automatically without confirmation, once the internet connection will be back.","Või kui sa jäää ""Tellimuse kinnitus"" lehele, tellimus esitatakse internetiühenduse taastudes tellimus automaatselt."
31+
"Out of stock!","Laost otsas!"
32+
"Out of the stock!","Laost otsas"
33+
"Payment Information","Makse informatsioon"
34+
"Please configure product bundle options and fix the validation errors","Toode on valikutega. Palun valige sobivad valikud"
35+
"Please configure product custom options and fix the validation errors","Palun valige sobiv toode"
36+
"Please confirm order you placed when you was offline","Palun kinnitage oma tellimuse, mille ilma interneti ühenduseta varasemalt tegite"
37+
"Please fix the validation errors","Palun parandage valideerimise vead"
38+
"Please select the field which You like to sort by","Palun valige sorteerimise viis"
39+
"Please wait ...","Palun oota ..."
40+
"Proceed to checkout","Vormista ost"
41+
"Processing order...","Tellimuse loomine ..."
1442
"Product has been added to the cart!","Toode lisati ostukorvi."
43+
"Product price is unknown, product cannot be added to the cart!","Tootel puudub hind. Toodet ei saa ostukorvi lisada."
1544
"Product quantity has been updated!","Toote laoseis on uuendatud."
16-
"Internal validation error. Please check if all required fields are filled in. Please contact us on {email}","Viga! Palun kontrolli, et kõik kohustuslikud väljad oleksid täidetud või kirjuta meile {email}."
17-
"Address provided in checkout contains invalid data. Please check if all required fields are filled in and also contact us on {email} to resolve this issue for future. Your order has been canceled.","Ostuvormistamisel sisestatud aadress sisaldab vigu! Palun kontrolli, et kõik kohustuslikud väljad oleksid täidetud või kirjuta meile {email}."
1845
"Product {productName} has been added to the compare!","{productName} lisati võrdlusesse."
19-
"Product {productName} has been removed from compare!","{productName} võrdlusest eemaldatud."
2046
"Product {productName} has been added to wishlist!","{productName} Lisati soovikorvi."
21-
"Product {productName} has been removed from wishlit!","{productName} eemaldati soovikorvist"
22-
"Account data has successfully been updated","Konto andmed uuendatud"
23-
"Newsletter preferences have successfully been updated","Uudiskirjaga liitumine uuendatud"
47+
"Product {productName} has been removed from compare!","{productName} võrdlusest eemaldatud."
48+
"Product {productName} has been removed from wishlist!","{productName} on sooviloendist eemaldatud."
49+
"Quantity available offline","Kogus on saadaval internetiühenduseta"
50+
"Quantity available","Kogus on saadaval"
51+
"Quantity must be above 0","Laokogus peab olema suurem, kui 0"
52+
"Quantity must be below {quantity}","Laokogus peab olema alla {quantity}"
53+
"Quantity must be positive integer","Laokogus peab olema positiivne täisarv"
54+
"Registering the account ...","Konto loomine..."
2455
"Reset password feature does not work while offline!","Parooli ei saa kahjuks ilma interneti ühenduseta muuta."
25-
"You are logged in!","Olete sisse logitud."
26-
"Please fix the validation errors","Palun parandage valideerimise vead"
27-
"Product price is unknown, product cannot be added to the cart!","Tootel puudub hind. Toodet ei saa ostukorvi lisada."
28-
"My Account","Minu konto"
29-
"Type what you are looking for...",Otsi…
30-
"Home Page",Esileht
31-
Checkout,Ostuvormistamine
56+
"Select 0","Vali 0"
57+
"Select 1","Vali 1"
58+
"Shopping cart is empty. Please add some products before entering Checkout","Otsukorv on tühi."
59+
"Some of the ordered products are not available!","Mõned tellitud tooted ei ole kahjuks enam saadaval."
60+
"Stock check in progress, please wait while available stock quantities are checked","Palun oota, kontrollime laoseise."
3261
"Subtotal incl. tax","Kokku (sisaldab käibemaksu)"
33-
"Grand total",Kokku
34-
"Field is required",Kohustuslik
35-
"Field is required.",Kohustuslik.
36-
"You're logged out","Olete välja logitud"
37-
"Compare Products","Võrdle tooteid"
38-
"404 Page Not Found","404 Lehekülge ei leitud"
39-
"Error with response - bad content-type!","Viga sisu laadimisel"
62+
"The product is out of stock and cannot be added to the cart!","Toode on kahjuks laost otsa saanud."
63+
"The product, category or CMS page is not available in Offline mode. Redirecting to Home.","Antud toode, kategooria või sisuleht ei ole kahjuks ilma internetiühenduseta saadaval. Suuname ümber esilehele."
64+
"The system is not sure about the stock quantity (volatile). Product has been added to the cart for pre-reservation.","Antud toodet ostetakse väga palju ja me ei ole laoseisu osas kindlad. Toode on ostukorvi lisatud ja Teie jaoks broneeritud."
65+
"There is no Internet connection. You can still place your order. We will notify you if any of ordered products is not available because we cannot check it right now.","Interneti ühendus puudub. Saad sellegi poolest tellimuse luua. Kontrollime interneti ühenduse taastudes tellitud toodete laoseisu üle. Anname märku, kui mõni tellitud toodetest vahepeal otsa on saanud. "
66+
"This feature is not implemented yet! Please take a look at https://github.com/DivanteLtd/vue-storefront/issues for our Roadmap!","Sellist funktsionaalsust ei ole veel lisatud. Saad meie arendusplaanidega tutvuda https://github.com/DivanteLtd/vue-storefront/issues."
67+
"Type what you are looking for...","Otsi ..."
68+
"Unexpected authorization error. Check your Network conection.","Internetiühenduse viga. Palun kontrollige oma internetiühendust."
4069
"Unhandled error, wrong response format!","Vale päringu formaat"
41-
"not authorized","Ligipääs puudub"
42-
"Internal Application error while refreshing the tokens. Please clear the storage and refresh page.","Tokeni värskendamisel esines viga. Palun tühjendage vahemälu ja uuendage lehekülge."
43-
"Proceed to checkout","Vormista ost"
44-
OK,Ok
45-
"Out of the stock!","Laost otsas"
46-
"In stock!",Laos
47-
"Please configure product custom options and fix the validation errors","Palun valige sobiv toode"
48-
"Error refreshing user token. User is not authorized to access the resource","Kasutaja tokeni uuendamisel esineb probleeme. Kasutajal puuduvad õigused antud lehele sisenemiseks"
49-
"Must be greater than 0","Peab olema suurem, kui 0"
50-
"Please select the field which You like to sort by","Palun valige sorteerimise viis"
51-
"No available product variants","Toote valikvariandid puuduvad"
52-
email,E-mail
53-
password,Parool
54-
"Confirm your order","Kinnitage oma tellimus"
55-
"Please confirm order you placed when you was offline","Palun kinnitage oma tellimuse, mille ilma interneti ühenduseta varasemalt tegite"
56-
"Payment Information","Makse informatsioon"
70+
"Vue Storefront","Vue Storefront"
71+
"You are going to pay for this order upon delivery.","Maksmine toimub tellimuse kättesaamisel."
72+
"You are logged in!","Olete sisse logitud."
5773
"You are to pay for this order upon delivery.","Saate makse teostada tellimuse kätte saamisel."
58-
"Allow notification about the order","Luba tellimusge seotud teadete edastamine"
59-
"Extension developers would like to thank you for placing an order!","Mooduli loojad tänavad tellimuse tegemise eest!"
60-
"most you may purchase","maksimum ostu kogus"
74+
"You need to be logged in to see this page","Palun logige lehe nägemisesse sisse"
75+
"You submitted your review for moderation.","Tagasiside on edastatud üle vaatamiseks."
76+
"You're logged out","Olete välja logitud"
6177
"have as many","osta kuni"
62-
"Compare products","Võrdle tooteid"
63-
Reviews,Kommentaarid
78+
"most you may purchase","maksimum ostu kogus"
79+
"not authorized","Ligipääs puudub"
80+
"to account",kontole
81+
Checkout,Ostuvormistamine
82+
Columns,Tulbad
83+
OK,Ok
6484
Review,Kommentaar
65-
"Add review","Lisa kommentaar"
85+
Reviews,Kommentaarid
6686
Summary,Kokkuvõte
87+
Thumbnail,Pisipilt
88+
email,E-post
6789
login,"logi sisse"
68-
"to account",kontole
69-
"Are you sure you would like to remove this item from the shopping cart?","Olete kindel, et soovite antud toote ostukorvist eemaldada?"
70-
"The product, category or CMS page is not available in Offline mode. Redirecting to Home.","Antud toode, kategooria või sisuleht ei ole kahjuks ilma internetiühenduseta saadaval. Suuname ümber esilehele."
71-
"Please configure product bundle options and fix the validation errors","Toode on valikutega. Palun valige sobivad valikud"
72-
"Processing order...","Tellimuse loomine…"
73-
"You need to be logged in to see this page","Palun logige lehe nägemisesse sisse"
74-
"Quantity must be above 0","Laokogus peab olema suurem, kui 0"
75-
"Error: Error while adding products","Viga toote lisamisel."
76-
"Unexpected authorization error. Check your Network conection.","Internetiühenduse viga. Palun kontrollige oma internetiühendust."
77-
Columns,Tulbad
90+
password,Parool

0 commit comments

Comments
 (0)