Jump to content

LorenzoProdon

Members
  • Posts

    47
  • Joined

  • Last visited

Profile Information

  • Location
    Italy

Recent Profile Visitors

3,859,287 profile views

LorenzoProdon's Achievements

Newbie

Newbie (1/14)

4

Reputation

  1. Buongiorno, Mi servirebbe far comparire nella mail che riceve un cliente, quando un prodotto nel carrello non è disponibile in magazzino, il nome del prodotto mancante. Di default esce un messaggio generale senza indicare (se per esempio nel carrello ci sono più prodotti) qual è il prodotto mancante tra quelli in carrello. Premetto che il mio store permette l'inserimento nel carrello di prodotti fuori magazzino. Leggendo un po' sui forum ho trovato delle guide che modificano la mail che riceve l'amministratore, modificando il file mailalerts e la mail productoutofstock.html, ma a me servirebbe la modifica sulla mail del cliente outofstock.html, che ti trova nella directory mails/it. Grazie a chi saprà aiutarmi. Prestashop 1.6.1.24
  2. I fix it today with an upgrade from 1.7.3.2 to 1.7.3.3 using 1-clickupgrade
  3. I solved today with upgrading prestashop version with 1-clickupgrade to 1.7.3.3 The are a lot of post without solution, maybe this can help someone. Not solved yet: the error appears only when an imported customer try to create order with bank transfer. if i create a new account it works perfect. I need that all customers imported can place an order with bank transfer.. EDIT: if a imported customer refresh the personal data after login, the site is ok and an order with bank transfer is ok! Maybe i have to "refresh" users? does exist something can help me?
  4. Prestashop Version: 1.7.3.2 When a customer try to confirm order by ps_wirepayment (Bank Transfer) or by check, appears http://mysite/module/ps_wirepayment/validation and a white screen with Fatal Error string. Orders by PayPal was OK. I already tryed to change the string $this->module->displayName to ps_wirepayment , without success. Any suggestion will be appreciated. Enabling debug mode i see this: [PrestaShopException] Fatal error at line 985 in file classes/Tools.php 980. * @param bool $htmlentities By default at true for parsing error message with htmlentities 981. */ 982. public static function displayError($string = 'Fatal error', $htmlentities = true, Context $context = null) 983. { 984. if (defined('_PS_MODE_DEV_') && _PS_MODE_DEV_) { 985. throw new PrestaShopException($string); 986. } else if ('Fatal error' !== $string) { 987. return $string; 988. } 989. 990. return Context::getContext()->getTranslator()->trans('Fatal error', array(), 'Admin.Notifications.Error'); ToolsCore::displayError - [line 244 - classes/PaymentModule.php] 239. 240. // Does order already exists ? 241. if (Validate::isLoadedObject($this->context->cart) && $this->context->cart->OrderExists() == false) { 242. if ($secure_key !== false && $secure_key != $this->context->cart->secure_key) { 243. PrestaShopLogger::addLog('PaymentModule::validateOrder - Secure key does not match', 3, null, 'Cart', (int)$id_cart, true); 244. die(Tools::displayError()); 245. } 246. 247. // For each package, generate an order 248. $delivery_option_list = $this->context->cart->getDeliveryOptionList(); 249. $package_list = $this->context->cart->getPackageList(); PaymentModuleCore->validateOrder - [line 64 - modules/ps_wirepayment/controllers/front/validation.php] - [9 Arguments] 59. '{bankwire_owner}' => Configuration::get('BANK_WIRE_OWNER'), 60. '{bankwire_details}' => nl2br(Configuration::get('BANK_WIRE_DETAILS')), 61. '{bankwire_address}' => nl2br(Configuration::get('BANK_WIRE_ADDRESS')) 62. ); 63. 64. $this->module->validateOrder($cart->id, Configuration::get('PS_OS_BANKWIRE'), $total, $this->module->displayName, NULL, $mailVars, (int)$currency->id, false, $customer->secure_key); 65. Tools::redirect('index.php?controller=order-confirmation&id_cart='.$cart->id.'&id_module='.$this->module->id.'&id_order='.$this->module->currentOrder.'&key='.$customer->secure_key); 66. } 67. } Ps_WirepaymentValidationModuleFrontController->postProcess - [line 242 - classes/controller/Controller.php] 237. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) { 238. $this->setMedia(); 239. } 240. 241. // postProcess handles ajaxProcess 242. $this->postProcess(); 243. 244. if (!empty($this->redirect_after)) { 245. $this->redirect(); 246. } 247. ControllerCore->run - [line 428 - classes/Dispatcher.php] 423. if (isset($params_hook_action_dispatcher)) { 424. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 425. } 426. 427. // Running controller 428. $controller->run(); 429. 430. // Execute hook dispatcher after 431. if (isset($params_hook_action_dispatcher)) { 432. Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher); 433. } DispatcherCore->dispatch - [line 28 - index.php] 23. * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) 24. * International Registered Trademark & Property of PrestaShop SA 25. */ 26. 27. require(dirname(__FILE__).'/config/config.inc.php'); 28. Dispatcher::getInstance()->dispatch();
  5. Grazie mille a @Sito Lab e @Fabry per le preziosissime risposte. La parte problematica della mia richiesta riguarda appunto il passaggio alla 1.7 Quindi pensavo o di fare una installazione pulita e rimanere alla 1.6.0.9 copiando lo stesso database oppure aggiornare alla 1.6.1.17. Pensandoci il passaggio alla 1.7 non è indispensabile.
  6. Buongiorno a tutti, ho un sito avviato da qualche anno su PRESTASHOP v1.6.0.9, devo spostarlo su un'altro VPS. Con l'occasione volevo passare alla v1.7. Pensavo di fare una installazione pulita della v1.6.0.9, importare tutto il database, e aggiornare alla 1.7 , però ho dei dubbi sul fatto che non ci saranno immagini, sulle configurazioni dei moduli e sulle modifiche che ho fatto nel tempo al tema. Suggerimenti?
  7. Hi, i'm trying to edit the width of the columns in product list, when list mode was selected. In the deafult theme there are 3 columns, with the width attribute at 33%: - product image - name and short description - price and add to cart button i want a shorter width of 1° column, and larger 2° and 3° columns. I see in the product_list.tpl at line 49 is assigned a col-md-4 css class. Attached a screen with what i want (the first row, the second its how is now). Anyone can help me?
  8. Ciao, grazie per avermi risposto. Il tema è quello di default. Se in product-list.tpl nella riga 49 cambio da col-md-4 a col-md-3, non risolvo nulla (ti allego lo screen di quello che succede. Quello che non capisco è come assegnare ad ogni colonna uno stile diverso, per esempio col-md-3 alla prima colonna e col-md-4 alla seconda e alla terza. Per come è programmato adesso, le 3 colonne vengono create tramite un ciclo for (credo) nella riga 49 del file product-list.tpl Nel primo post ti ho mostrato come vorrei che venisse visualizzata la lista.
  9. Ciao a tutti, Vorrei modificare la lunghezza delle colonne della visualizzazione prodotti quando il modo lista è selezionato (ovvero 1 prodotto su ogni rigo). Nel tema di default attualmente ci sono 3 colonne per ogni rigo che misurano il 33% di larghezza ciascuno: - Immagine prodotto - Nome e descrizione - Prezzo, bottone carrello Ho visto che vengono generate nel file product_list.tpl con un ciclo for, e quindi hanno tutte la stessa dimensione poichè viene assegnata la stessa classe css. Io vorrei che la prima colonna avesse una lunghezza minore rispetto alla seconda e alla terza. Vi allego uno screen di quello che vorrei realizzare, e come è adesso. Qualcuno sarebbe in grado di darmi qualche dritta?
  10. Anyone can help me? I need to find a solution to this!
  11. Buongiorno, nessuno riesce ad aiutarmi, anche a darmi una dritta su come fare?
  12. How can display what the customer have searched in the product description? In the "blocksearch" i've find the variable $search_query that contain the customer's searched text. I've simply tried adding "{$search_query}" in product.tpl, but this doesn't work. Lorenzo - Italy
  13. Vorrei inserire il testo cercato che viene memorizzato nella variabile $search_query del modulo "blockcart" nella descrizione prodotto del file product.tpl.Ho modificato il file product.tpl nella parte della descrizione del prodotto. Ho inserito {$search_query} ma non appare nulla. Come posso fare?
×
×
  • Create New...