{"id":6362,"date":"2021-10-09T04:40:00","date_gmt":"2021-10-09T04:40:00","guid":{"rendered":"https:\/\/musilda.cz\/?p=6362"},"modified":"2021-10-09T04:40:00","modified_gmt":"2021-10-09T04:40:00","slug":"zmena-textu-mohlo-by-se-vam-libit-u-navysovaciho-prodeje","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/zmena-textu-mohlo-by-se-vam-libit-u-navysovaciho-prodeje\/","title":{"rendered":"Zm\u011bna textu mohlo by se v\u00e1m l\u00edbit u navy\u0161ovac\u00edho prodeje"},"content":{"rendered":"\n

V detailu produktu WooCommerce m\u016f\u017eete naj\u00edt takzvan\u00fd upsell, tedy navy\u0161ovac\u00ed prodej.<\/p>\n\n\n\n

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

Produkty do navy\u0161ovac\u00edho prodeje se mus\u00ed za\u0159adit ru\u010dn\u011b v detailu produktu, jinak se v\u016fbec nezobrazuj\u00ed. <\/p>\n\n\n\n

Na rozd\u00edl od souvisej\u00edc\u00edch produkt\u016f, kter\u00e9 se generuj\u00ed automaticky na z\u00e1klad\u011b zadan\u00e9ho algoritmu. <\/p>\n\n\n\n

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

Pokud vytv\u00e1\u0159\u00edte nov\u00fd e-shop, m\u00e1lokdy se v\u00e1m stane, \u017ee dostanete n\u00e1vrh a bude v n\u011bm „Mohlo by se v\u00e1m l\u00edbit…“. Na\u0161t\u011bst\u00ed sta\u010d\u00ed pou\u017e\u00edt jednoduch\u00fd snippet a text si uprav\u00edte bez z\u00e1sahu do \u0161ablony:<\/p>\n\n\n\n

add_filter( 'woocommerce_product_upsells_products_heading', 'musilda_product_upsells_products_heading' );\nfunction musilda_product_upsells_products_heading( $heading ) {\n\treturn __( 'Z\u00e1kazn\u00edci si tak\u00e9 koupili:', 'musilda' );\n}<\/code><\/pre>\n\n\n\n
\"\"<\/a><\/figure>\n\n\n\n

Dal\u0161\u00ed u\u017eite\u010dn\u00e9 snippety najdete na U\u017eite\u010dn\u00e9 snippety pro WooCommerce<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"

V detailu produktu WooCommerce m\u016f\u017eete naj\u00edt takzvan\u00fd upsell, tedy navy\u0161ovac\u00ed prodej. Produkty do navy\u0161ovac\u00edho prodeje se mus\u00ed za\u0159adit ru\u010dn\u011b v detailu produktu, jinak se v\u016fbec nezobrazuj\u00ed. Na rozd\u00edl od souvisej\u00edc\u00edch produkt\u016f, kter\u00e9 se generuj\u00ed automaticky na z\u00e1klad\u011b zadan\u00e9ho algoritmu. Pokud vytv\u00e1\u0159\u00edte nov\u00fd e-shop, m\u00e1lokdy se v\u00e1m stane, \u017ee dostanete n\u00e1vrh a bude v n\u011bm „Mohlo<\/p>\n","protected":false},"author":1,"featured_media":5600,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[29],"tags":[],"class_list":["post-6362","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-woocommerce-snippety"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/6362"}],"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=6362"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/6362\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media\/5600"}],"wp:attachment":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media?parent=6362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=6362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=6362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}