{"id":3378,"date":"2016-11-09T08:22:59","date_gmt":"2016-11-09T08:22:59","guid":{"rendered":"http:\/\/musilda.cz\/?p=3378"},"modified":"2016-11-09T08:22:59","modified_gmt":"2016-11-09T08:22:59","slug":"emaily-ve-woocommerce","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/emaily-ve-woocommerce\/","title":{"rendered":"Emaily ve WooCommerce"},"content":{"rendered":"\n
Ka\u017ed\u00fd eshop, pot\u0159ebuje pro sv\u00e9 fungov\u00e1n\u00ed, vyu\u017e\u00edvat emailovou komunikaci. Proto\u017ee WooCommerce nen\u00ed vyj\u00edmkou, pod\u00edv\u00e1m se na nastaven\u00ed email\u016f, kter\u00e9 obchod pou\u017e\u00edv\u00e1.<\/p>\n\n\n\n
Stejn\u011b jako u p\u0159edchoz\u00edch nastaven\u00ed, najdeme emaily v menu WooCommece -> Nastaven\u00ed, z\u00e1lo\u017eka Emaily.<\/p>\n\n\n
V\u0161echny emaily, kter\u00e9 jsou k dispozici, se daj\u00ed rozd\u011blit na emaily pro administr\u00e1tora a emaily pro z\u00e1kazn\u00edka.<\/p>\n\n\n\n
Spadaj\u00ed sem:<\/strong><\/p>\n\n\n\n Nov\u00e1 objedn\u00e1vka<\/strong> – informace adminovi, \u017ee na eshopu byla provedena objedn\u00e1vka<\/p>\n\n\n\n Stornovan\u00e1 objedn\u00e1vka<\/strong> – tento email obdr\u017e\u00ed administr\u00e1tor, pokud z\u00e1kazn\u00edk stornuje objedn\u00e1vku<\/p>\n\n\n\n Objedn\u00e1vka selhala<\/strong> – pokud, p\u0159i procesu objedn\u00e1vky, dojde k selh\u00e1n\u00ed, administr\u00e1tor obdr\u017e\u00ed upozorn\u011bn\u00ed, d\u00edky n\u011bmu\u017e, m\u016f\u017ee ur\u010dit p\u0159\u00edpadn\u00fd probl\u00e9m v objedn\u00e1vkov\u00e9m procesu<\/p>\n\n\n\n Sem spadaj\u00ed:<\/strong><\/p>\n\n\n\n Objedn\u00e1vka \u010dek\u00e1 na vy\u0159\u00edzen\u00ed<\/strong> – e-mail p\u0159ijde z\u00e1kazn\u00edkovi, pokud se stav objedn\u00e1vky nastav\u00ed na on-hold<\/strong>, co\u017e je ve v\u011bt\u0161in\u011b p\u0159\u00edpad\u016f ihned, po vytvo\u0159en\u00ed objedn\u00e1vky. Z\u00e1le\u017e\u00ed na platebn\u00ed br\u00e1n\u011b.<\/p>\n\n\n\n Zpracov\u00e1n\u00ed objedn\u00e1vky<\/strong> – e-mail obdr\u017e\u00ed klient pot\u00e9, co se objedn\u00e1vka ozna\u010d\u00ed jako processing<\/strong>. N\u011bkdy m\u016f\u017ee b\u00fdt processing i po p\u0159ijet\u00ed objedn\u00e1vky.<\/p>\n\n\n\n Vy\u0159\u00edzen\u00e1 objedn\u00e1vka<\/strong> – ve chv\u00edli, kdy je objedn\u00e1vka ozna\u010dena jako completed<\/strong>, odes\u00edl\u00e1 WooCommerce tento email.<\/p>\n\n\n\n Vr\u00e1cen\u00e1 objedn\u00e1vka<\/strong> – v p\u0159\u00edpad\u011b, \u017ee z\u00e1kazn\u00edk chce zp\u011btn\u011b zru\u0161it objedn\u00e1vku, doch\u00e1z\u00ed k vr\u00e1cen\u00ed (refundaci). N\u00e1sledn\u011b je odesl\u00e1na tato zpr\u00e1va.<\/p>\n\n\n\n Z\u00e1kaznick\u00fd doklad<\/strong> – tento e-mail je v podstat\u011b obdobou faktury.<\/p>\n\n\n\n Pozn\u00e1mky z\u00e1kazn\u00edka<\/strong> – p\u0159esto\u017ee n\u00e1zev m\u016f\u017ee sv\u00e1d\u011bt k tomu, \u017ee se jedn\u00e1 o pozn\u00e1mku, kterou napsal z\u00e1kazn\u00edk, je to p\u0159\u00edmo naopak. Pokud nap\u00ed\u0161ete, jako admin v objedn\u00e1vce pozn\u00e1mku – nap\u0159\u00edklad „Zbo\u017e\u00ed p\u0159ijde o dva dny pozd\u011bji“, zpr\u00e1va bude odesl\u00e1na e-mailem.<\/p>\n\n\n\n Reset hesla<\/strong> – informace s odkazem na mo\u017enost zm\u011bny hesla, pro p\u0159ihl\u00e1\u0161en\u00ed do \u00fa\u010dtu.<\/p>\n\n\n\n Nov\u00fd \u00fa\u010det<\/strong> – informace o nov\u011b vytvo\u0159en\u00e9m \u00fa\u010dtu.<\/p>\n\n\n\n Kompletn\u00ed seznam vid\u00edte na tomto screenu z administrace:<\/p>\n\n\n V tabulce m\u016f\u017eete vid\u011bt:<\/strong><\/p>\n\n\n\n Samotn\u00fd e-mail, po vytvo\u0159en\u00ed objedn\u00e1vky, vypad\u00e1 takto:<\/strong><\/p>\n\n\n Obsahuje:<\/strong><\/p>\n\n\n\n Vzhled e-mailu ovliv\u0148uje \u0161ablona, jen\u017e je um\u00edst\u011bn\u00e1 ve slo\u017ece pluginu. Jak \u010d\u00e1ste\u010dn\u011b upravit \u0161ablonu si uk\u00e1\u017eeme d\u00e1le.<\/p>\n\n\n\n Nastaven\u00ed odes\u00edlatele:<\/strong><\/p>\n\n\n\n Nastaven\u00ed vzhledu \u0161ablony:<\/strong><\/p>\n\n\n\n Detailn\u00ed nastaven\u00ed umo\u017e\u0148uje nastavit n\u011bkter\u00e9 prvky u konkr\u00e9tn\u00edch email\u016f. Jedn\u00e1 se o:<\/p>\n\n\n\n \u0160ablony pro e-maily se nach\u00e1zej\u00ed ve slo\u017ece pluginu Woocommerce, typicky wp-content\/plugins\/woocommerce\/templates\/emails.<\/p>\n\n\n\n Pokud je chcete editovat, mus\u00edte je p\u0159esunout do slo\u017eky va\u0161\u00ed \u0161ablony, tedy wp-content\/templates\/divi\/woocommerce\/emails\/<\/p>\n\n\n\n Toto m\u016f\u017eete ud\u011blat manu\u00e1ln\u011b a editovat p\u0159\u00edmo php k\u00f3d.<\/p>\n\n\n\n Av\u0161ak, \u0161ablonu m\u016f\u017eete upravit z administrace. Nejprve mus\u00edte \u0161ablonu p\u0159esunout, \u010deho\u017e dos\u00e1hnete kliknut\u00edm na tla\u010d\u00edtko „Zkop\u00edrovat soubor do \u0161ablony<\/strong>„.<\/p>\n\n\n\n Informace o dokon\u010den\u00ed se zobraz\u00ed takto:<\/p>\n\n\n Nyn\u00ed m\u016f\u017eete do \u0161ablony dopisovat php funkce, nebo html k\u00f3d. T\u011bmto \u00faprav\u00e1m s budeme v\u011bnovat v dal\u0161\u00edch \u010d\u00e1stech, jen\u017e se budou t\u00fdkat fungov\u00e1n\u00ed \u0161ablon.<\/p>\n\n\n\n Pokud \u0161ablonu e-mailu nena\u010dtete do \u0161ablony vzhledu, editor se sice zobraz\u00ed, ale nebude mo\u017en\u00e9 nic upravovat.<\/p>\n\n\n P\u0159\u00ed\u0161t\u011b se budeme v\u011bnovat nastaven\u00ed API<\/p>\n\n\n\n P\u0159edchoz\u00ed \u010dl\u00e1nky:<\/strong><\/p>\n\n\n\n Ka\u017ed\u00fd eshop, pot\u0159ebuje pro sv\u00e9 fungov\u00e1n\u00ed, vyu\u017e\u00edvat emailovou komunikaci. Proto\u017ee WooCommerce nen\u00ed vyj\u00edmkou, pod\u00edv\u00e1m se na nastaven\u00ed email\u016f, kter\u00e9 obchod pou\u017e\u00edv\u00e1. Stejn\u011b jako u p\u0159edchoz\u00edch nastaven\u00ed, najdeme emaily v menu WooCommece -> Nastaven\u00ed, z\u00e1lo\u017eka Emaily. Seznam email\u016f, kter\u00e9 WooCommerce odes\u00edl\u00e1: V\u0161echny emaily, kter\u00e9 jsou k dispozici, se daj\u00ed rozd\u011blit na emaily pro administr\u00e1tora a emaily<\/p>\n","protected":false},"author":1,"featured_media":8732,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,26],"tags":[249,425],"class_list":["post-3378","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-woocommerce","category-woocommerce-manual","tag-nastaveni-e-mailu","tag-woocommerce"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/3378"}],"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=3378"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/3378\/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=3378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=3378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=3378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n
Emaily pro z\u00e1kazn\u00edka<\/strong><\/h3>\n\n\n\n
\n
<\/a><\/figure><\/div>\n\n\n
\n
<\/a><\/figure><\/div>\n\n\n
\n
Dal\u0161\u00ed nastaven\u00ed:<\/strong><\/h2>\n\n\n\n
\n
<\/a><\/figure><\/div>\n\n\n
\n
<\/a><\/figure><\/div>\n\n\n
Nastaven\u00ed konkr\u00e9tn\u00edho emailu<\/strong><\/h2>\n\n\n\n
\n
<\/a><\/figure><\/div>\n\n\n
\u00daprava \u0161ablony emailu z administrace WooCommerce<\/strong><\/h2>\n\n\n\n
<\/a><\/figure><\/div>\n\n\n
Po kliknut\u00ed na zobrazit \u0161ablonu, se rozbal\u00ed editor s mo\u017enost\u00ed \u00faprav<\/strong><\/h3>\n\n\n
<\/a><\/figure><\/div>\n\n\n
<\/a><\/figure><\/div>\n\n\n
\n