{"id":34791,"date":"2024-11-15T16:18:46","date_gmt":"2024-11-15T15:18:46","guid":{"rendered":"https:\/\/clicasia.com\/producto\/reserva-de-curs\/"},"modified":"2026-04-15T14:41:37","modified_gmt":"2026-04-15T12:41:37","slug":"reserva-de-curs","status":"publish","type":"product","link":"https:\/\/clicasia.com\/ca\/producto\/reserva-de-curs\/","title":{"rendered":"Reserva de curs"},"content":{"rendered":"\t\t<div data-elementor-type=\"product-post\" data-elementor-id=\"34791\" class=\"elementor elementor-34791 elementor-26373\" data-elementor-post-type=\"product\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-164ce2c elementor-section-boxed elementor-section-gap-beside-yes elementor-section-height-default elementor-section-height-default elementor-section-column-vertical-align-stretch\" data-id=\"164ce2c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-extended\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6a575fa\" data-id=\"6a575fa\" 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-7bbedb9 elementor-widget elementor-widget-html\" data-id=\"7bbedb9\" 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>\n\/* Hide Product Tabs *\/\n.entry-product-tab-list {\n    display: none !important;\n}\n\n\/* Hide Product Meta (SKU, Categories, Tags) *\/\n.entry-product-meta {\n    display: none !important;\n    \n    \/* Hide the quantity selection on WooCommerce product pages *\/\n.quantity-button-wrapper {\n    display: none !important;\n}\n    \n    .reset_variations {\n        display: none !important\n    }\n    \n}\n<\/style>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-82b90ae elementor-widget elementor-widget-html\" data-id=\"82b90ae\" 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<script>document.addEventListener('DOMContentLoaded', function() {\n    \n    \/\/ Function to change the default option text for select dropdowns\n    function updateSelectPlaceholder(selectId, newText) {\n        var selectElement = document.getElementById(selectId);\n        if (selectElement) {\n            var firstOption = selectElement.options[0];\n            if (firstOption) {\n                firstOption.text = newText;\n            }\n        }\n    }\n\n    \/\/ Function to change the text inside label tags within elements of a specific class\n    function updateLabelTextWithinClass(wrapperClassName, newText) {\n        var wrappers = document.getElementsByClassName(wrapperClassName);\n        for (var i = 0; i < wrappers.length; i++) {\n            var labels = wrappers[i].getElementsByTagName('label');\n            for (var j = 0; j < labels.length; j++) {\n                labels[j].innerText = newText;\n            }\n        }\n    }\n\n    \/\/ Function to hide elements with a specific class\n    function hideElementsByClass(className) {\n        var elements = document.getElementsByClassName(className);\n        for (var i = 0; i < elements.length; i++) {\n            elements[i].style.display = 'none';\n        }\n    }\n\n    \/\/ Update placeholders for each select dropdown\n    updateSelectPlaceholder('idioma', '\u00bfQu\u00e9 idioma quieres aprender?');\n    updateSelectPlaceholder('libro-se-cobra-aparte', 'Elige un formato para el libro');\n    updateSelectPlaceholder('centro', '\u00bfD\u00f3nde quieres estudiar?');\n\n    \/\/ Update text inside label tags within 'quantity-button-wrapper'\n    updateLabelTextWithinClass('quantity-button-wrapper', 'Cantidad');\n\n    \/\/ Hide elements with class 'reset_variations'\n    hideElementsByClass('reset_variations');\n\n    \/\/ Observe DOM changes to hide any new 'reset_variations' elements\n    var observer = new MutationObserver(function(mutations) {\n        mutations.forEach(function(mutation) {\n            mutation.addedNodes.forEach(function(node) {\n                if (node.nodeType === 1) { \/\/ ELEMENT_NODE\n                    if (node.classList.contains('reset_variations')) {\n                        node.style.display = 'none';\n                    }\n                    \/\/ Also check within the node for nested 'reset_variations'\n                    var nestedReset = node.querySelectorAll('.reset_variations');\n                    nestedReset.forEach(function(el) {\n                        el.style.display = 'none';\n                    });\n                }\n            });\n        });\n    });\n\n    observer.observe(document.body, { childList: true, subtree: true });\n    \n});\n<\/script>\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":"","protected":false},"featured_media":21930,"template":"","meta":{"_eb_attr":"","rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":[],"rop_publish_now_history":[],"rop_publish_now_status":"pending","_joinchat":[]},"product_brand":[],"product_cat":[3147],"product_tag":[],"class_list":{"0":"post-34791","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-sense-categoritzar","8":"first","9":"instock","10":"shipping-taxable","11":"purchasable","12":"product-type-variable"},"_links":{"self":[{"href":"https:\/\/clicasia.com\/ca\/wp-json\/wp\/v2\/product\/34791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clicasia.com\/ca\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/clicasia.com\/ca\/wp-json\/wp\/v2\/types\/product"}],"version-history":[{"count":2,"href":"https:\/\/clicasia.com\/ca\/wp-json\/wp\/v2\/product\/34791\/revisions"}],"predecessor-version":[{"id":35738,"href":"https:\/\/clicasia.com\/ca\/wp-json\/wp\/v2\/product\/34791\/revisions\/35738"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/clicasia.com\/ca\/wp-json\/wp\/v2\/media\/21930"}],"wp:attachment":[{"href":"https:\/\/clicasia.com\/ca\/wp-json\/wp\/v2\/media?parent=34791"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/clicasia.com\/ca\/wp-json\/wp\/v2\/product_brand?post=34791"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/clicasia.com\/ca\/wp-json\/wp\/v2\/product_cat?post=34791"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/clicasia.com\/ca\/wp-json\/wp\/v2\/product_tag?post=34791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}