Title: Magic Extra Field Light
Author: Loyalcoders
Published: <strong>2025 年 7 月 9 日</strong>
Last modified: 2026 年 2 月 27 日

---

搜索插件

![](https://ps.w.org/magic-extra-field-light/assets/banner-772x250.png?rev=3324958)

![](https://ps.w.org/magic-extra-field-light/assets/icon-128x128.png?rev=3324958)

# Magic Extra Field Light

 作者：[Loyalcoders](https://profiles.wordpress.org/loyalcoder/)

[下载](https://downloads.wordpress.org/plugin/magic-extra-field-light.1.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/magic-extra-field-light/#description)
 * [评价](https://cn.wordpress.org/plugins/magic-extra-field-light/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/magic-extra-field-light/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/magic-extra-field-light/#developers)

 [支持](https://wordpress.org/support/plugin/magic-extra-field-light/)

## 描述

Magic Extra Field Light is a lightweight WordPress plugin that allows you to add
custom fields to your WooCommerce products using Elementor’s interface. It’s perfect
for adding text inputs, checkboxes, and other form elements to your product pages.

#### Features

 * Add custom fields to WooCommerce products
 * Use Elementor’s interface to design your fields
 * Support for text inputs, checkboxes, and more
 * Fields appear in cart and order details
 * Lightweight and fast

#### Requirements

 * WordPress 5.0 or higher
 * WooCommerce 5.0 or higher
 * Elementor 3.0 or higher
 * PHP 7.4 or higher

### Development Setup

#### Prerequisites

 * Node.js (v14 or higher)
 * npm or yarn
 * WordPress development environment
 * WooCommerce installed and activated
 * Elementor installed and activated

#### Installation Steps

 1. Clone the repository:
     `bash git clone https://github.com/loyalcoder/magic-extra-
    field-light.git
 2. Navigate to the plugin directory:
     `bash cd magic-extra-field-light
 3. Install dependencies:
     `bash npm install
 4. Build the assets:
     `bash npm run build

#### Source Code

This plugin uses build tools to generate optimized production assets. The source
code for all JavaScript and CSS files is available in the following locations:

 * **JavaScript Source**: `assets/src/js/` – Contains the original, human-readable
   JavaScript source files
 * **CSS Source**: `assets/src/css/` – Contains the original, human-readable CSS
   source files
 * **Build Configuration**: `webpack.config.js` – Webpack configuration for asset
   compilation

The compiled/minified assets are located in `assets/dist/` and are generated from
the source files using webpack.

#### Build Tools

This plugin uses the following build tools:
 * **Webpack**: For bundling and optimizing
JavaScript and CSS assets * **npm**: For dependency management and build scripts

To modify the plugin’s frontend or admin interface:
 1. Edit the source files in`
assets/src/` 2. Run `npm run build` to compile changes 3. Test your modifications

The source code is also available on GitHub: https://github.com/loyalcoder/magic-
extra-field-light

## 安装

 1. Download the plugin zip file
 2. Go to WordPress admin panel > Plugins > Add New
 3. Click “Upload Plugin” and select the downloaded zip file
 4. Click “Install Now” and then “Activate”

## 评价

此插件暂无评价。

## 贡献者及开发者

「Magic Extra Field Light」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Loyalcoders ](https://profiles.wordpress.org/loyalcoder/)

[帮助将「Magic Extra Field Light」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/magic-extra-field-light)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/magic-extra-field-light/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/magic-extra-field-light/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/magic-extra-field-light/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/magic-extra-field-light/)。

## 更新日志

#### 1.0.2

 * Security: Added capability checks to AJAX handlers.
 * Security: Improved input sanitization and unslashing for all request data.
 * Security: Escaped style attributes in admin templates.
 * Compatibility: Tested up to WordPress 6.9.
 * Code: WordPress coding standards (PHPCS/WPCS) and prefixed global variables.

#### 1.0.1

 * Bug fixes and improvements.

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**2 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/magic-extra-field-light/)
 * 标签
 * [custom fields](https://cn.wordpress.org/plugins/tags/custom-fields/)[elementor](https://cn.wordpress.org/plugins/tags/elementor/)
   [product fields](https://cn.wordpress.org/plugins/tags/product-fields/)[woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/magic-extra-field-light/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/magic-extra-field-light/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/magic-extra-field-light/reviews/)

## 贡献者

 *   [ Loyalcoders ](https://profiles.wordpress.org/loyalcoder/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/magic-extra-field-light/)