diff --git a/wp-content/themes/cosmopet/modules/shop/components/single-product/assets/css/gp-style-desktop.css b/wp-content/themes/cosmopet/modules/shop/components/single-product/assets/css/gp-style-desktop.css index a48707c..8900568 100644 --- a/wp-content/themes/cosmopet/modules/shop/components/single-product/assets/css/gp-style-desktop.css +++ b/wp-content/themes/cosmopet/modules/shop/components/single-product/assets/css/gp-style-desktop.css @@ -1147,11 +1147,19 @@ main{ opacity: .6; } + +/* End | Toggle */ + + .radio-button{ } .radio-button__input{ display: none; } + + + + /* detail */ /* gallery */ diff --git a/wp-content/themes/cosmopet/modules/shop/components/single-product/component-template.twig b/wp-content/themes/cosmopet/modules/shop/components/single-product/component-template.twig index 07e40e9..e765802 100644 --- a/wp-content/themes/cosmopet/modules/shop/components/single-product/component-template.twig +++ b/wp-content/themes/cosmopet/modules/shop/components/single-product/component-template.twig @@ -179,26 +179,106 @@

+ + + - {# - - - - - - - - - -
РоссияВеликобританияЕвропа
-

34,5

-
-
-

34,5

-
-
#} - -
+ + + {% if product_meta.feeding_recommendations_table.header is defined %} + + + {% for col in product_meta.feeding_recommendations_table.header %} + + {% endfor %} + + + {% endif %} + + {% for row in product_meta.feeding_recommendations_table.body %} + + {% for cell in row %} + + {% endfor %} + + {% endfor %} + +
{{ col.c }}
+

{{ cell.c }}

+
+
+ + + + + {# Старая таблица #} + {#
{% if product_meta.feeding_recommendations_table.header %}

{{ product_meta.feeding_recommendations_table.header.0 is iterable ? product_meta.feeding_recommendations_table.header.0|join(', ') : product_meta.feeding_recommendations_table.header.0 }}

@@ -227,7 +307,9 @@ {% endfor %}
{% endif %} -
+
#} + +