{"id":2974,"date":"2016-05-14T19:12:11","date_gmt":"2016-05-14T19:12:11","guid":{"rendered":"http:\/\/musilda.cz\/?p=2974"},"modified":"2016-05-14T19:12:11","modified_gmt":"2016-05-14T19:12:11","slug":"plugin-pro-pridani-ic-dic-formulare-pokladny-woocommerce","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/plugin-pro-pridani-ic-dic-formulare-pokladny-woocommerce\/","title":{"rendered":"Plugin pro p\u0159id\u00e1n\u00ed I\u010c a DI\u010c do formul\u00e1\u0159e pokladny WooCommerce"},"content":{"rendered":"
WooCommerce v z\u00e1kladn\u00edm nastaven\u00ed, nem\u00e1 na pokladn\u011b pol\u00ed\u010dka, pro zad\u00e1n\u00ed I\u010c a DI\u010c, proto je pot\u0159eba vyu\u017e\u00edt n\u011bkter\u00fd z plugin\u016f, nebo si pole upravit pomoc\u00ed funkc\u00ed.<\/p>\n
Proto\u017ee mi ani jeden z plugin\u016f nevyhovoval, napsal jsem si n\u011bkolik funkc\u00ed, kter\u00e9 jsem vyu\u017e\u00edval na toret.cz. Av\u0161ak po n\u011bkolika diskuz\u00edch s Luk\u00e1\u0161em Prelovsk\u00fdm, zakladatelem Facebook skupiny WooCommerce CZ + SK<\/a>, jsem se rozhodl, vytvo\u0159it plugin, kter\u00fd bude mo\u017en\u00e9 pou\u017e\u00edt, jak pro CZ, tak i pro SK.<\/p>\n Po instalaci pluginu, je pot\u0159eba, povolit zobrazov\u00e1n\u00ed pol\u00ed, v nastaven\u00ed pokladny ve WooCommerce -> Nastaven\u00ed -> Pokladna:<\/p>\n <\/a><\/p>\n <\/p>\n N\u00e1sledn\u011b se v pokladn\u011b zobraz\u00ed checkbox, kter\u00fd umo\u017en\u00ed skr\u00fdt, nebo zobrazit pole, podle toho, zda chcete zadat I\u010c a DI\u010c.<\/p>\n V p\u0159\u00edpad\u011b, \u017ee je zvolen\u00e1 zem\u011b Slovensko, zobraz\u00ed se i DI\u010c SK<\/p>\n