N
N
nikfcsm2018-04-13 16:55:13
WordPress
nikfcsm, 2018-04-13 16:55:13

How to remove the top field with prices?

Hello, the price tags of all product variations are indicated at the top. funinhouse.ru/product/111
After selecting all items, the price appears below. So, who knows how to remove the field with the price at all?
In the code I see this

<div class="summary entry-summary">
    <?php
      /**
       * Hook: Woocommerce_single_product_summary.
       *
       * @hooked woocommerce_template_single_title - 5
       * @hooked woocommerce_template_single_rating - 10
       * @hooked woocommerce_template_single_price - 10
       * @hooked woocommerce_template_single_excerpt - 20
       * @hooked woocommerce_template_single_add_to_cart - 30
       * @hooked woocommerce_template_single_meta - 40
       * @hooked woocommerce_template_single_sharing - 50
       * @hooked WC_Structured_Data::generate_product_data() - 60
       */
      do_action( 'woocommerce_single_product_summary' );
    ?>
  </div>

And where to dig further?
where is this action?
do_action( 'woocommerce_single_product_summary' );

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2018-04-14
@azerphoenix

I can assume that you have already resolved the issue, since I do not see the cost on the site.
But just in case, take a look at https://codex.wordpress.org/Function_Reference/rem...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question