WooCommerce Hook pour les notices : do_action( 'woocommerce_before_single_product' );
Promo !
WooCommerce Hook :
do_action( 'woocommerce_before_single_product_summary' );
Promo !

Single

global $product;
echo '<div class="woo-title">Titre du produit : <h2>' . $product->get_title() . '</h2></div>';

Titre du produit :

Single

3,00 2,00

<?php

global $product;
$currency = get_woocommerce_currency_symbol();
$price = get_post_meta( get_the_ID(), '_regular_price', true);
$sale = get_post_meta( get_the_ID(), '_sale_price', true);
?>

<?php if($sale) : ?>
<p class="product-price-tickr"><del><?php echo $currency; echo $price; ?></del> <?php echo $currency; echo $sale; ?></p>
<?php elseif($price) : ?>
<p class="product-price-tickr"><?php echo $currency; echo $price; ?></p>
<?php endif;
echo 'Price : ' . wc_price($product->get_price_including_tax(1,$product->get_price()));

?>

€3 €2

Price : 2,00

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum sagittis orci ac odio dictum tincidunt. Donec ut metus leo. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Sed luctus, dui eu sagittis sodales, nulla nibh sagittis augue, vel porttitor diam enim non metus. Vestibulum aliquam augue neque. Phasellus tincidunt odio eget ullamcorper efficitur. Cras placerat ut turpis pellentesque vulputate. Nam sed consequat tortor. Curabitur finibus sapien dolor. Ut eleifend tellus nec erat pulvinar dignissim. Nam non arcu purus. Vivamus et massa massa.

global $product;
echo 'Description : ' . $product->get_description();

Description : Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum sagittis orci ac odio dictum tincidunt. Donec ut metus leo. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Sed luctus, dui eu sagittis sodales, nulla nibh sagittis augue, vel porttitor diam enim non metus. Vestibulum aliquam augue neque. Phasellus tincidunt odio eget ullamcorper efficitur. Cras placerat ut turpis pellentesque vulputate. Nam sed consequat tortor. Curabitur finibus sapien dolor. Ut eleifend tellus nec erat pulvinar dignissim. Nam non arcu purus. Vivamus et massa massa.

This is a simple, virtual product.

global $product;
echo 'Short description : ' . $product->get_short_description();

Short description : This is a simple, virtual product.
UGS : woo-single Catégorie :

global $product;
echo '<div class="woo-cat">Categories : ' . $product->get_categories() . '</div>';

Categories :
UGS : woo-single

Informations complémentaires

<?php
global $product;
echo '<div class="woo-desc">Description : ' . $product->get_description() . '</div>';
?>

Description : Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum sagittis orci ac odio dictum tincidunt. Donec ut metus leo. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Sed luctus, dui eu sagittis sodales, nulla nibh sagittis augue, vel porttitor diam enim non metus. Vestibulum aliquam augue neque. Phasellus tincidunt odio eget ullamcorper efficitur. Cras placerat ut turpis pellentesque vulputate. Nam sed consequat tortor. Curabitur finibus sapien dolor. Ut eleifend tellus nec erat pulvinar dignissim. Nam non arcu purus. Vivamus et massa massa.

<?php
global $product;
echo '<div class="woo-desc">En stock : ' . $product->get_stock_quantity() . '</div>';
?>

En stock :