Jump to content

blackver

Members
  • Posts

    11
  • Joined

  • Last visited

Profile Information

  • Location
    Granada
  • Activity
    Freelancer

Recent Profile Visitors

2,047,349 profile views

blackver's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. En el back office se que no se puede, pero mi intencion es hacer override de la clase paymentmodule, el metodo validateOrder(), la cosa es que programé un modulo el cual le aplicaba un suplemento extra al pedido total, funciona muy bien, pero ahora se me ha dado este caso, ya que el suplemento extra se lo esta aplicado a cada uno de los pedidos con lo que el precio total de los pedidos no encaja con el precio del carrito.
  2. Hola a todos, que tal? Pues os comento un poco mi problema, la tienda de mi cliente tiene un monton de productos y por la naturaleza del producto cada uno tiene que ir especificando un transportista, la cosa es que cuando alguien hace una compra de varios productos me genera un pedido por cada uno de estos transportistas. Tengo el carrito configurado para que haga pedidos en un paso y desactivado el carrito ajax( por si sirve de ayuda). ¿Como puedo hacer para que me lo unifique en un solo pedido? Un Saludo y cualquier ayuda sera agradecida
  3. Bueno para el que le siva, ya esta solucionado, he añadido un campo nuevo al carrito y cada vez que se crea un carrito nuevo actualizo la base de datos, luego puedo acceder a ese campo desde el context. Las cookies no sirven ya que las pasarelas de pago no las cogen.
  4. Hola que tal, a ver os cuento mi problema, desarrolle para un cliente un modulo para añadir al carrito 3 opciones, en las cuales segun la que pulso se hace un incremento del porcentaje del total del pedido, 0% 15% y 20%, lo hice con cookies, si pulsa en el 15% modifica la linea de transporte y guarda la cookie para cuando tenga que convertirlo a pedido tiro de ella. Todo esto funciona muy bien, el problema esta en que a la hora de usar pasarelas de pago, Redsys por ejemplo, esa cookie desaparece y no cuadra el precio del pedido inicial con el final y no realiza los pedidos correctamente. Estoy intentando agregar un nuevo campo al carrito para que guarde el incremento pulsado, pero cuando hago las modificaciones via ajax, tampoco lo modifica correctamente, necesitaria que me hechaseis un cable. Un Saludo!
  5. I found the solution. Its very simple, you just have remove two files in this folder: override->clases-order overInvoice.php orderPayment.php i think that this files not afect other modules. The bug is when modrefchange is uninstalled, modrefchange dont remove this files. When i install the new version, everythings works fine.
  6. This action is not dangerous? this could not affect other modules I previously installed??
  7. Well, when i try to install the older module that i had installed, i get the same error([PrestaShop] Fatal error in module Module: Uncaught exception 'ReflectionException' with message 'Class OrderPaymentOverrideOriginal_remove.... This make me think that the problem could be caused by the uninstallation older module..
  8. I uninstalled the older version(because my alert mails dont show me the number correctly) and when i installed the last version, i have the same problem as KlausBoutik, i can´t install it. but my shop not in test mode. My error: Uncaught exception 'ReflectionException' with message 'Class OrderPaymentOverrideOriginal_remove53f1debd2034b does not exist' in /home/blackverde/trevelezseleccion.com/tienda/classes/module/Module.php:2328 Stack trace: #0 /home/blackverde/trevelezseleccion.com/tienda/classes/module/Module.php(2328): ReflectionClass->__construct('OrderPaymentOve...') #1 /home/blackverde/trevelezseleccion.com/tienda/classes/module/Module.php(2237): ModuleCore->removeOverride('OrderPayment') #2 /home/blackverde/trevelezseleccion.com/tienda/classes/module/Module.php(272): ModuleCore->uninstallOverrides() #3 /home/blackverde/trevelezseleccion.com/tienda/modules/modrefchange/modrefchange.php(406): ModuleCore->install() #4 /home/blackverde/trevelezseleccion.com/tienda/controllers/admin/AdminModulesController.php(836): Modrefchange->install() #5 /home/blackverde/trevelezseleccion.com/tienda/controllers/admin/AdminModulesController.php(1006): AdminModulesControllerCore->postProcessCallback() #6 /home/blackverde/trevelezseleccion.com/t
  9. My prestashop version is 1.6 When i search modrefchange, I can see that the version is 1.4, I download the plugin of the first page, this isnt the last version of the plugin? I thought it was the latest version because appears in the dropbox link was modified 12 days ago
  10. Hi, this module work fine, but I haver a problem. When a customer make a order, customer recive 28_56, this ok, but admin recive AZWeDrA, via mail. I use Mail Alerts module. I try to modify mail_alerts.php to get the new numeration withouth succes. How i could get the new numeration from mail_alerts.php? Thank you very much
×
×
  • Create New...