PluginUs.Net -WooCommerceとWordPressのビジネスツール

[あなたのアイデアを実現する-あなたの夢を実現させる]

woocommerceショップチェックアウトページのフィールドを削除する方法

woocommerceショップのチェックアウトページのフィールドを削除するには、フックを使用します。 woocommerce_checkout_fields

例として、サイトの現在のワードプレステーマファイルに次のコードをドロップします のfunctions.php:

無効にできるフィールドキーを参照してください。

請求フィールド

  • billing_first_name
  • billing_last_name
  • billing_company
  • billing_country
  • billing_address_1
  • billing_address_2
  • billing_city
  • billing_state
  • billing_postcode
  • billing_phone
  • billing_email

出荷フィールド

  • Shipping_first_name
  • Shipping_last_name
  • 運送会社
  • shipping_country
  • Shipping_address_1
  • Shipping_address_2
  • shipping_city
  • shipping_state
  • Shipping_postcode

アカウントフィールド

  • アカウント_ユーザー名
  • アカウントパスワード

注文フィールド

  • 注文コメント
WOOBE-WooCommerce Bulk EditorおよびProducts Manager Professional