{"id":5612,"date":"2020-05-30T19:53:43","date_gmt":"2020-05-30T19:53:43","guid":{"rendered":"https:\/\/musilda.cz\/?p=5612"},"modified":"2020-05-30T19:53:43","modified_gmt":"2020-05-30T19:53:43","slug":"jak-zmenit-tlacitko-pridat-do-kosiku-na-produkt-je-jiz-v-kosiku","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/jak-zmenit-tlacitko-pridat-do-kosiku-na-produkt-je-jiz-v-kosiku\/","title":{"rendered":"Jak zm\u011bnit tla\u010d\u00edtko P\u0159idat do ko\u0161\u00edku na Produkt je ji\u017e v ko\u0161\u00edku"},"content":{"rendered":"\n
Dnes v\u00e1m p\u0159in\u00e1\u0161\u00edm snippet, kter\u00fd umo\u017e\u0148uje zm\u011bnit text na tla\u010d\u00edtku „P\u0159idat do ko\u0161\u00edku“ a to v z\u00e1vislosti na tom, \u017ee je produkt ji\u017e v ko\u0161\u00edku. <\/p>\n\n\n\n
Ne\u017e p\u0159id\u00e1me snippet do pluginu, vypad\u00e1 v\u00fdpis produkt\u016f takto:<\/p>\n\n\n\n My pou\u017eijeme filtr pro v\u00fdpis produkt\u016f a nav\u00edc je\u0161t\u011b filtr pro detail produktu. WooCommerce m\u00e1 toti\u017e pro text tla\u010d\u00edtka zvl\u00e1\u0161\u0165 filtr na v\u00fdpis a na detail produktu:<\/p>\n\n\n\n Tak\u017ee si vytvo\u0159\u00edme dv\u011b funkce, jednu na detail, druhou na v\u00fdpis:<\/p>\n\n\n\n\n\n\n\n Pokud p\u0159id\u00e1me k\u00f3d na web a produkt do ko\u0161\u00edku, zobraz\u00ed se n\u00e1m nov\u00fd text:<\/p>\n\n\n\n A a detailu takto:<\/p>\n\n\n\n Pokud nev\u00edte, jak snippet pou\u017e\u00edt, n\u00e1vod jsem jsem napsal zde<\/a>.<\/p>\n\n\n\n<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n