Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Gusztav

    (@gusztav)

    Thanks for your response, @ryanr14! Frankly, I don’t have a clue why it works much better than the other proposed solutions :), but it can be used to hide price and related products. Interestingly, I still cannot hide meta info, including category list. Please head to https://dudaskrisztina.hu/termek/5-alkalmas-lomi-lomi-masszazscsomag/ and look for the category info, circled in the screenshot at https://prntscr.com/pwyum8.

    The product page is built along the following hooks:

    		 * @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

    Here I can remove the one with prio 30, but cannot remove the one with prio 40. According to WooCommerce doc, woocommerce_template_single_meta calls single-product/meta.php, which contains the PHP code to display categories. I would expect the remove_action to remove this hook and, in turn, this template to not be called ever.

    BR.
    Gus

    Thread Starter Gusztav

    (@gusztav)

    Hi,

    That is not real help, If I were into PHP that much, I would not submit this post. Deactivating other plugins did not help, unfortunatelly.

    Why I mentioned HTTPS is that I had another similar issues, and it turned out the existence of HTTPS is a key.

Viewing 2 replies - 1 through 2 (of 2 total)