=== DMZ B2B Product Management ===
Contributors: zhangduanman
Tags: b2b, products, custom post type, elementor, gallery
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds a Products custom post type with product fields, taxonomies, Elementor dynamic tags, and Elementor widgets for B2B product pages.

== Description ==

This plugin adds a `Products` custom post type designed for B2B product pages, with intentionally independent `dmzp_` namespacing to avoid conflicts with WooCommerce or other e-commerce plugins.

= Features =

* Products custom post type.
* Product Categories and Product Tags taxonomies.
* Settings page for archive page selection and custom archive/category/tag slugs.
* Classic editor support, with Gutenberg disabled for products.
* Elementor support for editing product content.
* Product summary rich text field.
* Sortable parameter repeater (name/value pairs) with add, delete, move up, and move down controls.
* Native WordPress featured image support.
* Gallery image field with WordPress media library integration.
* Featured image thumbnails in the Products admin list.
* Elementor dynamic tags for product summary and featured image.
* Elementor widgets: Product Gallery Pro, Product Parameters, Product Summary.

= Usage =

1. Install and activate the plugin.
2. Navigate to **Products** in the WordPress admin.
3. Add new products with featured image, gallery, summary, and parameters.
4. Use the **Settings** page under Products to configure archive/category/tag slugs.
5. Enable Elementor support via Elementor > Settings > Post Types.
6. Use Elementor widgets and dynamic tags to build product pages.

== Installation ==

1. Upload the `b2b-products` folder to `/wp-content/plugins/`.
2. Activate the plugin through the **Plugins** menu.
3. Optionally enable Elementor support under Elementor > Settings > Post Types.

== Frequently Asked Questions ==

= Does this plugin conflict with WooCommerce? =

No. Internal keys use the `dmzp_` prefix (post type, taxonomies, meta fields, CSS classes, and script/style handles) to avoid conflicts with WooCommerce or other e-commerce plugins.

= Can I use a custom archive page? =

Yes. Go to Products > Settings and select any published page as the archive page.

== Changelog ==

= 1.0.0 =
* Initial official WordPress.org release.