{"id":9132,"date":"2021-07-07T14:43:32","date_gmt":"2021-07-07T06:43:32","guid":{"rendered":"https:\/\/blog.naibabiji.com\/?p=9132"},"modified":"2021-07-07T14:43:32","modified_gmt":"2021-07-07T06:43:32","slug":"reordering-sku","status":"publish","type":"post","link":"https:\/\/blog.naibabiji.com\/woocommerce\/reordering-sku.html","title":{"rendered":"\u8c03\u6574WooCommerce\u4ea7\u54c1\u9875SKU\u4f4d\u7f6e"},"content":{"rendered":"<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0bWooCommerce\u7684\u4ea7\u54c1SKU\u5728\u4ea7\u54c1\u7b80\u5355\u4ecb\u7ecd\u6700\u4e0b\u9762\uff0c\u5982\u679c\u60f3\u8981\u8c03\u6574\u5230\u6807\u9898\u4e0b\u9762\u6765\u663e\u793a\u7684\u8bdd\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u4ee3\u7801\u5b9e\u73b0\u3002<\/p>\n<pre>\/\/ \u8c03\u6574SKU\u663e\u793a\u4f4d\u7f6e https:\/\/blog.naibabiji.com\/woocommerce\/reordering-sku.html\r\nremove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 );\r\nadd_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 10 );<\/pre>\n<p>\u628a\u4e0a\u9762\u4ee3\u7801\u6dfb\u52a0\u5230\u4f60\u4e3b\u9898\u51fd\u6570\u4ee3\u7801\u91cc\u9762\u4fdd\u5b58\u5373\u53ef\u3002<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;9132&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;3&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;2&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;4&quot;,&quot;greet&quot;:&quot;\u7ed9\u672c\u6587\u6253\u5206 post&quot;,&quot;legend&quot;:&quot;2\\\/5 - (3 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u8c03\u6574WooCommerce\u4ea7\u54c1\u9875SKU\u4f4d\u7f6e&quot;,&quot;width&quot;:&quot;54&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 54px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            2\/5 - (3 votes)    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0bWooCommerce\u7684\u4ea7\u54c1SKU\u5728\u4ea7\u54c1\u7b80\u5355\u4ecb\u7ecd\u6700\u4e0b\u9762\uff0c\u5982\u679c\u60f3\u8981\u8c03\u6574\u5230\u6807\u9898\u4e0b\u9762\u6765\u663e\u793a\u7684\u8bdd\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"\u8c03\u6574WooCommerce\u4ea7\u54c1\u9875SKU\u4f4d\u7f6e - \u5976\u7238\u5efa\u7ad9\u7b14\u8bb0","description":"\u9ed8\u8ba4\u60c5\u51b5\u4e0bWooCommerce\u7684\u4ea7\u54c1SKU\u5728\u4ea7\u54c1\u7b80\u5355\u4ecb\u7ecd\u6700\u4e0b\u9762\uff0c\u5982\u679c\u60f3\u8981\u8c03\u6574\u5230\u6807\u9898\u4e0b\u9762\u6765\u663e\u793a\u7684\u8bdd\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u4ee3\u7801\u5b9e\u73b0\u3002 \u628a\u4e0a\u9762\u4ee3\u7801\u6dfb\u52a0\u5230\u4f60\u4e3b\u9898\u51fd\u6570\u4ee3\u7801\u91cc\u9762\u4fdd\u5b58\u5373\u53ef\u3002"},"footnotes":""},"categories":[405],"tags":[],"class_list":["post-9132","post","type-post","status-publish","format-standard","hentry","category-woocommerce"],"_links":{"self":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/9132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/comments?post=9132"}],"version-history":[{"count":0,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/9132\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media?parent=9132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/categories?post=9132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/tags?post=9132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}