woocommerce_shipping_estimate_html

FILTER woocommerce\templates\cart\cart-shipping.php (ligne 54) github
Shipping Methods Display In 2.1 we show methods per package. This allows for multiple methods per order if so desired. This template can be overridden by copying it to yourtheme/woocommerce/cart/cart-shipping.php. HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer) will need to copy the new files to your theme to maintain compatibility. We try to do this as little as possible, but it does happen. When this occurs the version of the template file will be bumped and the readme will list any important changes.

Paramètres

Entrée :
__( 'Shipping options will be updated during checkout.', 'woocommerce'
Sortie :
N/A

Utilisation

// Modifier la valeur avec le filtre 'woocommerce_shipping_estimate_html'
add_filter('woocommerce_shipping_estimate_html', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre(__( 'Shipping options will be updated during checkout.') {
    // Modifier la valeur
    return __( 'Shipping options will be updated during checkout.';
}

Actualités

Chargement des actualités...