PHPackages                             maniyatech/magento2-buynow - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. maniyatech/magento2-buynow

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

maniyatech/magento2-buynow
==========================

Instant "Buy Now" button for Magento 2 product pages to speed up checkout and improve user experience.

1.0.1(10mo ago)131proprietaryPHP

Since Jul 2Pushed 10mo agoCompare

[ Source](https://github.com/maniyatech/magento2-buynow)[ Packagist](https://packagist.org/packages/maniyatech/magento2-buynow)[ RSS](/packages/maniyatech-magento2-buynow/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

ManiyaTech BuyNow module for Magento 2
======================================

[](#maniyatech-buynow-module-for-magento-2)

The ManiyaTech Buy Now module for Magento 2 adds a powerful "Buy Now" button to your product listing, view, search, and advanced search pages. It allows customers to bypass the regular add-to-cart flow and proceed directly to checkout — improving conversions and offering a faster purchase experience.

### Key Features

[](#key-features)

- ⚡ Enable/Disable Buy Now Globally: Toggle the entire module with a single switch from admin.
- 📄 Flexible Page Targeting: Enable "Buy Now" on:
- Product listing (category) pages
- Product view (detail) pages
- Search results page
- Advanced search results page

- 🧠 Smart Cart Management: Option to either:
- Empty the cart before Buy Now (single product checkout), or
- Keep existing products in the cart

- ✏️ Customizable Button Title: Set your own Buy Now button label via system config.
- 🧩 Injectable Custom Button Code: Easily add the "Buy Now" button to custom templates using the provided HTML snippet.
- 🔐 FormKey &amp; Session Validation: Secure request handling ensures Magento standards are met.
- ✅ Admin Configuration Ready: Fully integrated with Magento's native system config for seamless backend control.

Add Buy Now in custom template
==============================

[](#add-buy-now-in-custom-template)

If you wish to add the button to custom product templates, use following code snippet:

```
    $buyNowBtnHtml = $this->getLayout()
        ->createBlock(\ManiyaTech\BuyNow\Block\Product\ListProduct::class)
        ->setProduct($_item)
        ->setButtonTitle('Buy Now')
        ->setTemplate('ManiyaTech_BuyNow::buynow.phtml')
        ->toHtml();
    echo $buyNowBtnHtml;

```

**Change `$_item` to current product object.**

How to install ManiyaTech\_BuyNow module
----------------------------------------

[](#how-to-install-maniyatech_buynow-module)

### Composer Installation

[](#composer-installation)

Run the following command in Magento 2 root directory to install ManiyaTech\_BuyNow module via composer.

#### Install

[](#install)

```
composer require maniyatech/magento2-buynow
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f

```

#### Update

[](#update)

```
composer update maniyatech/magento2-buynow
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f

```

Run below command if your store is in the production mode:

```
php bin/magento setup:di:compile

```

### Manual Installation

[](#manual-installation)

If you prefer to install this module manually, kindly follow the steps described below -

- Download the latest version [here](https://github.com/maniyatech/magento2-buynow/archive/refs/heads/main.zip)
- Create a folder path like this `app/code/ManiyaTech/BuyNow` and extract the `main.zip` file into it.
- Navigate to Magento root directory and execute the below commands.

```
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance58

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

310d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1941031ea7970e008ac6ff65755ae30980eb8f9c99bd94822c9df79f293f3a35?d=identicon)[milan-maniya](/maintainers/milan-maniya)

---

Top Contributors

[![milan-maniya](https://avatars.githubusercontent.com/u/209621143?v=4)](https://github.com/milan-maniya "milan-maniya (3 commits)")

---

Tags

buynowmagento2magento2-extensionmagento2-extension-freemagento2-modulemaniyatech

### Embed Badge

![Health badge](/badges/maniyatech-magento2-buynow/health.svg)

```
[![Health](https://phpackages.com/badges/maniyatech-magento2-buynow/health.svg)](https://phpackages.com/packages/maniyatech-magento2-buynow)
```

###  Alternatives

[shipmonk/name-collision-detector

Simple tool to find ambiguous classes or any other name duplicates within your project.

362.1M34](/packages/shipmonk-name-collision-detector)[bostondv/bootstrap-ninja-forms

Adds Bootstrap classes to Ninja Forms

222.2k](/packages/bostondv-bootstrap-ninja-forms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
