Jump to content

giorinsrl

Members
  • Posts

    45
  • Joined

  • Last visited

Everything posted by giorinsrl

  1. Hi guys, we have installed prestashop 1.6. It's Amazing. Good work But i want to enable the column of product in order page, how can i do? I don't think that is the same doing to old 1.5.4.1. thank you guys!
  2. I don't know!How can i disable it so i find the module that generate this error?I don't have a plugin for Customer..Can I delete the override folder?
  3. Strict Standards: Declaration of Dispatcher::loadRoutes() should be compatible with DispatcherCore::loadRoutes($id_shop = NULL) in /var/www/prestashop/override/classes/Dispatcher.php on line 16 Fatal error: Class 'CustomFieldsSetting' not found in /var/www/prestashop/override/controllers/admin/AdminCustomersController.php on line 70
  4. Hi guys, i have a big problem.. When i click on add new customer i see a blank page!Why? no error, only blank page!Page white wothout error. I have Prestashop 1.5.6.0 Any idea?
  5. Non aggiorno alla versione nuova perchè i moduli che sto utilizzando non me lo permettono. Ecco il file dentro troverai un fieldset "note specifiche ordine" li dentro dovremmo fare la magia. view.tpl.zip
  6. Grazie.. Anche perchè facendo cosi non intacchiamo il DB di Prestashop
  7. Allora, io mi sn informato un po in giro ma tutti i topic aperti a riguardo rimandano solo ai messaggi lasciati dai clienti, e quindi renderli visibili dentro il dettaglio ordine. Invece noi dovremmo creare una tabella nuova, e inserire dentro l'id_ordine e la colonna della textarea Facciamo una query per stampare il valore nella pagina degli ordini e il gioco è fatto Che ne pensi?
  8. ok!aspetto intanto fiducioso leggendo qualche post qui e la
  9. No!ma quale modulo!ho aggiunto codice html dentro il TPL e basta. Non ho aggiunti campi nel DB. <fieldset> <form> <input type="textarea"> <input type="submit"> </form> </fieldset> Non ho creato i campi del DB, proviamo?!Come posso procedere? Più che altro se riusciamo lasciamo qui la soluzione a tutti quelli che hanno 1.5.6 e non hanno questa feature. In 1.6 esiste invece!
  10. Ciao TribalDexterD, e grazie per la tua risposta Avrei necessita di integrare in questo layout www.ilmiositoweb.it/adminXXXX/index.php?controller=AdminOrders&id_order=XXX ossianella visualizzazione dettagliata dell'ordine del cliente un "fieldset note", un campo textarea dove aggiungere note specifiche per ogni ordine. Inserisco la nota e salvo la stessa con il submit SALVA la NOTA. Ho già inserito il fieldset nella pagina come lo screen shot allegato, mi manca solo di inserire la query che salva quel testo a quell'ordine. L'importante è che questa nota sia visualizzabile ed editabile direttamente nella pagina di ordine in dettaglio, come l'allegato.
  11. Ciao Ragazzi, avrei necessità di capire come inserire delle note private visualizzabili all'interno della pagina dell'ordine. Come potrei fare ragazzi?
  12. Ciao Ragazzi, ma si può importare la quantità degli oggetti? Volevo fare un file CSV con gli id prodotti ecc ecc e la quantità, cosi che lui aggiorna tutti in una botta sola!Si può fare o non si possono importare gli stessi prodotti gia esistenti?
  13. anyone?this feature is integrated in 1.6, but i would it in 1.5..please, some genius!
  14. Hy guys, in the new version of prestashop 1.6 i present this function, is it possible that it doesn't exist in 1.5.x?? How can i integrate it?I try but the only solution is create another column on DB prestashop and i'm not sure that this work! I modify the code for insert "Customer Note" in the order page, but this visual always the same message for each order of client. This is not correct for me, i want a simply note private to visual in the order page. Any solution?! Thank you guys..
  15. Hi guys, i want to change the VAT in a exist order, because my client buy with another VAT. If i enter in a order, i can't edit it. How Can i do?
  16. Thank you so much..simply invert select count!Uaoo!! Thank you so much!
  17. Hi guys, i open a new topic because it's more clear and more useful for any user. i successful integrate a column with name category of product, but it print 6 times the name product, Why!? This is my AdminOrderController.php: $this->_select = ' a.id_currency, a.id_order AS id_pdf, CONCAT(LEFT(c.`firstname`, 1), \'. \', c.`lastname`) AS `customer`, osl.`name` AS `osname`, os.`color`, a.`reference`, cl.`name` AS `cat_name`, IF((SELECT COUNT(so.id_order) FROM `' . _DB_PREFIX_ . 'orders` so WHERE so.id_customer = a.id_customer) > 1, 0, 1) as new, GROUP_CONCAT(od.product_name separator \', \') as products'; $this->_join = ' LEFT JOIN `' . _DB_PREFIX_ . 'customer` c ON (c.`id_customer` = a.`id_customer`) LEFT JOIN `' . _DB_PREFIX_ . 'order_state` os ON (os.`id_order_state` = a.`current_state`) LEFT JOIN `' . _DB_PREFIX_ . 'order_state_lang` osl ON (os.`id_order_state` = osl.`id_order_state` AND osl.`id_lang` = ' . (int)$this->context->language->id . ') LEFT JOIN `'._DB_PREFIX_. 'order_detail` od ON (od.id_order = a.id_order ) LEFT JOIN `'._DB_PREFIX_. 'product` p ON (p.id_product = od.product_id ) LEFT JOIN `'._DB_PREFIX_. 'category_lang` cl ON (p.id_category_default = cl.id_category )'; $this->_orderBy = 'id_order'; $this->_orderWay = 'DESC'; $this->_group = 'GROUP BY a.id_order'; $statuses_array = array(); $statuses = OrderState::getOrderStates((int)$this->context->language->id); foreach ($statuses as $status) $statuses_array[$status['id_order_state']] = $status['name']; $this->fields_list = array( 'id_order' => array( 'title' => $this->l('ID'), 'align' => 'center', 'width' => 25 ), 'reference' => array( 'title' => $this->l('Reference'), 'align' => 'center', 'width' => 65 ), 'new' => array( 'title' => $this->l('New'), 'width' => 25, 'align' => 'center', 'type' => 'bool', 'tmpTableFilter' => true, 'icon' => array( 0 => 'blank.gif', 1 => array( 'src' => 'note.png', 'alt' => $this->l('First customer order'), ) ), 'orderby' => false ), 'customer' => array( 'title' => $this->l('Customer'), 'havingFilter' => true, ), //viewproductsoforder 'products' => array( 'title' => $this->l('Products'), 'align' => 'center', 'width' => 150, 'filter_key' => 'od!product_name' ), 'cat_name' => array( 'title' => $this->l('Categoria'), 'align' => 'center', 'width' => 100 ), 'gift' => array( 'title' => $this->l('Fattura'), 'havingFilter' => true, 'align' => 'center', 'icon' => array( 0 => 'blank.gif', 1 => array( 'src' => 'note.png', 'alt' => $this->l('Richiede Fattura'), ) ), 'width' => 35 ), 'total_paid_tax_incl' => array( 'title' => $this->l('Total'), 'width' => 70, 'align' => 'right', 'prefix' => '<b>', 'suffix' => '</b>', 'type' => 'price', 'currency' => true ), 'payment' => array( 'title' => $this->l('Payment: '), 'width' => 100 ), 'osname' => array( 'title' => $this->l('Status'), 'color' => 'color', 'width' => 280, 'type' => 'select', 'list' => $statuses_array, 'filter_key' => 'os!id_order_state', 'filter_type' => 'int' ), 'date_add' => array( 'title' => $this->l('Date'), 'width' => 130, 'align' => 'right', 'type' => 'datetime', 'filter_key' => 'a!date_add' ), 'id_pdf' => array( 'title' => $this->l('PDF'), 'width' => 35, 'align' => 'center', 'callback' => 'printPDFIcons', 'orderby' => false, 'search' => false, 'remove_onclick' => true), ); $this->shopLinkType = 'shop'; $this->shopShareDatas = Shop::SHARE_ORDER; if (Tools::isSubmit('id_order')) { // Save context (in order to apply cart rule) $order = new Order((int)Tools::getValue('id_order')); if (!Validate::isLoadedObject($order)) throw new PrestaShopException('Cannot load Order object'); $this->context->cart = new Cart($order->id_cart); $this->context->customer = new Customer($order->id_customer); }
  18. Thank you, but it doesn't work!look forward to great leaders.. it prints 6 times the same product name!!!
  19. Hi guys, i am successful to integrate the column CATEGORY, with this code in AdminOrderController: $this->_select = ' a.id_currency, a.id_order AS id_pdf, CONCAT(LEFT(c.`firstname`, 1), \'. \', c.`lastname`) AS `customer`, osl.`name` AS `osname`, os.`color`, od.`product_reference`, cl.`name` AS `cat_name`, IF((SELECT COUNT(so.id_order) FROM `' . _DB_PREFIX_ . 'orders` so WHERE so.id_customer = a.id_customer) > 1, 0, 1) as new, GROUP_CONCAT(od.product_name separator \', \') as products'; $this->_join = ' LEFT JOIN `' . _DB_PREFIX_ . 'customer` c ON (c.`id_customer` = a.`id_customer`) LEFT JOIN `' . _DB_PREFIX_ . 'order_state` os ON (os.`id_order_state` = a.`current_state`) LEFT JOIN `' . _DB_PREFIX_ . 'order_state_lang` osl ON (os.`id_order_state` = osl.`id_order_state` AND osl.`id_lang` = ' . (int)$this->context->language->id . ') LEFT JOIN `'._DB_PREFIX_. 'order_detail` od ON (od.id_order = a.id_order ) LEFT JOIN `'._DB_PREFIX_. 'product` p ON (p.id_product = od.product_id ) LEFT JOIN `'._DB_PREFIX_. 'category_lang` cl ON (cl.id_category = p.id_category_default )'; $this->_orderBy = 'id_order'; $this->_orderWay = 'DESC'; $this->_group = 'GROUP BY a.id_order'; $statuses_array = array(); $statuses = OrderState::getOrderStates((int)$this->context->language->id); foreach ($statuses as $status) $statuses_array[$status['id_order_state']] = $status['name']; $this->fields_list = array( 'id_order' => array( 'title' => $this->l('ID'), 'align' => 'center', 'width' => 25 ), 'reference' => array( 'title' => $this->l('Reference'), 'align' => 'center', 'width' => 65 ), 'product_reference' => array( 'title' => $this->l('Reference'), 'align' => 'center', 'width' => 65 ), 'new' => array( 'title' => $this->l('New'), 'width' => 25, 'align' => 'center', 'type' => 'bool', 'tmpTableFilter' => true, 'icon' => array( 0 => 'blank.gif', 1 => array( 'src' => 'note.png', 'alt' => $this->l('First customer order'), ) ), 'orderby' => false ), 'customer' => array( 'title' => $this->l('Customer'), 'havingFilter' => true, ), //viewproductsoforder 'products' => array( 'title' => $this->l('Products'), 'align' => 'center', 'width' => 150, 'filter_key' => 'od!product_name' ), 'cat_name' => array( 'title' => $this->l('Categoria'), 'align' => 'center', 'width' => 100 ), 'gift' => array( 'title' => $this->l('Fattura'), 'havingFilter' => true, 'align' => 'center', 'icon' => array( 0 => 'blank.gif', 1 => array( 'src' => 'note.png', 'alt' => $this->l('Richiede Fattura'), ) ), 'width' => 35 ), 'total_paid_tax_incl' => array( 'title' => $this->l('Total'), 'width' => 70, 'align' => 'right', 'prefix' => '<b>', 'suffix' => '</b>', 'type' => 'price', 'currency' => true ), 'payment' => array( 'title' => $this->l('Payment: '), 'width' => 100 ), 'osname' => array( 'title' => $this->l('Status'), 'color' => 'color', 'width' => 280, 'type' => 'select', 'list' => $statuses_array, 'filter_key' => 'os!id_order_state', 'filter_type' => 'int' ), 'date_add' => array( 'title' => $this->l('Date'), 'width' => 130, 'align' => 'right', 'type' => 'datetime', 'filter_key' => 'a!date_add' ), 'id_pdf' => array( 'title' => $this->l('PDF'), 'width' => 35, 'align' => 'center', 'callback' => 'printPDFIcons', 'orderby' => false, 'search' => false, 'remove_onclick' => true), ); But in the order list, the product is repeated 6 times!Where is my error?
  20. is it possible in the code PHP of module move the prefix to suffix?
  21. Hi guys, i don't know if i wrote correctly, but i want to know how can I view a page with a order each page, click only one button to print all and don't enter in each order to print it. How can i create a simple page, and then to print? I haven't problem to create CSS media print, and if anyone "phpMAN" help me i can give here the template to organize the recordset.
×
×
  • Create New...

Important Information

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