{"id":33976680,"url":"https://github.com/mageprince/magento2-buynow","last_synced_at":"2025-12-13T02:01:40.330Z","repository":{"id":17976188,"uuid":"83112152","full_name":"mageprince/magento2-buynow","owner":"mageprince","description":"The Buy Now extension for Magento 2 enhances the shopping experience by allowing customers to make instant purchases with a single click. It adds a \"Buy Now\" button to product pages, enabling customers to bypass the cart and proceed directly to the checkout page.","archived":false,"fork":false,"pushed_at":"2025-05-04T08:22:13.000Z","size":94,"stargazers_count":83,"open_issues_count":1,"forks_count":36,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-24T08:16:57.988Z","etag":null,"topics":["adobecommerce","buynow","customer-experience","free-extension","free-module","magento2","magento2-extension","magento2-extension-free","magento2-module","magento2-module-free","mageprince","mageprince-buynow","mageprince-extensions"],"latest_commit_sha":null,"homepage":"https://mageprince.github.io/magento2-buynow/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mageprince.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-02-25T06:40:05.000Z","updated_at":"2025-09-02T13:54:14.000Z","dependencies_parsed_at":"2024-05-12T06:29:15.148Z","dependency_job_id":"e8e3ce81-0cb2-4ff6-89ec-775d92f95129","html_url":"https://github.com/mageprince/magento2-buynow","commit_stats":{"total_commits":58,"total_committers":7,"mean_commits":8.285714285714286,"dds":0.6379310344827587,"last_synced_commit":"df2561d4400f3f0b76a59e7b89ae28d5568fc540"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/mageprince/magento2-buynow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mageprince%2Fmagento2-buynow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mageprince%2Fmagento2-buynow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mageprince%2Fmagento2-buynow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mageprince%2Fmagento2-buynow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mageprince","download_url":"https://codeload.github.com/mageprince/magento2-buynow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mageprince%2Fmagento2-buynow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27698293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-13T02:00:09.769Z","response_time":147,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adobecommerce","buynow","customer-experience","free-extension","free-module","magento2","magento2-extension","magento2-extension-free","magento2-module","magento2-module-free","mageprince","mageprince-buynow","mageprince-extensions"],"created_at":"2025-12-13T02:01:39.257Z","updated_at":"2025-12-13T02:01:40.325Z","avatar_url":"https://github.com/mageprince.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Stable Version](https://poser.pugx.org/mageprince/module-buynow/v)](//packagist.org/packages/mageprince/module-buynow)\n[![Total Downloads](https://poser.pugx.org/mageprince/module-buynow/downloads)](//packagist.org/packages/mageprince/module-buynow)\n[![Monthly Downloads](https://poser.pugx.org/mageprince/module-buynow/d/monthly)](//packagist.org/packages/mageprince/module-buynow)\n[![License](https://poser.pugx.org/mageprince/module-buynow/license)](//packagist.org/packages/mageprince/module-buynow)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/mageprince/magento2-buynow/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/mageprince/magento2-buynow/?branch=master)\n[![Code Intelligence Status](https://scrutinizer-ci.com/g/mageprince/magento2-buynow/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence)\n\n# Magento 2 Buy Now \n\nThe Buy Now extension for Magento 2 streamlines the purchase process by adding a “Buy Now” button on product pages. With a single click, customers can skip the cart and go straight to checkout, making quick purchases faster and more convenient.\n\nAdmin Configuration: `Admin \u003e Stores \u003e Configuration \u003e MagePrince \u003e Buy Now`\n\n# 🚀 Installation Instructions\n\n### 1. Install via composer\n\nRun the following command in the Magento 2 root folder:\n\n    composer require mageprince/module-buynow\n    php bin/magento setup:upgrade\n    php bin/magento setup:di:compile\n    php bin/magento setup:static-content:deploy\n\n### 2. Install manually (Not recommended)\n\nCopy the content of the repo to the \u003cb\u003eapp/code/Mageprince/BuyNow\u003c/b\u003e folder and run the following command in the Magento 2 root folder:\n  \n    php bin/magento setup:upgrade\n    php bin/magento setup:di:compile\n    php bin/magento setup:static-content:deploy\n\n# ⚠️ Notice\n\nWe do not provide support for placing the Buy Now button on related products, upsell blocks, wishlist, or any other custom locations, as this would require overriding Magento core .phtml files — something we strongly advise against in extension development. Many free and paid Buy Now modules override core files, which can lead to maintenance and upgrade issues.\n\n# Add Buy Now in custom template\n\nIf you wish to add the button to custom product templates, use following code snippet:\n\n    $buyNowBtnHtml = $this-\u003egetLayout()\n        -\u003ecreateBlock(\\Mageprince\\BuyNow\\Block\\Product\\ListProduct::class)\n        -\u003esetProduct($_item)\n        -\u003esetButtonTitle('Buy Now')\n        -\u003esetTemplate('Mageprince_BuyNow::buynow.phtml')\n        -\u003etoHtml();\n    echo $buyNowBtnHtml;\n\n\u003cb\u003eChange `$_item` to current product object.\u003c/b\u003e\n\nYou can use the code above to display the Buy Now button wherever you want on your product page. Just remember not to paste this code into the add to cart form or any other form. Put the code after `\u003c/form\u003e` tag. Below is a screenshot showing how to use the code.\n\n**Sample template:** _vendor/magento/module-catalog/view/frontend/templates/product/list/items.phtml_\n\n\u003cimg src=\"https://github.com/mageprince/magento2-buynow/assets/24751863/5ad4baf6-5897-4ea4-adda-8244126524c3\" width=\"500\"/\u003e\n\n\n# 🤝 Contribution\n\nWant to contribute to this extension? The quickest way is to \u003ca href=\"https://help.github.com/articles/about-pull-requests/\"\u003eopen a pull request\u003c/a\u003e on GitHub.\n\n# 🛠 Support\n\nIf you encounter any problems or bugs, please \u003ca href=\"https://github.com/mageprince/magento2-buynow/issues\"\u003eopen an issue\u003c/a\u003e on GitHub.\n\n# 📸 Screenshots\n\n### Product view page\n\n\u003cimg width=\"687\" alt=\"Product List Page\" src=\"https://github.com/mageprince/magento2-buynow/assets/24751863/02ca3bcf-76cf-4226-bc57-9618e765abb7\"\u003e\n\n### Product list page\n\n\u003cimg width=\"687\" alt=\"Product List Page\" src=\"https://github.com/mageprince/magento2-buynow/assets/24751863/dfb6ac6c-dcde-4103-b0ab-497971763eef\"\u003e\n\n### Custom product template with buy now code\n\n\u003cimg width=\"687\" alt=\"Custom Product Template\" src=\"https://github.com/mageprince/magento2-buynow/assets/24751863/cce268e2-e2ea-465b-82ca-afc3e0f8d209\"\u003e\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmageprince%2Fmagento2-buynow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmageprince%2Fmagento2-buynow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmageprince%2Fmagento2-buynow/lists"}