add_action('wp_head', function () { if (!function_exists('is_product') || !is_product()) { return; } global $product; if (!$product || !is_a($product, 'WC_Product')) { $product = wc_get_product(get_the_ID()); } if (!$product) { return; } $product_id = $product->get_id(); $product_url = get_permalink($product_id); $product_name = wp_strip_all_tags($product->get_name()); $product_description = $product->get_short_description(); if (empty($product_description)) { $product_description = $product->get_description(); } $product_description = wp_strip_all_tags($product_description); $image_id = $product->get_image_id(); $image_url = $image_id ? wp_get_attachment_image_url($image_id, 'full') : ''; $sku = $product->get_sku(); $terms = get_the_terms($product_id, 'product_cat'); $category_name = ''; $category_url = ''; if (!empty($terms) && !is_wp_error($terms)) { $main_term = $terms[0]; $category_name = $main_term->name; $category_url = get_term_link($main_term); } $additional_properties = array(); foreach ($product->get_attributes() as $attribute) { $attribute_name = wc_attribute_label($attribute->get_name()); $attribute_values = array(); if ($attribute->is_taxonomy()) { $terms_attr = wc_get_product_terms($product_id, $attribute->get_name(), array('fields' => 'names')); if (!empty($terms_attr)) { $attribute_values = $terms_attr; } } else { $attribute_values = $attribute->get_options(); } if (!empty($attribute_values)) { $additional_properties[] = array( '@type' => 'PropertyValue', 'name' => $attribute_name, 'value' => implode(', ', $attribute_values) ); } } $breadcrumb_items = array( array( '@type' => 'ListItem', 'position' => 1, 'name' => 'Inicio', 'item' => home_url('/') ), array( '@type' => 'ListItem', 'position' => 2, 'name' => 'Catálogo de productos contra incendios', 'item' => home_url('/tienda/') ) ); $position = 3; if (!empty($category_name) && !is_wp_error($category_url)) { $breadcrumb_items[] = array( '@type' => 'ListItem', 'position' => $position, 'name' => $category_name, 'item' => $category_url ); $position++; } $breadcrumb_items[] = array( '@type' => 'ListItem', 'position' => $position, 'name' => $product_name, 'item' => $product_url ); $product_schema = array( '@type' => 'Product', '@id' => $product_url . '#product', 'name' => $product_name, 'url' => $product_url, 'description' => $product_description, 'provider' => array( '@id' => home_url('/#organization') ) ); if (!empty($image_url)) { $product_schema['image'] = array($image_url); } if (!empty($sku)) { $product_schema['sku'] = $sku; } if (!empty($category_name)) { $product_schema['category'] = $category_name; } if (!empty($additional_properties)) { $product_schema['additionalProperty'] = $additional_properties; } $schema = array( '@context' => 'https://schema.org', '@graph' => array( array( '@type' => 'Organization', '@id' => home_url('/#organization'), 'name' => 'Lamanfoc', 'legalName' => 'Lamanfoc 2018 S.L.', 'url' => home_url('/'), 'logo' => array( '@type' => 'ImageObject', 'url' => 'https://lamanfoc.com/wp-content/uploads/2025/11/Logo-LamanFoc.webp' ), 'image' => array( '@type' => 'ImageObject', 'url' => 'https://lamanfoc.com/wp-content/uploads/2025/11/Logo-LamanFoc.webp' ), 'email' => 'info@lamanfoc.com', 'telephone' => '+34972605727', 'description' => 'Empresa instaladora, mantenedora y distribuidora de equipos y sistemas de protección contra incendios.', 'sameAs' => array( 'https://www.facebook.com/lamanfoc', 'https://www.linkedin.com/company/lamanfoc/', 'https://www.instagram.com/lamanfoc/' ), 'department' => array( array('@id' => home_url('/#sede-girona')), array('@id' => home_url('/#sede-barcelona')) ) ), array( '@type' => array('LocalBusiness', 'ProfessionalService'), '@id' => home_url('/#sede-girona'), 'name' => 'Lamanfoc - Delegación Girona', 'url' => home_url('/'), 'image' => 'https://lamanfoc.com/wp-content/uploads/2025/11/Logo-LamanFoc.webp', 'parentOrganization' => array( '@id' => home_url('/#organization') ), 'priceRange' => '€€', 'email' => 'info@lamanfoc.com', 'telephone' => '+34972605727', 'address' => array( '@type' => 'PostalAddress', 'streetAddress' => 'Passeig de Josep Maria Folch i Torres, 3', 'postalCode' => '17190', 'addressLocality' => 'Salt', 'addressRegion' => 'Girona', 'addressCountry' => 'ES' ), 'areaServed' => array( array( '@type' => 'AdministrativeArea', 'name' => 'Girona' ), array( '@type' => 'AdministrativeArea', 'name' => 'Cataluña' ) ) ), array( '@type' => array('LocalBusiness', 'ProfessionalService'), '@id' => home_url('/#sede-barcelona'), 'name' => 'Lamanfoc - Delegación Barcelona', 'url' => home_url('/'), 'image' => 'https://lamanfoc.com/wp-content/uploads/2025/11/Logo-LamanFoc.webp', 'parentOrganization' => array( '@id' => home_url('/#organization') ), 'priceRange' => '€€', 'email' => 'info@lamanfoc.com', 'telephone' => '+34931622837', 'address' => array( '@type' => 'PostalAddress', 'streetAddress' => 'Avinguda Catalunya, 65', 'postalCode' => '08924', 'addressLocality' => 'Santa Coloma de Gramenet', 'addressRegion' => 'Barcelona', 'addressCountry' => 'ES' ), 'areaServed' => array( array( '@type' => 'AdministrativeArea', 'name' => 'Barcelona' ), array( '@type' => 'AdministrativeArea', 'name' => 'Cataluña' ) ) ), $product_schema, array( '@type' => 'BreadcrumbList', '@id' => $product_url . '#breadcrumb', 'itemListElement' => $breadcrumb_items ) ) ); echo ''; }, 20);

Lamanfoc

Central de detección de incendios

La Central de Detección de Incendios es una unidad de control para la detección de incendios.

Estas centrales supervisan los detectores de humo, temperatura, gas y otros, existen sistemas analógicos donde identifica cada dispositivo de forma individual, sistemas convencional donde los dispositivos son identificados por zona pudiendo instalar hasta 32 elementos por zona, sistema Via radio donde permite realizar instalación sin cables.