{"id":272,"date":"2025-05-28T18:26:27","date_gmt":"2025-05-28T16:26:27","guid":{"rendered":"https:\/\/www.maisondeluxeprague.com\/obl%c3%adben%c3%a9\/"},"modified":"2025-08-08T11:57:35","modified_gmt":"2025-08-08T09:57:35","slug":"oblibene","status":"publish","type":"page","link":"https:\/\/www.maisondeluxeprague.com\/ru\/oblibene\/","title":{"rendered":"Obl\u00edben\u00e9"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"272\" class=\"elementor elementor-272\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-15f75647 e-flex e-con-boxed e-con e-parent\" data-id=\"15f75647\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3adc4a0 elementor-widget elementor-widget-heading\" data-id=\"3adc4a0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Seznam <span style=\"font-family: Canesa;color: #E3DCD4;font-weight: 300\">obl\u00edben\u00fdch<\/span> produkt\u016f<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-20533871 elementor-widget elementor-widget-text-editor\" data-id=\"20533871\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><form\n\tid=\"yith-wcwl-form\"\n\taction=\"https:\/\/www.maisondeluxeprague.com\/ru\/oblibene\/?wmc-currency=CZK\"\n\tmethod=\"post\"\n\tclass=\"woocommerce yith-wcwl-form wishlist-fragment\"\n\tdata-fragment-options=\"{&quot;per_page&quot;:5,&quot;current_page&quot;:1,&quot;pagination&quot;:&quot;no&quot;,&quot;wishlist_id&quot;:false,&quot;action_params&quot;:false,&quot;no_interactions&quot;:false,&quot;layout&quot;:&quot;&quot;,&quot;wishlist&quot;:false,&quot;is_default&quot;:true,&quot;is_custom_list&quot;:false,&quot;wishlist_token&quot;:&quot;&quot;,&quot;is_private&quot;:false,&quot;count&quot;:0,&quot;page_title&quot;:&quot;M\\u016fj seznam obl\\u00edben\\u00fdch&quot;,&quot;default_wishlsit_title&quot;:&quot;M\\u016fj seznam obl\\u00edben\\u00fdch&quot;,&quot;page_links&quot;:false,&quot;is_user_logged_in&quot;:false,&quot;is_user_owner&quot;:true,&quot;can_user_edit_title&quot;:false,&quot;show_price&quot;:true,&quot;show_dateadded&quot;:false,&quot;show_stock_status&quot;:true,&quot;show_add_to_cart&quot;:true,&quot;show_remove_product&quot;:true,&quot;add_to_cart_text&quot;:&quot;Vlo\\u017eit do ko\\u0161\\u00edku&quot;,&quot;show_ask_estimate_button&quot;:false,&quot;ask_estimate_url&quot;:&quot;&quot;,&quot;price_excl_tax&quot;:false,&quot;show_cb&quot;:false,&quot;show_quantity&quot;:false,&quot;show_variation&quot;:false,&quot;show_price_variations&quot;:false,&quot;show_update&quot;:false,&quot;enable_drag_n_drop&quot;:false,&quot;enable_add_all_to_cart&quot;:false,&quot;move_to_another_wishlist&quot;:false,&quot;repeat_remove_button&quot;:false,&quot;show_last_column&quot;:true,&quot;heading_icon&quot;:&quot;&lt;i class=\\&quot;fa heart\\&quot;&gt;&lt;\\\/i&gt;&quot;,&quot;share_enabled&quot;:false,&quot;template_part&quot;:&quot;view&quot;,&quot;additional_info&quot;:false,&quot;available_multi_wishlist&quot;:false,&quot;form_action&quot;:&quot;https:\\\/\\\/www.maisondeluxeprague.com\\\/ru\\\/oblibene\\\/&quot;,&quot;item&quot;:&quot;wishlist&quot;}\" data-trp-original-action=\"https:\/\/www.maisondeluxeprague.com\/ru\/oblibene\/\"\n><input type=\"hidden\" name=\"trp-form-language\" value=\"ru\"\/><\/p>\n<p>\t<!-- TITLE --><\/p>\n<div class=\"wishlist-title-container\">\n<div class=\"wishlist-title\">\n<h2>M\u016fj seznam obl\u00edben\u00fdch<\/h2>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- WISHLIST TABLE --><\/p>\n<table\n\tclass=\"shop_table cart wishlist_table wishlist_view traditional responsive\"\n\tdata-pagination=\"no\" data-per-page=\"5\" data-page=\"1\"\n\tdata-id=\"\" data-token=\"\"><\/p>\n<thead>\n<tr>\n<th class=\"product-remove\">\n\t\t\t\t<span class=\"nobr\"><br \/>\n\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t<\/th>\n<th class=\"product-thumbnail\"><\/th>\n<th class=\"product-name\">\n\t\t\t<span class=\"nobr\"><br \/>\n\t\t\t\t\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0442\u043e\u0432\u0430\u0440\u0430\t\t\t<\/span>\n\t\t<\/th>\n<th class=\"product-price\">\n\t\t\t\t<span class=\"nobr\"><br \/>\n\t\t\t\t\t\u0426\u0435\u043d\u0430 \u0437\u0430 \u0448\u0442.\t\t\t\t<\/span>\n\t\t\t<\/th>\n<th class=\"product-stock-status\">\n\t\t\t\t<span class=\"nobr\"><br \/>\n\t\t\t\t\t\u0421\u0442\u0430\u0442\u0443\u0441 \u043d\u0430\u043b\u0438\u0447\u0438\u044f\t\t\t\t<\/span>\n\t\t\t<\/th>\n<th class=\"product-add-to-cart\">\n\t\t\t\t<span class=\"nobr\"><br \/>\n\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"wishlist-items-wrapper\">\n<tr>\n<td colspan=\"6\" class=\"wishlist-empty\">\u0412 \u0441\u043f\u0438\u0441\u043a\u0435 \u0436\u0435\u043b\u0430\u043d\u0438\u0439 \u043d\u0435\u0442 \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0442\u043e\u0432\u0430\u0440\u0430<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"yith_wcwl_wishlist_footer\"><\/div>\n<p><input type=\"hidden\" id=\"yith_wcwl_edit_wishlist\" name=\"yith_wcwl_edit_wishlist\" value=\"39d52a2ab4\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/ru\/wp-json\/wp\/v2\/pages\/272\" \/><input type=\"hidden\" value=\"\" name=\"wishlist_id\" id=\"wishlist_id\"><\/p>\n<\/form>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-efa5f94 elementor-widget elementor-widget-html\" data-id=\"efa5f94\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<script>\n\/\/ JavaScript pro vy\u010di\u0161t\u011bn\u00ed rozbit\u00e9 HTML struktury v YITH Wishlist\ndocument.addEventListener('DOMContentLoaded', function() {\n    \n    function cleanWishlistTable() {\n        console.log('\u010ci\u0161t\u011bn\u00ed YITH Wishlist tabulky...');\n        \n        \/\/ Vy\u010di\u0161t\u011bn\u00ed bun\u011bk s tla\u010d\u00edtky \"P\u0159idat do ko\u0161\u00edku\"\n        const addToCartCells = document.querySelectorAll('.wishlist_table .product-add-to-cart');\n        \n        addToCartCells.forEach(function(cell) {\n            \/\/ Najdi tla\u010d\u00edtko uvnit\u0159 bu\u0148ky\n            const button = cell.querySelector('a.add_to_cart_button');\n            \n            if (button) {\n                \/\/ Ulo\u017e\u00edme si tla\u010d\u00edtko\n                const buttonClone = button.cloneNode(true);\n                \n                \/\/ Vy\u010dist\u00edme cel\u00fd obsah bu\u0148ky\n                cell.innerHTML = '';\n                \n                \/\/ Vlo\u017e\u00edme zp\u011bt jen \u010dist\u00e9 tla\u010d\u00edtko\n                cell.appendChild(buttonClone);\n                \n                console.log('Vy\u010di\u0161t\u011bno tla\u010d\u00edtko P\u0159idat do ko\u0161\u00edku');\n            }\n        });\n        \n        \/\/ Vy\u010di\u0161t\u011bn\u00ed bun\u011bk s tla\u010d\u00edtky \"Odstranit\"\n        const removeCells = document.querySelectorAll('.wishlist_table .product-remove');\n        \n        removeCells.forEach(function(cell) {\n            const removeButton = cell.querySelector('a.remove');\n            \n            if (removeButton) {\n                \/\/ Ulo\u017e\u00edme si tla\u010d\u00edtko\n                const buttonClone = removeButton.cloneNode(true);\n                \n                \/\/ Vy\u010dist\u00edme cel\u00fd obsah bu\u0148ky\n                cell.innerHTML = '';\n                \n                \/\/ Vlo\u017e\u00edme zp\u011bt jen \u010dist\u00e9 tla\u010d\u00edtko\n                cell.appendChild(buttonClone);\n                \n                console.log('Vy\u010di\u0161t\u011bno tla\u010d\u00edtko Odstranit');\n            }\n        });\n        \n        \/\/ Odstran\u011bn\u00ed v\u0161ech pr\u00e1zdn\u00fdch P tag\u016f v cel\u00e9 tabulce\n        const emptyPTags = document.querySelectorAll('.wishlist_table p');\n        emptyPTags.forEach(function(p) {\n            const content = p.innerHTML.trim();\n            \n            \/\/ Odstra\u0148 pr\u00e1zdn\u00e9 P tagy nebo tagy obsahuj\u00edc\u00ed jen koment\u00e1\u0159e\/whitespace\n            if (content === '' || \n                content === '&nbsp;' || \n                content.match(\/^\\s*<!--.*-->\\s*$\/)) {\n                p.remove();\n                console.log('Odstran\u011bn pr\u00e1zdn\u00fd P tag');\n            }\n        });\n        \n        \/\/ Odstran\u011bn\u00ed v\u0161ech BR tag\u016f v tabulce\n        const brTags = document.querySelectorAll('.wishlist_table br');\n        brTags.forEach(function(br) {\n            br.remove();\n        });\n        \n        if (brTags.length > 0) {\n            console.log(`Odstran\u011bno ${brTags.length} BR tag\u016f`);\n        }\n        \n        \/\/ Odstran\u011bn\u00ed screen-reader-text span\u016f s BR tagy\n        const screenReaderSpans = document.querySelectorAll('.wishlist_table .screen-reader-text');\n        screenReaderSpans.forEach(function(span) {\n            if (span.querySelector('br')) {\n                span.remove();\n                console.log('Odstran\u011bn screen-reader span s BR');\n            }\n        });\n        \n        console.log('Vy\u010di\u0161t\u011bn\u00ed YITH Wishlist tabulky dokon\u010deno!');\n    }\n    \n    \/\/ Spust\u00edme \u010di\u0161t\u011bn\u00ed\n    cleanWishlistTable();\n    \n    \/\/ Spust\u00edme \u010di\u0161t\u011bn\u00ed i po AJAX ud\u00e1lostech (kdy\u017e se tabulka p\u0159ena\u010dte)\n    document.addEventListener('updated_wc_div', cleanWishlistTable);\n    document.addEventListener('added_to_cart', cleanWishlistTable);\n    document.addEventListener('removed_from_cart', cleanWishlistTable);\n    \n    \/\/ Fallback pro p\u0159\u00edpad, \u017ee se tabulka na\u010dte pozd\u011bji\n    setTimeout(cleanWishlistTable, 500);\n    setTimeout(cleanWishlistTable, 1500);\n    \n    \/\/ Observer pro dynamick\u00e9 zm\u011bny\n    const observer = new MutationObserver(function(mutations) {\n        mutations.forEach(function(mutation) {\n            if (mutation.addedNodes.length > 0) {\n                \/\/ Zkontroluj, jestli se nep\u0159idala n\u011bjak\u00e1 wishlist tabulka\n                mutation.addedNodes.forEach(function(node) {\n                    if (node.nodeType === 1 && \n                        (node.classList?.contains('wishlist_table') || \n                         node.querySelector?.('.wishlist_table'))) {\n                        setTimeout(cleanWishlistTable, 100);\n                    }\n                });\n            }\n        });\n    });\n    \n    \/\/ Spust\u00edme observer na cel\u00fd dokument\n    observer.observe(document.body, {\n        childList: true,\n        subtree: true\n    });\n});\n\n\/\/ Funkce pro ru\u010dn\u00ed spu\u0161t\u011bn\u00ed \u010di\u0161t\u011bn\u00ed (pro debugging)\nwindow.cleanWishlist = function() {\n    const event = new Event('DOMContentLoaded');\n    document.dispatchEvent(event);\n};\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Seznam obl\u00edben\u00fdch produkt\u016f<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"slim_seo":{"title":"Obl\u00edben\u00e9 - Maison de Luxe Prague","description":"Seznam obl\u00edben\u00fdch produkt\u016f"},"footnotes":""},"class_list":["post-272","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.maisondeluxeprague.com\/ru\/wp-json\/wp\/v2\/pages\/272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.maisondeluxeprague.com\/ru\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.maisondeluxeprague.com\/ru\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.maisondeluxeprague.com\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.maisondeluxeprague.com\/ru\/wp-json\/wp\/v2\/comments?post=272"}],"version-history":[{"count":5,"href":"https:\/\/www.maisondeluxeprague.com\/ru\/wp-json\/wp\/v2\/pages\/272\/revisions"}],"predecessor-version":[{"id":2438,"href":"https:\/\/www.maisondeluxeprague.com\/ru\/wp-json\/wp\/v2\/pages\/272\/revisions\/2438"}],"wp:attachment":[{"href":"https:\/\/www.maisondeluxeprague.com\/ru\/wp-json\/wp\/v2\/media?parent=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}