Jump to content

No me añade los prodcutos al carro


Recommended Posts

Hola,

Probando mi tienda online veo que ahora al añadir un producto al carrto me manda al carro y me dice "No hay más artículos en su carrito" y no aparece el producto. He probado con prodcutos con y sin stock. Tambien con sesion de usuario abierta y no.

La verdad es que antes se que se podia. Pero no se si a raiz de unas actualizaciones o una carga de datos que hice esta dando problemas raros. Tambien tengo posteado otro topic donde no me aparecen las caracterisiticas de los productos.

Mi version es la 1.7.6.5 y ahora mismo tiene todo actualizado.

Muchas gracias.

Pedro

Link to comment
Share on other sites

Como te he comentado en el otro hilo, tienes un módulo que te está dando un error y la página no carga completa. El Javascript para añadir al carrito es lo último que se carga, así que es normal que no te funcione. Activa el modo depuración para saber qué módulo es el que está fallando.

Link to comment
Share on other sites

Just now, Prestafan33 said:

Como te he comentado en el otro hilo, tienes un módulo que te está dando un error y la página no carga completa. El Javascript para añadir al carrito es lo último que se carga, así que es normal que no te funcione. Activa el modo depuración para saber qué módulo es el que está fallando.

Si, gracias. Cuelgo aqui el error tambien. Aunque parece el mismo error.

Whoops, looks like something went wrong.

(1/1) UndefinedMethodException

Attempted to call an undefined method named "getMimeType" of class "ImageManager".
Did you mean to call "getMimeTypeByExtension"?

in ReassuranceActivity.php line 190

at ReassuranceActivity::getAllBlockByStatus(1, 1)in blockreassurance.php line 517

at blockreassurance->renderTemplateInHook('displayBlockProduct.tpl')in blockreassurance.php line 409

at blockreassurance->hookdisplayReassurance(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 970

at HookCore::coreCallHook(object(blockreassurance), 'hookdisplayReassurance', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 355

at HookCore::callHookOn(object(blockreassurance), 'displayReassurance', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 907

at HookCore::exec('displayReassurance', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null)in smarty.config.inc.php line 167

at smartyHook(array('h' => 'displayReassurance'), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83

at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayReassurance'), object(SmartyDevTemplate)))in 1b0e876f864c5aeb1c7800fef0e0ed73720957bb_2.file.cart.tpl.php line 147

at Block_8954874555f3ccadb5575e3_07317090->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_8954874555f3ccadb5575e3_07317090), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_8954874555f3ccadb5575e3_07317090))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_8954874555f3ccadb5575e3_07317090', 'hook_reassurance', 1)in 1b0e876f864c5aeb1c7800fef0e0ed73720957bb_2.file.cart.tpl.php line 238

at Block_21035868925f3ccadb54cc01_17044061->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_21035868925f3ccadb54cc01_17044061), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 232

at Smarty_Internal_Runtime_Inheritance->callParent(object(SmartyDevTemplate), object(Block_10122592455f3ccadb53b9f0_94439951), '\'{block append}\'')in smarty_internal_runtime_inheritance.php line 181

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_10122592455f3ccadb53b9f0_94439951), object(Block_21035868925f3ccadb54cc01_17044061))in smarty_internal_runtime_inheritance.php line 186

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_21035868925f3ccadb54cc01_17044061), object(Block_5941835295ebd54032a5319_32646938))in smarty_internal_runtime_inheritance.php line 186

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_5941835295ebd54032a5319_32646938))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_5941835295ebd54032a5319_32646938', 'content', 2)in e108bbcb21714e0056cb7e60aaa869f0960e0279_2.file.layout-full-width.tpl.php line 101

at Block_2525502565ebd54032a19a4_98497900->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_2525502565ebd54032a19a4_98497900), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_2525502565ebd54032a19a4_98497900), object(Block_19113013025ebd54032b7231_14481438))in smarty_internal_runtime_inheritance.php line 186

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_19113013025ebd54032b7231_14481438))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_19113013025ebd54032b7231_14481438', 'content_wrapper')in 0a6b6504b6f1a8fe315dbbb81319134c35acfbdd_2.file.layout-both-columns.tpl.php line 87

at content_5ebd54032c0380_29244569(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in e108bbcb21714e0056cb7e60aaa869f0960e0279_2.file.layout-full-width.tpl.php line 42

at content_5ebd54032a6623_09543846(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-full-width.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')in 1b0e876f864c5aeb1c7800fef0e0ed73720957bb_2.file.cart.tpl.php line 36

at content_5f3ccadb558641_62223338(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('checkout/cart.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'checkout/cart.tpl')in ae09b2f62d7b7c63188f32f52ceea795c212d58d_2.file.cart-empty.tpl.php line 56

at content_5f3ccadb544cc7_92546330(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232

at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, 'layouts/layout-full-width.tpl', null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch('checkout/cart-empty.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)in SmartyDev.php line 40

at SmartyDev->fetch('checkout/cart-empty.tpl', null, 'layouts/layout-full-width.tpl')in FrontController.php line 683

at FrontControllerCore->smartyOutputContent('checkout/cart-empty.tpl')in FrontController.php line 667

at FrontControllerCore->display()in Controller.php line 312

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 28

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...