Ir al contenido
NIÑOTRACTOR MEDIANO
S/ 16.50
add_filter( 'woocommerce_coupons_enabled', 'dl_quitar_aviso_cupon_checkout' );
function dl_quitar_aviso_cupon_checkout( $enabled ) {
if (is_checkout() ) {
$enabled = false;
}
return $enabled;
}
add_filter( 'woocommerce_coupons_enabled', 'dl_quitar_aviso_cupon_carrito' );
function dl_quitar_aviso_cupon_carrito( $enabled ) {
if ( is_cart() ) {
$enabled = false;
}
return $enabled;
}
Reviews
There are no reviews yet.