Gets subtotal - subtotal is shown before discounts, but with localised taxes.
$subtotal, $compound, $this
Sortie :
@param bool $compound (default: false). @param string $tax_display (default: the tax_display_cart value). @return string
// Modifier la valeur avec le filtre 'woocommerce_order_subtotal_to_display'
add_filter('woocommerce_order_subtotal_to_display', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($subtotal) {
// Modifier la valeur
return $subtotal;
}
Chargement des actualités...