[{"command":"insert","method":"html","selector":"#cart_counter span","data":"\u003Cspan\u003E1\u003C\/span\u003E","settings":null},{"command":"openDialog","selector":"#drupal-modal","settings":null,"data":"\u003Cdiv class=\u0022my-custom-class\u0022\u003E\n \u003Cdiv class=\u0022modal-body p-0 modal_content_margin top_modal_bg\u0022\u003E\n \u003Cdiv class=\u0022modal-content-container\u0022\u003E\n \u003Cdiv class=\u0022modal-content-image col-3\u0022\u003E\n \u003Cimg class=\u0022img_command\u0022 src=\u0022\/system\/files\/2024-08\/TDB_1188.png\u0022 alt=\u0022\u0022 \/\u003E\n \u003C\/div\u003E\n \u003Cdiv class=\u0022modal-content-details col-8\u0022\u003E\n\n \u003Cspan\u003E\n \u003Cspan class=\u0022product_title_modal\u0022\u003ECarnet A5 Madame \u003C\/span\u003E\n \u003Cdiv class=\u0022stock\u0022\u003E\n \u003Csvg xmlns=\u0022http:\/\/www.w3.org\/2000\/svg\u0022 width=\u002217\u0022 height=\u002217\u0022 viewBox=\u00220 0 17 17\u0022 fill=\u0022none\u0022\u003E\n \u003Cpath d=\u0022M6.88565 11.0408L11.648 6.22449C11.796 6.07483 11.9843 6 12.213 6C12.4417 6 12.63 6.07483 12.778 6.22449C12.926 6.37415 13 6.56463 13 6.79592C13 7.02721 12.926 7.21769 12.778 7.36735L7.45067 12.7551C7.28924 12.9184 7.1009 13 6.88565 13C6.6704 13 6.48206 12.9184 6.32063 12.7551L4.22197 10.6327C4.07399 10.483 4 10.2925 4 10.0612C4 9.82993 4.07399 9.63946 4.22197 9.4898C4.36995 9.34014 4.5583 9.26531 4.787 9.26531C5.01569 9.26531 5.20404 9.34014 5.35202 9.4898L6.88565 11.0408Z\u0022 fill=\u0022#00A07C\u0022\/\u003E\n \u003C\/svg\u003EEn Stock\n\n\n \u003C\/div\u003E\n \u003C\/span\u003E\n \u003Cdiv class=\u0022article_details d-flex justify-content-between align-items-center\u0022\u003E\n \u003Cselect name=\u0022cars\u0022 id=\u0022cars\u0022 class=\u0022select_product_number\u0022 onchange=\u0022updateQuantity(this.value)\u0022\u003E\n \u003Coption value=\u00221\u0022 selected\u003E1\u003C\/option\u003E\n \u003Coption value=\u00222\u0022 \u003E2\u003C\/option\u003E\n \u003Coption value=\u00223\u0022 \u003E3\u003C\/option\u003E\n \u003Coption value=\u00224\u0022 \u003E4\u003C\/option\u003E\n \u003Coption value=\u00225\u0022 \u003E5\u003C\/option\u003E\n \u003Coption value=\u00226\u0022 \u003E6\u003C\/option\u003E\n \u003Coption value=\u00227\u0022 \u003E7\u003C\/option\u003E\n \u003Coption value=\u00228\u0022 \u003E8\u003C\/option\u003E\n \u003Coption value=\u00229\u0022 \u003E9\u003C\/option\u003E\n \u003Coption value=\u002210\u0022 \u003E10\u003C\/option\u003E\n \u003C\/select\u003E\n \u003Cspan class=\u0022price_procuct\u0022\u003E5.00 \u20ac\u003C\/span\u003E\n \u003C\/div\u003E\n \u003C\/div\u003E\n \u003C\/div\u003E\n \u003Cdiv class=\u0022connexion d-flex justify-content-between align-items-center mt-4 gap-3\u0022\u003E\n \u003Cbutton type=\u0022button\u0022 class=\u0022btn-continue rounded-0 flex-1\u0022 data-bs-dismiss=\u0022modal\u0022\u003E\u003Ca href=\u0022\/fr\/e-boutique\/produits\u0022 class=\u0022text-decoration-none\u0022\u003EPOURSUIVRE MES ACHATS\u003C\/a\u003E\u003C\/button\u003E\n \u003Cbutton type=\u0022button\u0022 class=\u0022button flex-1\u0022\u003E\u003Cimg src=\u0022\/themes\/boutique\/img\/Basket-mini.svg\u0022 alt=\u0022\u0022\u003E\u003Ca href=\u0022\/fr\/e-boutique\/cart\u0022 class=\u0022text-white text-decoration-none\u0022\u003EVOIR MON PANIER\u003C\/a\u003E\u003C\/button\u003E\n \u003C\/div\u003E\n \u003C\/div\u003E\n\n\n \u003Cdiv\u003E\n \u003Cdiv class=\u0022card border-0 rounded-0 cardCommandPadding overflow-x-auto\u0022\u003E\n \u003Cspan class=\u0022titleCommand d-flex align-items-center title_block\u0022\u003EVous pourriez aussi aimer\u003C\/span\u003E\n \u003Ctable class=\u0022table\u0022\u003E\n \u003Ctr class=\u0022d-flex border_bottom\u0022\u003E\n \u003Ctd class=\u0022border-0 d-flex w-100\u0022\u003E\n \u003Cimg class=\u0022img_command col-3\u0022 src=\u0022\/system\/files\/2024-08\/TDB_1326_0.png\u0022 alt=\u0022\u0022 \/\u003E\n \u003Cdiv class=\u0022modal-content-details-voir-plus- p-3 d-flex flex-column justify-content-between col-9\u0022\u003E\n \u003Cdiv\u003E\n \u003Cspan class=\u0022product_title_modal\u0022\u003ECarnet routes 1726 \u003C\/span\u003E\n \u003Cdiv class=\u0022stock\u0022\u003E \u003Csvg xmlns=\u0022http:\/\/www.w3.org\/2000\/svg\u0022 width=\u002217\u0022 height=\u002217\u0022 viewBox=\u00220 0 17 17\u0022 fill=\u0022none\u0022\u003E\n \u003Cpath d=\u0022M6.88565 11.0408L11.648 6.22449C11.796 6.07483 11.9843 6 12.213 6C12.4417 6 12.63 6.07483 12.778 6.22449C12.926 6.37415 13 6.56463 13 6.79592C13 7.02721 12.926 7.21769 12.778 7.36735L7.45067 12.7551C7.28924 12.9184 7.1009 13 6.88565 13C6.6704 13 6.48206 12.9184 6.32063 12.7551L4.22197 10.6327C4.07399 10.483 4 10.2925 4 10.0612C4 9.82993 4.07399 9.63946 4.22197 9.4898C4.36995 9.34014 4.5583 9.26531 4.787 9.26531C5.01569 9.26531 5.20404 9.34014 5.35202 9.4898L6.88565 11.0408Z\u0022 fill=\u0022#00A07C\u0022\/\u003E\n \u003C\/svg\u003E\n En stock\n \u003C\/div\u003E\n \u003C\/div\u003E\n \u003Cdiv class=\u0022article_details-voir-plus d-flex justify-content-between align-items-center\u0022\u003E\n \u003Cspan class=\u0022price_procuct\u0022\u003E14.00 \u20ac\u003C\/span\u003E\n\n \u003Ca href=\u0022https:\/\/museedelaposte.fr\/fr\/e-boutique\/ajouter-panier\/1\/1\u0022 class=\u0022use-ajax button m-0\u0022 alt=\u0022\u0022\u003E\u003Cimg src=\u0022\/themes\/boutique\/img\/Basket-mini.svg\u0022 alt=\u0022\u0022\u003E\u003C\/a\u003E\n \u003C\/div\u003E\n \u003C\/div\u003E\n \u003C\/td\u003E\n \u003C\/tr\u003E\n \u003Ctr class=\u0022d-flex border_bottom\u0022\u003E\n \u003Ctd class=\u0022border-0 d-flex w-100\u0022\u003E\n \u003Cimg class=\u0022img_command col-3\u0022 src=\u0022\/system\/files\/2024-08\/TDB_1215.png\u0022 alt=\u0022\u0022 \/\u003E\n \u003Cdiv class=\u0022modal-content-details-voir-plus- p-3 d-flex flex-column justify-content-between col-9\u0022\u003E\n \u003Cdiv\u003E\n \u003Cspan class=\u0022product_title_modal\u0022\u003ECatalogue Histoire et Art Postal\u003C\/span\u003E\n \u003Cdiv class=\u0022stock\u0022\u003E \u003Csvg xmlns=\u0022http:\/\/www.w3.org\/2000\/svg\u0022 width=\u002217\u0022 height=\u002217\u0022 viewBox=\u00220 0 17 17\u0022 fill=\u0022none\u0022\u003E\n \u003Cpath d=\u0022M6.88565 11.0408L11.648 6.22449C11.796 6.07483 11.9843 6 12.213 6C12.4417 6 12.63 6.07483 12.778 6.22449C12.926 6.37415 13 6.56463 13 6.79592C13 7.02721 12.926 7.21769 12.778 7.36735L7.45067 12.7551C7.28924 12.9184 7.1009 13 6.88565 13C6.6704 13 6.48206 12.9184 6.32063 12.7551L4.22197 10.6327C4.07399 10.483 4 10.2925 4 10.0612C4 9.82993 4.07399 9.63946 4.22197 9.4898C4.36995 9.34014 4.5583 9.26531 4.787 9.26531C5.01569 9.26531 5.20404 9.34014 5.35202 9.4898L6.88565 11.0408Z\u0022 fill=\u0022#00A07C\u0022\/\u003E\n \u003C\/svg\u003E\n En stock\n \u003C\/div\u003E\n \u003C\/div\u003E\n \u003Cdiv class=\u0022article_details-voir-plus d-flex justify-content-between align-items-center\u0022\u003E\n \u003Cspan class=\u0022price_procuct\u0022\u003E25.00 \u20ac\u003C\/span\u003E\n\n \u003Ca href=\u0022https:\/\/museedelaposte.fr\/fr\/e-boutique\/ajouter-panier\/5\/1\u0022 class=\u0022use-ajax button m-0\u0022 alt=\u0022\u0022\u003E\u003Cimg src=\u0022\/themes\/boutique\/img\/Basket-mini.svg\u0022 alt=\u0022\u0022\u003E\u003C\/a\u003E\n \u003C\/div\u003E\n \u003C\/div\u003E\n \u003C\/td\u003E\n \u003C\/tr\u003E\n \u003Ctr class=\u0022d-flex border_bottom\u0022\u003E\n \u003Ctd class=\u0022border-0 d-flex w-100\u0022\u003E\n \u003Cimg class=\u0022img_command col-3\u0022 src=\u0022\/system\/files\/2024-08\/TDB_1184.png\u0022 alt=\u0022\u0022 \/\u003E\n \u003Cdiv class=\u0022modal-content-details-voir-plus- p-3 d-flex flex-column justify-content-between col-9\u0022\u003E\n \u003Cdiv\u003E\n \u003Cspan class=\u0022product_title_modal\u0022\u003EPetit carnet A6 \u00e0 spirale 2CV\u003C\/span\u003E\n \u003Cdiv class=\u0022stock\u0022\u003E \u003Csvg xmlns=\u0022http:\/\/www.w3.org\/2000\/svg\u0022 width=\u002217\u0022 height=\u002217\u0022 viewBox=\u00220 0 17 17\u0022 fill=\u0022none\u0022\u003E\n \u003Cpath d=\u0022M6.88565 11.0408L11.648 6.22449C11.796 6.07483 11.9843 6 12.213 6C12.4417 6 12.63 6.07483 12.778 6.22449C12.926 6.37415 13 6.56463 13 6.79592C13 7.02721 12.926 7.21769 12.778 7.36735L7.45067 12.7551C7.28924 12.9184 7.1009 13 6.88565 13C6.6704 13 6.48206 12.9184 6.32063 12.7551L4.22197 10.6327C4.07399 10.483 4 10.2925 4 10.0612C4 9.82993 4.07399 9.63946 4.22197 9.4898C4.36995 9.34014 4.5583 9.26531 4.787 9.26531C5.01569 9.26531 5.20404 9.34014 5.35202 9.4898L6.88565 11.0408Z\u0022 fill=\u0022#00A07C\u0022\/\u003E\n \u003C\/svg\u003E\n En stock\n \u003C\/div\u003E\n \u003C\/div\u003E\n \u003Cdiv class=\u0022article_details-voir-plus d-flex justify-content-between align-items-center\u0022\u003E\n \u003Cspan class=\u0022price_procuct\u0022\u003E9.90 \u20ac\u003C\/span\u003E\n\n \u003Ca href=\u0022https:\/\/museedelaposte.fr\/fr\/e-boutique\/ajouter-panier\/11\/1\u0022 class=\u0022use-ajax button m-0\u0022 alt=\u0022\u0022\u003E\u003Cimg src=\u0022\/themes\/boutique\/img\/Basket-mini.svg\u0022 alt=\u0022\u0022\u003E\u003C\/a\u003E\n \u003C\/div\u003E\n \u003C\/div\u003E\n \u003C\/td\u003E\n \u003C\/tr\u003E\n \u003Ctr class=\u0022d-flex border_bottom\u0022\u003E\n \u003Ctd class=\u0022border-0 d-flex w-100\u0022\u003E\n \u003Cimg class=\u0022img_command col-3\u0022 src=\u0022\/system\/files\/2024-08\/TDB_1181.png\u0022 alt=\u0022\u0022 \/\u003E\n \u003Cdiv class=\u0022modal-content-details-voir-plus- p-3 d-flex flex-column justify-content-between col-9\u0022\u003E\n \u003Cdiv\u003E\n \u003Cspan class=\u0022product_title_modal\u0022\u003EPetit carnet A6 \u00e0 spirale 4L\u003C\/span\u003E\n \u003Cdiv class=\u0022stock\u0022\u003E \u003Csvg xmlns=\u0022http:\/\/www.w3.org\/2000\/svg\u0022 width=\u002217\u0022 height=\u002217\u0022 viewBox=\u00220 0 17 17\u0022 fill=\u0022none\u0022\u003E\n \u003Cpath d=\u0022M6.88565 11.0408L11.648 6.22449C11.796 6.07483 11.9843 6 12.213 6C12.4417 6 12.63 6.07483 12.778 6.22449C12.926 6.37415 13 6.56463 13 6.79592C13 7.02721 12.926 7.21769 12.778 7.36735L7.45067 12.7551C7.28924 12.9184 7.1009 13 6.88565 13C6.6704 13 6.48206 12.9184 6.32063 12.7551L4.22197 10.6327C4.07399 10.483 4 10.2925 4 10.0612C4 9.82993 4.07399 9.63946 4.22197 9.4898C4.36995 9.34014 4.5583 9.26531 4.787 9.26531C5.01569 9.26531 5.20404 9.34014 5.35202 9.4898L6.88565 11.0408Z\u0022 fill=\u0022#00A07C\u0022\/\u003E\n \u003C\/svg\u003E\n En stock\n \u003C\/div\u003E\n \u003C\/div\u003E\n \u003Cdiv class=\u0022article_details-voir-plus d-flex justify-content-between align-items-center\u0022\u003E\n \u003Cspan class=\u0022price_procuct\u0022\u003E9.90 \u20ac\u003C\/span\u003E\n\n \u003Ca href=\u0022https:\/\/museedelaposte.fr\/fr\/e-boutique\/ajouter-panier\/12\/1\u0022 class=\u0022use-ajax button m-0\u0022 alt=\u0022\u0022\u003E\u003Cimg src=\u0022\/themes\/boutique\/img\/Basket-mini.svg\u0022 alt=\u0022\u0022\u003E\u003C\/a\u003E\n \u003C\/div\u003E\n \u003C\/div\u003E\n \u003C\/td\u003E\n \u003C\/tr\u003E\n \u003C\/table\u003E\n \u003C\/div\u003E\n \u003C\/div\u003E\n\n\n\u003C\/div\u003E\n\n\n\u003Cscript\u003E\n function updateQuantity(newQuantity) {\n var productId = 9;\n var url = \u0027\/e-boutique\/ajouter-panier\/\u0027 + productId + \u0027\/\u0027 + newQuantity;\n jQuery.ajax({\n url: url,\n method: \u0027GET\u0027, \/\/ Assuming it\u0027s a GET request, adjust if it\u0027s a different method\n success: function(response) {\n var priceElement = document.querySelector(\u0027.price_procuct\u0027);\n var newPrice = 5.00 * newQuantity;\n priceElement.textContent = newPrice.toFixed(2) + \u0022 \u20ac\u0022;\n },\n error: function(xhr, status, error) {\n console.error(\u0027Error updating cart:\u0027, error);\n }\n });\n }\n\u003C\/script\u003E\n","dialogOptions":{"width":"600","modal":true,"title":"Votre article a \u00e9t\u00e9 ajout\u00e9 au panier"}}]