' . $price . ''; }, 10, 3 ); add_action( 'woocommerce_after_quantity_input_field', function () { echo ''; echo ''; } ); add_action( 'woocommerce_before_main_content', function () { $has_hero = ( is_shop() || is_product_category() || is_product_tag() ); if ($has_hero) { /** * Note to code reviewers: This line doesn't need to be escaped. * Function blocksy_output_hero_section() used here escapes the value properly. */ echo blocksy_output_hero_section('type-2'); } echo '
'; echo '
'; echo '
'; if (is_product()) { $breadcrumbs_builder = new Blocksy_Breadcrumbs_Builder(); $breadcrumbs_content = $breadcrumbs_builder->render(); if (get_theme_mod('has_product_breadcrumbs', 'yes') === 'yes') { echo $breadcrumbs_content; } if (is_customize_preview()) { blocksy_add_customizer_preview_cache(blocksy_html_tag( 'div', ['data-id' => 'shop-breadcrumbs'], $breadcrumbs_content )); } } if ($has_hero) { /** * Note to code reviewers: This line doesn't need to be escaped. * Function blocksy_output_hero_section() used here escapes the value properly. */ echo blocksy_output_hero_section('type-1'); } } ); add_action( 'woocommerce_after_main_content', function () { echo '
'; get_sidebar(); echo '
'; echo '
'; } );