Error al añadir a carrito producto configurable

alfonsoCIS

Nuevo usuario
Hola,

He creado un producto configurable y al añadirlo al carrito para hacer la compra me muestra el siguiente error:
"There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 511351150181"

He mirado el contenido del archivo que contiene el error mi muestra esto:
"
a:5:{i:0;s:85:"Invalid method Mage_Catalog_Block_Product_View::displayProductStockStatus(Array
(
)
)";i:1;s:4012:"#0 /var/www/vhosts/carnicasmila.com/httpdocs/app/design/frontend/default/theme281k/template/catalog/product/view.phtml(55): Varien_Object->__call('displayProductS...', Array)
#1 /var/www/vhosts/carnicasmila.com/httpdocs/app/design/frontend/default/theme281k/template/catalog/product/view.phtml(55): Mage_Catalog_Block_Product_View->displayProductStockStatus()
#2 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/vhosts...')
#3 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#4 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#5 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#6 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#7 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml()
#8 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#9 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#10 /var/www/vhosts/carnicasmila.com/httpdocs/app/design/frontend/default/theme281k/template/page/2columns-right.phtml(53): Mage_Core_Block_Abstract->getChildHtml('content')
#11 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/vhosts...')
#12 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#13 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#14 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#15 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#16 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#17 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Cms/Helper/Page.php(137): Mage_Core_Controller_Varien_Action->renderLayout()
#18 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'no-route')
#19 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Cms/controllers/IndexController.php(75): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'no-route')
#20 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Cms_IndexController->noRouteAction()
#21 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('noRoute')
#22 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/community/BalkeTechnologies/StoreMaintenance/Controller/Router/Standard.php(91): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#23 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(176): BalkeTechnologies_StoreMaintenance_Controller_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#24 /var/www/vhosts/carnicasmila.com/httpdocs/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#25 /var/www/vhosts/carnicasmila.com/httpdocs/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#26 /var/www/vhosts/carnicasmila.com/httpdocs/index.php(87): Mage::run('', 'store')
#27 {main}";s:3:"url";s:44:"/index.php/carnes/camiseta.html?options=cart";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"spanish";}"

He mirado en el archivo que se encuentra aquí: "/var/www/vhosts/carnicasmila.com/httpdocs/app/design/frontend/default/theme281k/template/catalog/product/view.phtml(55): Mage_Catalog_Block_Product_View->displayProductStockStatus()"
pero no veo nada que me parezca que este mal.

Si alguien pudiera ayudarme con el problema, necesito crear algunos productos configurables y que por supuesto se puedan añadir al carrito

Muchas gracias

Un saludo
 

KiwiWeb

Miembro
Buenas, la verdad es que no soy un experto mirando errores de Magento, pero se me ha ocurrido algo que quizás pueda ayudarte (lo siento si lo que digo es un sinsentido).
He visto "...View::displayProductStockStatus..." y sobre todo lo del "Stock", y he pensado que un producto configurable tienes que ponerle que no se muestre porque teóricamente compras los productos simples asociados a él, entonces, ¿que pasaría si pones visible el producto configurable y no hay productos simples o no hay stock en los mismos...

Te lo propongo como idea, no porque sepa que es la respuesta, mira el producto configurable que no este visible, que tiene productos simples asociados a él por el atributo correcto, que tienen stock (o que no gestionan las existencias) y prueba...

un saludo y suerte
 
Arriba