TZ-51
Utilisateur open source-
Compteur de contenus
21 -
Inscrit(e) le
-
Dernière visite
Messages posté(e)s par TZ-51
-
-
J'ai le meme problème alors que Mr Ruault viens juste de m'installer la version 3.9 ...
et sa ne fonctionne pas si je met : <a href="<?=$wwwroot?>/factures/facture_html.php?id=<?=$c->id?>×tamp=<?=urlencode($c->o_timestamp)?>" class="normal">
Quelqu'un pourrai t il me donner le code de la page ok.php dans modules/paypal (premium 3.9)
Merci de votre aide.
-
Bonjour,
Merci d'avoir fait remonter ce bug, j'ai le meme problème ...
J'ai ce message d'erreur : Notice: Use of undefined constant PAYPAL - assumed 'PAYPAL' in .... ..../achat/fin_commande.php on line 130
je ne voit pas comment corriger sa.
-
Je me suis posé aussi cette question lorsque j'avais enfin réussi à le faire marché en local ... donc finalement je ne l'ai pas installé ...
Quelqu'un pourrai t-il nous dire si c'est risqué de l'installer ce script ?
-
Bonjour à tous,J'aimerai savoir comment faire pour afficher les prix uniquement après identification de l'utilisateur. Pas d'affichage de prix avant identification.
Merci d'avance.
;)
Je pense qu'il faut que tu encradres le code ou il y a le prix par :
<? if (est_identifie()) { ?>
bout de code prix
<? } ?>
à tester ...
A+
-
J'ai enfin réussi ;) sa fonctionne. Merci de votre aide.
-
Super ! Merci beaucoup noya_m. je vous tient au courant pour vous dire si sa fonctionne.
Bonne journée.
-
Ca marche pour tous les produits;je finis de mettre en place le css et je met le code.
Merci encore a toi
Noya_m... au secours ...
-
Bonjour,
Je fait remonter ce sujet, j'aimerai installer ce système de notation que je trouve vraiment bien.
Donc j'ai testé mais sa ne fonctionne pas. les étoiles apparaissent avec écrit en dessous l'id du produit et le nompbre de vote mais quand je clique pour voté le sablié tourne mais rien ne se passe.
Voila comment j'ai installé tout sa. (testé seulement en local).
j'ai d'abort créé la table :
CREATE TABLE ratings2 (
id VARCHAR(11) NOT NULL,
total_votes INT NOT NULL DEFAULT '0',
total_value INT NOT NULL DEFAULT '0',
used_ips LONGTEXT)
j'ai ensuite configuré le fichié config-rating.php.
j'ai ajouter ceci dans achat/modeles/produit_détails.php :
<?php require('_drawrating.php'); ?>
<script type="text/javascript" language="javascript" src="js/behavior.js"></script>
<script type="text/javascript" language="javascript" src="js/rating.js"></script>
<link rel="stylesheet" type="text/css" href="css/default.css" />
<link rel="stylesheet" type="text/css" href="css/rating.css" />
puis dans la meme page j'ai ajouté :
<?php
echo rating_bar(intval($prod['id']),'');
?>
es ce que quelqu'un qui a réussi pourrai mettre une récap de l'instalation ...
Je vous remerci par avance et noya m a raison sa ajouterai un plus pour les boutiques peel.
MERCI. ;)
-
Bonjour,pour avoir les informations sur votre facture, il faut:
1) les indiquées dans la requete SQL qui ramenne les informations:
$qid_items = mysql_query(" SELECT p.reference ,oi.nom_produit ,p.prix AS curr_prix ,oi.prix AS purchase_prix ,oi.quantite ,oi.tva ,oi.promotion ,oi.prix * oi.quantite AS total ,oi.comment ,oi.couleur ,oi.taille ,oi.option_prix ,oi.delivery_stock ,pc.remise_code ,pc.remise_client FROM peel_commandes pc, peel_commandes_articles oi LEFT JOIN peel_produits p ON (oi.produit_id = p.id) WHERE commande_id = '$id' AND pc.id = oi.commande_id ");
2) ajouter leur affichage dans la age désirée.
Paulanna vous demande donc d'ajouter les champs manquants dans la requete SQL du point 1.
Willy
Ok je vais persister dans mes recherches, mais es ce que quelqu'un pourrai m'expliquer à quoi servent les lettres devant les champs ... ex : p, pc, oi.
Merci de votre aide ...
-
Bonjour,depuis que j'ai été migré sur OVH, après quelques minutes d'inactivité dans le back office le programme me demande de m'identifier à nouveau.
c'est très irritant, car je passe mon temps à m'identifier 20 fois par jour.......
comment contourner ce problème
Merci pour votre aide
Cordialement
Panne Sêche
Pareil pour moi, personne à une idée du fichier à modifier ?
Merci.
-
un petit UP ... je ni arrive pas ... ;)
-
il faut mettre ces champs dans votre requetePouvez vous m'en dire un peu plus ... je ne voit pas trop comment faire , il y a deja prix dans la requete.
;)
-
La référence s'affiche bien mais il y maintenant un souci au niveau du prix et du total prix.
voila le message d'erreur :
Notice: Undefined index: prix in c:\program files\easyphp18\www\premium3.9\factures\facture_html.php on line 215€
Notice: Undefined index: ecotaxe_ttc in c:\program files\easyphp18\www\premium3.9\factures\facture_html.php on line 217
+ ecotaxe : 0,00 €
Notice: Undefined index: total_prix in c:\program files\easyphp18\www\premium3.9\factures\facture_html.php on line 221€
Merci de votre aide paulanna. ;)
-
Sa ne s'affiche toujours pas, je vous met le code de ma page ...
merci,
<? include("../configuration.inc.php"); /* Charge les détails d'une commande et les affiche */ $timestamp = urldecode(htmlspecialchars($_GET['timestamp'])); $id = intval($_GET['id']); $mode = htmlspecialchars($_GET['mode']); if (!empty($id) && !empty($timestamp)) { $qid_commande = mysql_query("SELECT * FROM peel_commandes WHERE id = '$id' AND o_timestamp = '$timestamp'"); if (mysql_num_rows($qid_commande) > 0) { $qid_items = mysql_query("SELECT * FROM peel_commandes_articles WHERE commande_id = '$id'"); $commande = mysql_fetch_object($qid_commande); switch ($mode) { case "proforma" : $libelle = PROFORMA; $numero = $id; $date_document = $commande->o_timestamp; break; case "facture" : $libelle = INVOICE; $numero = $commande->numero; if ($commande->a_timestamp != "0000-00-00") { $date_document = $commande->a_timestamp; } else { $date_document = $commande->o_timestamp; } break; } ?> <html> <head> <title><?php echo $libelle." ".NUMBER." ".$numero." - ".date("d-m-Y",strtotime($date_document))."";?></title> <link REL="stylesheet" type="text/css" href="<?=$stylefile?>"> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <style type="text/css" media="screen"> <!-- <?php $sqlCss = "SELECT * FROM peel_css WHERE id = '1'"; $resCss = mysql_query($sqlCss); if ($resCss) { $Css = mysql_fetch_object($resCss); echo "body {\n"; if (!empty($Css->background)) {echo "background: #ffffff;\n";} if (!empty($Css->textsize)) {echo "font-size: $Css->textsize;\n";} if (!empty($Css->textcolor)) {echo "color: $Css->textcolor;\n";} if (!empty($Css->textfont)) {echo "font-family: $Css->textfont;\n";} echo "}\n"; if (!empty($Css->textsize)) {echo ".normal { font-size: $Css->textsize;}\n";} if (!empty($Css->textcolor)) {echo ".normal { color: $Css->textcolor;}\n";} if (!empty($Css->textfont)) {echo ".normal { font-family: $Css->textfont;}\n";} if (!empty($Css->textsize)) {echo ".label { font-size: $Css->textsize;}\n";} if (!empty($Css->textcolor)) {echo ".label { color: $Css->textcolor;}\n";} if (!empty($Css->textfont)) {echo ".label { font-family: $Css->textfont;}\n";} if (!empty($Css->textsize)) {echo ".texte { font-size: $Css->textsize;}\n";} if (!empty($Css->textcolor)) {echo ".texte { color: $Css->textcolor;}\n";} if (!empty($Css->textfont)) {echo ".texte { font-family: $Css->textfont;}\n";} if (!empty($Css->titresize)) {echo ".titre { font-size: $Css->titresize;}\n";} if (!empty($Css->titrecolor)) {echo ".titre { color: $Css->titrecolor;}\n";} if (!empty($Css->titrefont)) {echo ".titre { font-family: $Css->titrefont;}\n";} if (!empty($Css->tetieresize)) {echo ".tetiere { font-size: $Css->tetieresize;}\n";} if (!empty($Css->tetierecolor)) {echo ".tetiere { color: $Css->tetierecolor;}\n";} if (!empty($Css->tetierefont)) {echo ".tetiere { font-family: $Css->tetierefont;}\n";} if (!empty($Css->tetierebackground)) {echo ".tetiere { background: $Css->tetierebackground;}\n";} if (!empty($Css->tetieresize)) {echo ".entete { font-size: $Css->tetieresize;}\n";} if (!empty($Css->tetierecolor)) {echo ".entete { color: $Css->tetierecolor;}\n";} if (!empty($Css->tetierefont)) {echo ".entete { font-family: $Css->tetierefont;}\n";} if (!empty($Css->tetierebackground)) {echo ".entete { background: $Css->tetierebackground;}\n";} if (!empty($Css->alink)) {echo "a:link { color: $Css->alink;}\n";} if (!empty($Css->vlink)) {echo "a:visited { color: $Css->vlink;}\n";} if (!empty($Css->hlink)) {echo "a:hover { color: $Css->hlink;}\n";} } ?> --> </style> <script LANGUAGE="JavaScript" SRC="<?=$wwwroot?>/lib/js/window.js"></script> </head> <body> <div class="titre"><?php echo $libelle." ".NUMBER." ".$numero." - ".date("d-m-Y",strtotime($date_document))."";?></div> <table border="0" cellpadding="5" cellspacing="0" width="50%" bordercolor="#000000"> <tr> <td bgcolor="#FFFFFF" align=center class="normal"> <?php echo (!empty($logo)) ? "<img align=\"middle\" src=\"$logo\" alt=\"$site\" border=\"0\"></a><br />" : "$site"; print_societe(); ?> </td> </tr> </table> <p> <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="white"> <tr> <td valign=top width="50%"> <table border="1" cellpadding="5" cellspacing="1" width="100%" bordercolor="#808080"> <tr> <td bgcolor="#F3E2A0" class="normal"><b><?php echo BILL_ADDRESS?></b></td> </tr> <tr> <td class="normal"><?=nl2br(stripslashes($commande->client_info1))?></td> </tr> </table> </td> <td valign=top width="50%"> <table border="1" cellpadding="5" cellspacing="1" width="100%" bordercolor="#808080"> <tr> <td bgcolor="#F3E2A0" class="normal"><b><?php echo SHIP_ADDRESS?></b></td> </tr> <tr> <td class="normal"><?=nl2br(stripslashes($commande->client_info2))?></td> </tr> </table> </td> </tr> </table> </p> <p> <table border="0" cellpadding="3" cellspacing="0" bordercolor="#000000" width="100%" bgcolor="white" style="border:1px solid #000000"> <tr> <td align="center" bgcolor="#F3E2A0" class="label"> </td> <td align="center" bgcolor="#F3E2A0" class="label"><?php echo PRODUCT?></td> <td align="center" bgcolor="#F3E2A0" class="label"><?php echo UNIT_PRICE?></td> <td align="center" bgcolor="#F3E2A0" class="label"><?php echo QUANTITY?></td> <td align="center" bgcolor="#F3E2A0" class="label"><?php echo TOTAL_PRICE?></td> </tr> <? $ensemble_total_ht = 0; $ensemble_total_ttc = 0; if ($qid_items) { if (mysql_num_rows($qid_items)) { while ($prod = mysql_fetch_array($qid_items)) { ?> <tr> <td class="normal"> <? print html_entity_decode(($prod['nom_produit'])); if ($prod['promotion'] != 0) {print " (- ".$prod['promotion']." % )";} if ($prod['delivery_stock'] != '') {print "<br />".DELIVERY_STOCK." : ".$prod['delivery_stock'].".";} if ($prod['couleur'] != '') {print "<br />".COLOR." : ".$prod['couleur'].".";} if ($prod['taille'] !='') {print "<br />".SIZE." : ".$prod['taille'].".";} if ($prod['comment'] !='') {print "<br />".COMMENTS." : ".stripslashes($prod['comment']).".";} if ($prod['option_prix'] != 0) {print "<br />".OPTION_PRIX." : ".$prod['option_prix']." ".$commande->devise;} ?> </td> <td class="normal"> </td> <td class="normal "align="center"> <?php echo $prod['prix']." ".$commande->devise;; if ($prod['ecotaxe_ttc'] != "0.00") { echo "<br /><em><font class='petit'>+ ecotaxe : ".fprix($prod['ecotaxe_ttc'])." ".$commande->devise."</font></em>"; } ?></td> <td class="normal "align="center"><?php echo $prod['quantite'] ?></td> <td class="normal "align="center"><?php echo $prod['total_prix']. " ".$commande->devise; ?></td> </tr> <? } ?> </table> <? } } ?> </p> <p> <table border="0" cellpadding="3" cellspacing="0" width="100%" style="border:1px solid #000000"> <tr> <td align="left" bgcolor="#FFFFFF" class="normal"><?php echo TOTAL_TTC?></td> <td align="right" bgcolor="#FFFFFF" class="normal"><?php echo fprix($commande->total_produit_avant_promo)." ".$commande->devise; ?></td> </tr> <?php if ($commande->total_ecotaxe_ttc > 0) { ?> <tr> <td align="left" bgcolor="#FFFFFF" class="normal"><?php echo ECOTAXE ?> T.T.C</td> <td align="right" bgcolor="#FFFFFF" class="normal"><?php echo fprix($commande->total_ecotaxe_ttc)." ".$commande->devise; ?></td> </tr> <? } if ($commande->remise_client_percent > 0) { ?> <tr> <td align="left" bgcolor="#FFFFFF" class="normal"><?php echo REMISE_CLIENT." ( ".$commande->remise_client_percent." % )"?></td> <td align="right" bgcolor="#FFFFFF" class="normal">- <?php echo fprix($commande->remise_client)." ".$commande->devise; ?></td> </tr> <? } if ($commande->remise_code_percent > 0) { ?> <tr> <td align="left" bgcolor="#FFFFFF" class="normal"><?php echo CODE_PROMO_REMISE." ( ".$commande->remise_code_percent." % )"?></td> <td align="right" bgcolor="#FFFFFF" class="normal">- <?php echo fprix($commande->remise_code)." ".$commande->devise; ?></td> </tr> <? } if ($commande->remise_cheque > 0) { ?> <tr> <td align="left" bgcolor="#FFFFFF" class="normal"><?php echo CHEQUE_CADEAU_REMISE." ( ".$commande->code_cheque_cadeau." )"?></td> <td align="right" bgcolor="#FFFFFF" class="normal">- <?php echo fprix($commande->remise_cheque)." ".$commande->devise; ?></td> </tr> <? } if ($commande->remise_bon > 0) { ?> <tr> <td align="left" bgcolor="#FFFFFF" class="normal"><?php echo BON_REDUCTION_REMISE." ( ".$commande->code_bon." )"?></td> <td align="right" bgcolor="#FFFFFF" class="normal">- <?php echo fprix($commande->remise_bon)." ".$commande->devise; ?></td> </tr> <? } if ($commande->avoir > 0) { ?> <tr> <td align="left" bgcolor="#FFFFFF" class="normal"><?php echo AVOIR?></td> <td align="right" bgcolor="#FFFFFF" class="normal">- <?php echo fprix($commande->avoir)." ".$commande->devise; ?></td> </tr> <?php } ?> <tr> <td align="left" bgcolor="#FFFFFF" class="normal"><?php echo SHIPPING_COST." T.T.C<br />".SHIPPING." : ".$commande->transport.")"?></td> <td align="right" bgcolor="#FFFFFF" class="normal"> <?php echo ($commande->cout_transport != 0) ? fprix($commande->cout_transport)." ".$commande->devise."" : "".OFFERED; ?> </td> </tr> <?php if ($commande->tarif_paiement > 0) { ?> <tr> <td align="left" bgcolor="#FFFFFF" class="normal"><?php echo PAY_COST?></td> <td align="right" bgcolor="#FFFFFF" class="normal">+ <?php echo fprix($commande->tarif_paiement)." ".$commande->devise; ?></td> </tr> <? } ?> <tr> <td align="left" bgcolor="#FFFFFF" class="normal"><?php echo TOTAL_HT?></td> <td align="right" bgcolor="#FFFFFF" class="normal"><?php echo fprix($commande->montant_ht)." ".$commande->devise; ?> </td> </tr> <tr> <td align="left" bgcolor="#FFFFFF" class="normal"><?php echo VAT ?></td> <td align="right" bgcolor="#FFFFFF" class="normal"><?php echo fprix($commande->total_tva)." ".$commande->devise; ?></td> </tr> <tr> <td align="right" bgcolor="#F3E2A0" class="label"><?php echo NET?></td> <td align="right" bgcolor="#F3E2A0" class="label"><b><?php echo fprix($commande->montant)." ".$commande->devise." T.T.C";?> </td> </tr> <tr> <td align="left" bgcolor="#FFFFFF" class="normal"><?php echo PAYEMENT?> </td> <td align="right" bgcolor="#FFFFFF" class="normal"><?=$commande->paiement?></td> </tr> <?php if(!empty($commande->colis)) { ?> <tr><td colspan=2" class="lebel" bgcolor="#F3E2A0"> <?php echo "<b>".COLIS."</b>"; ?> </tr> <tr><td colspan=2" class="normal"> <?php echo stripslashes($commande->colis); ?> </tr> <? } ?> <?php if(!empty($commande->commentaires)) { ?> <tr><td colspan=2" class="titre" bgcolor="#F3E2A0"> <?php echo "<b>".COMMENTS."</b>"; ?> </tr> <tr><td colspan=2" class="normal"> <?php echo stripslashes($commande->commentaires); ?> </tr> <? } ?> </table> </p> <?php if ($libelle == PROFORMA) { ?> <p> <div align="right"> <table border="1" cellpadding="5" cellspacing="0" width="250" bgcolor="#000000"> <tr> <td bgcolor="#FFFFFF" class="label" align="center"> <i><?php echo ACCORD ?></i> </td> </tr> <tr> <td bgcolor="#FFFFFF" align="center"> <div align="center"> <p class="normal"><i><?php echo SIGNATURE ?> </i></p> </div> <div align="center"> <p class="normal"> </p> </div> <div align="center"> <p class="normal"> </div> <div align="center"> <p class="normal"> </div> </td> </tr> </table> </p> <? } ?> <script language="javascript"> window.print(); </script> <? } else { echo "NO HACK !"; } } else { echo "NO HACK !"; }?> </div> </body> </html>
-
Bonjour,
Je n'arrive pas à ajouter la référence du produit dans la facture HTML (premium 3.9).
J'ai essayé de mettre <?php echo $prod['reference'] ?> mais j ai une erreur du type "Notice: Undefined index: reference ..."
Si quelqu'un à une idée ....
Merci.
-
Voila comment j ai parametré l'etat des stocks :En stock > entre 3 et 200 > diode verte position = 0
Stock faible > entre 1 et 2 > diode orange position = 1
Epuisé > entre 0 et 0 > diode rouge position = 2
précommande > entre -3 et -1 > diode bleu position = 3
Bientot dispo > entre -6 et -4 > diode blanche position = 4
Bonjour,
Je souhaiterai juste que la diode rouge s'affiche en plus de l'image "info stock" quand le stock est à zero ...
Personne n'a une idée pour m'aiguiller ?
Merci.
-
Bonjour,
Je confirme que cette modif fonctionne bien (je l ai eu à faire sur la version 3.9).
Pour ce qui cherche, c'est à faire dans la page caddie_affichage.php dans le dossier "achat".
a+
-
Voila comment j ai parametré l'etat des stocks :
En stock > entre 3 et 200 > diode verte position = 0
Stock faible > entre 1 et 2 > diode orange position = 1
Epuisé > entre 0 et 0 > diode rouge position = 2
précommande > entre -3 et -1 > diode bleu position = 3
Bientot dispo > entre -6 et -4 > diode blanche position = 4
-
non aucune modif sur le design, j'attends de corrigé les bug eventuelle.
je t'ai envoyé le site en MP.
Merci :(
-
Bonjour à tous,
J'ai la version 3.9 premium.
Dans l'état des stock, j'ai réglé pour qu'il y ait une puce rouge lorsque le stock du produit est à zero (Seuil d'affichage : Entre 0 et 0) et la diode ne s'affiche pas, sa passe bien en "info stock" mais pas d'image pour signaler que le produit n'est plus en stock. :(
Quelqu'un a t il deja fait cette modif ?
Merci.
slidshow
dans Module PEEL Premium pour PEEL SHOPPING
Posté(e) · Signaler ce message
Bonjour,
Essai sa :
fadeimages[0]=["<?=$wwwroot?>$repertoire_upload/".$prod['image2'].", "", ""]