{"id":36,"date":"2024-02-07T19:00:23","date_gmt":"2024-02-07T19:00:23","guid":{"rendered":"https:\/\/kacisolutions.com\/?page_id=36"},"modified":"2025-08-15T20:03:26","modified_gmt":"2025-08-15T20:03:26","slug":"espace-promo","status":"publish","type":"page","link":"https:\/\/kacisolutions.com\/index.php\/espace-promo\/","title":{"rendered":"ESPACE PROMO"},"content":{"rendered":"\n<div class=\"wp-block-cover alignfull has-custom-content-position is-position-top-left\" style=\"margin-top:0;padding-top:5vw;padding-right:5vw;padding-bottom:5vw;padding-left:5vw;min-height:50vh;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-90 has-background-dim\" style=\"background-color:#141414\"><\/span><img decoding=\"async\" class=\"wp-block-cover__image-background wp-image-333\" alt=\"\" src=\"https:\/\/pd.w.org\/2022\/07\/87262c92d42acd1c3.73206444.jpg\" style=\"object-position:50% 0%\" data-object-fit=\"cover\" data-object-position=\"50% 0%\"\/><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group wp-container-content-9cfa9a5a is-vertical is-nowrap is-layout-flex wp-container-core-group-is-layout-694522eb wp-block-group-is-layout-flex\">\n<p class=\"has-text-align-left has-text-color has-source-serif-pro-font-family wp-block-paragraph\" style=\"color:#d8a557;font-size:160px;font-style:italic;font-weight:900;letter-spacing:-4px;line-height:0.8;text-transform:none\">PROMO!<\/p>\n<\/div>\n<\/div><\/div>\n\n\n\n\n<div class=\"wp-block-group is-content-justification-space-between is-nowrap is-layout-flex wp-container-core-group-is-layout-b0ffac9c wp-block-group-is-layout-flex\">\n\n<\/div>\n\n\n\n<!DOCTYPE html>\n<html lang=\"fr\">\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>Boutique avec WhatsApp Business<\/title>\n<style>\n  body { font-family: Arial, sans-serif; margin: 20px; background: #f9f9f9; }\n  h1 { text-align: center; color: #333; margin-bottom: 30px; }\n  .product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }\n  .product { background: #fff; border: 1px solid #ddd; padding: 15px; border-radius: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); display: flex; flex-direction: column; transition: transform 0.2s ease; }\n  .product:hover { transform: translateY(-5px); }\n  .product img { width: 100%; max-height: 200px; object-fit: cover; border-radius: 5px; margin-bottom: 10px; }\n  .product h2 { margin: 10px 0 5px; color: #333; }\n  .description { max-height: 60px; overflow: hidden; transition: max-height 0.3s ease; color: #555; }\n  .description.expanded { max-height: 500px; }\n  .toggle-desc { color: #007BFF; cursor: pointer; font-size: 0.9em; margin-bottom: 10px; }\n  .price { font-weight: bold; margin-bottom: 15px; color: #000; }\n  .btn-wa { background: #25D366; color: white; padding: 10px 15px; text-decoration: none; border-radius: 5px; font-weight: bold; text-align: center; transition: background 0.3s ease; }\n  .btn-wa:hover { background: #1ebe5d; }\n<\/style>\n<\/head>\n<body>\n<h1>\ud83d\udecd\ufe0f Ma Boutique en ligne<\/h1>\n<div class=\"product-grid\" id=\"productGrid\"><\/div>\n\n<script>\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n  const products = [\n    {\n      sku: \"101\",\n      name: \"Produit 1\",\n      description: \"Description br\u00e8ve du produit 1. Id\u00e9ale pour donner envie d\u2019acheter. Ce texte peut \u00eatre plus long et s'affichera en d\u00e9roulant.\",\n      price: \"5000 XOF\",\n      image: \"https:\/\/via.placeholder.com\/300x200\"\n    },\n    {\n      sku: \"102\",\n      name: \"Produit 2\",\n      description: \"Description br\u00e8ve du produit 2. Id\u00e9ale pour donner envie d\u2019acheter. Ce texte peut \u00eatre plus long et s'affichera en d\u00e9roulant.\",\n      price: \"7500 XOF\",\n      image: \"https:\/\/via.placeholder.com\/300x200\"\n    },\n    {\n      sku: \"103\",\n      name: \"Produit 3\",\n      description: \"Description br\u00e8ve du produit 3. Id\u00e9ale pour donner envie d\u2019acheter. Ce texte peut \u00eatre plus long et s'affichera en d\u00e9roulant.\",\n      price: \"10000 XOF\",\n      image: \"https:\/\/via.placeholder.com\/300x200\"\n    }\n  ];\n\n  const phone = \"22677546973\";\n\n  function createProductCard(product) {\n    const waLink = `https:\/\/wa.me\/${phone}?text=\ud83d\udce6%20*Bonjour%2C%20je%20souhaite%20commander%20${encodeURIComponent(product.name)}%20(SKU%3A%20${product.sku})%20au%20prix%20de%20${encodeURIComponent(product.price)}.*%20\u2705%20Merci%20de%20m\u2019indiquer%20les%20modalit\u00e9s%20de%20paiement.`;\n    return `\n      <div class=\"product\">\n        <img decoding=\"async\" src=\"${product.image}\" alt=\"${product.name}\">\n        <h2>${product.name}<\/h2>\n        <div class=\"description\">${product.description}<\/div>\n        <div class=\"toggle-desc\" onclick=\"this.previousElementSibling.classList.toggle('expanded')\">Voir plus \/ moins<\/div>\n        <div class=\"price\">Prix : ${product.price}<\/div>\n        <a class=\"btn-wa\" href=\"${waLink}\" target=\"_blank\">\ud83d\udcac Commander via WhatsApp<\/a>\n      <\/div>\n    `;\n  }\n\n  document.getElementById(\"productGrid\").innerHTML = products.map(createProductCard).join(\"\");\n});\n<\/script>\n<\/body>\n<\/html>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\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":{"_uag_custom_page_level_css":"","footnotes":""},"class_list":["post-36","page","type-page","status-publish","hentry"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Kacis-1","author_link":"https:\/\/kacisolutions.com\/index.php\/author\/kacis-1\/"},"uagb_comment_info":0,"uagb_excerpt":null,"_links":{"self":[{"href":"https:\/\/kacisolutions.com\/index.php\/wp-json\/wp\/v2\/pages\/36","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kacisolutions.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kacisolutions.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kacisolutions.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kacisolutions.com\/index.php\/wp-json\/wp\/v2\/comments?post=36"}],"version-history":[{"count":4,"href":"https:\/\/kacisolutions.com\/index.php\/wp-json\/wp\/v2\/pages\/36\/revisions"}],"predecessor-version":[{"id":144,"href":"https:\/\/kacisolutions.com\/index.php\/wp-json\/wp\/v2\/pages\/36\/revisions\/144"}],"wp:attachment":[{"href":"https:\/\/kacisolutions.com\/index.php\/wp-json\/wp\/v2\/media?parent=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}