diff --git a/wp-content/themes/cosmopet/modules/shop/components/single-product/assets/css/gp-style-core.css b/wp-content/themes/cosmopet/modules/shop/components/single-product/assets/css/gp-style-core.css index 1dc8174..cc4aa00 100644 --- a/wp-content/themes/cosmopet/modules/shop/components/single-product/assets/css/gp-style-core.css +++ b/wp-content/themes/cosmopet/modules/shop/components/single-product/assets/css/gp-style-core.css @@ -504,4 +504,12 @@ input:checked + .subscription-option-details::before, input:checked + .wcsatt-op .detail__catalot .product__item{ flex-grow: 1; +} + +.toggle__title{ + text-transform: uppercase; +} + +.toggle__text p:not(:last-child) { + margin-bottom: 1em; } \ No newline at end of file diff --git a/wp-content/themes/cosmopet/templates/_pages/shop/product-single.twig b/wp-content/themes/cosmopet/templates/_pages/shop/product-single.twig index adcbcc8..f369540 100644 --- a/wp-content/themes/cosmopet/templates/_pages/shop/product-single.twig +++ b/wp-content/themes/cosmopet/templates/_pages/shop/product-single.twig @@ -325,6 +325,20 @@ {% endif %} + + {% if fn('get_field', 'free_delivery_active', 'options') %} +
+ {{ function('pll_e', 'Бесплатная доставка') }} +
+