I need to show the summary of a single product on the front-page of my WordPress/WooCommerce Template. So on the front-page.php i want to use the following action:
do_action( 'woocommerce_single_product_summary' );
How can i reference this to the product id with the product-id 150?
2
Answers
These kind of Woo actions work based on global $product variable.
So you can try something like this:
To show the single product summary please use this code