0 レビュー
1 回答
wordpress-WooCommerce製品属性'カスタム製品属性'はfunctions.phpを介してテキストを変更しますか?
<脇>
答えへのリンク
閉鎖。この質問には、詳細または明確さが必要です。現在、回答を受け付けていません。
わからない
0
レビュー
答え :
解決策:
友達の助けがあれば簡単です...
add_filter( 'woocommerce_display_product_attributes', custom_product_additional_information', 10, 2 );
function custom_product_additional_information( $product_attributes, $product ) {
$product_attributes[ 'attribute_' . 'custom-one' ] = array(
'label' => __('Quantity per Package'),
'value' => __('Value 1'),
);
return $product_attributes;
}
チャオ
わからない
同様の質問
私たちのウェブサイトで同様の質問で答えを見つけてください。