alexgm07 Posted July 5, 2014 Share Posted July 5, 2014 (edited) Me gustaria borrar los pedidos y facturas existentes en mi tienda, navegando por el foro, he visto que en la version 1.5 se hacia mediante consulta Sql con los siguiente: TRUNCATE `ps_orders`;TRUNCATE `ps_order_detail`;TRUNCATE `ps_order_history`;TRUNCATE `ps_order_message`;TRUNCATE `ps_order_message_lang`;TRUNCATE `ps_order_slip`;TRUNCATE `ps_order_slip_detail`;para las facturasTRUNCATE `ps_order_invoice`;TRUNCATE `ps_order_invoice_payment`;TRUNCATE `ps_order_invoice_tax`; Me gustaria saber si tambien funciona en 1.6 y soy un poco novato, si fuera posible indicarme como se realiza dicha consulta, que no lo encuentro por ningun lado.. Muchas gracias Edited July 5, 2014 by alexgm07 (see edit history) Link to comment Share on other sites More sharing options...
lastapril Posted July 5, 2014 Share Posted July 5, 2014 Funcionar funciona, ya que las ordenes son para sql y no dependen de la version de PS Link to comment Share on other sites More sharing options...
alexgm07 Posted July 5, 2014 Author Share Posted July 5, 2014 Y sí no es mucho pedir, como se hacen más consultas?? Hay que poner algo más que eso? Supongo que por algún lado haya alguna explicación, pero no la he encontrado.. Link to comment Share on other sites More sharing options...
JuDrYa Posted July 5, 2014 Share Posted July 5, 2014 Trabajas con PhpMyAdmin? Link to comment Share on other sites More sharing options...
alexgm07 Posted July 5, 2014 Author Share Posted July 5, 2014 Yo creo que sí, me suena haberlo visto en el servidor. Link to comment Share on other sites More sharing options...
JuDrYa Posted July 5, 2014 Share Posted July 5, 2014 Entra en PhpMyAdmin. A la izquierda elije tu base de datos. Arriba pincha en SQL. Pega tu consulta a la BD.., TRUNCATE `ps_orders`; TRUNCATE `ps_order_detail`; TRUNCATE `ps_order_history`; TRUNCATE `ps_order_message`; TRUNCATE `ps_order_message_lang`; TRUNCATE `ps_order_slip`; TRUNCATE `ps_order_slip_detail`; TRUNCATE `ps_order_invoice`; TRUNCATE `ps_order_invoice_payment`; TRUNCATE `ps_order_invoice_tax`; ... y click en continuar. Link to comment Share on other sites More sharing options...
alexgm07 Posted July 5, 2014 Author Share Posted July 5, 2014 Entra en PhpMyAdmin. A la izquierda elije tu base de datos. Arriba pincha en SQL. Pega tu consulta a la BD.., TRUNCATE `ps_orders`; TRUNCATE `ps_order_detail`; TRUNCATE `ps_order_history`; TRUNCATE `ps_order_message`; TRUNCATE `ps_order_message_lang`; TRUNCATE `ps_order_slip`; TRUNCATE `ps_order_slip_detail`; TRUNCATE `ps_order_invoice`; TRUNCATE `ps_order_invoice_payment`; TRUNCATE `ps_order_invoice_tax`; ... y click en continuar. Muchas gracias, todo realizado perfecto Link to comment Share on other sites More sharing options...
JuDrYa Posted July 5, 2014 Share Posted July 5, 2014 De nada. Link to comment Share on other sites More sharing options...
Recommended Posts