{"id":418,"date":"2017-09-08T12:58:10","date_gmt":"2017-09-08T10:58:10","guid":{"rendered":"https:\/\/demos.welaunch.io\/woocommerce-product-accessories\/?post_type=faq&#038;p=418"},"modified":"2020-08-06T11:16:19","modified_gmt":"2020-08-06T09:16:19","slug":"aenderung-produkt-zubehoer-position","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/de\/wissensdatenbank\/faq\/aenderung-produkt-zubehoer-position\/","title":{"rendered":"Produktzubeh\u00f6r \u00e4ndern Position"},"content":{"rendered":"<p>Nehmen wir an, Sie m\u00f6chten optionales und obligatorisches Zubeh\u00f6r vor den entsprechenden Produkten und nicht am unteren Rand anzeigen. Dann k\u00f6nnen Sie den folgenden Code innerhalb der Funktionen Ihres untergeordneten Themas verwenden.php:Obligatorisches Zubeh\u00f6r:<\/p>\n<pre>remove_action( 'woocommerce_after_single_product_summary', array( $WooCommerce_Product_accessories-&gt;plugin_public, 'woocommerce_mandatory_accessories_display' ), 25 );add_action( 'woocommerce_after_single_product_summary', array( $WooCommerce_Product_accessories-&gt;plugin_public, 'woocommerce_mandatory_accessories_display' ), 5 );<\/pre>\n<p>Optionales Zubeh\u00f6r:<\/p>\n<pre>remove_action( 'woocommerce_after_single_product_summary', array( $WooCommerce_Product_accessories-&gt;plugin_public, 'woocommerce_optional_accessories_display' ), 30 );add_action( 'woocommerce_after_single_product_summary', array( $WooCommerce_Product_accessories-&gt;plugin_public, 'woocommerce_optional_accessories_display' ), 5 );<\/pre>\n<p>5 Ist die neue Position f\u00fcr beide Elemente.<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-418","faq","type-faq","status-publish","hentry","faq_topics-produkt-zubehoer-filter-haken"],"_links":{"self":[{"href":"https:\/\/www.welaunch.io\/de\/wp-json\/wp\/v2\/faq\/418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.welaunch.io\/de\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.welaunch.io\/de\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/de\/wp-json\/wp\/v2\/comments?post=418"}],"version-history":[{"count":2,"href":"https:\/\/www.welaunch.io\/de\/wp-json\/wp\/v2\/faq\/418\/revisions"}],"predecessor-version":[{"id":5514,"href":"https:\/\/www.welaunch.io\/de\/wp-json\/wp\/v2\/faq\/418\/revisions\/5514"}],"wp:attachment":[{"href":"https:\/\/www.welaunch.io\/de\/wp-json\/wp\/v2\/media?parent=418"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.welaunch.io\/de\/wp-json\/wp\/v2\/product_cat?post=418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}