=== Custom Post Type WooCommerce Integration ===
Contributors: tinysolution, mehediihasan
Tags: custom post type,  woocommerce integration, sell cpt, payments, sell content
Requires at least: 6.0
Tested up to: 7.0
Stable tag: 2.2.9
Requires PHP: 7.4
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html


Sell any custom post type using WC. Add price, cart button & checkout to CPT, ACF, JetEngine, LearnPress posts — no duplicate products needed.

== Description ==

**Custom Post Type WC Integration** turns ANY WordPress custom post type (CPT) into a sellable WC product — without forcing you to recreate every post as a duplicate product.

Sell pages, posts, courses, bookings, listings, events, donations, digital downloads, or any custom content type directly through WooCommerce. Just connect the CPT, set a price (or map an existing meta key), and use the built-in shortcodes to display the price and add-to-cart button anywhere on your site.

Whether you want a **full WooCommerce shop experience** for your CPTs, or you only need WooCommerce for **payments and checkout**, this plugin gives you both — with a clean, no-code admin UI.

👉 [Documentation](https://www.wptinysolutions.com/docs/woocommerce-integration/install-using-wordpress-dashboard/) | [Get Pro](https://www.wptinysolutions.com/tiny-products/cpt-woo-integration/) 👈

[youtube https://www.youtube.com/watch?v=KvyHjlww1gg]

== 🚀 Why Choose This Plugin? ==

* **No Duplicate Products** — stop manually re-creating each CPT post as a WooCommerce product.
* **Sell Anything** — courses, events, bookings, listings, digital files, donations, services, custom content.
* **Use Existing Meta Fields** — already storing prices in ACF, JetEngine, or custom meta? Just map the meta key.
* **WooCommerce-as-Checkout** — keep your custom landing pages and use WooCommerce only for secure payments.
* **Beginner-Friendly** — no coding required. A few clicks and you're selling.
* **Works With Any Theme** — clean shortcodes drop into any layout, builder, or template.

== 🎯 Perfect For ==

* Selling **online courses** (LearnPress integration)
* Selling **bookings & appointments** (BA Book Everything integration)
* Selling **directory listings** or **classifieds** (JetEngine integration)
* Selling **events**, **tickets**, or **memberships**
* Selling **digital downloads** (Pro)
* **Accepting donations** through specific posts/pages
* Using WooCommerce purely as a **payment gateway** for landing pages

== 🏆 Free Features ==

* ✅ Integrate **unlimited custom post types** with WooCommerce
* ✅ Add **regular price** meta field to any CPT
* ✅ Add **sale price** meta field to any CPT
* ✅ **Fallback regular price** — map an existing meta key (great for ACF, JetEngine, Meta Box)
* ✅ **Fallback sale price** — reuse meta keys you already have
* ✅ Shortcode for **WooCommerce notices**: `[cptwooint_wc_all_notices/]`
* ✅ Shortcode for **price**: `[cptwooint_price/]`
* ✅ Shortcode for **add to cart button**: `[cptwooint_cart_button/]`
* ✅ Shortcode for **short description**: `[cptwooint_short_description/]`
* ✅ Make **CPT archive pages look like the WooCommerce shop page**
* ✅ Make **CPT single pages look like the WooCommerce product page**
* ✅ Use **product categories** with your CPT
* ✅ Use **product tags** with your CPT
* ✅ Customize **button color, background, and size** from settings
* ✅ Clean React-powered admin UI

== 🏆 ACF (Advanced Custom Fields) Support ==

Already using ACF to store prices on your custom posts? No problem.

1. Create a price field with ACF.
2. Add a price value to a post.
3. Open the plugin settings and select your ACF price meta key as the fallback.
4. Drop the cart button shortcode where needed — done.

== 🏆 PRO Features ==

* All free features included
* **Quick Edit & Bulk Edit** for CPT prices and stock right from the post list
* Full **product types** support — Simple, Variable, External/Affiliate, Grouped
* Display CPT posts on the **WooCommerce shop page** alongside regular products
* **Sale price scheduling** with start and end dates
* **Inventory management** — SKU, stock quantity, stock status, low-stock alerts, backorders, sold individually, purchase limits
* **Shipping data** — weight, dimensions, shipping classes
* **Product gallery images** with Swiper slider (vertical/horizontal thumbs, RTL, auto-height, zoom)
* **Downloadable products** — file delivery, download limits, expiry dates
* **Customer downloads** from the WooCommerce My Account page
* **Upsells & Cross-sells** for CPTs
* **Product attributes** — full taxonomy-based attribute CRUD UI for CPTs
* **Product reviews & ratings** — 1–5 stars, verified purchase badge, HPOS-compatible, rating distribution
* **Structured data / JSON-LD schema** — Product, Review, BreadcrumbList, Website, Order (better SEO & Google rich results)
* Pro shortcodes — `[cptwooint_sku]`, `[cptwooint_attributes]`, `[cptwooint_gallery]`, `[cptwooint_gallery_with_variation]`, `[cptwooint_upsell_products]`
* **WooCommerce Bookings** integration (sell bookable CPTs)
* **Easy Booking for WooCommerce** integration
* **LearnPress** review compatibility (sell and review courses)
* **Extra Product Options (Themecomplete EPO)** support
* **Automatic license updates** directly from your WordPress dashboard

== 🏆 Quick Start — Integrate in 4 Steps ==

1. Install and activate **Custom Post Type WooCommerce Integration**.
2. Open **WC Integration** in your WordPress admin sidebar.
3. Select your **custom post type** under "Select Post Type".
4. Enable the default price meta field — or map your existing meta keys.

That's it. Your CPT is now WooCommerce-ready.

== 🏆 Already Have Price Meta Fields? ==

If your CPT already stores prices via ACF, JetEngine, Meta Box, or any other plugin:

* Select the appropriate **regular price meta key** from the dropdown.
* Optionally select a **sale price meta key**.
* Save settings — the plugin will read prices straight from your existing data. No migration needed.

== 🏆 Display Price & Cart Button ==

Use these shortcodes anywhere — pages, posts, single templates, page builders, widgets:

* `[cptwooint_price/]` — displays the formatted price.
* `[cptwooint_cart_button/]` — displays the add-to-cart button.
* `[cptwooint_short_description/]` — displays the short description.
* `[cptwooint_wc_all_notices/]` — displays WooCommerce notices (errors, success messages).

== 🏆 WooCommerce as a Payment Gateway Only ==

Don't want a full shop? You don't need one.

CPT WooCommerce Integration lets you keep your beautifully designed custom landing pages and use WooCommerce **only for checkout and payments**. No need to enter products in the database — just connect the page or post and let WooCommerce handle the secure payment flow with all its supported gateways (Stripe, PayPal, etc.).

== 🏆 Accept Donations With WooCommerce ==

Run a donation page or post? Add a price, drop in the cart button, and accept donations of fixed amounts directly through WooCommerce checkout — no third-party donation plugin required.

== 🏆 Compatible Plugins & Integrations ==

* **LearnPress** — sell courses through WooCommerce. [Documentation](https://www.wptinysolutions.com/docs/woocommerce-integration/learnpress-compatibility)
* **ACF (Advanced Custom Fields)** — use ACF price fields directly.
* **BA Book Everything** — sell bookings and appointments. [Documentation](https://www.wptinysolutions.com/docs/woocommerce-integration/ba-book-everything)
* **JetEngine** — full CPT and meta integration.
* **Custom Post Type UI** — register CPTs and connect instantly.
* **Extra Product Options for WooCommerce** (Free & Pro)
* **WooCommerce Bookings** (Pro)
* **Easy Booking for WooCommerce** (Pro)
* Compatible with **Elementor**, **Visual Composer**, **Gutenberg**, and most page builders.
* And many more — works wherever standard WooCommerce hooks are respected.

== Screenshots ==

01. Integration Settings — select your CPT and configure price meta
02. Price Meta Field — enable default fields or map existing meta keys
03. Shortcode Generator — copy-paste ready shortcodes for price and cart
04. Button Style Customizer — adjust color, background, and size

== Frequently Asked Questions ==

= 1. What does the Custom Post Type WooCommerce Integration plugin do? =

It connects any WordPress custom post type (CPT) with WooCommerce so you can sell pages, posts, courses, events, bookings, listings, donations, or any custom content type — without manually creating duplicate WooCommerce products. You set a price, drop in a shortcode, and WooCommerce handles the cart and checkout.

= 2. Do I need coding skills to use this plugin? =

No. The plugin includes a clean React-powered admin UI. Select your custom post type from a dropdown, enable the price meta field, and start selling. No PHP, no theme edits, no shortcodes hand-written from scratch.

= 3. Can I sell multiple custom post types with one plugin? =

Yes. You can integrate **unlimited custom post types** with WooCommerce. Each CPT can have its own regular price and sale price configuration, and you can map different meta keys for each one independently.

= 4. Does this plugin work with ACF (Advanced Custom Fields)? =

Yes. If you store prices in ACF fields, simply select the ACF meta key as the fallback regular price (and optionally sale price) in the plugin settings. The plugin will read prices straight from ACF — no data migration required.

= 5. Is it compatible with JetEngine, LearnPress, and BA Book Everything? =

Yes. The plugin ships with built-in integrations for **JetEngine** (CPTs and variation panels), **LearnPress** (sell courses via WooCommerce), and **BA Book Everything** (sell bookings). It also works alongside Custom Post Type UI, Meta Box, and most major CPT plugins.

= 6. What shortcodes are available in the free version? =

Four shortcodes are bundled:

* `[cptwooint_price/]` — display the price
* `[cptwooint_cart_button/]` — display the add-to-cart button
* `[cptwooint_short_description/]` — display the short description
* `[cptwooint_wc_all_notices/]` — display WooCommerce notices (errors, success, warnings)

You can place them in pages, posts, single templates, widgets, or any page builder.

= 7. Can I use WooCommerce only for payments without showing a shop? =

Absolutely. Many users keep their custom landing pages exactly as designed and use WooCommerce purely as a checkout/payment processor. You don't need to enter products in WooCommerce — just connect your CPT or page using this plugin and customers can pay through any WooCommerce-supported gateway (Stripe, PayPal, etc.).

= 8. Can I accept donations with this plugin? =

Yes. You can configure a page or post with a fixed price and use the cart button shortcode to accept donations through WooCommerce checkout. It's a simple way to collect donations without installing a separate donation plugin.

= 9. Will my CPT archive look like the WooCommerce shop page? =

Yes — that's a built-in free feature. Enable the "Archive Page Like Shop Page" option and your CPT archive will inherit the WooCommerce shop layout. There's a matching option to make CPT single pages look like WooCommerce product pages.

= 10. Where can I find the plugin settings after activation? =

After you activate the plugin, a new menu item called **WC Integration** appears in the WordPress admin sidebar. Click it to open the settings panel where you can configure post types, meta keys, shortcodes, and button styles. You'll also be auto-redirected to the settings page right after activation.

== Changelog ==

= 2.2.9 ( 21 May, 2026 ) =
*Improvement: Save Settings Notification UI Improvment

= 2.2.8.1 ( 26 Apr, 2026 ) =
*Improvement: Documentation And URL Update

[See changelog for all versions.](https://raw.githubusercontent.com/wptinysolution/WP-Changelog/refs/heads/main/cpt-woo-integration.txt)
