Saltar navegación

Etiquetado: 

Este tema contiene 0 respuesta, tiene 1 voz.

Última actualización por angeloD-14 hace 11 meses.

Asistido por: Paola Mendiburu.

Autor Publicaciones
julio 24, 2024 a las 9:14 am

angeloD-14

Contesto del problema:
Ho inserito una stringa in aspetto/ editor del tema/functions.php, dove deve mostrare un errore inserendo sotto 8 caratteri. La stringa è la seguente:

add_action( 'woocommerce_checkout_process', 'bbloomer_checkout_fields_custom_validation' );

function bbloomer_checkout_fields_custom_validation() {
if ( isset( $_POST['billing_fiscale'] ) && ! empty( $_POST['billing_fiscale'] ) ) {
if ( strlen( $_POST['billing_fiscale'] )

julio 24, 2024 a las 9:33 am