The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

539 Modules
305 Ready
196 Need Help
🏆 Leaderboard
Stable v1.0.1

ManiyaTech BuyNow module for Magento 2

maniyatech/magento2-buynow

Adds a "Buy Now" button to product listings and pages, allowing customers to skip the cart and go directly to checkout. Provides a faster purchase process.

1
Downloads
Below average
0
GitHub Stars
6mo ago
Last Release
0
Open Issues
Not Tested
Awaiting results

Build Tests

Composer Install
DI Compile
Templates

Code Quality

Coding Standard
PHPStan

Recent Test History

Each release is tested against the latest Magento version at that time.

No test history available yet.

Share This Module's Status

ManiyaTech BuyNow module for Magento 2 Magento compatibility status badge

README

Loaded from GitHub

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

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

Composer Installation

Run the following command in Magento 2 root directory to install ManiyaTech_BuyNow module via composer.

Install

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

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

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

  • Download the latest version here
  • 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

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.