Jump to content

Marco Brughi

Members
  • Posts

    13
  • Joined

  • Last visited

About Marco Brughi

  • Birthday 01/28/1963

Profile Information

  • Location
    Città di Castello (PG) - Italy
  • Interests
    Web developer PrestaShop Wordpress
  • Activity
    Freelancer

Marco Brughi's Achievements

  1. Hello, I created the "rules of the price" to calculate the price for quantity then some "product attributes" that apply price changes if selected. The problem is that when apply the discount percentage for the amount by which the change in the attribute also to the price. For example: Base price € 3.20 from 0 to 29 pieces € 2.96 30 to 49 pieces (7.50% discount) If I choose an attribute type that should be added to the base price € 1.80, in the first range is fine because there is no discount, however in the second range is also applied to this attribute discount of 7.50%. But I wish that were not applied to the attribute nessunto discount but would add € 1.80 regardless of the amount ...... is possible. Thanks in advance to those who have a solution.
  2. Hi Antonio, thank you but unfortunately the problem is exactly this, there are product attributes, then, from what you have written, I do not think that code works. Anyway I want to try it, you never know, but according to you where in the file product.js should I put this code? thanks for your help!
  3. Hi, I have PS 1.6.0.8 and personalized theme with product attribute and quantity discounts, and don't use tax I've tried all the variations proposed but none work for me. In my ecommerce the product attribute change the unit price correctly but i don't visualize change when I increase quantity, is always displayed the unit price. I attached my product.tpl. Can you help me? Thanks! product.tpl.txt
  4. I found a simple solution on the web: http://stackoverflow.com/questions/13336153/smarty-foreach-array-sort-order Practically it comes to replacing a line or a better option of the SQL statement that you find in the file: Classes / specificprice.php more or less from the line # 293 (but I found it to # 599) in this way: change ORDER BY `DESC id_product_attribute`, from_quantity`` DESC, `id_specific_price_rule` ASC, DESC` score` with ORDER BY `id_product_attribute` DESC, `from_quantity` ASC, `id_specific_price_rule` ASC, `score` DESC there is not even need to replace the whole line just change 'from quantity' DESC, in 'quantity from' ASC, but we must be careful not to add any other line, neither comment, nor white, otherwise it can not work, and return the white screen. For me it worked PS 1.6.0.8 and custom template. Bye!
  5. There is a troublesome problem, the Rules Catalog Prices are displayed in reverse order from the last to the first, even when changing parameters in the DB: example: If prices have created these rules: Qty Price from 1 to 50 pieces - € 5.00 from 51 to 100 pieces - € 10.00 from 101 to 1000 pieces - €. 20.00 in view in the template I find myself always as ordered: from 101 to 1000 pieces - €. 20.00 from 51 to 100 pieces - € 10.00 from 1 to 50 pieces - € 5.00 nothing major and does not affect the operation of the rules, but for accuracy I'd like to see you order the right way and also to give the right message to the customer.
  6. Ho trovato una semplice soluzione in rete: http://stackoverflow.com/questions/13336153/smarty-foreach-array-sort-order Praticamente si tratta di sostituire una riga o meglio una opzione dell'istruzione SQL che trovate nel file: Classes/specificprice.php più o meno dalla riga #293 (ma io l'ho trovata alla #599) in questo modo: cambiare ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC in ORDER BY `id_product_attribute` DESC, `from_quantity` ASC, `id_specific_price_rule` ASC, `score` DESC non cè neanche bisogno di sostituire tutta la riga basta cambiare 'from quantity' DESC, in 'from quantity' ASC, bisogna però fare attenzione a non aggiungere nessuna altra riga, nè di commento, ne bianca, altrimenti può non funzionare e ritornare lo schermo bianco. Per me ha funzionato PS 1.6.0.8 e template personalizzato. Saluti!
  7. Esiste un problema noioso, le Regole Catalogo Prezzi vengono visualizzate in ordine inverso, ovvero dalla ultima alla prima anche cambiando i parametri nel DB: Esempio: Se abbiamo creato queste regole prezzi: Q.tà Prezzo da 1 a 50 pezzi - € 5,00 da 51 a 100 pezzi - € 10,00 da 101 a 1000 pezzi - €. 20,00 in visualizzazione nel template me le trovo sempre cosi ordinate: da 101 a 1000 pezzi - €. 20,00 da 51 a 100 pezzi - € 10,00 da 1 a 50 pezzi - € 5,00 niente di grave e non incide sul funzionamento delle regole, però per precisione le vorrei vedere ordinate nel modo giusto ed anche per dare il messaggio giusto al cliente.
  8. I have the same problem with PS 1.6.0.6 and with upgrade 1.6.0.8 with personalized theme, but I resolved with this simple mode: Thanks to ElPatron Moderator and other contributes.
  9. Grazie al forum in inglese risolto in questo topic http://www.prestashop.com/forums/topic/327879-transplant-not-possible-blank-page-problem/?p=1660219 Il problema si presentava come schermo bianco con Ps 1.6.0.6 e poi con l'errore indicato in Ps 1.6.0.8 Saluti!
  10. Thanks, resolved in this topic. http://www.prestashop.com/forums/topic/327879-transplant-not-possible-blank-page-problem/?p=1660219
  11. Also I had this same problem, first with blank page Ps 1. 6.0.6 and now after upgrade 1.6.0.8. But for me this resolved. Many Thanks to Cpufan now everything is OK
  12. Hello, when i try to implant a new module into modules position return this error: Fatal error: Call to undefined method Dispatcher::getModuleControllers() in /var/www/vhosts/sitowebhosting.it/httpdocs/controllers/admin/AdminModulesPositionsController.php on line 452 can anyone help me? Thanks!
  13. Salve a tutti, quando nella posizione moduli cerco di innestare un nuovo modulo mi esce questo errore: Fatal error: Call to undefined method Dispatcher::getModuleControllers() in /var/www/vhosts/sitowebhosting.it/httpdocs/controllers/admin/AdminModulesPositionsController.php on line 452 qualcuno ne sa qualcosa o lo ha risolto? Grazie!
×
×
  • Create New...