Ir al contenido
NIÑOJEEP PD 4X4 GR
S/ 14.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.