Gon Lou Posted June 4, 2012 Share Posted June 4, 2012 Hi, Recently I bought the Datepicker with hours by ecommy.com v2.3 but I'm having problems with it: 1. the orders icon dissapear 2.i only can see one order (the last one) 3.the one order i can see says "invalid date" 4.the configuration is fuzzy, the table goes off the boundary My PrestaShop version is 1.4.8.2 I installed Datepicker by ftp upload of the directory Datepicker to modules, and then installed from PrestaShop backoffice. It installed ok, but when i make an order i get this problems. Can someone help me? Thanks in advance! Please see Print Screen below. http://db.tt/U7SZmsk5 Link to comment Share on other sites More sharing options...
Gon Lou Posted June 6, 2012 Author Share Posted June 6, 2012 So many people that recommend it, and no one is available to help? Please this point is vital for the success of PrestaShop plataform! Thanks in advance Link to comment Share on other sites More sharing options...
jhnstcks Posted June 6, 2012 Share Posted June 6, 2012 I would advise you to contact the module developer Link to comment Share on other sites More sharing options...
halennoor Posted June 6, 2012 Share Posted June 6, 2012 there is one topic on this module - check this http://www.prestashop.com/forums/topic/113649-adding-a-datepicker-for-delivery-date-on-orders-page/ Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 6, 2012 Share Posted June 6, 2012 Hi Gon Lou, As jhnstcks posted above, the best thing to do in this situation would be to contact the developer of this module directly. He will be able to help you much more easily than anyone else because it is his original work. -Mike Link to comment Share on other sites More sharing options...
Gon Lou Posted June 6, 2012 Author Share Posted June 6, 2012 (halennoor) The tip is good but I've already paid for it (jhnstcks) and (Mike Kranzler) I've already made that and have no response Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 6, 2012 Share Posted June 6, 2012 (halennoor) The tip is good but I've already paid for it (jhnstcks) and (Mike Kranzler) I've already made that and have no response Can you please provide a link for where you purchased this module? -Mike Link to comment Share on other sites More sharing options...
Gon Lou Posted June 6, 2012 Author Share Posted June 6, 2012 http://www.ecommy.com/products/date-picker-with-hours-prestashop-p-32.html Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 6, 2012 Share Posted June 6, 2012 Unfortunately, since this was purchased externally we cannot compel the developer to answer, but he is active on the forums, so you may want to try contacting him directly here. -Mike 1 Link to comment Share on other sites More sharing options...
Gon Lou Posted June 12, 2012 Author Share Posted June 12, 2012 Well he does not answer...any alternatives for a datepicker with same properties? I mean with properties, the scheduling for different days of the week. Thanks Link to comment Share on other sites More sharing options...
Gon Lou Posted June 15, 2012 Author Share Posted June 15, 2012 Well I start digging, and what I found: The date and time for delivery are not recorded at database, and that's why it jams at last record and gives "Date invalid". Analysing the code, both variables "shipping_date" and "shipping_hour" are passed from "time_interval.php" to "OrderOpcController.php" but there is no record to the database or any kind of processing. Please see the code: time_interval.php $.ajax({ alert(shipping_date); type: 'POST', url: orderOpcUrl, async: false, cache: false, dataType : "json", data: 'ajax=true&method=updateCarrierAndGetPayments&shipping_date='+shipping_date+'&shipping_hour='+shipping_hour+'&id_carrier=' + idCarrier + '&recyclable=' + recyclablePackage + '&gift=' + gift + '&gift_message=' + giftMessage + '&token=' + static_token , success: function(jsonData) { if (jsonData.hasError) { var errors = ''; for(error in jsonData.errors) //IE6 bug fix if(error != 'indexOf') errors += jsonData.errors[error] + "\n"; alert(errors); } else { updateCartSummary(jsonData.summary); updatePaymentMethods(jsonData); updateHookShoppingCart(jsonData.summary.HOOK_SHOPPING_CART); updateHookShoppingCartExtra(jsonData.summary.HOOK_SHOPPING_CART_EXTRA); $('#opc_payment_methods-overlay').fadeOut('slow'); $('#opc_delivery_methods-overlay').fadeOut('slow'); } }, error: function(XMLHttpRequest, textStatus, errorThrown) {alert("TECHNICAL ERROR: unable to save carrier \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);} }); OrderOpcController.php case 'updateCarrierAndGetPayments': if (Tools::isSubmit('id_carrier') AND Tools::isSubmit('recyclable') AND Tools::isSubmit('gift') AND Tools::isSubmit('gift_message')) { if ($this->_processCarrier()) { $return = array( 'summary' => self::$cart->getSummaryDetails(), 'HOOK_TOP_PAYMENT' => Module::hookExec('paymentTop'), 'HOOK_PAYMENT' => $this->_getPaymentMethods() ); die(Tools::jsonEncode($return)); } else $this->errors[] = Tools::displayError('Error occurred updating cart.'); if (sizeof($this->errors)) die('{"hasError" : true, "errors" : ["'.implode('\',\'', $this->errors).'"]}'); exit; } break; Anyone can tell me how I record this two variables into the database? Thanks Link to comment Share on other sites More sharing options...
Gon Lou Posted June 20, 2012 Author Share Posted June 20, 2012 Useless forum, bah 2 Link to comment Share on other sites More sharing options...
Gon Lou Posted June 21, 2012 Author Share Posted June 21, 2012 Solution Just copy the Datepicker class and paste to the end of Prestashop class on the following files: Cart.php Tools.php Orders.php Payment Module.php Now records on the database For tables get out of boundaries problem just edit the file AdminOrders.php and reduce width of different elements. Now it's fine! Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 21, 2012 Share Posted June 21, 2012 Thanks Gon Lou! I'll go ahead and mark this thread as solved for you. Happy selling! -Mike Link to comment Share on other sites More sharing options...
Agucho Posted September 15, 2016 Share Posted September 15, 2016 Don't buy Datepicker from Ecommy, I did, had problems, contacted them serveral times but never heard from them. It is an awful feeling spending money in crappy software, boldly advertised only to piss off my customers, my customers' customers and waste other developers time. Just take care of the tickets, man, or close shop completely. Hope it helps. Link to comment Share on other sites More sharing options...
Recommended Posts