Linux 软件免费装
Banner图

Loushou: ACF for WooCommerce

开发者 loushou
更新时间 2016年5月27日 09:05
捐献地址: 去捐款
PHP版本: 4.5 及以上
WordPress版本: 4.5.2
版权: GNU General Public License, version 3 (GPL-3.0)
版权网址: 版权信息

标签

woocommerce checkout acf advanced custom fields product category my account archive product

下载

详情介绍:

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: What is to come: I plan on adding support to: 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.

安装:

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 Loushou: ACF for WooCommerce 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.
  7. Depending on your server setup, you may need to enter some FTP credentials, which you should have handy.
  8. If all goes well, you will see a link that reads 'Activate Plugin'. Click it.
  9. Once you see the 'Activated' confirmation, you will see new icons in the menu.
  10. Start using Loushou: ACF for WooCommerce
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/lou-acf-wc.latest.zip ., to copy the downloaded file to your plugins directory.
  5. unzip lou-acf-wc.latest.zip, to unzip the downloaded file, creating a lou-acf-wc 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 Loushou: ACF for WooCommerce on your plugins list, click 'Activate' which is located directly below the name of the plugin.
  8. Start using Loushou: ACF for WooCommerce

屏幕截图:

  • Make sure you have the required plugins installed, up to date, and activated.
  • You can easily assign an ACF group the the WooCommerce Checkout.
  • Assigning an ACF group to the My Account page is pretty easy too.
  • You can see the fields are embeded in the checkout form. Make sure to style them as you see fit, with your theme.
  • Viewing your My Account page, you can see that your fields get their own section on the page. Make sure to style them as you see fit, with your theme.

常见问题:

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.

更新日志:

1.1.0 1.0.0