=== TukiFlow Direct Checkout for WooCommerce ===
Contributors: tukidevs
Tags: woocommerce, buy now, direct checkout, cod, shortcode
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.1
WC requires at least: 7.0
WC tested up to: 9.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add Buy Now buttons to WooCommerce products and launch focused direct checkout pages with the `[tukiflow]` shortcode.

== Description ==

TukiFlow is a lightweight WooCommerce plugin built for faster purchasing flows.

It focuses on two conversion-friendly tools:

* Buy Now buttons on product pages
* An optional Buy Now button on shop and archive listings
* A shortcode checkout flow for single-product landing pages

The shortcode checkout is intentionally streamlined for simple orders and Cash on Delivery workflows. It is not a full checkout builder or a cart replacement.

Use it when you want to send shoppers straight from a product or campaign page into a focused checkout experience without adding extra cart steps.

= Core Features =

* Buy Now button on WooCommerce single product pages
* Optional Buy Now button on shop and archive loop items
* Configurable Buy Now button placement on single product pages
* Global Buy Now button text setting
* Styling controls for single-product and loop buttons
* Branded TukiFlow settings screen in WordPress admin
* `[tukiflow]` shortcode for single-product checkout pages
* Optional shipping section in shortcode checkout
* Optional order summary in shortcode checkout
* Billing fields based on your WooCommerce checkout settings
* Cash on Delivery order creation
* Simple flat shipping rate for shortcode orders when shipping is needed
* Success URL support for shortcode checkout

= Shortcode Example =

Use the shortcode on any page or post:

`[tukiflow product_id="123"]`

Supported attributes:

* `product_id`
* `quantity`
* `layout`
* `button_text`
* `show_shipping`
* `show_summary`
* `success_url`

= Good Fit For =

* single-product landing pages
* direct checkout campaigns
* Cash on Delivery stores
* merchants who want a simpler WooCommerce buying flow

== Installation ==

1. Upload the `tukiflow-direct-checkout-woocommerce` folder to `/wp-content/plugins/`
2. Activate the plugin through the **Plugins** screen in WordPress
3. Make sure WooCommerce is installed and active
4. Go to **TukiFlow** in the WordPress admin to configure the button and shortcode defaults
5. Add `[tukiflow product_id="123"]` to any page or post
6. Test the checkout flow with a purchasable WooCommerce product

== Frequently Asked Questions ==

= What does TukiFlow do? =

TukiFlow adds Buy Now buttons to WooCommerce products and lets you create a focused single-product checkout page with the `[tukiflow]` shortcode.

= Which payment method does the shortcode checkout use? =

The shortcode checkout currently creates WooCommerce orders using Cash on Delivery only.

= Can I choose a WooCommerce shipping method in the shortcode checkout? =

No. The current version supports a simple flat shipping rate for shortcode orders when the product needs shipping.

= Does the Buy Now button work on archive pages? =

Yes. You can enable Buy Now buttons for shop and archive listings in the plugin settings.

= Can I use this for multiple products in one shortcode checkout? =

No. The current shortcode flow is designed for one WooCommerce product at a time.

= Does the shortcode fetch product data from a custom API endpoint? =

No. Product data is prepared in PHP when the shortcode renders, while WooCommerce Store API endpoints are used for cart and customer state.

== Changelog ==

= 1.0.1 =
* Refresh TukiFlow admin branding with the plugin logo and purple brand color.
* Add branded default styling for Buy Now buttons.

= 1.0.0 =
* Initial public release
