Home
Price Request
Contact
Login
Register
Cart
test : creation d'un nouveau ligne panier session
ajouterArticle Session
les parametres sont idProduit: 338, qteProduit: 1
Test:if (creationPanier() && !isVerrouille())
Test: array(0) { } Test:position
Fichier fonctions_panier.php:function ajouterArticle ; ajouter un Article
Test Avant: array(9) { ["idAbonne"]=> NULL ["codePanier"]=> NULL ["idProduit"]=> array(0) { } ["qteProduit"]=> array(0) { } ["prixProduit"]=> array(0) { } ["imageProduit"]=> array(0) { } ["designationProduit"]=> array(0) { } ["refProduit"]=> array(0) { } ["verrou"]=> bool(false) } Test Apres: array(9) { ["idAbonne"]=> NULL ["codePanier"]=> NULL ["idProduit"]=> array(1) { [0]=> string(3) "338" } ["qteProduit"]=> array(1) { [0]=> int(1) } ["prixProduit"]=> array(1) { [0]=> float(120) } ["imageProduit"]=> array(1) { [0]=> string(60) "/telechargements/images/8417ee87686712f48490c68d54425cbb.png" } ["designationProduit"]=> array(1) { [0]=> string(21) "KL-1810 Medical Razor" } ["refProduit"]=> array(1) { [0]=> string(7) "KL-1810" } ["verrou"]=> bool(false) }
Votre panier
Référence
Désignation
Quantité
Prix Unitaire
Total
1
KL-1810
KL-1810 Medical Razor td>
120
120
Supprimer
Prix Total : 120