{"id":3734,"date":"2024-02-22T10:34:43","date_gmt":"2024-02-22T09:34:43","guid":{"rendered":"https:\/\/a04y9kbwzan.preview.infomaniak.website\/compra\/"},"modified":"2024-11-19T13:57:57","modified_gmt":"2024-11-19T12:57:57","slug":"compra","status":"publish","type":"page","link":"https:\/\/life-plantation.ch\/pt-pt\/compra\/","title":{"rendered":"Compra"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"3734\" class=\"elementor elementor-3734 elementor-196\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9c379b5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9c379b5\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f54009f\" data-id=\"f54009f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0bc5a47 elementor-grid-4 elementor-grid-tablet-3 elementor-grid-mobile-2 elementor-products-grid elementor-wc-products elementor-widget elementor-widget-woocommerce-products\" data-id=\"0bc5a47\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"woocommerce-products.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"woocommerce columns-4 \"><ul class=\"products elementor-grid columns-4\">\n<li class=\"product type-product post-3808 status-publish first instock product_cat-arvore has-post-thumbnail virtual taxable purchasable product-type-simple\">\n\t<img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/life-plantation.ch\/wp-content\/uploads\/2024\/04\/Tree_-300x300.webp\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Paulownia Elongata\" srcset=\"https:\/\/life-plantation.ch\/wp-content\/uploads\/2024\/04\/Tree_-300x300.webp 300w, https:\/\/life-plantation.ch\/wp-content\/uploads\/2024\/04\/Tree_-150x150.webp 150w, https:\/\/life-plantation.ch\/wp-content\/uploads\/2024\/04\/Tree_-600x600.webp 600w, https:\/\/life-plantation.ch\/wp-content\/uploads\/2024\/04\/Tree_-100x100.webp 100w, https:\/\/life-plantation.ch\/wp-content\/uploads\/2024\/04\/Tree_.webp 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><h2 class=\"woocommerce-loop-product__title\">Paulownia Elongata<\/h2>\n\t<span class=\"price\"><span class=\"woocommerce-Price-amount amount\"><bdi>280,00&nbsp;<span class=\"woocommerce-Price-currencySymbol\">&euro;<\/span><\/bdi><\/span> <small class=\"woocommerce-price-suffix\">HT<\/small><\/span>\n<a href=\"\/pt-pt\/wp-json\/wp\/v2\/pages\/3734?add-to-cart=3808\" aria-describedby=\"woocommerce_loop_add_to_cart_link_describedby_3808\" data-quantity=\"1\" class=\"button product_type_simple add_to_cart_button ajax_add_to_cart\" data-product_id=\"3808\" data-product_sku=\"\" aria-label=\"Adiciona ao carrinho: &ldquo;Paulownia Elongata&rdquo;\" rel=\"nofollow\" data-success_message=\"&ldquo;Paulownia Elongata&rdquo; foi adicionado ao seu carrinho\" role=\"button\">Adicionar<\/a>\t<span id=\"woocommerce_loop_add_to_cart_link_describedby_3808\" class=\"screen-reader-text\">\n\t\t\t<\/span>\n<\/li>\n<\/ul>\n<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9349398 elementor-widget elementor-widget-html\" data-id=\"9349398\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style type=\"text\/css\">\n    #table-title {\n        text-align: center\n    }\n\n    .table-gain {\n        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;\n        border-radius: 10px;\n        max-width: 950px;\n        margin: auto;\n\n        table {\n            border-collapse: separate;\n            border-spacing: 0;\n            overflow: hidden;\n            margin: 0;\n            padding: 0;\n            width: 100%;\n            table-layout: fixed;\n\n        }\n\n        \/* required css to make rounded table (below) *\/\n        tr:first-child th:first-child {\n            border-top-left-radius: 10px;\n        }\n\n        tr:first-child th:last-child {\n            border-top-right-radius: 10px;\n        }\n\n        tr:last-child td:first-child {\n            border-bottom-left-radius: 10px;\n        }\n\n        tr:last-child td:last-child {\n            border-bottom-right-radius: 10px;\n        }\n\n        table caption {\n            font-size: 1.5em;\n            margin: .5em 0 .75em;\n        }\n\n        table tr {\n            border: 1px solid #ddd;\n            padding: .35em;\n        }\n\n        table th,\n        table td {\n            padding: 1em 2em;\n            text-align: start;\n\n        }\n\n        thead {\n            background: #e8f1d8;\n        }\n\n        table th {\n            font-size: .85em;\n            letter-spacing: .1em;\n            text-transform: uppercase;\n        }\n\n        @media screen and (max-width: 600px) {\n               tr:last-child td:first-child {\n            border-bottom-left-radius: 0px !important;\n        }\n\n            box-shadow: unset;\n\n            table {\n                border: 0;\n            }\n\n            table caption {\n                font-size: 1.3em;\n            }\n\n            table thead {\n                border: none;\n                clip: rect(0 0 0 0);\n                height: 1px;\n                margin: -1px;\n                overflow: hidden;\n                padding: 0;\n                position: absolute;\n                width: 1px;\n            }\n\n            table tr {\n                border-bottom: 3px solid #ddd;\n                display: block;\n                margin-bottom: .625em;\n            }\n\n            table td {\n                border-bottom: 1px solid #ddd;\n                display: block;\n                font-size: .8em;\n                text-align: right;\n            }\n            \n\n            table td::before {\n                \/*\n        * aria-label has no advantage, it won't be read inside a table\n        content: attr(aria-label);\n        *\/\n                content: attr(data-label);\n                float: left;\n                font-weight: bold;\n                text-transform: uppercase;\n\n            }\n\n            tr td:first-child {\n                background-color: #e8f1d8;\n            }\n\n\n            table td:last-child {\n                border-bottom: 0;\n            }\n\n\n        }\n\n    }\n\n   \n<\/style>\n\n<link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/4.7.0\/css\/font-awesome.min.css\">\n\n\n<h3 id=\"table-title\">Aqui est\u00e3o os resultados da tua contribui\u00e7\u00e3o atrav\u00e9s da compra de <span>1<\/span> \u00e1rvore :<\/h3>\n<div class=\"table-gain\">\n\n    <table>\n\n        <thead>\n            <tr>\n                <th scope=\"col\">Anos<\/th>\n                <th scope=\"col\"><sub>CO2<\/sub> poupado (kg)<\/th>\n                <th scope=\"col\">Madeira dispon\u00edvel<sup>(m3<\/sup>)<\/th>\n                <th scope=\"col\">Poupan\u00e7a estimada (CHF)<\/th>\n                <th scope=\"col\"><sub>CO2<\/sub> poupado equivalente a<\/th>\n            <\/tr>\n        <\/thead>\n        <tbody>\n\n            <tr>\n                 <td data-label=\"Ann\u00e9es\"> <b>5 anos de idade<\/b><\/td>\n                <td data-label=\"CO2 Econimis\u00e9 (kg)\" id=\"kg-results-2\">0<\/td>\n                <td data-label=\"Bois disponible (m3)\" id=\"bois-results-2\">0<\/td>\n                <td data-label=\"Gains Estim\u00e9 (CHF)\" id=\"euro-results-2\">0<\/td>\n                <td data-label=\"CO2 Econimis\u00e9s equivalent \u00e0\">\n                  <i class=\"fa fa-car\" style=\"font-size : 16px ; margin-left : 4px\"><\/i>\n\n 0 km em <\/td> \n            <\/tr>\n\n\n        <\/tbody>\n    <\/table>\n<\/div>\n<script src=\"https:\/\/code.jquery.com\/jquery-3.6.0.min.js\"><\/script>\n\n<script type=\"text\/javascript\">\n    let price = 240;\n    function calculate(numberOfTrees, numberOfYears, id) {\n\n        const kg_result = numberOfTrees * 21 * numberOfYears;\n        const km_result_plane = numberOfTrees * numberOfYears * 800;\n        const km_result_car = numberOfTrees * numberOfYears * 189.6;\n        \n        const initialResult = numberOfTrees * price;\n        const euro_result = calculateGrowth(initialResult, numberOfYears);;\n        console.log(euro_result)\n\n        document.getElementById('kg-results-' + id).textContent = kg_result;\n\n        document.getElementById('bois-results-' + id).textContent = numberOfTrees;\n\n        document.getElementById('euro-results-' + id).textContent = euro_result.toFixed(2);\n        document.getElementById('car-' + id).textContent = km_result_car.toFixed(0);\n\n    }\n\n    function calculateGrowth(initialValue, numberOfYears) {\n        let result = initialValue * 2.4;\n       \/\/ for (let i = 0; i <numberOfYears; i++) { \/\/ result *= (1 + 0.08); \/\/} return result; } $(document).ready(function () { calculate(1, 5, 2); $('.minus, .plus').click(async function () { await new Promise(resolve => setTimeout(resolve, 100)); \/\/ Wait for 100ms\n        \n            var quantityFromData = document.querySelector('a.add_to_cart_button').dataset.quantity;\n            \n            \n            $('#table-title span').html(quantityFromData)\n            \n            calculate(quantityFromData, 5, 2);\n        });\n\n\n    });\n\n<!-- wpml:html_fragment <\/script>  --&gt;\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Aqui est\u00e3o os resultados da tua contribui\u00e7\u00e3o atrav\u00e9s da compra de 1 \u00e1rvore : Anos CO2 poupado (kg) Madeira dispon\u00edvel(m3) Poupan\u00e7a estimada (CHF) CO2 poupado equivalente a 5 anos de idade 0 0 0 0 km em &#8211;&gt;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-3734","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Compra - Life Plantation<\/title>\n<meta name=\"description\" content=\"Contribuez d\u00e8s maintenant \u00e0 un avenir plus durable.Achetez votre premier arbre de type Paulownias \u201cElongata\u201d en Europe...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/life-plantation.ch\/pt-pt\/compra\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Compra - Life Plantation\" \/>\n<meta property=\"og:description\" content=\"Contribuez d\u00e8s maintenant \u00e0 un avenir plus durable.Achetez votre premier arbre de type Paulownias \u201cElongata\u201d en Europe...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/life-plantation.ch\/pt-pt\/compra\/\" \/>\n<meta property=\"og:site_name\" content=\"Life Plantation\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-19T12:57:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/life-plantation.ch\/wp-content\/uploads\/2024\/02\/logo-site-web.png\" \/>\n\t<meta property=\"og:image:width\" content=\"987\" \/>\n\t<meta property=\"og:image:height\" content=\"457\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/life-plantation.ch\/pt-pt\/compra\/\",\"url\":\"https:\/\/life-plantation.ch\/pt-pt\/compra\/\",\"name\":\"Compra - Life Plantation\",\"isPartOf\":{\"@id\":\"https:\/\/life-plantation.ch\/pt-pt\/#website\"},\"datePublished\":\"2024-02-22T09:34:43+00:00\",\"dateModified\":\"2024-11-19T12:57:57+00:00\",\"description\":\"Contribuez d\u00e8s maintenant \u00e0 un avenir plus durable.Achetez votre premier arbre de type Paulownias \u201cElongata\u201d en Europe...\",\"breadcrumb\":{\"@id\":\"https:\/\/life-plantation.ch\/pt-pt\/compra\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/life-plantation.ch\/pt-pt\/compra\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/life-plantation.ch\/pt-pt\/compra\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/life-plantation.ch\/pt-pt\/inicio\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Compra\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/life-plantation.ch\/pt-pt\/#website\",\"url\":\"https:\/\/life-plantation.ch\/pt-pt\/\",\"name\":\"Life Plantation\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/life-plantation.ch\/pt-pt\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/life-plantation.ch\/pt-pt\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/life-plantation.ch\/pt-pt\/#organization\",\"name\":\"Life Plantation\",\"url\":\"https:\/\/life-plantation.ch\/pt-pt\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/life-plantation.ch\/pt-pt\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/life-plantation.ch\/wp-content\/uploads\/2024\/02\/logo-site-web.png\",\"contentUrl\":\"https:\/\/life-plantation.ch\/wp-content\/uploads\/2024\/02\/logo-site-web.png\",\"width\":987,\"height\":457,\"caption\":\"Life Plantation\"},\"image\":{\"@id\":\"https:\/\/life-plantation.ch\/pt-pt\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Compra - Life Plantation","description":"Contribuez d\u00e8s maintenant \u00e0 un avenir plus durable.Achetez votre premier arbre de type Paulownias \u201cElongata\u201d en Europe...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/life-plantation.ch\/pt-pt\/compra\/","og_locale":"pt_PT","og_type":"article","og_title":"Compra - Life Plantation","og_description":"Contribuez d\u00e8s maintenant \u00e0 un avenir plus durable.Achetez votre premier arbre de type Paulownias \u201cElongata\u201d en Europe...","og_url":"https:\/\/life-plantation.ch\/pt-pt\/compra\/","og_site_name":"Life Plantation","article_modified_time":"2024-11-19T12:57:57+00:00","og_image":[{"width":987,"height":457,"url":"https:\/\/life-plantation.ch\/wp-content\/uploads\/2024\/02\/logo-site-web.png","type":"image\/png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/life-plantation.ch\/pt-pt\/compra\/","url":"https:\/\/life-plantation.ch\/pt-pt\/compra\/","name":"Compra - Life Plantation","isPartOf":{"@id":"https:\/\/life-plantation.ch\/pt-pt\/#website"},"datePublished":"2024-02-22T09:34:43+00:00","dateModified":"2024-11-19T12:57:57+00:00","description":"Contribuez d\u00e8s maintenant \u00e0 un avenir plus durable.Achetez votre premier arbre de type Paulownias \u201cElongata\u201d en Europe...","breadcrumb":{"@id":"https:\/\/life-plantation.ch\/pt-pt\/compra\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/life-plantation.ch\/pt-pt\/compra\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/life-plantation.ch\/pt-pt\/compra\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/life-plantation.ch\/pt-pt\/inicio\/"},{"@type":"ListItem","position":2,"name":"Compra"}]},{"@type":"WebSite","@id":"https:\/\/life-plantation.ch\/pt-pt\/#website","url":"https:\/\/life-plantation.ch\/pt-pt\/","name":"Life Plantation","description":"","publisher":{"@id":"https:\/\/life-plantation.ch\/pt-pt\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/life-plantation.ch\/pt-pt\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-PT"},{"@type":"Organization","@id":"https:\/\/life-plantation.ch\/pt-pt\/#organization","name":"Life Plantation","url":"https:\/\/life-plantation.ch\/pt-pt\/","logo":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/life-plantation.ch\/pt-pt\/#\/schema\/logo\/image\/","url":"https:\/\/life-plantation.ch\/wp-content\/uploads\/2024\/02\/logo-site-web.png","contentUrl":"https:\/\/life-plantation.ch\/wp-content\/uploads\/2024\/02\/logo-site-web.png","width":987,"height":457,"caption":"Life Plantation"},"image":{"@id":"https:\/\/life-plantation.ch\/pt-pt\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/life-plantation.ch\/pt-pt\/wp-json\/wp\/v2\/pages\/3734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/life-plantation.ch\/pt-pt\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/life-plantation.ch\/pt-pt\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/life-plantation.ch\/pt-pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/life-plantation.ch\/pt-pt\/wp-json\/wp\/v2\/comments?post=3734"}],"version-history":[{"count":2,"href":"https:\/\/life-plantation.ch\/pt-pt\/wp-json\/wp\/v2\/pages\/3734\/revisions"}],"predecessor-version":[{"id":3736,"href":"https:\/\/life-plantation.ch\/pt-pt\/wp-json\/wp\/v2\/pages\/3734\/revisions\/3736"}],"wp:attachment":[{"href":"https:\/\/life-plantation.ch\/pt-pt\/wp-json\/wp\/v2\/media?parent=3734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}