Jump to content

ColonelMoutarde

Members
  • Posts

    45
  • Joined

  • Last visited

About ColonelMoutarde

  • Birthday 10/19/1981

Contact Methods

Profile Information

  • Location
    france
  • Activity
    Developer

Recent Profile Visitors

188 profile views

ColonelMoutarde's Achievements

Newbie

Newbie (1/14)

3

Reputation

2

Community Answers

  1. lol Pour l'infirmière je ne sais pas mais disons que j'ai fait quelque études. Je suis prêt à te léguer mon corps... On peux passer en mp si tu veux.
  2. je peux te mettre la répons ajax exacte : J'ai un header 200 <div class="alert alert-danger"> <button type="button" class="close" data-dismiss="alert">&times;</button> Property RangeWeight->delimiter1 is empty </div> <div class="leadin"></div> <script> var labelNext = 'Suivant'; var labelPrevious = 'Précédent'; var labelFinish = 'Terminer'; var labelDelete = 'Supprimer'; var labelValidate = 'Valider'; var validate_url = 'index.php?controller=AdminCarrierWizard&token=02330ff0ea05642d2be593ad91c23217'; var carrierlist_url = 'index.php?controller=AdminCarriers&token=77d735e52badfc279557fbb39f2e1aeb&conf=4'; var nbr_steps = 4; var enableAllSteps = true; var need_to_validate = 'Veuillez valider la dernière tranche avant d\'en ajouter une nouvelle.'; var delete_range_confirm = 'Êtes-vous sur de vouloir supprimer cette tranche ?'; var currency_sign = '€'; var PS_WEIGHT_UNIT = 'kg'; var invalid_range = 'Cette tranche n\'est pas valide'; var overlapping_range = 'Les tranches se chevauchent'; var range_is_overlapping = 'Les tranches se chevauchent'; var select_at_least_one_zone = 'Veuillez sélectionner au moins une zone'; var multistore_enable = ''; </script> <div class="row"> <div class="col-sm-2"> <div id="carrier_logo_block" class="panel"> <div class="panel-heading"> Logo <div class="panel-heading-action"> <a id="carrier_logo_remove" class="btn btn-default" href="javascript:removeCarrierLogo();"> <i class="icon-trash"></i> </a> </div> </div> <img id="carrier_logo_img" src="/shop/img/s/188.jpg" class="img-thumbnail" alt=""/> </div> <script type="text/javascript"> var carrier_translation_undefined = 'indéfini'; function removeCarrierLogo() { if (confirm('Êtes-vous sûr de vouloir supprimer le logo ?')) { $('#carrier_logo_img').attr('src', '../img/admin/carrier-default.jpg'); $('#logo').val('null'); $('#carrier_logo_remove').hide(); } } function uploadCarrierLogo() { $.ajaxFileUpload({ url: 'ajax-tab.php?tab=AdminCarrierWizard&token=02330ff0ea05642d2be593ad91c23217&action=uploadLogo', secureuri: false, fileElementId: 'carrier_logo_input', dataType: 'xml', success: function (data, status) { data = data.getElementsByTagName('return')[0]; var message = data.getAttribute("message"); if (data.getAttribute("result") == "success") { $('#carrier_logo_img').attr('src', message); $('#logo').val(message); $('#carrier_logo_remove').show(); } else alert(message); } }); } </script> </div> <div class="col-sm-10"> <div id="carrier_wizard" class="panel swMain"> <ul class="steps nbr_steps_4"> <li> <a href="#step-1"> <span class="stepNumber">1</span> <span class="stepDesc"> Paramètres généraux<br /> </span> <span class="chevron"></span> </a> </li> <li> <a href="#step-2"> <span class="stepNumber">2</span> <span class="stepDesc"> Destinations d&#039;expédition et coûts<br /> </span> <span class="chevron"></span> </a> </li> <li> <a href="#step-3"> <span class="stepNumber">3</span> <span class="stepDesc"> Taille, poids et groupes associés<br /> </span> <span class="chevron"></span> </a> </li> <li> <a href="#step-4"> <span class="stepNumber">4</span> <span class="stepDesc"> Récapitulatif<br /> </span> <span class="chevron"></span> </a> </li> </ul> <div id="step-1" class="step_container"> <form id="step_carrier_general" class="defaultForm form-horizontal" method="post" enctype="multipart/form-data" novalidate> <input type="hidden" name="id_carrier" id="id_carrier" value="188" /> <input type="hidden" name="submitAddcarrier" value="1" /> <div class="panel" id="fieldset_form"> <div class="form-wrapper"> <div class="form-group"> <label class="control-label col-lg-3 required"> <span class="label-tooltip" data-toggle="tooltip" data-html="true" title=" Caractères autorisés : lettres, espaces et &quot;().-&quot;. Nom du transporteur tel qu&#039;il apparaîtra durant la commande. Pour le retrait en boutique, mettez le chiffre 0 afin de remplacer le nom du transporteur par le nom de votre boutique. "> Nom du transporteur </span> </label> <div class="col-lg-9"> <input type="text" name="name" id="name" value="La Poste - Colissimo Simplicité" class="" required="required" /> </div> </div> <div class="form-group"> <label class="control-label col-lg-3 required"> <span class="label-tooltip" data-toggle="tooltip" data-html="true" title=" L&#039;estimation du délai de livraison sera affichée durant la commande. "> Délai de livraison </span> </label> <div class="col-lg-9"> <input type="text" id="delay_1" name="delay_1" class="" value="Avec La Poste, Faites-vous livrer là ou vous le souhaitez en France Métropolitaine." onkeyup="if (isArrowKey(event)) return ;updateFriendlyURL();" maxlength="512" required="required" /> </div> </div> <div class="form-group"> <label class="control-label col-lg-3"> <span class="label-tooltip" data-toggle="tooltip" data-html="true" title=" Saisissez &quot;0&quot;pour le délai d&#039;expédition le plus long, ou &quot;9&quot; pour le délai le plus court. "> Vitesse </span> </label> <div class="col-lg-9"> <input type="text" name="grade" id="grade" value="0" class="" size="1" /> </div> </div> <div class="form-group"> <label class="control-label col-lg-3"> Logo </label> <div class="col-lg-9"> <input id="carrier_logo_input" class="hide" type="file" onchange="uploadCarrierLogo();" name="carrier_logo_input" /> <input type="hidden" id="logo" name="logo" value="" /> <div class="dummyfile input-group"> <span class="input-group-addon"><i class="icon-file"></i></span> <input id="attachement_filename" type="text" name="filename" readonly="" /> <span class="input-group-btn"> <button id="attachement_fileselectbutton" type="button" name="submitAddAttachments" class="btn btn-default"> <i class="icon-folder-open"></i> Choisissez un fichier </button> </span> </div> <p class="help-block"> Format JPG, GIF, PNG. Taille du fichier 8.00 Mo max. Taille actuelle <span id="carrier_logo_size">indéfini</span>. </p> </div> <div class="col-lg-9"> </div> </div> <div class="form-group"> <label class="control-label col-lg-3"> <span class="label-tooltip" data-toggle="tooltip" data-html="true" title=" URL pour le suivi des colis : placez le caractère &quot;@&quot; là où la référence doit apparaître. Elle sera automatiquement remplacée par le numéro de suivi. "> URL de suivi </span> </label> <div class="col-lg-9"> <input type="text" name="url" id="url" value="http://www.colissimo.fr/portail_colissimo/[email protected]" class="" /> <p class="help-block"> Par exemple : &quot;http://example.com/[email protected]&quot; avec &quot;@&quot; à l&#039;emplacement du numéro de suivi. </p> </div> </div> </div><!-- /.form-wrapper --> </div> </form> <script type="text/javascript"> var module_dir = '/shop/modules/'; var id_language = 1; var languages = new Array(); var vat_number = 0; // Multilang field setup must happen before document is ready so that calls to displayFlags() to avoid // precedence conflicts with other document.ready() blocks languages[0] = { id_lang: 1, iso_code: 'fr', name: 'Français (French)', is_default: '1' }; // we need allowEmployeeFormLang var in ajax request allowEmployeeFormLang = 0; displayFlags(languages, id_language, allowEmployeeFormLang); $(document).ready(function() { $(".show_checkbox").click(function () { $(this).addClass('hidden') $(this).siblings('.checkbox').removeClass('hidden'); $(this).siblings('.hide_checkbox').removeClass('hidden'); return false; }); $(".hide_checkbox").click(function () { $(this).addClass('hidden') $(this).siblings('.checkbox').addClass('hidden'); $(this).siblings('.show_checkbox').removeClass('hidden'); return false; }); if ($(".datepicker").length > 0) $(".datepicker").datepicker({ prevText: '', nextText: '', dateFormat: 'yy-mm-dd' }); if ($(".datetimepicker").length > 0) $('.datetimepicker').datetimepicker({ prevText: '', nextText: '', dateFormat: 'yy-mm-dd', // Define a custom regional settings in order to use PrestaShop translation tools currentText: 'Maintenant', closeText: 'Valider', ampm: false, amNames: ['AM', 'A'], pmNames: ['PM', 'P'], timeFormat: 'hh:mm:ss tt', timeSuffix: '', timeOnlyTitle: 'Choisir l\'heure', timeText: 'Heure', hourText: 'Heure', minuteText: 'Minute', }); }); state_token = '9b35ec24ed1936d2fed02857a441e6af'; var string_price = 'Sera appliquée lorsque le prix est'; var string_weight = 'Sera appliquée lorsque le poids est'; </script> </div> <div id="step-2" class="step_container"> <form id="step_carrier_ranges" class="defaultForm form-horizontal" method="post" enctype="multipart/form-data" novalidate> <input type="hidden" name="id_carrier" id="id_carrier_1" value="188" /> <input type="hidden" name="submitAddcarrier" value="1" /> <div class="panel" id="fieldset_form_1_1"> <div class="form-wrapper"> <div class="form-group"> <label class="control-label col-lg-3"> <span class="label-tooltip" data-toggle="tooltip" data-html="true" title=" Ajoute les frais de manutention (tels que configurés dans Livraison &gt; Préférences) au coût final du transporteur. "> Ajouter les frais de manutention </span> </label> <div class="col-lg-9"> <span class="switch prestashop-switch fixed-width-lg"> <input type="radio" name="shipping_handling" id="shipping_handling_on" value="1" checked="checked"/> <label for="shipping_handling_on">Oui</label> <input type="radio" name="shipping_handling" id="shipping_handling_off" value="0"/> <label for="shipping_handling_off">Non</label> <a class="slide-button btn"></a> </span> </div> </div> <div class="form-group"> <label class="control-label col-lg-3"> Livraison gratuite </label> <div class="col-lg-9"> <span class="switch prestashop-switch fixed-width-lg"> <input type="radio" name="is_free" id="is_free_on" value="1"/> <label for="is_free_on">Oui</label> <input type="radio" name="is_free" id="is_free_off" value="0" checked="checked"/> <label for="is_free_off">Non</label> <a class="slide-button btn"></a> </span> </div> </div> <div class="form-group"> <label class="control-label col-lg-3"> Facturation </label> <div class="col-lg-9"> <div class="radio t"> <label><input type="radio" name="shipping_method" id="billing_price" value="2"/>En fonction du prix total.</label> </div> <div class="radio t"> <label><input type="radio" name="shipping_method" id="billing_weight" value="1" checked="checked"/>En fonction du poids total.</label> </div> </div> </div> <div class="form-group"> <label class="control-label col-lg-3"> Taxes </label> <div class="col-lg-9"> <select name="id_tax_rules_group" class=" fixed-width-xl" id="id_tax_rules_group" > <option value="0">Aucune taxe</option> <option value="7" >EU VAT For Virtual Products</option> <option value="5" >European VAT for virtual products</option> <option value="2" >FR Taux réduit (10%)</option> <option value="3" >FR Taux réduit (5.5%)</option> <option value="1" selected="selected" >FR Taux standard (20%)</option> <option value="4" >FR Taux super réduit (2.1%)</option> <option value="6" >OutreMer</option> </select> </div> </div> <div class="form-group"> <label class="control-label col-lg-3"> <span class="label-tooltip" data-toggle="tooltip" data-html="true" title=" Le comportement hors tranches désigne le comportement à adopter lorsqu&#039;aucune tranche ne correspond au panier du client (par exemple, lorsque le poids total des articles mis au panier est plus grand que le poids maximal défini dans les tranches de poids). "> Comportement hors tranches </span> </label> <div class="col-lg-9"> <select name="range_behavior" class=" fixed-width-xl" id="range_behavior" > <option value="0" selected="selected" >Prendre la tranche la plus grande</option> <option value="1" >Désactiver le transporteur</option> </select> </div> </div> <div class="form-group"> <div class="ranges_not_follow warn" style="display:none"> <label>Les tranches ne sont pas dans le bon ordre</label> <a href="#" onclick="checkRangeContinuity(true); return false;" class="btn btn-default">Réordonnancement</a> </div> <script>var zones_nbr = 16 ; /*corresponds to the third input text (max, min and all)*/</script> <div id="zone_ranges" style="overflow:auto"> <h4>Plages</h4> <table id="zones_table" class="table" style="max-width:100%"> <tbody> <tr class="range_inf"> <td class="range_type"></td> <td class="border_left border_bottom range_sign">&gt;=</td> <td class="border_bottom"> <div class="input-group fixed-width-md"> <span class="input-group-addon weight_unit">kg</span> <span class="input-group-addon price_unit">€</span> <input class="form-control" name="range_inf[0]" type="text" value="0.000000" /> </div> </td> </tr> <tr class="range_sup"> <td class="range_type"></td> <td class="border_left range_sign">&lt;</td> <td class="range_data"> <div class="input-group fixed-width-md"> <span class="input-group-addon weight_unit">kg</span> <span class="input-group-addon price_unit">€</span> <input class="form-control" name="range_sup[0]" type="text" value="0.000000" autocomplete="off"/> </div> </td> </tr> <tr class="fees_all"> <td class="border_top border_bottom border_bold"> <span class="fees_all" >All</span> </td> <td style=""> <input type="checkbox" onclick="checkAllZones(this);" class="form-control"> </td> <td class="border_top border_bottom " > <div class="input-group fixed-width-md"> <span class="input-group-addon currency_sign" style="display:none" >€</span> <input class="form-control" type="text" style="display:none" autocomplete="off" /> </div> </td> </tr> <tr class="fees" data-zoneid="8"> <td> <label for="zone_8">Europe</label> </td> <td class="zone"> <input class="form-control input_zone" id="zone_8" name="zone_8" value="1" type="checkbox" checked="checked"/> </td> <td> <div class="input-group fixed-width-md"> <span class="input-group-addon">€</span> <input class="form-control" name="fees[8][0]" type="text" value="" /> </div> </td> </tr> <tr class="fees" data-zoneid="1"> <td> <label for="zone_1">France métropolitaine</label> </td> <td class="zone"> <input class="form-control input_zone" id="zone_1" name="zone_1" value="1" type="checkbox" /> </td> <td> <div class="input-group fixed-width-md"> <span class="input-group-addon">€</span> <input class="form-control" name="fees[1][0]" type="text" disabled="disabled" value="" /> </div> </td> </tr> <tr class="fees" data-zoneid="2"> <td> <label for="zone_2">France OM 1</label> </td> <td class="zone"> <input class="form-control input_zone" id="zone_2" name="zone_2" value="1" type="checkbox" /> </td> <td> <div class="input-group fixed-width-md"> <span class="input-group-addon">€</span> <input class="form-control" name="fees[2][0]" type="text" disabled="disabled" value="" /> </div> </td> </tr> <tr class="fees" data-zoneid="3"> <td> <label for="zone_3">France OM 2</label> </td> <td class="zone"> <input class="form-control input_zone" id="zone_3" name="zone_3" value="1" type="checkbox" /> </td> <td> <div class="input-group fixed-width-md"> <span class="input-group-addon">€</span> <input class="form-control" name="fees[3][0]" type="text" disabled="disabled" value="" /> </div> </td> </tr> <tr class="fees" data-zoneid="4"> <td> <label for="zone_4">International zone 1</label> </td> <td class="zone"> <input class="form-control input_zone" id="zone_4" name="zone_4" value="1" type="checkbox" /> </td> <td> <div class="input-group fixed-width-md"> <span class="input-group-addon">€</span> <input class="form-control" name="fees[4][0]" type="text" disabled="disabled" value="" /> </div> </td> </tr> <tr class="fees" data-zoneid="5"> <td> <label for="zone_5">International zone 2</label> </td> <td class="zone"> <input class="form-control input_zone" id="zone_5" name="zone_5" value="1" type="checkbox" /> </td> <td> <div class="input-group fixed-width-md"> <span class="input-group-addon">€</span> <input class="form-control" name="fees[5][0]" type="text" disabled="disabled" value="" /> </div> </td> </tr> <tr class="fees" data-zoneid="6"> <td> <label for="zone_6">International zone 3</label> </td> <td class="zone"> <input class="form-control input_zone" id="zone_6" name="zone_6" value="1" type="checkbox" /> </td> <td> <div class="input-group fixed-width-md"> <span class="input-group-addon">€</span> <input class="form-control" name="fees[6][0]" type="text" disabled="disabled" value="" /> </div> </td> </tr> <tr class="fees" data-zoneid="7"> <td> <label for="zone_7">International zone 4</label> </td> <td class="zone"> <input class="form-control input_zone" id="zone_7" name="zone_7" value="1" type="checkbox" /> </td> <td> <div class="input-group fixed-width-md"> <span class="input-group-addon">€</span> <input class="form-control" name="fees[7][0]" type="text" disabled="disabled" value="" /> </div> </td> </tr> <tr class="fees" data-zoneid="9"> <td> <label for="zone_9">International zone 5</label> </td> <td class="zone"> <input class="form-control input_zone" id="zone_9" name="zone_9" value="1" type="checkbox" /> </td> <td> <div class="input-group fixed-width-md"> <span class="input-group-addon">€</span> <input class="form-control" name="fees[9][0]" type="text" disabled="disabled" value="" /> </div> </td> </tr> <tr class="fees" data-zoneid="10"> <td> <label for="zone_10">International zone 6</label> </td> <td class="zone"> <input class="form-control input_zone" id="zone_10" name="zone_10" value="1" type="checkbox" /> </td> <td> <div class="input-group fixed-width-md"> <span class="input-group-addon">€</span> <input class="form-control" name="fees[10][0]" type="text" disabled="disabled" value="" /> </div> </td> </tr> <tr class="fees" data-zoneid="11"> <td> <label for="zone_11">International zone 7</label> </td> <td class="zone"> <input class="form-control input_zone" id="zone_11" name="zone_11" value="1" type="checkbox" /> </td> <td> <div class="input-group fixed-width-md"> <span class="input-group-addon">€</span> <input class="form-control" name="fees[11][0]" type="text" disabled="disabled" value="" /> </div> </td> </tr> <tr class="fees" data-zoneid="12"> <td> <label for="zone_12">International zone 8</label> </td> <td class="zone"> <input class="form-control input_zone" id="zone_12" name="zone_12" value="1" type="checkbox" /> </td> <td> <div class="input-group fixed-width-md"> <span class="input-group-addon">€</span> <input class="form-control" name="fees[12][0]" type="text" disabled="disabled" value="" /> </div> </td> </tr> <tr class="fees" data-zoneid="13"> <td> <label for="zone_13">International zone 9</label> </td> <td class="zone"> <input class="form-control input_zone" id="zone_13" name="zone_13" value="1" type="checkbox" /> </td> <td> <div class="input-group fixed-width-md"> <span class="input-group-addon">€</span> <input class="form-control" name="fees[13][0]" type="text" disabled="disabled" value="" /> </div> </td> </tr> <tr class="delete_range"> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table> </div> <div class="new_range"> <a href="#" onclick="add_new_range();return false;" class="btn btn-default" id="add_new_range">Ajouter une nouvelle tranche</a> </div> <div class="col-lg-9 col-lg-offset-3"> </div> </div> </div><!-- /.form-wrapper --> </div> </form> <script type="text/javascript"> var module_dir = '/shop/modules/'; var id_language = 1; var languages = new Array(); var vat_number = 0; // Multilang field setup must happen before document is ready so that calls to displayFlags() to avoid // precedence conflicts with other document.ready() blocks languages[0] = { id_lang: 1, iso_code: 'fr', name: 'Français (French)', is_default: '1' }; // we need allowEmployeeFormLang var in ajax request allowEmployeeFormLang = 0; displayFlags(languages, id_language, allowEmployeeFormLang); $(document).ready(function() { $(".show_checkbox").click(function () { $(this).addClass('hidden') $(this).siblings('.checkbox').removeClass('hidden'); $(this).siblings('.hide_checkbox').removeClass('hidden'); return false; }); $(".hide_checkbox").click(function () { $(this).addClass('hidden') $(this).siblings('.checkbox').addClass('hidden'); $(this).siblings('.show_checkbox').removeClass('hidden'); return false; }); if ($(".datepicker").length > 0) $(".datepicker").datepicker({ prevText: '', nextText: '', dateFormat: 'yy-mm-dd' }); if ($(".datetimepicker").length > 0) $('.datetimepicker').datetimepicker({ prevText: '', nextText: '', dateFormat: 'yy-mm-dd', // Define a custom regional settings in order to use PrestaShop translation tools currentText: 'Maintenant', closeText: 'Valider', ampm: false, amNames: ['AM', 'A'], pmNames: ['PM', 'P'], timeFormat: 'hh:mm:ss tt', timeSuffix: '', timeOnlyTitle: 'Choisir l\'heure', timeText: 'Heure', hourText: 'Heure', minuteText: 'Minute', }); }); state_token = '9b35ec24ed1936d2fed02857a441e6af'; var string_price = 'Sera appliquée lorsque le prix est'; var string_weight = 'Sera appliquée lorsque le poids est'; </script> </div> <div id="step-3" class="step_container"> <form id="step_carrier_conf" class="defaultForm form-horizontal" method="post" enctype="multipart/form-data" novalidate> <input type="hidden" name="id_carrier" id="id_carrier_2" value="188" /> <input type="hidden" name="submitAddcarrier" value="1" /> <div class="panel" id="fieldset_form_2_2"> <div class="form-wrapper"> <div class="form-group"> <label class="control-label col-lg-3"> <span class="label-tooltip" data-toggle="tooltip" data-html="true" title=" Largeur maximale gérée par ce transporteur. Inscrivez &quot;0&quot; ou laissez vide pour ignorer cette option. La valeur doit être un entier. "> Largeur maximum du paquet (cm) </span> </label> <div class="col-lg-9"> <input type="text" name="max_width" id="max_width" value="0" class="" /> </div> </div> <div class="form-group"> <label class="control-label col-lg-3"> <span class="label-tooltip" data-toggle="tooltip" data-html="true" title=" Hauteur maximale gérée par ce transporteur. Inscrivez &quot;0&quot; ou laissez vide pour ignorer cette option. La valeur doit être un entier. "> Hauteur maximum du paquet (cm) </span> </label> <div class="col-lg-9"> <input type="text" name="max_height" id="max_height" value="0" class="" /> </div> </div> <div class="form-group"> <label class="control-label col-lg-3"> <span class="label-tooltip" data-toggle="tooltip" data-html="true" title=" Profondeur maximale gérée par ce transporteur. Inscrivez &quot;0&quot; ou laissez vide pour ignorer cette option. La valeur doit être un entier. "> Profondeur maximum du paquet (cm) </span> </label> <div class="col-lg-9"> <input type="text" name="max_depth" id="max_depth" value="0" class="" /> </div> </div> <div class="form-group"> <label class="control-label col-lg-3"> <span class="label-tooltip" data-toggle="tooltip" data-html="true" title=" Poids maximal géré par ce transporteur. Inscrivez &quot;0&quot; ou laissez vide pour ignorer cette option. "> Poids maximum du paquet (kg) </span> </label> <div class="col-lg-9"> <input type="text" name="max_weight" id="max_weight" value="0.000000" class="" /> </div> </div> <div class="form-group"> <label class="control-label col-lg-3"> <span class="label-tooltip" data-toggle="tooltip" data-html="true" title=" Cochez tous les groupes qui ont accès à ce transporteur. "> Accès des groupes </span> </label> <div class="col-lg-9"> <div class="row"> <div class="col-lg-6"> <table class="table table-bordered"> <thead> <tr> <th class="fixed-width-xs"> <span class="title_box"> <input type="checkbox" name="checkme" id="checkme" onclick="checkDelBoxes(this.form, 'groupBox[]', this.checked)" /> </span> </th> <th class="fixed-width-xs"><span class="title_box">ID</span></th> <th> <span class="title_box"> Nom du groupe </span> </th> </tr> </thead> <tbody> <tr> <td> <input type="checkbox" name="groupBox[]" class="groupBox" id="groupBox_1" value="1" checked="checked" /> </td> <td>1</td> <td> <label for="groupBox_1">Visiteur</label> </td> </tr> <tr> <td> <input type="checkbox" name="groupBox[]" class="groupBox" id="groupBox_2" value="2" checked="checked" /> </td> <td>2</td> <td> <label for="groupBox_2">Invité</label> </td> </tr> <tr> <td> <input type="checkbox" name="groupBox[]" class="groupBox" id="groupBox_3" value="3" checked="checked" /> </td> <td>3</td> <td> <label for="groupBox_3">Client</label> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div><!-- /.form-wrapper --> </div> </form> <script type="text/javascript"> var module_dir = '/shop/modules/'; var id_language = 1; var languages = new Array(); var vat_number = 0; // Multilang field setup must happen before document is ready so that calls to displayFlags() to avoid // precedence conflicts with other document.ready() blocks languages[0] = { id_lang: 1, iso_code: 'fr', name: 'Français (French)', is_default: '1' }; // we need allowEmployeeFormLang var in ajax request allowEmployeeFormLang = 0; displayFlags(languages, id_language, allowEmployeeFormLang); $(document).ready(function() { $(".show_checkbox").click(function () { $(this).addClass('hidden') $(this).siblings('.checkbox').removeClass('hidden'); $(this).siblings('.hide_checkbox').removeClass('hidden'); return false; }); $(".hide_checkbox").click(function () { $(this).addClass('hidden') $(this).siblings('.checkbox').addClass('hidden'); $(this).siblings('.show_checkbox').removeClass('hidden'); return false; }); if ($(".datepicker").length > 0) $(".datepicker").datepicker({ prevText: '', nextText: '', dateFormat: 'yy-mm-dd' }); if ($(".datetimepicker").length > 0) $('.datetimepicker').datetimepicker({ prevText: '', nextText: '', dateFormat: 'yy-mm-dd', // Define a custom regional settings in order to use PrestaShop translation tools currentText: 'Maintenant', closeText: 'Valider', ampm: false, amNames: ['AM', 'A'], pmNames: ['PM', 'P'], timeFormat: 'hh:mm:ss tt', timeSuffix: '', timeOnlyTitle: 'Choisir l\'heure', timeText: 'Heure', hourText: 'Heure', minuteText: 'Minute', }); }); state_token = '9b35ec24ed1936d2fed02857a441e6af'; var string_price = 'Sera appliquée lorsque le prix est'; var string_weight = 'Sera appliquée lorsque le poids est'; </script> </div> <div id="step-4" class="step_container"> <script type="text/javascript"> var summary_translation_undefined = '[indéfini]'; var summary_translation_meta_informations = 'Le transporteur est @s1 et le délai de livraison affiché est : @s2.'; var summary_translation_free = 'gratuit'; var summary_translation_paid = 'payant'; var summary_translation_range = '<span class="is_free">Ce transporteur peut livrer des commandes de @s1 à @s2.</span>'; var summary_translation_range_limit = 'Si la commande est hors de cette tranche, le comportement est défini comme : @s3.'; var summary_translation_shipping_cost = 'Le coût d\'envoi est calculé @s1, et la règle de taxe @s2 est appliquée.'; var summary_translation_price = 'en fonction du prix'; var summary_translation_weight = 'en fonction du poids'; </script> <div class="defaultForm"> <div class="panel"> <div class="panel-heading">Nom du transporteur <strong id="summary_name"></strong></div> <div class="panel-body"> <p id="summary_meta_informations"></p> <p id="summary_shipping_cost"></p> <p id="summary_range"></p> <div> Ce transporteur sera proposé pour les zones <ul id="summary_zones"></ul> </div> <div> Et il sera proposé pour les groupes de clients suivants <ul id="summary_groups"></ul> </div> </div> </div> <form id="step_carrier_summary" class="defaultForm form-horizontal" method="post" enctype="multipart/form-data" novalidate> <input type="hidden" name="id_carrier" id="id_carrier_3" value="188" /> <input type="hidden" name="submitAddcarrier" value="1" /> <div class="panel" id="fieldset_form_3_3"> <div class="form-wrapper"> <div class="form-group"> <label class="control-label col-lg-3"> <span class="label-tooltip" data-toggle="tooltip" data-html="true" title=" Rendre ce transporteur disponible pour les clients. "> Activé </span> </label> <div class="col-lg-9"> <span class="switch prestashop-switch fixed-width-lg"> <input type="radio" name="active" id="active_on" value="1" checked="checked"/> <label for="active_on">Oui</label> <input type="radio" name="active" id="active_off" value="0"/> <label for="active_off">Non</label> <a class="slide-button btn"></a> </span> </div> </div> </div><!-- /.form-wrapper --> </div> </form> <script type="text/javascript"> var module_dir = '/shop/modules/'; var id_language = 1; var languages = new Array(); var vat_number = 0; // Multilang field setup must happen before document is ready so that calls to displayFlags() to avoid // precedence conflicts with other document.ready() blocks languages[0] = { id_lang: 1, iso_code: 'fr', name: 'Français (French)', is_default: '1' }; // we need allowEmployeeFormLang var in ajax request allowEmployeeFormLang = 0; displayFlags(languages, id_language, allowEmployeeFormLang); $(document).ready(function() { $(".show_checkbox").click(function () { $(this).addClass('hidden') $(this).siblings('.checkbox').removeClass('hidden'); $(this).siblings('.hide_checkbox').removeClass('hidden'); return false; }); $(".hide_checkbox").click(function () { $(this).addClass('hidden') $(this).siblings('.checkbox').addClass('hidden'); $(this).siblings('.show_checkbox').removeClass('hidden'); return false; }); if ($(".datepicker").length > 0) $(".datepicker").datepicker({ prevText: '', nextText: '', dateFormat: 'yy-mm-dd' }); if ($(".datetimepicker").length > 0) $('.datetimepicker').datetimepicker({ prevText: '', nextText: '', dateFormat: 'yy-mm-dd', // Define a custom regional settings in order to use PrestaShop translation tools currentText: 'Maintenant', closeText: 'Valider', ampm: false, amNames: ['AM', 'A'], pmNames: ['PM', 'P'], timeFormat: 'hh:mm:ss tt', timeSuffix: '', timeOnlyTitle: 'Choisir l\'heure', timeText: 'Heure', hourText: 'Heure', minuteText: 'Minute', }); }); state_token = '9b35ec24ed1936d2fed02857a441e6af'; var string_price = 'Sera appliquée lorsque le prix est'; var string_weight = 'Sera appliquée lorsque le poids est'; </script> </div> </div> </div> </div> </div>
  3. Salut, je ne vois pas trop comment corriger le bug, et la bdd. Sais-tu quels modifs sont à faire ? Quel fichiers à modifier et où ?
  4. Bonjour, je suis en prestashop 1.6.1.17 et je ne peux pas créer de tranches de prix pour le transporteur colissimo. Dès que je veux créer une tranche et valider le prix voici l'alerte JavaScript que j'ai : TECHNICAL ERROR: Details: Error thrown: [object Object] Text status: parsererror Le fichier en post appelé est :ajax.php et j'ai une entête 200 qui m'indique que le fichier est bien trouvé. help ! Je ne peux pas faire payer mes client !!!
  5. Bonjour, Je suis obligé de mettre le _PS_MODE_DEV_ à true dans define.inc.php car sinon le webservice me renvoie une erreur http 500. Avez-vous le même problème ? Pour info j'utilise : PSWebServiceLibrary.php qui est dispos sur le github de prestashop. Avez vous une idée
  6. Salut, Lorsque je clique sur le bouton "visiteurs en ligne" sur le dashboard j'ai cette erreur sql. Peut-on m'aider ? [PrestaShopDatabaseException] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1380131364) GROUP BY u.id_customer ORDER BY u.firstname, u.lastname' at line 11 SELECT u.id_customer, u.firstname, u.lastname, pt.name as page FROM `connections` c LEFT JOIN `connections_page` cp ON c.id_connections = cp.id_connections LEFT JOIN `page` p ON p.id_page = cp.id_page LEFT JOIN `page_type` pt ON p.id_page_type = pt.id_page_type INNER JOIN `guest` g ON c.id_guest = g.id_guest INNER JOIN `customer` u ON u.id_customer = g.id_customer WHERE cp.`time_end` IS NULL AND c.id_shop IN (1) AND TIME_TO_SEC(TIMEDIFF('2017-05-29 09:15:00', cp.`time_start`)) < 900 AND c.ip_address NOT IN (,1380131364) GROUP BY u.id_customer ORDER BY u.firstname, u.lastname at line 791 in file classes/db/Db.php 786. if ($webservice_call && $errno) { 787. $dbg = debug_backtrace(); 788. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97); 789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) { 790. if ($sql) { 791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>'); 792. } 793. 794. throw new PrestaShopDatabaseException($this->getMsgError()); 795. } 796. } DbCore->displayError - [line 425 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 643 - classes/db/Db.php] - [1 Arguments] DbCore->executeS - [line 92 - modules/statslive/statslive.php] - [1 Arguments] StatsLive->getCustomersOnline - [line 142 - modules/statslive/statslive.php] StatsLive->hookAdminStatsModules - [line 587 - classes/Hook.php] - [1 Arguments] HookCore::coreCallHook - [line 544 - classes/Hook.php] - [3 Arguments] HookCore::exec - [line 210 - controllers/admin/AdminStatsTabController.php] - [3 Arguments] AdminStatsTabControllerCore->displayStats - [line 57 - controllers/admin/AdminStatsTabController.php] AdminStatsTabControllerCore->initContent - [line 189 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 58 - admin/index.php]
  7. Salut Hidri, Je ne veux pas renter les données manuellement, j'utilise pour cela l'url gérée dans la module "relancez vos clients" comme ceci : http://www.natural-physical-attitude.com/shop/modules/followup/cron.php?secure_key=xxxxxxxxxxxxxxxxxxxxxx Pour faire un test et c'est là que j'ai le message d'erreur : Fatal error: Uncaught Duplicate entry '6-1' for key 'PRIMARY'<br /><br /><pre>INSERT INTO `cart_rule_lang` (`id_cart_rule`, `name`, `id_lang`) VALUES ('6', 'Bon de réduction pour votre panier abandonné', '1')</pre> thrown in /shop/classes/db/Db.php on line 791
  8. voila : INSERT INTO `cart_rule` (`id_cart_rule`, `id_customer`, `date_from`, `date_to`, `description`, `quantity`, `quantity_per_user`, `priority`, `partial_use`, `code`, `minimum_amount`, `minimum_amount_tax`, `minimum_amount_currency`, `minimum_amount_shipping`, `country_restriction`, `carrier_restriction`, `group_restriction`, `cart_rule_restriction`, `product_restriction`, `shop_restriction`, `free_shipping`, `reduction_percent`, `reduction_amount`, `reduction_tax`, `reduction_currency`, `reduction_product`, `gift_product`, `gift_product_attribute`, `highlight`, `active`, `date_add`, `date_upd`) VALUES (1, 307, '2016-11-03 15:33:58', '2016-11-13 15:33:58', NULL, 1, 1, 1, 1, 'BO_ORDER_1985', 0.00, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0.00, 0.00, 0, 1, 0, 0, 0, 0, 1, '2016-11-03 15:33:58', '2016-11-03 15:33:58'), (2, 242, '2017-02-21 14:08:10', '2018-02-21 14:08:10', '', 0, 1, 1, 1, 'FID62921', 0.00, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0.00, 3.60, 0, 1, 0, 0, 0, 1, 1, '2017-04-02 20:53:09', '2017-04-02 21:13:35'), (3, 15464, '2017-05-10 11:40:03', '2017-05-11 00:00:00', '', 1, 1, 1, 1, 'FLW-1-EJF6JQQ0YO', 0.00, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 3.00, 0.00, 0, 1, 0, 0, 0, 0, 1, '2017-05-10 11:40:03', '2017-05-10 11:40:03'), (4, 15464, '2017-05-10 11:40:58', '2017-05-11 00:00:00', '', 1, 1, 1, 1, 'FLW-1-UXDNVWI9AG', 0.00, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 3.00, 0.00, 0, 1, 0, 0, 0, 0, 1, '2017-05-10 11:40:58', '2017-05-10 11:40:58'), (5, 15464, '2017-05-10 11:46:29', '2017-05-11 00:00:00', '', 1, 1, 1, 1, 'FLW-1-FR2P3HJQSV', 0.00, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 3.00, 0.00, 0, 1, 0, 0, 0, 0, 1, '2017-05-10 11:46:29', '2017-05-10 11:46:29'), (6, 15464, '2017-05-10 11:59:16', '2017-05-11 00:00:00', '', 1, 1, 1, 1, 'FLW-1-RGQBVN41WX', 0.00, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 3.00, 0.00, 0, 1, 0, 0, 0, 0, 1, '2017-05-10 11:59:16', '2017-05-10 11:59:16');
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More