Avatar

notebuk2014

notebuk2014

Cant edit the functions.php of be theme child, because always show an error, and i just want to add this function:/* clase de envio gratis */
function etiqueta_envio_gratis( $label, $method ) {

 if ( 0 == $method->cost ) {
 $label = 'Envío gratis';
 }

 return $label;
}
add_filter( 'woocommerce_cart_shipping_method_full_label', 'etiqueta_envio_gratis', 10, 2 ); Thanks,

About

Username
notebuk2014
Joined
Visits
20
Last Active
Roles
Member

License key verification

We do not store any license keys, it is for verification purpose only if support expired

Where can I find my purchase code?

Activity

  • Cant edit the functions.php of be theme child, because always show an error, and i just want to add this function:
    /* clase de envio gratis */
function etiqueta_envio_gratis( $label, $method ) {

    if ( 0 == $method->cost ) {
        $label = 'Envío gratis';
    }

    return $label;
}
add_filter( 'woocommerce_cart_shipping_method_full_label', 'etiqueta_envio_gratis', 10, 2 );


    Thanks,
    November 2020