{"id":9977,"date":"2020-05-11T21:34:32","date_gmt":"2020-05-11T19:34:32","guid":{"rendered":"https:\/\/cerveny.top-me.eu\/?page_id=9977"},"modified":"2020-05-11T22:05:26","modified_gmt":"2020-05-11T20:05:26","slug":"wishlist","status":"publish","type":"page","link":"https:\/\/amitomation.cz\/en\/wishlist\/","title":{"rendered":"Wishlist"},"content":{"rendered":"<div id=\"yith-wcwl-messages\"><\/div>\n\n\n\n<form id=\"yith-wcwl-form\" action=\"https:\/\/amitomation.cz\/en\/wishlist\/?wishlist-action=view&#038;lang=en\" method=\"post\" class=\"woocommerce\">\n\n    <input type=\"hidden\" id=\"yith_wcwl_form_nonce\" name=\"yith_wcwl_form_nonce\" value=\"bd6c2cecee\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/en\/wp-json\/wp\/v2\/pages\/9977\" \/>\n    <!-- TITLE -->\n    \n    <script>\n        jQuery(document).ready(function() {\n\n            jQuery( '.w-add-to-cart' ).on( 'click', function() {\n                var productId = jQuery( this ).data( 'product' );\n                var currency  = jQuery( this ).data( 'currency' );\n                var qty = jQuery( this ).val();\n                var token = '';\n                var ajaxurl = 'https:\/\/amitomation.cz\/wp-admin\/admin-ajax.php';\n                var button = jQuery( '#w-add-to-cart-' + productId ).find( '.add_to_cart' );\n                button[0].dataset.quantity = qty;\n\n                var request = new XMLHttpRequest();\n                request.open('POST', ajaxurl, true);\n                request.setRequestHeader('Content-Type', 'application\/x-www-form-urlencoded;');\n                request.onload = function () {\n\n                    if (this.status >= 200 && this.status < 400) {\n\n                        \/\/console.log( this.response );\n\n                        var result = JSON.parse( this.response );\n                        \/\/console.log( result );\n\n                        document.getElementById( 'wishlist-total-cell' ).innerHTML = result.total;\n\n                    }\n                };\n                request.onerror = function() {\n                    \/\/ Connection error\n                };\n                request.send( 'action=update_wishlist_qty&product_id=' + productId + '&qty=' + qty + '&wishlist_id=' + token + '&currency=' + currency );\n\n\n            });\n\n        });\n    <\/script>\n\n    <!-- WISHLIST TABLE -->\n\t<table class=\"shop_table cart wishlist_table\" data-pagination=\"no\" data-per-page=\"5\" data-page=\"1\" data-id=\"\" data-token=\"\">\n\n\t    \n        <thead>\n        <tr>\n\t        \n\t\t        <th class=\"product-checkbox\">\n\t\t\t        <input type=\"checkbox\" value=\"\" name=\"\" id=\"bulk_add_to_cart\"\/>\n\t\t        <\/th>\n\n\t        \n\t        \t\t        <th class=\"product-remove\"><\/th>\n\t        \n            <th class=\"product-thumbnail\"><\/th>\n\n            <th class=\"product-name\">\n                <span class=\"nobr\">Product Name<\/span>\n            <\/th>\n\n            \n                <th class=\"product-price\">\n                    <span class=\"nobr\">\n                        Unit Price                    <\/span>\n                <\/th>\n\n            \n        \t\t\t\t\t\t<th class=\"product-quantity\">\n\t\t\t\t<span class=\"nobr\">\n\t\t\t\t\tQuantity\t\t\t\t<\/span>\n\t\t\t<\/th>\n\t\t\n            \n                <th class=\"product-stock-status\">\n                    <span class=\"nobr\">\n                        Stock Status                    <\/span>\n                <\/th>\n\n            \n            \n                <th class=\"product-add-to-cart\"><\/th>\n\n                    <\/tr>\n        <\/thead>\n\n        <tbody>\n                    <tr>\n                <td colspan=\"8\" class=\"wishlist-empty\">No products were added to the wishlist<\/td>\n            <\/tr>\n                <\/tbody>\n\n        <tfoot>\n        <tr>\n\t        <td colspan=\"7\">\n\t            \t\t            <div class=\"custom-add-to-cart-button-cotaniner\">\n\t\t                <a href=\"\/en\/wp-json\/wp\/v2\/pages\/9977?wishlist_products_to_add_to_cart\" class=\"button alt\" id=\"custom_add_to_cart\">Add the selected products to the cart<\/a>\n\t\t            <\/div>\n\t            \n\t            \n\t\t        \t        <\/td>\n            <td style=\"font-weight:bold;\" id=\"wishlist-total-cell\">Total: <span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\">&euro;<\/span>0,00<\/bdi><\/span><\/td>\n        <\/tr>\n        <\/tfoot>\n\n    <\/table>\n\n    <input type=\"hidden\" id=\"yith_wcwl_edit_wishlist\" name=\"yith_wcwl_edit_wishlist\" value=\"08632fa07e\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/en\/wp-json\/wp\/v2\/pages\/9977\" \/>\n            <input type=\"hidden\" value=\"\" name=\"wishlist_id\" id=\"wishlist_id\">\n    \n    \n<\/form>\n\n\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2555,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9977","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Wishlist - AMiT Automation<\/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:\/\/amitomation.cz\/en\/wishlist\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Wishlist - AMiT Automation\" \/>\n<meta property=\"og:url\" content=\"https:\/\/amitomation.cz\/en\/wishlist\/\" \/>\n<meta property=\"og:site_name\" content=\"AMiT Automation\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-11T20:05:26+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:\/\/amitomation.cz\/en\/wishlist\/\",\"url\":\"https:\/\/amitomation.cz\/en\/wishlist\/\",\"name\":\"Wishlist - AMiT Automation\",\"isPartOf\":{\"@id\":\"https:\/\/amitomation.cz\/en\/#website\"},\"datePublished\":\"2020-05-11T19:34:32+00:00\",\"dateModified\":\"2020-05-11T20:05:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/amitomation.cz\/en\/wishlist\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/amitomation.cz\/en\/wishlist\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/amitomation.cz\/en\/wishlist\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/amitomation.cz\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Wishlist\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/amitomation.cz\/en\/#website\",\"url\":\"https:\/\/amitomation.cz\/en\/\",\"name\":\"AMiT Automation\",\"description\":\"Czech manufacturer of Control Systems and Industrial Automation Electronics\",\"publisher\":{\"@id\":\"https:\/\/amitomation.cz\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/amitomation.cz\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/amitomation.cz\/en\/#organization\",\"name\":\"AMiT, spol. s r.o.\",\"url\":\"https:\/\/amitomation.cz\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/amitomation.cz\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/amitomation.cz\/wp-content\/uploads\/2017\/07\/amit_automation_100x42.gif\",\"contentUrl\":\"https:\/\/amitomation.cz\/wp-content\/uploads\/2017\/07\/amit_automation_100x42.gif\",\"width\":100,\"height\":42,\"caption\":\"AMiT, spol. s r.o.\"},\"image\":{\"@id\":\"https:\/\/amitomation.cz\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/organization\/10939938\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Wishlist - AMiT Automation","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:\/\/amitomation.cz\/en\/wishlist\/","og_locale":"en_US","og_type":"article","og_title":"Wishlist - AMiT Automation","og_url":"https:\/\/amitomation.cz\/en\/wishlist\/","og_site_name":"AMiT Automation","article_modified_time":"2020-05-11T20:05:26+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/amitomation.cz\/en\/wishlist\/","url":"https:\/\/amitomation.cz\/en\/wishlist\/","name":"Wishlist - AMiT Automation","isPartOf":{"@id":"https:\/\/amitomation.cz\/en\/#website"},"datePublished":"2020-05-11T19:34:32+00:00","dateModified":"2020-05-11T20:05:26+00:00","breadcrumb":{"@id":"https:\/\/amitomation.cz\/en\/wishlist\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/amitomation.cz\/en\/wishlist\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/amitomation.cz\/en\/wishlist\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/amitomation.cz\/en\/"},{"@type":"ListItem","position":2,"name":"Wishlist"}]},{"@type":"WebSite","@id":"https:\/\/amitomation.cz\/en\/#website","url":"https:\/\/amitomation.cz\/en\/","name":"AMiT Automation","description":"Czech manufacturer of Control Systems and Industrial Automation Electronics","publisher":{"@id":"https:\/\/amitomation.cz\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/amitomation.cz\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/amitomation.cz\/en\/#organization","name":"AMiT, spol. s r.o.","url":"https:\/\/amitomation.cz\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/amitomation.cz\/en\/#\/schema\/logo\/image\/","url":"https:\/\/amitomation.cz\/wp-content\/uploads\/2017\/07\/amit_automation_100x42.gif","contentUrl":"https:\/\/amitomation.cz\/wp-content\/uploads\/2017\/07\/amit_automation_100x42.gif","width":100,"height":42,"caption":"AMiT, spol. s r.o."},"image":{"@id":"https:\/\/amitomation.cz\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/organization\/10939938\/"]}]}},"_links":{"self":[{"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/pages\/9977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/users\/2555"}],"replies":[{"embeddable":true,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/comments?post=9977"}],"version-history":[{"count":2,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/pages\/9977\/revisions"}],"predecessor-version":[{"id":9979,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/pages\/9977\/revisions\/9979"}],"wp:attachment":[{"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/media?parent=9977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}