Jump to content

serfer2

Members
  • Posts

    13
  • Joined

  • Last visited

Profile Information

  • Activity
    Agency

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

serfer2's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. For Prestashop >= 1.5 you must use "Context" class (read the docs). In example (inside a module code): $employee_id = $this->context->employee->id; or: $ctx = Context::getContext(); $emp_id = (int)$ctx->employee->id; Hope it helps ;-)
  2. Gracias por el post, funciona de maravilla ;-)
  3. Hi everyone, thanks PGallerani, you're right. I was suffering the same problem and salution was as simple as uninstalling the "European VAT number" module. Kind regards ;-)
  4. Hi, no query to the database is needed. Try this: global $cookie; $iso_code = Language::getgetIsoById( (int)$cookie->id_lang ); I think it will work as you wish
  5. Hi Sarahd, please, zip your "Cash on delivery with fee aural" complete module and post it here. Let me see the code and test it. If I can I'll help you to find the bug. Regards
  6. Sorry but I didn't get a “date invalide” error. Please check your Prestashop version. This file/module is only compatible with 1.3.x versions By the way, whenever you ask for help, you must provide most data as you can. “Date invalide” is not enough info, don't you think so? You have to provide us info like: - Which version of Prestashop are you using? - Did you modified anything more? - Can you attach your "cashondeliverywithfeeaural.php" source code file? ...
  7. Please, be careful, I suspect this cashondeliverywithfeeaural-1.3.zip module has important bugs: MonDeveloper’s modification may contain some bugs in function validateOrderCOD(). When new order is complete, order_detail DataBase insertions are incorrect. Product quantity value, in order details, has the value of product stock in place of the customer’s product quantity selection. Maybe a Mistake between: $product[‘quantity’] —-> the current product stock. and: $product[‘cart_quantity’] —-> number of units of a product that the customer wants to buy I've modified the php file and I think it works fine now. You can use it (see attached). Please, take a look to the attached file code, see the fix comments and report any suggestion. regards ;-) cashondeliverywithfeeaural.php
  8. Warning !!! I suspect, this cashondeliverywithfeeaural-1.3.zip module has important bugs: In function validateOrderCOD(). When new order is complete, order_detail DataBase insertions are incorrect. Product quantity value, in order details, has the value of product stock in place of the customer’s product quantity selection. Maybe a Mistake between: $product[‘quantity’] —-> the current product stock. and: $product[‘cart_quantity’] —-> number of units of a product that the customer wants to buy Please, take a look to the attached file code, see the fix comments and report any suggestion. regards ;-) cashondeliverywithfeeaural.php
  9. Warning !!! this cashondeliverywithfeeaural-1.3.zip module has important bugs: MonDeveloper's modification has a bug in function validateOrderCOD(). When new order is complete, order_detail DataBase insertions are incorrect. Product quantity value, in order details, has the value of product stock in place of the customer's product quantity selection. Maybe a Mistake between: $product['quantity'] ---> the current product stock. and: $product['cart_quantity'] ---> number of units of a product that the customer wants to buy Please, take a look to the attached file code, see the fix comments and report any suggestion. regards cashondeliverywithfeeaural.php
  10. Hola, existe un módulo que permite al vendedor elegir quien paga la comisión da PayPal. Está basado en el módulo original de Paypal, pero permite cobrar tasa fija y/o variable (el porcentaje que desees). Es configurable y está testeado, esta misma mañana le he corregido un error de programación que tenía que provocaba el conocido "error en el pago" que tanta gente ha comentado en los foros. La corrección con traducción al catellano la teneis en un pos que he puesto hoy: http://www.prestashop.com/forums/viewthread/59296/third_party_modules/module_paypal_with_fee_fixed_dot__100_working_english_french_and_spanish_translation_dot_ Espero que os sirva de ayuda, un saludo ;-)
  11. Hola, teneis un módulo configurable para PayPal que permite cobrar comisión fija y/o variable (%). El original tenía un error de programación que daba fallo al validar el importe (después de que el pago fuese efectivo). Esta mañana he puesto un post con la corrección testeado y funcionando 100%. Además he incluido la traducción al castellano. Podeis encontrarlo en: http://www.prestashop.com/forums/viewthread/59296/third_party_modules/module_paypal_with_fee_fixed_dot__100_working_english_french_and_spanish_translation_dot_ Espero que ayude, un saludo ;-)
  12. Hola, es posible que se lleven a cabo los pagos pero no se registren los pedidos. Esto ocurre tras realizar el pago, al recibir la respuesta de PayPal, si se produce un error de validación en validation.php, dentro del módulo. A mí me ocurría lo mismo con módulo de Paypal que permite cobrar la comisión al cliente. He revisado el código fuente del módulo y lo he corregido. Podeis encontrar el módulo modificado y testeado en este post en ingés que he hecho esta mañana: http://www.prestashop.com/forums/viewthread/59296/third_party_modules/module_paypal_with_fee_fixed_dot__100_working_english_french_and_spanish_translation_dot_ Espero que os sea de ayuda, un saludo ;-)
  13. Hola, si no vacía la cesta es porque hay algún error de programación en el código del fichero "validation.php". Los errores en este fichero pasan desapercibidos, ya que provocan un error silencioso que no permite ver en qué linea está fallando. He colgado una version del módulo de PayPal que permite cobrar la comisión al cliente y está 100% testeado. Échale un ojo a este post: http://www.prestashop.com/forums/viewthread/59296/third_party_modules/module_paypal_with_fee_fixed_dot__100_working_english_french_and_spanish_translation_dot_ Un saludo ;-)
×
×
  • Create New...