=== Templates Rocket Buy Now for WooCommerce ===
Contributors: templatesrocketwp
Tags: buy now button, direct checkout, skip cart, add to cart redirect, quick buy
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add a Buy Now button to WooCommerce that skips the cart for direct checkout. Fewer clicks, fewer abandoned carts.

== Description ==

**Templates Rocket Buy Now adds a Buy Now button to your WooCommerce products** that skips the cart and sends shoppers straight to checkout. One click — no cart page in between. Less friction means fewer abandoned carts and faster sales.

Templates Rocket Buy Now reuses WooCommerce's own add-to-cart form, so stock, quantity and validation all behave exactly as they should — the shopper just lands straight on the checkout page instead of the cart.

= Buy Now button, direct checkout, skip the cart =

* Adds a **Buy Now button** on single product pages
* **Skips the cart** and redirects straight to the checkout page
* Optionally sends **only the clicked product** to checkout (true one-item express checkout)
* Choose the button label and where it sits — before or after Add to Cart
* **Buy Now only** — optionally hide the Add to Cart button so Buy Now is the single action
* **Theme-native by default** — the button inherits your theme's own button styling, so it always matches your store
* Or switch to **custom colours** and pick the background and text colour in one click
* One global on/off toggle

= One product, straight to checkout =

Turn on "empty cart before direct purchase" and Buy Now sends **only the product the customer clicked** to checkout — no leftover items, no confusion on the checkout page.

= Looks like your theme, or your colours =

The button ships with the theme's own button classes, so by default it looks exactly like your Add to Cart button — no clashing colours. Prefer to make it pop? Switch to custom colours and pick your own background and text colour.

= Lightweight — zero front-end JavaScript =

The free version ships **no JavaScript on the front end**. The Buy Now button is a native WooCommerce form submit, and the small stylesheet loads only on product pages. Nothing extra to slow your store down.

= Works with your theme and the block checkout =

The button is rendered through WooCommerce's standard product hooks, so it works with any WooCommerce-ready theme. It redirects to your checkout page whatever its type — classic shortcode or the **Checkout block**. Fully compatible with **High-Performance Order Storage (HPOS)**.

= Works with simple and variable products =

The Buy Now button works on **simple and variable products**, using WooCommerce's native variation handling. Grouped and external products don't map to a single Buy Now action, so the button simply doesn't show on them — it never breaks those pages.

= Templates Rocket Buy Now Pro =

The free plugin is fully functional on its own. A separate premium add-on, [Templates Rocket Buy Now Pro](https://templatesrocket.com/buy-now-rocket), adds features that are not part of the free plugin: a Buy Now button on shop and category pages, per-product button text & colours, and catalog-wide direct checkout. Pro is entirely optional.

Brought to you by [Templates Rocket](https://templatesrocket.com).

== Installation ==

1. Make sure WooCommerce is installed and active.
2. Upload the `templates-rocket-buy-now` folder to `/wp-content/plugins/`, or install the plugin through the **Plugins > Add New** screen.
3. Activate the plugin through the **Plugins** screen.
4. Go to **WooCommerce > Templates Rocket Buy Now** to set the button text, position and cart behaviour.
5. Visit any simple or variable product page to see the Buy Now button.

== Frequently Asked Questions ==

= How do I add a Buy Now button in WooCommerce? =

Install and activate Templates Rocket Buy Now, then go to **WooCommerce > Templates Rocket Buy Now**. The Buy Now button appears automatically on your simple and variable product pages. You can change its label and position there.

= How do I skip the cart page in WooCommerce? =

Templates Rocket Buy Now's button adds the product and redirects straight to checkout, skipping the cart entirely. To skip the cart for *every* add-to-cart across the whole store, see Templates Rocket Buy Now Pro's catalog-wide direct checkout.

= Can I send only one product to checkout? =

Yes. Turn on **"Empty cart before direct purchase"** and Buy Now sends only the selected product to checkout, removing any other items first — so the shopper never sees leftover items at checkout.

= Can I replace the Add to Cart button with Buy Now? =

Yes. In **WooCommerce > Templates Rocket Buy Now** turn on **"Buy Now only (hide Add to Cart)"** and the theme's Add to Cart button is hidden on product pages where Buy Now appears, leaving Buy Now as the single action. It's off by default, so out of the box both buttons show side by side. To replace Add to Cart on a per-product basis or across shop and category pages, see Templates Rocket Buy Now Pro.

= Does it work with variable products? =

Yes. The Buy Now button works on simple and variable products, using WooCommerce's native variation handling. Grouped and external products don't map to a single Buy Now action, so the button doesn't show on them — those pages are left untouched.

= Can I change the colour of the Buy Now button? =

Yes. By default the button inherits your theme's styling so it always matches your store. In **WooCommerce > Templates Rocket Buy Now** switch "Button style" to **Custom colours** and pick the background and text colour. Per-product colours and text are part of Templates Rocket Buy Now Pro.

= Will it slow down my store? =

No. The free version ships zero front-end JavaScript, and its small stylesheet loads only on product pages.

= Does it support the block checkout and HPOS? =

Yes to both. It redirects to your checkout page whatever its type, and declares full High-Performance Order Storage compatibility.

= Does it collect any data? =

No. Templates Rocket Buy Now stores only its own settings and makes no external requests.

== Screenshots ==

1. The Buy Now button on a single product page, below Add to Cart.
2. The Templates Rocket Buy Now settings screen under the WooCommerce menu.

== Changelog ==

= 1.2.0 =
* The Buy Now button now works on variable products too, using WooCommerce's native variation handling.
* More reliable on stores that use full-page caching.
* Plugin renamed to "Templates Rocket Buy Now for WooCommerce".
* Copy and housekeeping refinements.

= 1.1.0 =
* New: Button style options — keep the theme-native look (default, inherits your theme's buttons) or switch to custom background and text colours.

= 1.0.1 =
* New: "Buy Now only" option — hide the Add to Cart button on product pages where Buy Now appears, leaving Buy Now as the single action (off by default).

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.2.0 =
The Buy Now button now works on variable products, plus copy refinements.

= 1.1.0 =
Adds theme-native button styling with optional custom colours.

= 1.0.1 =
Adds an optional "Buy Now only" mode that hides the Add to Cart button.

= 1.0.0 =
Initial release of Templates Rocket Buy Now.
