Rassell Posted March 15, 2013 Share Posted March 15, 2013 Muy buenas, Estoy intentando vaciar el "carrito" a partir de un .php, es decir, un .tpl -> .php (Vaciar "carrito") -> .tpl He probado con: $cart = new Cart('$id_cookie_carrito'); $cart->delete(); pero no me reconoce la funcion ->delete(); Un saludo y gracias de antemano. Link to comment Share on other sites More sharing options...
Rassell Posted March 15, 2013 Author Share Posted March 15, 2013 UP. Link to comment Share on other sites More sharing options...
Rassell Posted March 15, 2013 Author Share Posted March 15, 2013 Arriba! Link to comment Share on other sites More sharing options...
Rassell Posted March 16, 2013 Author Share Posted March 16, 2013 (edited) UP Si se puede vaciar por javascript (o ajax) también me interesaría... Gracias de antemano. Edited March 16, 2013 by Rassell (see edit history) Link to comment Share on other sites More sharing options...
Rassell Posted March 17, 2013 Author Share Posted March 17, 2013 Arriba! Link to comment Share on other sites More sharing options...
Rassell Posted March 17, 2013 Author Share Posted March 17, 2013 UP Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted March 17, 2013 Share Posted March 17, 2013 Aqui: http://www.prestashop.com/forums/topic/218969-how-to-empty-cart/ creo que dicen algo de eso... Link to comment Share on other sites More sharing options...
Rassell Posted March 17, 2013 Author Share Posted March 17, 2013 Aqui: http://www.prestasho...-to-empty-cart/ creo que dicen algo de eso... Ya lo he probado y nada ... Link to comment Share on other sites More sharing options...
Recommended Posts