Notice (8): Trying to get property 'formated_total' of non-object [ROOT/plugins/Ventas/src/Template/Element/carrito_flotante.ctp, line 16]Code Context// Aquí obtenemos el valor formateado del total $compraTotal = $compra->formated_total; // Este es el total formateado $compraTotalNumeric = floatval(str_replace(',', '.', str_replace('.', '', $compraTotal))); // Lo convertimos a un valor numérico para usarlo en JS$viewFile = '/var/www/vhosts/tomadatallc.net/dev.dubydu.es/plugins/Ventas/src/Template/Element/carrito_flotante.ctp' $dataForView = [ 'producto' => object(Almacen\Model\Entity\Producto) { 'id' => 'a5510cff-1873-4d1b-a8f4-f3c9c8d7e719', 'categoria_id' => '4ce86ad1-5fb7-4d61-9ccb-41c0a4f4d6fd', 'marca_id' => '', 'modelo_id' => null, 'formato_id' => null, 'orden' => (int) 7, 'slug' => 'Bolas', 'ref' => '', 'ref_proveedor' => '', 'title' => 'Bolas', 'precio' => (float) 90.75, 'dto_porcentaje' => null, 'dto_absoluto' => null, 'pedido_minimo' => null, 'novedad' => false, 'vegano' => false, 'temporada' => false, 'peso' => null, 'lim_packs' => null, 'notas' => '<p>Bolas fabricadas en polietileno de alta densidad que cumple con la Normativa EN-74.Formato de 400 unidades por caja de 85mm de diámetro</p>', 'descripcion' => null, 'enlace_video' => '', 'img' => 'Productos/Bolas/Bolas-03.jpg', 'thumb' => 'Productos/Bolas/thumb/Bolas-03.jpg', 'tiny' => 'Productos/Bolas/tiny/Bolas-03.jpg', 'responsive' => null, 'adjunto' => null, 'video' => null, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'destacado' => false, 'visitas' => (int) 12, 'ventas' => (int) 0, 'ofertas' => [[maximum depth reached]], 'marca' => null, 'modelos' => [ [maximum depth reached] ], 'stock' => null, 'categoria' => object(Almacen\Model\Entity\Categoria) {}, 'imagenes' => [ [maximum depth reached] ], '_translations' => [[maximum depth reached]], 'formated_precio' => '90,75€', 'base' => (float) 75, 'formated_base' => '75,00 €', '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [ [maximum depth reached] ], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Almacen.Productos' }, 'carrito' => object(Ventas\Model\Entity\Carrito) { '[new]' => true, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Ventas.Carritos' }, 'metadescription' => '<p>Bolas fabricadas en polietileno de alta densidad que cumple con la Normativa EN-74.Formato de 400 unidades por caja de 85mm de diámetro</p>', 'es_portada' => false ] $producto = object(Almacen\Model\Entity\Producto) { 'id' => 'a5510cff-1873-4d1b-a8f4-f3c9c8d7e719', 'categoria_id' => '4ce86ad1-5fb7-4d61-9ccb-41c0a4f4d6fd', 'marca_id' => '', 'modelo_id' => null, 'formato_id' => null, 'orden' => (int) 7, 'slug' => 'Bolas', 'ref' => '', 'ref_proveedor' => '', 'title' => 'Bolas', 'precio' => (float) 90.75, 'dto_porcentaje' => null, 'dto_absoluto' => null, 'pedido_minimo' => null, 'novedad' => false, 'vegano' => false, 'temporada' => false, 'peso' => null, 'lim_packs' => null, 'notas' => '<p>Bolas fabricadas en polietileno de alta densidad que cumple con la Normativa EN-74.Formato de 400 unidades por caja de 85mm de diámetro</p>', 'descripcion' => null, 'enlace_video' => '', 'img' => 'Productos/Bolas/Bolas-03.jpg', 'thumb' => 'Productos/Bolas/thumb/Bolas-03.jpg', 'tiny' => 'Productos/Bolas/tiny/Bolas-03.jpg', 'responsive' => null, 'adjunto' => null, 'video' => null, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'destacado' => false, 'visitas' => (int) 12, 'ventas' => (int) 0, 'ofertas' => [], 'marca' => null, 'modelos' => [ (int) 0 => object(Almacen\Model\Entity\Modelo) {} ], 'stock' => null, 'categoria' => object(Almacen\Model\Entity\Categoria) {}, 'imagenes' => [ (int) 0 => object(App\Model\Entity\Imagen) {}, (int) 1 => object(App\Model\Entity\Imagen) {}, (int) 2 => object(App\Model\Entity\Imagen) {}, (int) 3 => object(App\Model\Entity\Imagen) {}, (int) 4 => object(App\Model\Entity\Imagen) {}, (int) 5 => object(App\Model\Entity\Imagen) {}, (int) 6 => object(App\Model\Entity\Imagen) {}, (int) 7 => object(App\Model\Entity\Imagen) {}, (int) 8 => object(App\Model\Entity\Imagen) {}, (int) 9 => object(App\Model\Entity\Imagen) {}, (int) 10 => object(App\Model\Entity\Imagen) {} ], '_translations' => [], 'formated_precio' => '90,75€', 'base' => (float) 75, 'formated_base' => '75,00 €', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false, 'gastos_envios' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [ (int) 0 => 'formated_precio', (int) 1 => 'base', (int) 2 => 'formated_base' ], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Almacen.Productos' } $carrito = object(Ventas\Model\Entity\Carrito) { '[new]' => true, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Ventas.Carritos' } $metadescription = '<p>Bolas fabricadas en polietileno de alta densidad que cumple con la Normativa EN-74.Formato de 400 unidades por caja de 85mm de diámetro</p>' $es_portada = false $compra = nullinclude - ROOT/plugins/Ventas/src/Template/Element/carrito_flotante.ctp, line 16 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1857 Cake\View\View::element() - CORE/src/View/View.php, line 782 include - APP/Template/Layout/default.ctp, line 56 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::renderLayout() - CORE/src/View/View.php, line 926 Cake\View\View::render() - CORE/src/View/View.php, line 884 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Middleware\BodyParserMiddleware::__invoke() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 135 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
// Aquí obtenemos el valor formateado del total $compraTotal = $compra->formated_total; // Este es el total formateado $compraTotalNumeric = floatval(str_replace(',', '.', str_replace('.', '', $compraTotal))); // Lo convertimos a un valor numérico para usarlo en JS
// Aquí obtenemos el valor formateado del total
$compraTotal = $compra->formated_total; // Este es el total formateado
$compraTotalNumeric = floatval(str_replace(',', '.', str_replace('.', '', $compraTotal))); // Lo convertimos a un valor numérico para usarlo en JS
$viewFile = '/var/www/vhosts/tomadatallc.net/dev.dubydu.es/plugins/Ventas/src/Template/Element/carrito_flotante.ctp' $dataForView = [ 'producto' => object(Almacen\Model\Entity\Producto) { 'id' => 'a5510cff-1873-4d1b-a8f4-f3c9c8d7e719', 'categoria_id' => '4ce86ad1-5fb7-4d61-9ccb-41c0a4f4d6fd', 'marca_id' => '', 'modelo_id' => null, 'formato_id' => null, 'orden' => (int) 7, 'slug' => 'Bolas', 'ref' => '', 'ref_proveedor' => '', 'title' => 'Bolas', 'precio' => (float) 90.75, 'dto_porcentaje' => null, 'dto_absoluto' => null, 'pedido_minimo' => null, 'novedad' => false, 'vegano' => false, 'temporada' => false, 'peso' => null, 'lim_packs' => null, 'notas' => '<p>Bolas fabricadas en polietileno de alta densidad que cumple con la Normativa EN-74.Formato de 400 unidades por caja de 85mm de diámetro</p>', 'descripcion' => null, 'enlace_video' => '', 'img' => 'Productos/Bolas/Bolas-03.jpg', 'thumb' => 'Productos/Bolas/thumb/Bolas-03.jpg', 'tiny' => 'Productos/Bolas/tiny/Bolas-03.jpg', 'responsive' => null, 'adjunto' => null, 'video' => null, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'destacado' => false, 'visitas' => (int) 12, 'ventas' => (int) 0, 'ofertas' => [[maximum depth reached]], 'marca' => null, 'modelos' => [ [maximum depth reached] ], 'stock' => null, 'categoria' => object(Almacen\Model\Entity\Categoria) {}, 'imagenes' => [ [maximum depth reached] ], '_translations' => [[maximum depth reached]], 'formated_precio' => '90,75€', 'base' => (float) 75, 'formated_base' => '75,00 €', '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [ [maximum depth reached] ], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Almacen.Productos' }, 'carrito' => object(Ventas\Model\Entity\Carrito) { '[new]' => true, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Ventas.Carritos' }, 'metadescription' => '<p>Bolas fabricadas en polietileno de alta densidad que cumple con la Normativa EN-74.Formato de 400 unidades por caja de 85mm de diámetro</p>', 'es_portada' => false ] $producto = object(Almacen\Model\Entity\Producto) { 'id' => 'a5510cff-1873-4d1b-a8f4-f3c9c8d7e719', 'categoria_id' => '4ce86ad1-5fb7-4d61-9ccb-41c0a4f4d6fd', 'marca_id' => '', 'modelo_id' => null, 'formato_id' => null, 'orden' => (int) 7, 'slug' => 'Bolas', 'ref' => '', 'ref_proveedor' => '', 'title' => 'Bolas', 'precio' => (float) 90.75, 'dto_porcentaje' => null, 'dto_absoluto' => null, 'pedido_minimo' => null, 'novedad' => false, 'vegano' => false, 'temporada' => false, 'peso' => null, 'lim_packs' => null, 'notas' => '<p>Bolas fabricadas en polietileno de alta densidad que cumple con la Normativa EN-74.Formato de 400 unidades por caja de 85mm de diámetro</p>', 'descripcion' => null, 'enlace_video' => '', 'img' => 'Productos/Bolas/Bolas-03.jpg', 'thumb' => 'Productos/Bolas/thumb/Bolas-03.jpg', 'tiny' => 'Productos/Bolas/tiny/Bolas-03.jpg', 'responsive' => null, 'adjunto' => null, 'video' => null, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'destacado' => false, 'visitas' => (int) 12, 'ventas' => (int) 0, 'ofertas' => [], 'marca' => null, 'modelos' => [ (int) 0 => object(Almacen\Model\Entity\Modelo) {} ], 'stock' => null, 'categoria' => object(Almacen\Model\Entity\Categoria) {}, 'imagenes' => [ (int) 0 => object(App\Model\Entity\Imagen) {}, (int) 1 => object(App\Model\Entity\Imagen) {}, (int) 2 => object(App\Model\Entity\Imagen) {}, (int) 3 => object(App\Model\Entity\Imagen) {}, (int) 4 => object(App\Model\Entity\Imagen) {}, (int) 5 => object(App\Model\Entity\Imagen) {}, (int) 6 => object(App\Model\Entity\Imagen) {}, (int) 7 => object(App\Model\Entity\Imagen) {}, (int) 8 => object(App\Model\Entity\Imagen) {}, (int) 9 => object(App\Model\Entity\Imagen) {}, (int) 10 => object(App\Model\Entity\Imagen) {} ], '_translations' => [], 'formated_precio' => '90,75€', 'base' => (float) 75, 'formated_base' => '75,00 €', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false, 'gastos_envios' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [ (int) 0 => 'formated_precio', (int) 1 => 'base', (int) 2 => 'formated_base' ], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Almacen.Productos' } $carrito = object(Ventas\Model\Entity\Carrito) { '[new]' => true, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Ventas.Carritos' } $metadescription = '<p>Bolas fabricadas en polietileno de alta densidad que cumple con la Normativa EN-74.Formato de 400 unidades por caja de 85mm de diámetro</p>' $es_portada = false $compra = null
include - ROOT/plugins/Ventas/src/Template/Element/carrito_flotante.ctp, line 16 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1857 Cake\View\View::element() - CORE/src/View/View.php, line 782 include - APP/Template/Layout/default.ctp, line 56 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::renderLayout() - CORE/src/View/View.php, line 926 Cake\View\View::render() - CORE/src/View/View.php, line 884 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Middleware\BodyParserMiddleware::__invoke() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 135 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Bolas fabricadas en polietileno de alta densidad que cumple con la Normativa EN-74.Formato de 400 unidades por caja de 85mm de diámetro
Rellena el formulario y nuestro equipo comercial estará encantado de atender cualquier duda sobre cualquiera de nuestros servicios