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 b67ddfe..be94bfe 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 @@ -1565,4 +1565,9 @@ input:checked + .subscription-option-details::before, input:checked + .wcsatt-op .detail-block-form__item--radio{ display: flex; gap: 10px; +} + +.amount { + color: #1A1A1A; + font-weight: 600; } \ No newline at end of file diff --git a/wp-content/themes/cosmopet/templates/shop/product-subscription-options-prompt-radio-block.twig b/wp-content/themes/cosmopet/templates/shop/product-subscription-options-prompt-radio-block.twig new file mode 100644 index 0000000..023945a --- /dev/null +++ b/wp-content/themes/cosmopet/templates/shop/product-subscription-options-prompt-radio-block.twig @@ -0,0 +1,33 @@ +
diff --git a/wp-content/themes/cosmopet/woocommerce/single-product/product-subscription-options-prompt-radio.php b/wp-content/themes/cosmopet/woocommerce/single-product/product-subscription-options-prompt-radio.php index a3da641..ba29fe7 100644 --- a/wp-content/themes/cosmopet/woocommerce/single-product/product-subscription-options-prompt-radio.php +++ b/wp-content/themes/cosmopet/woocommerce/single-product/product-subscription-options-prompt-radio.php @@ -1,55 +1,9 @@ +$product = wc_get_product(); - - - +Timber::render( 'shop/product-subscription-options-prompt-radio-block.twig', [ + 'product' => $product, + 'subscription_cta' => $subscription_cta ?? '', // передайте сюда HTML, как делает оригинальный шаблон +] ); \ No newline at end of file