Problème attribut en texte libre sur 8.0


7 posts in this topic

Posted · Report post

Bonjour à tous, bonjour Simon, j'ai un soucis sur mes attributs en texte libre, je les ai passé en obligatoires mais lorsque je clique sur le bouton "ajouter au panier" sans remplir les champs (ce que va faire le bon tiers des utilisateurs) j'ai ce message : 

Notice: Undefined index: session_display_popup in /home4/jamescq7/public_html/timesup.nc/boutiq/achat/caddie_ajout.php on line 123

Notice: Undefined index: error_text in /home4/jamescq7/public_html/timesup.nc/boutiq/achat/caddie_ajout.php on line 123

Warning: Cannot modify header information - headers already sent by (output started at /home4/jamescq7/public_html/timesup.nc/boutiq/achat/caddie_ajout.php:123) in /home4/jamescq7/public_html/timesup.nc/boutiq/lib/fonctions/fonctions.php on line 1556

Warning: Cannot modify header information - headers already sent by (output started at /home4/jamescq7/public_html/timesup.nc/boutiq/achat/caddie_ajout.php:123) in /home4/jamescq7/public_html/timesup.nc/boutiq/lib/fonctions/fonctions.php on line 1560

et si je reviens en arrière sur le navigateur ça m'affiche le message normal en pop up "champ 1. Préciser les nom et prénom de l'élève obligatoire champ 2. Préciser la date de livraison du plat obligatoire". J'ai essayé d'apporter les modifs de ce post : https://forum.peel.fr/topic/10513-attributs-produits-obligatoires/#comment-35969 mais sans succès, rien ne change. Pour précisions, le domaine est en https je ne sais pas si cette info entre en jeux, merci d'avance pour vos réponses. 

Share this post


: post
Share on other sites

Posted · Report post

Bonjour,

Quelle version de PEEL utilisez-vous ?

Share this post


: post
Share on other sites

Posted · Report post

Bonjour Simon,

sur la 8.0.1 exactement

Share this post


: post
Share on other sites

Posted · Report post

Bonjour,

Dans le fichier achat/caddie_ajout.php pouvez-vous vérifier qu'a la ligne 31 il y a la ligne de code suivante :

$_SESSION['session_display_popup']['error_text'] = '';

Share this post


: post
Share on other sites

Posted · Report post

Bonjour, la ligne est bien présente : $_SESSION['session_display_popup']['error_text'] = ''; 

Share this post


: post
Share on other sites

Posted · Report post

Bonjour,

pouvez-vous mettre en commentaire la ligne 88 dans le fichier achat/caddie_ajout.php svp ?

unset($_SESSION["session_display_popup"]); 

 

Share this post


: post
Share on other sites

Posted · Report post

bonjour Simon, ça a réglé le problème merci je crois que l'on peut cloturer ce post. Bien à vous.

Share this post


: post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

Twitter Advisto ecommerce

Facebook PEEL Shopping