diff --git a/wp-content/themes/cosmopet/global-functions/multilang-functions.php b/wp-content/themes/cosmopet/global-functions/multilang-functions.php index 6c9ed72..b30f38c 100644 --- a/wp-content/themes/cosmopet/global-functions/multilang-functions.php +++ b/wp-content/themes/cosmopet/global-functions/multilang-functions.php @@ -1829,6 +1829,9 @@ pll_register_string('Населенный пункт', 'Населенный п pll_register_string('Ваш город', 'Ваш город', 'Checkout'); pll_register_string('Оплатить', 'Оплатить', 'Checkout'); pll_register_string('Запомнить меня', 'Запомнить меня', 'Checkout'); + +pll_register_string('coming soon', 'coming soon', 'Not found'); +pll_register_string('This item is not on our website yet, but it will be here very soon', 'This item is not on our website yet, but it will be here very soon', 'Not found'); }); diff --git a/wp-content/themes/cosmopet/modules/shop/components/catalog/assets/css/catalog.css b/wp-content/themes/cosmopet/modules/shop/components/catalog/assets/css/catalog.css index 541477c..074e8f8 100644 --- a/wp-content/themes/cosmopet/modules/shop/components/catalog/assets/css/catalog.css +++ b/wp-content/themes/cosmopet/modules/shop/components/catalog/assets/css/catalog.css @@ -943,3 +943,72 @@ display: none; /* product */ } + +/* not-found */ +.not-found-title{ + font-family: 'Craftwork Grotesk'; + font-style: normal; + font-weight: 700; + font-size: 36px; + line-height: 43px; + text-align: center; + text-decoration-line: underline; + text-transform: uppercase; + color: #121212; + + } + .product-main, .not-found{ + width: 100%; + } + .not-found-text{ + /* This item is not on our website yet, but it will be here very soon */ + + max-width: 421px; + margin-right: auto; + margin-left: auto; + margin-top: 1em; + font-family: 'Craftwork Grotesk'; + font-style: normal; + font-weight: 500; + font-size: 24px; + line-height: 29px; + text-align: center; + + color: #121212; + + + /* Inside auto layout */ + flex: none; + order: 1; + flex-grow: 0; + + } + .not-found{ + width: 100%; + position: relative; + padding-top: 7rem; + padding-bottom: 7rem; + } + .not-found img{ + position: absolute; + top: 50%; + left: 50%; + pointer-events: none; + transform: translate(-50%, -50%); + min-width:750px; + } + @media (max-width: 640px) { + .not-found-title{ + font-size: 24px; + } + .not-found-text{ + font-size: 16px; + } + .not-found img{ + min-width:550px; + } + .not-found{ + overflow: hidden; + } + } +/* not-found end */ \ No newline at end of file diff --git a/wp-content/themes/cosmopet/static/img/sv.svg b/wp-content/themes/cosmopet/static/img/sv.svg new file mode 100644 index 0000000..8732de6 --- /dev/null +++ b/wp-content/themes/cosmopet/static/img/sv.svg @@ -0,0 +1,9 @@ + diff --git a/wp-content/themes/cosmopet/templates/_pages/shop/archive-product.twig b/wp-content/themes/cosmopet/templates/_pages/shop/archive-product.twig index 471d2d9..d0e9107 100644 --- a/wp-content/themes/cosmopet/templates/_pages/shop/archive-product.twig +++ b/wp-content/themes/cosmopet/templates/_pages/shop/archive-product.twig @@ -52,9 +52,18 @@ {% endif %}