WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

POI ACF for WP

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

POI ACF for WP

由 Fahad Mahmood 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

  • Author: Fahad Mahmood

  • Project URI: http://androidbubble.com/blog/wordpress/plugins/poi-acf-for-wp

  • License: GPL 3. See License below for copyright jots and titles.

Why?

Many developers I know consider Advanced Custom Fields a must have plugin on most of their website work, and I am sure that idea permeates the entire community. WooCommerce has been the leading eCommerce engine in the world, for quite some time now. Both of these plugins are in the list of the top used plugins on the repository. As such, it is about time that someone write a bridge between the two.

That is where I come in. This plugin is made to allow an admin user, or developer, to create ACFs using the normal ACF interface, and assign them to some of the common pages of WooCommerce, without any additional work, or coding. Adding fields to the checkout or My Account page is now as easy as pointing and clicking, inside the already familiar interface of ACF (and ACF Pro).

What you can do now:

Using this plugin, you currently have the ability to:

  • Add a field group to the WooCommerce Checkout flow
    • The fields save as part of the order itself
    • Don’t forget to also assign the Post Type -> Shop Order ‘location’ in ACF setup
  • Add a field group to the My Account page, or the Edit Billing/Shipping Address My Account Page
    • The fields save as part of the User
      • Don’t forget to also assign the User Role -> All ‘location’ in ACF setup
  • Display fields you have setup on Product Categories
    • You can display them above or below the list of products
      • You can modify the output with actions and hooks (for developers)

What is to come:

I plan on adding support to:

  • Display fields on the Shop page
  • Display fields on the Product page
  • Add Tabs to the Product page
  • Add field groups to the Product meta and have it save as part of the cart items (like for personalization)
  • I am sure there are more that I am not thinking of…

What if you have ideas:

I am always open to suggestions, especially on how to make this plugin more usable and useful. If you have an idea of a new feature that is not listed above, or an expansion on one of the listed ideas, then hit me up.

I really hope this helps others, because I know it will help me, and at least the devs I know.

License

POI ACF is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published bythe Free Software Foundation, either version 2 of the License, or any later version. POI ACF is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with POI ACF. If not, see http://www.gnu.org/licenses/gpl-2.0.html.

螢幕擷圖

  • POI for ACF under Custom Fields menu
  • Change ACF fields display locations
  • Create templates

安裝方式

Basic Installation

These instructions are pretty universal, standard methods employed when you install any plugin. If you have ever installed one for your WordPress installation, you can probably skip this part.

The below instructions assume that you have:

  1. Downloaded the POI ACF for WP software from WordPress.org.
  2. Have already installed Advanced Custom Fields (or Pro) and WooCommerce, and set them up to your liking.
  3. Possess a basic understanding of ACF & WooCommerce concepts.
  4. Have either some basic knowledge of the WordPress admin screen or some basic ftp and ssh knowledge.
  5. The ability to follow an outlined list of instructions. 😉

Via the WordPress Admin:

  1. Login to the admin dashboard of your WordPress site.
  2. Click the ‘Plugins’ menu item on the left sidebar, usually found somewhere near the bottom.
  3. Near the top left of the loaded page, you will see an Icon, the word ‘Plugins’, and a button next to those, labeled ‘Add New’. Click ‘Add New’.
  4. In the top left of this page, you will see another Icon and the words ‘Install Plugins’. Directly below that are a few links, one of which is ‘Upload’. Click ‘Upload’.
  5. On the loaded screen, below the links described in STEP #4, you will see a location to upload a file. Click the button to select the file you downloaded from http://WordPress.org/.
  6. Once the file has been selected, click the ‘Install Now’ button.
    • Depending on your server setup, you may need to enter some FTP credentials, which you should have handy.
  7. If all goes well, you will see a link that reads ‘Activate Plugin’. Click it.
  8. Once you see the ‘Activated’ confirmation, you will see new icons in the menu.
  9. Start using POI ACF for WordPress

Via SSH:

  1. FTP the file you downloaded from http://WordPress.org/ to your server. (We assume you know how to do this)
  2. Login to your server via ssh. (…. you know this too).
  3. Issue the command cd /path/to/your/website/installation/wp-content/plugins/, where /path/to/your/website/installation/wp-content/plugins/ is the plugins directory on your site.
  4. cp /path/to/poi-acf-wp.latest.zip ., to copy the downloaded file to your plugins directory.
  5. unzip poi-acf-wp.latest.zip, to unzip the downloaded file, creating a poi-acf-wp directory inside your plugins directory.
  6. Open a browser, and follow steps 1-2 under ‘Via the WordPress Admin’ above, to get to your ‘plugins’ page.
  7. Find POI ACF for WP on your plugins list, click ‘Activate’ which is located directly below the name of the plugin.
  8. Start using POI ACF for WordPress

常見問題集

How do I make the fields appear on my Checkout or My Account pages?

Using the normal ACF interface, when you select the ‘Location’ -> ‘Rules’ (most of the time you select ‘post type’ and ‘post’ in this area), you will choose ‘WooCommerce’ as the first drop down under ‘Show this field group if’ and either ‘Checkout’ or ‘My Account’ as the value of the thrid drop down (next to the ‘and’ button). Once you save, the fields will appear on the checkout or my account page, appropriately.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈POI ACF for WP〉的開發相關工作。

參與者
  • Fahad Mahmood
  • Invoicepress

將〈POI ACF for WP〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.0.3

  • Updated version for WordPress. [02/05/2023]

1.0.2

  • Updated version for WordPress.

1.0.1

  • Assets updated.

1.0

  • Initial commit.

中繼資料

  • 版本 1.0.4
  • 最後更新 1 年前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 4.5 或更新版本
  • 已測試相容的 WordPress 版本 6.6.4
  • PHP 版本需求 7.0 或更新版本
  • 語言
    English (US)
  • 標籤
    acfadvanced custom fieldswoocommerce
  • 進階檢視

評分

這個項目尚無任何評論記錄。

新增使用者評論

查看全部使用者評論

參與者

  • Fahad Mahmood
  • Invoicepress

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • Visit our Bluesky account
  • 造訪我們的 Mastodon 帳號
  • Visit our Threads account
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
程式碼,如詩