{"id":6567,"date":"2025-10-15T17:38:46","date_gmt":"2025-10-15T17:38:46","guid":{"rendered":"https:\/\/www.snowpro.com\/panier\/"},"modified":"2026-06-18T20:43:33","modified_gmt":"2026-06-18T20:43:33","slug":"panier","status":"publish","type":"page","link":"https:\/\/www.snowpro.com\/fr\/panier\/","title":{"rendered":"Panier"},"content":{"rendered":"<div id=\"csia-cart-6a73bca63211a\" class=\"csia-component csia-component-cart\"><\/div><script>\n            document.addEventListener(\"DOMContentLoaded\", function() {\n                var componentExists = typeof Vue !== \"undefined\" && \n                    (typeof Cart !== \"undefined\" || typeof cart !== \"undefined\");\n                \n                if (componentExists) {\n                    \/\/ Create config object\n                    var csiaConfig = {\n                        token: \"\",\n                        serveur: \"https:\/\/csia.snowpro.com\",\n                        locale: \"fr\",\n                        nonce: \"30283b9dee\"\n                    };\n                    \n                    \/\/ Set Vue prototype properties\n                    Vue.prototype.$token = csiaConfig.token;\n                    Vue.prototype.$serveur = csiaConfig.serveur;\n                    Vue.prototype.$locale = csiaConfig.locale;\n                    Vue.prototype.$nonce = csiaConfig.nonce;\n                    \n                    \/\/ Set global csiaSettings for component access\n                    if (typeof window.csiaSettings === \"undefined\") {\n                        window.csiaSettings = {};\n                    }\n                    window.csiaSettings.nonce = csiaConfig.nonce;\n                    window.csiaSettings.ajaxUrl = \"https:\/\/www.snowpro.com\/wp-admin\/admin-ajax.php\";\n                    window.csiaSettings.siteUrl = \"https:\/\/www.snowpro.com\/fr\/\";\n                    window.csiaSettings.apiUrl = \"https:\/\/csia.snowpro.com\";\n                    window.csiaSettings.locale = csiaConfig.locale;\n                    \n                    \/\/ Parse the JSON string to get props object\n                    var propsObj;\n                    try {\n                        propsObj = JSON.parse(\"{}\");\n                    } catch(e) {\n                        console.error(\"CSIA Blocks: Error parsing component props JSON:\", e);\n                        propsObj = {};\n                    }\n                    \n                    \/\/ Create Vue instance\n                    \/\/ Try capitalized component name first, then lowercase\n                    var componentName = typeof Cart !== \"undefined\" ? Cart : \n                                       (typeof cart !== \"undefined\" ? cart : null);\n                    \n                    if (componentName) {\n                        window.csiaInstance_csia_cart_6a73bca63211a = new Vue({\n                            el: \"#csia-cart-6a73bca63211a\",\n                            render: function(h) { \n                                return h(componentName, {\n                                    props: propsObj\n                                });\n                            }\n                        });\n                    } else {\n                        console.error(\"CSIA Blocks: Component Cart or cart not found\");\n                        document.getElementById(\"csia-cart-6a73bca63211a\").innerHTML = \n                            \"<p>Error: Component could not be loaded. Please refresh the page or contact an administrator.<\/p>\";\n                    }\n                } else {\n                    console.error(\"Vue or component cart not loaded\");\n                    document.getElementById(\"csia-cart-6a73bca63211a\").innerHTML = \n                        \"<p>Error: Component could not be loaded. Please refresh the page or contact an administrator.<\/p>\";\n                }\n            });\n        <\/script>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-6567","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.snowpro.com\/fr\/wp-json\/wp\/v2\/pages\/6567","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.snowpro.com\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.snowpro.com\/fr\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/www.snowpro.com\/fr\/wp-json\/wp\/v2\/comments?post=6567"}],"version-history":[{"count":1,"href":"https:\/\/www.snowpro.com\/fr\/wp-json\/wp\/v2\/pages\/6567\/revisions"}],"predecessor-version":[{"id":6569,"href":"https:\/\/www.snowpro.com\/fr\/wp-json\/wp\/v2\/pages\/6567\/revisions\/6569"}],"wp:attachment":[{"href":"https:\/\/www.snowpro.com\/fr\/wp-json\/wp\/v2\/media?parent=6567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}