{"id":20826,"date":"2026-10-06T05:42:23","date_gmt":"2026-10-06T05:42:23","guid":{"rendered":"https:\/\/perrytaylor.eu\/?page_id=20826"},"modified":"2026-10-12T12:43:19","modified_gmt":"2026-10-12T12:43:19","slug":"choisir-vos-cartes","status":"publish","type":"page","link":"https:\/\/perrytaylor.fr\/fr\/choisir-vos-cartes\/","title":{"rendered":"Choisir vos cartes de voeux"},"content":{"rendered":"\n\t<div id=\"gc3-card-picker-wrapper\" class=\"gc3-card-picker-wrapper\">\n\t\t<div class=\"gc3-card-picker-header\">\n\t\t\t<h1>Choisissez vos cartes de voeux<\/h1>\n\t\t\t<p class=\"gc3-card-picker-instruction\">Choisissez au moins 5 cartes. Votre panier est mis \u00e0 jour imm\u00e9diatement au fur et \u00e0 mesure de votre s\u00e9lection.<\/p>\n\t\t\t<a class=\"gc3-back-to-cards\" href=\"https:\/\/perrytaylor.fr\/fr\/category\/cartes\/\">\n\t\t\t\t&larr; Retour aux cartes de voeux\t\t\t<\/a>\n\t\t<\/div>\n\n\t\t<div class=\"gc3-card-picker-toolbar\">\n\t\t\t<div class=\"gc3-search-wrap\">\n\t\t\t\t<span class=\"gc3-search-icon\">\u2315<\/span>\n\t\t\t\t<input type=\"search\" id=\"gc3-card-search\" placeholder=\"Rechercher une carte\u2026\" autocomplete=\"off\">\n\t\t\t<\/div>\n\t\t<\/div>\n\n\t\t<div id=\"gc3-category-filters\" class=\"gc3-category-filters\"><\/div>\n\t\t<div id=\"gc3-card-loading\" class=\"gc3-card-loading\">Chargement des cartes\u2026<\/div>\n\t\t<div id=\"gc3-card-grid\" class=\"gc3-card-grid\"><\/div>\n\t\t<div id=\"gc3-card-empty\" class=\"gc3-card-empty\" style=\"display:none\"><\/div>\n\n\t\t<div class=\"gc3-card-picker-footer\">\n\t\t\t<div class=\"gc3-selection-summary\">\n\t\t\t\t<strong id=\"gc3-selection-count\"><\/strong>\n\t\t\t\t<span id=\"gc3-cart-status\" class=\"gc3-cart-status\"><\/span>\n\t\t\t\t<button type=\"button\" id=\"gc3-clear-selection\" class=\"gc3-clear-selection\">\n\t\t\t\t\tEffacer la s\u00e9lection individuelle\t\t\t\t<\/button>\n\t\t\t<\/div>\n\t\t\t<button type=\"button\" id=\"gc3-view-basket\" class=\"gc3-add-selected\">\n\t\t\t\tVoir votre panier et passer la commande\t\t\t<\/button>\n\t\t<\/div>\n\t<\/div>\n\n\t<style>\n\t.gc3-card-picker-wrapper{width:100%;margin:30px auto;box-sizing:border-box}\n\t.gc3-card-picker-header{margin-bottom:25px}\n\t.gc3-card-picker-header h1{margin:0 0 12px}\n\t.gc3-card-picker-instruction{margin:0 0 15px;line-height:1.6}\n\t.gc3-back-to-cards{display:inline-block;margin-top:5px;text-decoration:none;font-weight:600}\n\t.gc3-card-picker-toolbar{margin-bottom:15px}\n\t.gc3-search-wrap{position:relative;width:100%}\n\t.gc3-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:22px;pointer-events:none;opacity:.6}\n\t#gc3-card-search{display:block;width:100%;box-sizing:border-box;padding:13px 15px 13px 42px;border:1px solid #d5d5d5;border-radius:7px;background:#fff;font-size:16px}\n\t.gc3-category-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}\n\t.gc3-category-button{appearance:none;border:1px solid #d0d0d0;background:#fff;color:#222;padding:9px 14px;border-radius:999px;cursor:pointer;font-size:14px}\n\t.gc3-category-button:hover,.gc3-category-button.gc3-active{background:#111;color:#fff;border-color:#111}\n\t.gc3-card-loading,.gc3-card-empty{padding:35px 15px;text-align:center;font-size:16px}\n\t.gc3-card-grid{width:100%;box-sizing:border-box;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;align-items:start}\n\t.gc3-card{position:relative;min-width:0;border:1px solid #e2e2e2;border-radius:10px;background:#fff;overflow:hidden;box-sizing:border-box}\n\t.gc3-card:hover{border-color:#bbb;box-shadow:0 4px 14px rgba(0,0,0,.06)}\n\t.gc3-card-selected{border-color:#111;box-shadow:0 0 0 2px rgba(0,0,0,.08)}\n\t.gc3-card-image-wrap{position:relative;width:100%;height:220px;overflow:hidden;background:#f7f7f7}\n\t.gc3-card-image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;margin:0!important;padding:0!important}\n\t.gc3-selected-badge{position:absolute;top:9px;right:9px;z-index:2;padding:5px 8px;border-radius:999px;background:#111;color:#fff;font-size:12px;font-weight:600}\n\t.gc3-card-name{padding:13px 13px 5px;font-weight:600;font-size:15px;line-height:1.35}\n\t.gc3-card-category-label{padding:0 13px 10px;color:#777;font-size:12px}\n\t.gc3-card-controls{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 13px 14px}\n\t.gc3-minus,.gc3-plus{width:34px;height:34px;padding:0;border:1px solid #ccc;border-radius:6px;background:#fff;color:#111;cursor:pointer;font-size:20px}\n\t.gc3-minus:hover,.gc3-plus:hover{background:#f1f1f1}\n\t.gc3-minus:disabled,.gc3-plus:disabled{opacity:.45;cursor:wait}\n\t.gc3-quantity{min-width:28px;text-align:center;font-weight:600}\n\t.gc3-out-of-stock{opacity:.55}\n\t.gc3-out-of-stock .gc3-card-controls{display:none}\n\t.gc3-out-of-stock-label{padding:0 13px 14px;color:#a00;font-size:13px;font-weight:600;text-align:center}\n\t.gc3-card-picker-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:28px;padding:18px 0;border-top:1px solid #ddd}\n\t.gc3-selection-summary{display:flex;align-items:center;flex-wrap:wrap;gap:15px}\n\t.gc3-selection-summary strong{font-size:17px}\n\t.gc3-cart-status{font-size:13px;opacity:.7}\n\t.gc3-clear-selection{border:0;background:transparent;padding:5px 0;cursor:pointer;text-decoration:underline;color:inherit}\n\t.gc3-add-selected{border:1px solid;border-radius:7px;padding:13px 20px;background:#fff;color:green;cursor:pointer;font-weight:600;font-size:15px;cursor: pointer;}\n\t.gc3-add-selected:hover{background: #4963a0;font-weight: bold;color: #ffdd22;}\n\t@media(max-width:1000px){.gc3-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}\n\t@media(max-width:800px){.gc3-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}\n\t@media(max-width:600px){.gc3-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gc3-card-image-wrap{height:190px}.gc3-card-picker-footer{flex-direction:column;align-items:stretch}.gc3-add-selected{width:100%}}\n\t@media(max-width:420px){.gc3-card-grid{gap:9px}.gc3-card-image-wrap{height:160px}}\n\t<\/style>\n\n\t<script>\n\tjQuery(function($){\n\t\t'use strict';\n\n\t\tconst GC3={\"ajax_url\":\"https:\\\/\\\/perrytaylor.fr\\\/wp-admin\\\/admin-ajax.php\",\"nonce\":\"4470f1f4e3\",\"language\":\"fr\",\"current_product_id\":0,\"single_card_price\":3,\"cart_url\":\"https:\\\/\\\/perrytaylor.fr\\\/fr\\\/panier\\\/\",\"strings\":{\"instruction\":\"Choisissez au moins 5 cartes. Votre panier est mis \\u00e0 jour imm\\u00e9diatement au fur et \\u00e0 mesure de votre s\\u00e9lection.\",\"page_title\":\"Choisissez vos cartes de voeux\",\"back_to_cards\":\"Retour aux cartes de voeux\",\"search_placeholder\":\"Rechercher une carte\\u2026\",\"all_cards\":\"Toutes les cartes\",\"clear\":\"Effacer la s\\u00e9lection individuelle\",\"view_basket\":\"Voir votre panier et passer la commande\",\"loading\":\"Chargement des cartes\\u2026\",\"updating\":\"Mise \\u00e0 jour du panier\\u2026\",\"no_cards\":\"Aucune carte trouv\\u00e9e.\",\"no_search_results\":\"Aucune carte ne correspond \\u00e0 votre recherche.\",\"error\":\"Une erreur s\\u2019est produite. Veuillez r\\u00e9essayer.\",\"selected\":\"%d cartes individuelles s\\u00e9lectionn\\u00e9es \\u2014 %s\",\"card_selected\":\"s\\u00e9lectionn\\u00e9e(s)\",\"out_of_stock\":\"Rupture de stock\"}};\n\t\tconst $grid=$('#gc3-card-grid');\n\t\tconst $loading=$('#gc3-card-loading');\n\t\tconst $empty=$('#gc3-card-empty');\n\t\tconst $filters=$('#gc3-category-filters');\n\t\tconst $search=$('#gc3-card-search');\n\t\tconst $summary=$('#gc3-selection-count');\n\t\tconst $clear=$('#gc3-clear-selection');\n\t\tconst $viewBasket=$('#gc3-view-basket');\n\t\tconst $status=$('#gc3-cart-status');\n\n\t\tlet cards=[];\n\t\tlet categories=[];\n\t\tlet selected={};\n\t\tlet activeCategory='all';\n\t\tconst syncState={};\n\n\t\tfunction escapeHtml(value){\n\t\t\treturn $('<div>').text(value==null?'':value).html();\n\t\t}\n\n\t\tfunction totalQuantity(){\n\t\t\treturn Object.keys(selected).reduce(function(total,id){\n\t\t\t\treturn total+(parseInt(selected[id],10)||0);\n\t\t\t},0);\n\t\t}\n\n\t\tfunction formatPrice(amount){\n\t\t\treturn new Intl.NumberFormat(\n\t\t\t\tGC3.language&&GC3.language.indexOf('fr')===0?'fr-FR':'en-GB',\n\t\t\t\t{style:'currency',currency:'EUR'}\n\t\t\t).format(amount);\n\t\t}\n\n\t\tfunction updateSummary(){\n\t\t\tlet text=GC3.strings.selected;\n\t\t\ttext=text.replace('%d',totalQuantity());\n\t\t\ttext=text.replace('%s',formatPrice(totalQuantity()*GC3.single_card_price));\n\t\t\t$summary.text(text);\n\t\t}\n\n\t\tfunction applyFragments(fragments,hash){\n\t\t\tif(fragments){\n\t\t\t\t$.each(fragments,function(selector,html){\n\t\t\t\t\t$(selector).replaceWith(html);\n\t\t\t\t});\n\t\t\t}\n\t\t\t$(document.body).trigger('wc_fragments_refreshed');\n\t\t\t$(document.body).trigger('wc_fragments_loaded');\n\t\t\tif(hash){\n\t\t\t\ttry{\n\t\t\t\t\tsessionStorage.setItem('wc_cart_hash',hash);\n\t\t\t\t\tlocalStorage.setItem('wc_cart_hash',hash);\n\t\t\t\t}catch(e){}\n\t\t\t}\n\t\t}\n\n\t\tfunction cardMatches(card){\n\t\t\tconst term=($search.val()||'').toLowerCase().trim();\n\t\t\tconst text=(card.name+' '+(card.categories||[]).map(function(c){return c.name;}).join(' ')).toLowerCase();\n\n\t\t\tconst matchesSearch=!term||text.indexOf(term)!==-1;\n\t\t\tconst matchesCategory=activeCategory==='all'||(card.categories||[]).some(function(c){\n\t\t\t\treturn c.slug===activeCategory;\n\t\t\t});\n\t\t\treturn matchesSearch&&matchesCategory;\n\t\t}\n\n\t\tfunction renderCategories(){\n\t\t\tlet html='<button type=\"button\" class=\"gc3-category-button gc3-active\" data-category=\"all\">'+escapeHtml(GC3.strings.all_cards)+'<\/button>';\n\t\t\tcategories.forEach(function(category){\n\t\t\t\thtml+='<button type=\"button\" class=\"gc3-category-button\" data-category=\"'+escapeHtml(category.slug)+'\">'+escapeHtml(category.name)+'<\/button>';\n\t\t\t});\n\t\t\t$filters.html(html);\n\t\t}\n\n\t\tfunction renderCards(){\n\t\t\tconst filtered=cards.filter(cardMatches);\n\t\t\t$grid.empty();\n\n\t\t\tif(!filtered.length){\n\t\t\t\t$grid.hide();\n\t\t\t\t$empty.text($search.val()?GC3.strings.no_search_results:GC3.strings.no_cards).show();\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$empty.hide();\n\t\t\t$grid.show();\n\n\t\t\tfiltered.forEach(function(card){\n\t\t\t\tconst id=String(card.product_id);\n\t\t\t\tconst qty=parseInt(selected[id],10)||0;\n\t\t\t\tconst out=card.stock_status!=='instock';\n\t\t\t\tconst state=syncState[id];\n\t\t\t\tconst busy=state&&state.busy;\n\t\t\t\tconst firstCategory=card.categories&&card.categories.length?card.categories[0].name:'';\n\n\t\t\t\tlet image=card.image\n\t\t\t\t\t?'<img decoding=\"async\" class=\"gc3-card-image\" src=\"'+escapeHtml(card.image)+'\" alt=\"'+escapeHtml(card.name)+'\">'\n\t\t\t\t\t:'';\n\n\t\t\t\tlet badge=qty>0\n\t\t\t\t\t?'<div class=\"gc3-selected-badge\">'+qty+' '+escapeHtml(GC3.strings.card_selected)+'<\/div>'\n\t\t\t\t\t:'';\n\n\t\t\t\tlet controls=out\n\t\t\t\t\t?'<div class=\"gc3-out-of-stock-label\">'+escapeHtml(GC3.strings.out_of_stock)+'<\/div>'\n\t\t\t\t\t:'<div class=\"gc3-card-controls\">'+\n\t\t\t\t\t\t'<button type=\"button\" class=\"gc3-minus\" data-product-id=\"'+id+'\"'+(busy?' disabled':'')+'>\u2212<\/button>'+\n\t\t\t\t\t\t'<span class=\"gc3-quantity\">'+qty+'<\/span>'+\n\t\t\t\t\t\t'<button type=\"button\" class=\"gc3-plus\" data-product-id=\"'+id+'\"'+(busy?' disabled':'')+'>+<\/button>'+\n\t\t\t\t\t'<\/div>';\n\n\t\t\t\t$grid.append(\n\t\t\t\t\t'<div class=\"gc3-card '+(qty>0?'gc3-card-selected ':'')+(out?'gc3-out-of-stock':'')+'\" data-product-id=\"'+id+'\">'+\n\t\t\t\t\t\t'<div class=\"gc3-card-image-wrap\">'+image+badge+'<\/div>'+\n\t\t\t\t\t\t'<div class=\"gc3-card-name\">'+escapeHtml(card.name)+'<\/div>'+\n\t\t\t\t\t\t(firstCategory?'<div class=\"gc3-card-category-label\">'+escapeHtml(firstCategory)+'<\/div>':'')+\n\t\t\t\t\t\tcontrols+\n\t\t\t\t\t'<\/div>'\n\t\t\t\t);\n\t\t\t});\n\t\t}\n\n\t\tfunction flyCard(productId){\n\t\t\tconst $card=$('.gc3-card[data-product-id=\"'+productId+'\"]');\n\t\t\tconst $image=$card.find('.gc3-card-image').first();\n\t\t\tlet $cart=$('.header-cart.float-cart .cart-contents:visible').first();\n\t\t\tif(!$cart.length){$cart=$('.header-cart .cart-contents:visible').first();}\n\t\t\tif(!$cart.length){$cart=$('.header-cart:visible').first();}\n\t\t\tif(!$image.length||!$cart.length){return;}\n\n\t\t\tconst imageUrl=$image.attr('src');\n\t\t\tif(!imageUrl){return;}\n\n\t\t\tconst a=$image[0].getBoundingClientRect();\n\t\t\tconst b=$cart[0].getBoundingClientRect();\n\t\t\tconst $fly=$('<img>',{src:imageUrl,alt:''}).css({\n\t\t\t\tposition:'fixed',zIndex:999999999,\n\t\t\t\tleft:(a.left+a.width\/2-65)+'px',\n\t\t\t\ttop:(a.top+a.height\/2-65)+'px',\n\t\t\t\twidth:'130px',height:'130px',objectFit:'contain',\n\t\t\t\tborderRadius:'6px',pointerEvents:'none',\n\t\t\t\tboxShadow:'0 8px 30px rgba(0,0,0,.25)',\n\t\t\t\ttransition:'all .65s cubic-bezier(.2,.8,.2,1)'\n\t\t\t});\n\t\t\t$('body').append($fly);\n\t\t\tvoid $fly[0].offsetWidth;\n\t\t\trequestAnimationFrame(function(){\n\t\t\t\t$fly.css({\n\t\t\t\t\tleft:(b.left+b.width\/2-14)+'px',\n\t\t\t\t\ttop:(b.top+b.height\/2-14)+'px',\n\t\t\t\t\twidth:'28px',height:'28px',opacity:.25\n\t\t\t\t});\n\t\t\t});\n\t\t\tsetTimeout(function(){$fly.remove();},700);\n\t\t}\n\n\t\tfunction syncProduct(id){\n\t\t\tid=String(id);\n\t\t\tconst state=syncState[id];\n\t\t\tif(!state||state.busy){return;}\n\n\t\t\tstate.busy=true;\n\t\t\tconst sent=state.desired;\n\t\t\t$status.text(GC3.strings.updating);\n\t\t\trenderCards();\n\n\t\t\t$.ajax({\n\t\t\t\turl:GC3.ajax_url,\n\t\t\t\ttype:'POST',\n\t\t\t\tdataType:'json',\n\t\t\t\tdata:{\n\t\t\t\t\taction:'gc3_sync_card_quantity',\n\t\t\t\t\tnonce:GC3.nonce,\n\t\t\t\t\tproduct_id:id,\n\t\t\t\t\tquantity:sent\n\t\t\t\t},\n\t\t\t\tsuccess:function(response){\n\t\t\t\t\tstate.busy=false;\n\n\t\t\t\t\tif(!response||!response.success||!response.data){\n\t\t\t\t\t\talert(response&&response.data&&response.data.message?response.data.message:GC3.strings.error);\n\t\t\t\t\t\tloadCartState();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tif(state.desired!==sent){\n\t\t\t\t\t\tsyncProduct(id);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tselected=response.data.selection||{};\n\t\t\t\t\tapplyFragments(response.data.fragments,response.data.cart_hash);\n\t\t\t\t\t$status.text('');\n\t\t\t\t\tupdateSummary();\n\t\t\t\t\trenderCards();\n\t\t\t\t},\n\t\t\t\terror:function(){\n\t\t\t\t\tstate.busy=false;\n\t\t\t\t\talert(GC3.strings.error);\n\t\t\t\t\tloadCartState();\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\tfunction changeQuantity(id,delta){\n\t\t\tid=String(id);\n\t\t\tconst card=cards.find(function(item){return String(item.product_id)===id;});\n\t\t\tif(!card){return;}\n\n\t\t\tif(!syncState[id]){\n\t\t\t\tsyncState[id]={busy:false,desired:parseInt(selected[id],10)||0};\n\t\t\t}\n\n\t\t\tconst state=syncState[id];\n\t\t\tlet next=Math.max(0,state.desired+delta);\n\n\t\t\tif(card.stock_quantity!==null&&card.stock_quantity!==undefined){\n\t\t\t\tnext=Math.min(next,parseInt(card.stock_quantity,10));\n\t\t\t}\n\n\t\t\tif(next===state.desired){return;}\n\n\t\t\tstate.desired=next;\n\n\t\t\tif(next>0){selected[id]=next;}\n\t\t\telse{delete selected[id];}\n\n\t\t\tupdateSummary();\n\t\t\trenderCards();\n\n\t\t\tif(delta>0){flyCard(id);}\n\t\t\tif(!state.busy){syncProduct(id);}\n\t\t}\n\n\t\t$grid.on('click','.gc3-plus',function(){\n\t\t\tchangeQuantity($(this).data('product-id'),1);\n\t\t});\n\n\t\t$grid.on('click','.gc3-minus',function(){\n\t\t\tchangeQuantity($(this).data('product-id'),-1);\n\t\t});\n\n\t\t$filters.on('click','.gc3-category-button',function(){\n\t\t\tactiveCategory=String($(this).data('category'));\n\t\t\t$filters.find('.gc3-category-button').removeClass('gc3-active');\n\t\t\t$(this).addClass('gc3-active');\n\t\t\trenderCards();\n\t\t});\n\n\t\t$search.on('input',renderCards);\n\n\t\t$clear.on('click',function(){\n\t\t\t$clear.prop('disabled',true);\n\t\t\t$status.text(GC3.strings.updating);\n\n\t\t\t$.ajax({\n\t\t\t\turl:GC3.ajax_url,\n\t\t\t\ttype:'POST',\n\t\t\t\tdataType:'json',\n\t\t\t\tdata:{action:'gc3_clear_cards',nonce:GC3.nonce},\n\t\t\t\tsuccess:function(response){\n\t\t\t\t\t$clear.prop('disabled',false);\n\t\t\t\t\t$status.text('');\n\n\t\t\t\t\tif(!response||!response.success){\n\t\t\t\t\t\talert(GC3.strings.error);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tselected={};\n\t\t\t\t\tObject.keys(syncState).forEach(function(id){\n\t\t\t\t\t\tsyncState[id].desired=0;\n\t\t\t\t\t});\n\n\t\t\t\t\tapplyFragments(response.data.fragments,response.data.cart_hash);\n\t\t\t\t\tupdateSummary();\n\t\t\t\t\trenderCards();\n\t\t\t\t},\n\t\t\t\terror:function(){\n\t\t\t\t\t$clear.prop('disabled',false);\n\t\t\t\t\t$status.text('');\n\t\t\t\t\talert(GC3.strings.error);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\n\t\t$viewBasket.on('click',function(){\n\t\t\twindow.location.href=GC3.cart_url;\n\t\t});\n\n\t\tfunction loadCartState(){\n\t\t\t$.ajax({\n\t\t\t\turl:GC3.ajax_url,\n\t\t\t\ttype:'POST',\n\t\t\t\tdataType:'json',\n\t\t\t\tdata:{\n\t\t\t\t\taction:'gc3_load_cards',\n\t\t\t\t\tnonce:GC3.nonce,\n\t\t\t\t\tlang:GC3.language\n\t\t\t\t},\n\t\t\t\tsuccess:function(response){\n\t\t\t\t\tif(!response||!response.success||!response.data){\n\t\t\t\t\t\t$loading.text(GC3.strings.error);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tcards=response.data.cards||[];\n\t\t\t\t\tcategories=response.data.categories||[];\n\t\t\t\t\tselected=response.data.selection||{};\n\n\t\t\t\t\tObject.keys(selected).forEach(function(id){\n\t\t\t\t\t\tsyncState[String(id)]={\n\t\t\t\t\t\t\tbusy:false,\n\t\t\t\t\t\t\tdesired:parseInt(selected[id],10)||0\n\t\t\t\t\t\t};\n\t\t\t\t\t});\n\n\t\t\t\t\t\/*\n\t\t\t\t\t * Put the originating product first.\n\t\t\t\t\t * It has already been synchronised by the product page.\n\t\t\t\t\t * Do not add it again here.\n\t\t\t\t\t *\/\n\t\t\t\t\tif(GC3.current_product_id){\n\t\t\t\t\t\tconst id=String(GC3.current_product_id);\n\t\t\t\t\t\tconst index=cards.findIndex(function(card){\n\t\t\t\t\t\t\treturn String(card.product_id)===id;\n\t\t\t\t\t\t});\n\t\t\t\t\t\tif(index>0){\n\t\t\t\t\t\t\tcards.unshift(cards.splice(index,1)[0]);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t$loading.hide();\n\t\t\t\t\trenderCategories();\n\t\t\t\t\tupdateSummary();\n\t\t\t\t\trenderCards();\n\t\t\t\t},\n\t\t\t\terror:function(){\n\t\t\t\t\t$loading.text(GC3.strings.error);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\tloadCartState();\n\t});\n\t<\/script>\n\n\t\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-20826","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Choisir vos cartes de voeux<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/perrytaylor.fr\/fr\/choisir-vos-cartes\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:locale:alternate\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Choisir vos cartes de voeux\" \/>\n<meta property=\"og:url\" content=\"https:\/\/perrytaylor.fr\/fr\/choisir-vos-cartes\/\" \/>\n<meta property=\"og:site_name\" content=\"Perry Taylor Art\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-12T12:43:19+00:00\" \/>\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:\\\/\\\/perrytaylor.fr\\\/build-your-greeting-card-selection\\\/\",\"url\":\"https:\\\/\\\/perrytaylor.fr\\\/build-your-greeting-card-selection\\\/\",\"name\":\"Choisir vos cartes de voeux\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/perrytaylor.fr\\\/#website\"},\"datePublished\":\"2026-10-06T05:42:23+00:00\",\"dateModified\":\"2026-10-12T12:43:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/perrytaylor.fr\\\/build-your-greeting-card-selection\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/perrytaylor.fr\\\/build-your-greeting-card-selection\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/perrytaylor.fr\\\/build-your-greeting-card-selection\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/perrytaylor.fr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Build Your Greeting Card Selection\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/perrytaylor.fr\\\/#website\",\"url\":\"https:\\\/\\\/perrytaylor.fr\\\/\",\"name\":\"Perry Taylor Art\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/perrytaylor.fr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/perrytaylor.fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/perrytaylor.fr\\\/#organization\",\"name\":\"Perry Taylor Art\",\"url\":\"https:\\\/\\\/perrytaylor.fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/perrytaylor.fr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/perrytaylor.fr\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/logo-V2.jpg\",\"contentUrl\":\"https:\\\/\\\/perrytaylor.fr\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/logo-V2.jpg\",\"width\":2151,\"height\":671,\"caption\":\"Perry Taylor Art\"},\"image\":{\"@id\":\"https:\\\/\\\/perrytaylor.fr\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Choisir vos cartes de voeux","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:\/\/perrytaylor.fr\/fr\/choisir-vos-cartes\/","og_locale":"fr_FR","og_type":"article","og_title":"[:en]Build Your Greeting Card Selection[:fr]Choisir vos cartes de voeux[:] - Perry Taylor Art","og_url":"https:\/\/perrytaylor.fr\/fr\/choisir-vos-cartes\/","og_site_name":"Perry Taylor Art","article_modified_time":"2026-10-12T12:43:19+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/perrytaylor.fr\/build-your-greeting-card-selection\/","url":"https:\/\/perrytaylor.fr\/build-your-greeting-card-selection\/","name":"Choisir vos cartes de voeux","isPartOf":{"@id":"https:\/\/perrytaylor.fr\/#website"},"datePublished":"2026-10-06T05:42:23+00:00","dateModified":"2026-10-12T12:43:19+00:00","breadcrumb":{"@id":"https:\/\/perrytaylor.fr\/build-your-greeting-card-selection\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/perrytaylor.fr\/build-your-greeting-card-selection\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/perrytaylor.fr\/build-your-greeting-card-selection\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/perrytaylor.fr\/"},{"@type":"ListItem","position":2,"name":"Build Your Greeting Card Selection"}]},{"@type":"WebSite","@id":"https:\/\/perrytaylor.fr\/#website","url":"https:\/\/perrytaylor.fr\/","name":"Perry Taylor Art","description":"","publisher":{"@id":"https:\/\/perrytaylor.fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/perrytaylor.fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/perrytaylor.fr\/#organization","name":"Perry Taylor Art","url":"https:\/\/perrytaylor.fr\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/perrytaylor.fr\/#\/schema\/logo\/image\/","url":"https:\/\/perrytaylor.fr\/wp-content\/uploads\/2026\/10\/logo-V2.jpg","contentUrl":"https:\/\/perrytaylor.fr\/wp-content\/uploads\/2026\/10\/logo-V2.jpg","width":2151,"height":671,"caption":"Perry Taylor Art"},"image":{"@id":"https:\/\/perrytaylor.fr\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/perrytaylor.fr\/fr\/wp-json\/wp\/v2\/pages\/20826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/perrytaylor.fr\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/perrytaylor.fr\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/perrytaylor.fr\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/perrytaylor.fr\/fr\/wp-json\/wp\/v2\/comments?post=20826"}],"version-history":[{"count":1,"href":"https:\/\/perrytaylor.fr\/fr\/wp-json\/wp\/v2\/pages\/20826\/revisions"}],"predecessor-version":[{"id":24286,"href":"https:\/\/perrytaylor.fr\/fr\/wp-json\/wp\/v2\/pages\/20826\/revisions\/24286"}],"wp:attachment":[{"href":"https:\/\/perrytaylor.fr\/fr\/wp-json\/wp\/v2\/media?parent=20826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}