{"id":2513,"date":"2015-07-14T05:21:26","date_gmt":"2015-07-14T05:21:26","guid":{"rendered":"http:\/\/musilda.cz\/?p=2513"},"modified":"2015-07-14T05:21:26","modified_gmt":"2015-07-14T05:21:26","slug":"co-muzeme-cekat-od-nove-woocommerce-2-4","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/co-muzeme-cekat-od-nove-woocommerce-2-4\/","title":{"rendered":"Co m\u016f\u017eeme \u010dekat od nov\u00e9 WooCommerce 2.4 ?"},"content":{"rendered":"\n

V sou\u010dasn\u00e9 dob\u011b je aktu\u00e1ln\u00ed verze Woocommerce 2.3+, v p\u0159\u00edprav\u011b je ji\u017e verze 2.4, jen\u017e je od dne\u0161n\u00edho dne k dispozici pro testov\u00e1n\u00ed. Pod\u00edv\u00e1me se, co v\u0161e se zm\u011bn\u00ed v nov\u00e9 verzi obl\u00edben\u00e9ho pluginu.<\/p>\n\n\n\n

Tentokr\u00e1t se v\u00fdvoj\u00e1\u0159i zam\u011b\u0159ili p\u0159edev\u0161\u00edm na backend a na pr\u00e1ci s variantami produkt\u016f. V editor\u016f variant je n\u011bkolik zm\u011bn, jen\u017e maj\u00ed usnadnit jejich \u00fapravu. Editor tak dostal str\u00e1nkov\u00e1n\u00ed, tak\u017ee, pokud m\u00e1te v\u00edce ne\u017e 10 variant produktu, m\u016f\u017eete mezi nimi listovat. Dal\u0161\u00ed zm\u011bnou je \u00faprava hromadn\u00e9ho ukl\u00e1d\u00e1n\u00ed dat, m\u00e1te tak mo\u017enost nastavit jednotnou cenu pro v\u0161echny varianty a podobn\u011b. Pozor v\u0161ak dejte na to, ulo\u017een\u00ed se t\u00fdk\u00e1 i variant na dal\u0161\u00edch str\u00e1nk\u00e1ch, ne jen t\u011bch, kter\u00e9 vid\u00edte.<\/p>\n\n\n

\n
\"woocommerce-admin-variations-interface\"<\/a><\/figure><\/div>\n\n
\n
\"woocommerce-2.4-variations-options\"<\/a><\/figure><\/div>\n\n\n

Nejv\u011bt\u0161\u00ed zm\u011bna je zcela neviditeln\u00e1. Ukl\u00e1d\u00e1n\u00ed dat  je nyn\u00ed zcela v moci AJAXu a p\u0159i aktualizaci produktu u\u017e tak nedoch\u00e1z\u00ed k na\u010d\u00edt\u00e1n\u00ed dat variant. S touto zm\u011bnou se v\u0161ak v\u00e1\u017ee nebezpe\u010d\u00ed nekompability n\u011bkter\u00fdch plugin\u016f.<\/p>\n\n\n\n

Pokud po aktualizaci na Woo 4.2 za\u010dnou zlobit varianty, prov\u011b\u0159te, zda m\u00e1te na eshopu nainstalov\u00e1ny pluginy, jen\u017e n\u011bjak\u00fdm zp\u016fsobem ovliv\u0148uj\u00ed jejich funkci.<\/strong><\/p>\n\n\n\n

Pro developery, kte\u0159\u00ed pou\u017e\u00edvaj\u00ed ve sv\u00fdch pluginech JS, je tu n\u011bkolik nov\u00fdch hook\u016f:<\/p>\n\n\n\n