{"id":5528,"date":"2020-04-28T20:08:04","date_gmt":"2020-04-28T20:08:04","guid":{"rendered":"https:\/\/musilda.cz\/?p=5528"},"modified":"2020-04-28T20:08:04","modified_gmt":"2020-04-28T20:08:04","slug":"rozbity-html-email-po-aktualizaci-woocommerce","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/rozbity-html-email-po-aktualizaci-woocommerce\/","title":{"rendered":"Rozbit\u00fd html email po aktualizaci WooCommerce"},"content":{"rendered":"\n

Pokud se v\u00e1m po aktualizaci WooCommerce p\u0159estane zobrazovat html email objedn\u00e1vek ve spr\u00e1vn\u00e9m form\u00e1tu. m\u00e1m pro v\u00e1s \u0159e\u0161en\u00ed. <\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Z ni\u010deho nic se v\u00e1m v emailu za\u010dnou zobrazovat \u010d\u00e1sti html k\u00f3du a nejde to nijak odstranit. <\/p>\n\n\n\n

Probl\u00e9m je v tom, \u017ee z n\u011bjak\u00e9ho d\u016fvodu se emailov\u00fdm klient\u016fm nel\u00edb\u00ed strukturovan\u00e1 data v k\u00f3du html emailu a pak se cel\u00e1 \u0161ablona rozbije. <\/p>\n\n\n\n

Pro rychl\u00fd fix sta\u010d\u00ed odebrat strukturovan\u00e1 data z k\u00f3du emailu pom\u00e9c jednoduch\u00e9 funkce:<\/p>\n\n\n\n\n\n\n\n

V\u00fdvoj\u00e1\u0159i o probl\u00e9mu v\u00ed, ale je to takov\u00fd ten typ probl\u00e9mu, kdy se chyba neda\u0159\u00ed v\u017edy reprodukovat, tak\u017ee se zat\u00edm \u0159e\u0161\u00ed, co s t\u00edm. <\/p>\n","protected":false},"excerpt":{"rendered":"

Pokud se v\u00e1m po aktualizaci WooCommerce p\u0159estane zobrazovat html email objedn\u00e1vek ve spr\u00e1vn\u00e9m form\u00e1tu. m\u00e1m pro v\u00e1s \u0159e\u0161en\u00ed. Z ni\u010deho nic se v\u00e1m v emailu za\u010dnou zobrazovat \u010d\u00e1sti html k\u00f3du a nejde to nijak odstranit. Probl\u00e9m je v tom, \u017ee z n\u011bjak\u00e9ho d\u016fvodu se emailov\u00fdm klient\u016fm nel\u00edb\u00ed strukturovan\u00e1 data v k\u00f3du html emailu a pak<\/p>\n","protected":false},"author":1,"featured_media":8732,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[25,28],"tags":[],"class_list":["post-5528","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-woocommerce","category-woocommerce-reseni-problemu"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/5528"}],"collection":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/comments?post=5528"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/5528\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media\/8732"}],"wp:attachment":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media?parent=5528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=5528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=5528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}