{"id":266570,"date":"2026-01-14T19:46:47","date_gmt":"2026-01-14T19:46:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/buy-in-1-click-for-woocommerce\/"},"modified":"2026-01-14T19:48:44","modified_gmt":"2026-01-14T19:48:44","slug":"buy-in-1-click-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/mri.wordpress.org\/plugins\/buy-in-1-click-for-woocommerce\/","author":23414133,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.5.2","stable_tag":"1.5.2","tested":"6.9.4","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"Buy in 1 Click for WooCommerce","header_author":"Boris Khodakovsky","header_description":"Adds a \"Buy in 1 Click\" button to WooCommerce product pages, allowing customers to place orders instantly with just their phone number.","assets_banners_color":"8d5dec","last_updated":"2026-01-14 19:48:44","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":20,"downloads":210,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.5.2":{"tag":"1.5.2","author":"borisrazzr","date":"2026-01-14 19:48:44"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3439872,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3439872,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3439881,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3439881,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3441124,"resolution":false,"location":"assets","locale":"","contents":"{\"landingPage\":\"\\\/product\\\/portable-power-station\\\/\",\"preferredVersions\":{\"php\":\"8.0\",\"wp\":\"latest\"},\"phpExtensionBundles\":[\"kitchen-sink\"],\"features\":{\"networking\":true},\"steps\":[{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"},{\"step\":\"installPlugin\",\"options\":{\"activate\":true},\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"woocommerce\"}},{\"step\":\"runPHP\",\"code\":\"<?php require_once 'wordpress\\\/wp-load.php'; update_option('woocommerce_store_address', '123 Demo Street'); update_option('woocommerce_store_city', 'Demo City'); update_option('woocommerce_default_country', 'US:CA'); update_option('woocommerce_currency', 'USD'); update_option('woocommerce_calc_taxes', 'no'); ?>\"},{\"step\":\"installTheme\",\"themeZipFile\":{\"resource\":\"wordpress.org\\\/themes\",\"slug\":\"storefront\"},\"options\":{\"activate\":true}},{\"step\":\"installPlugin\",\"options\":{\"activate\":true},\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"buy-in-1-click-for-woocommerce\"}},{\"step\":\"runPHP\",\"code\":\"<?php require_once 'wordpress\\\/wp-load.php'; set_theme_mod('storefront_layout', 'right'); update_option('woocommerce_single_product_sidebar', 'yes'); ?>\"},{\"step\":\"runPHP\",\"code\":\"<?php require_once 'wordpress\\\/wp-load.php'; $product1 = new WC_Product_Simple(); $product1->set_name('Portable Power Station KS 200PS'); $product1->set_slug('portable-power-station'); $product1->set_regular_price('299.99'); $product1->set_sale_price('249.99'); $product1->set_description('High-capacity portable power station perfect for outdoor adventures, emergency backup, or off-grid living. Features multiple output ports and fast charging capability.'); $product1->set_short_description('Powerful 200Wh portable battery with AC outlet, USB ports, and solar charging support.'); $product1->set_status('publish'); $product1->set_catalog_visibility('visible'); $product1->set_stock_status('instock'); $product1->save(); ?>\"},{\"step\":\"runPHP\",\"code\":\"<?php require_once 'wordpress\\\/wp-load.php'; $product2 = new WC_Product_Simple(); $product2->set_name('Wireless Bluetooth Headphones'); $product2->set_slug('wireless-headphones'); $product2->set_regular_price('79.99'); $product2->set_description('Premium noise-canceling wireless headphones with 30-hour battery life. Crystal clear sound quality and comfortable design for all-day wear.'); $product2->set_short_description('High-quality wireless headphones with active noise cancellation.'); $product2->set_status('publish'); $product2->set_catalog_visibility('visible'); $product2->set_stock_status('instock'); $product2->save(); ?>\"},{\"step\":\"runPHP\",\"code\":\"<?php require_once 'wordpress\\\/wp-load.php'; $product3 = new WC_Product_Simple(); $product3->set_name('Smart Fitness Watch'); $product3->set_slug('smart-fitness-watch'); $product3->set_regular_price('199.99'); $product3->set_sale_price('149.99'); $product3->set_description('Track your fitness goals with this advanced smartwatch. Features heart rate monitoring, GPS tracking, sleep analysis, and smartphone notifications.'); $product3->set_short_description('Advanced fitness tracking with heart rate monitor and GPS.'); $product3->set_status('publish'); $product3->set_catalog_visibility('visible'); $product3->set_stock_status('instock'); $product3->save(); ?>\"},{\"step\":\"runPHP\",\"code\":\"<?php require_once 'wordpress\\\/wp-load.php'; $product4 = new WC_Product_Simple(); $product4->set_name('Camping Tent - 4 Person'); $product4->set_slug('camping-tent-4-person'); $product4->set_regular_price('159.99'); $product4->set_description('Spacious 4-person camping tent with easy setup, waterproof design, and excellent ventilation. Perfect for family camping trips and outdoor adventures.'); $product4->set_short_description('Easy-setup waterproof tent for 4 people with storage pockets.'); $product4->set_status('publish'); $product4->set_catalog_visibility('visible'); $product4->set_stock_status('instock'); $product4->save(); ?>\"},{\"step\":\"runPHP\",\"code\":\"<?php require_once 'wordpress\\\/wp-load.php'; $product5 = new WC_Product_Simple(); $product5->set_name('Stainless Steel Water Bottle'); $product5->set_slug('steel-water-bottle'); $product5->set_regular_price('24.99'); $product5->set_description('Keep your drinks cold for 24 hours or hot for 12 hours with this vacuum-insulated stainless steel water bottle. BPA-free and eco-friendly.'); $product5->set_short_description('Insulated 32oz water bottle - keeps drinks cold\\\/hot all day.'); $product5->set_status('publish'); $product5->set_catalog_visibility('visible'); $product5->set_stock_status('instock'); $product5->save(); ?>\"},{\"step\":\"runPHP\",\"code\":\"<?php require_once 'wordpress\\\/wp-load.php'; if (!is_active_widget(false, false, 'woocommerce_product_categories', true)) { $sidebars = get_option('sidebars_widgets'); if (!isset($sidebars['sidebar-1'])) { $sidebars['sidebar-1'] = array(); } $sidebars['sidebar-1'][] = 'woocommerce_product_categories-2'; $sidebars['sidebar-1'][] = 'woocommerce_recent_products-2'; $sidebars['sidebar-1'][] = 'woocommerce_top_rated_products-2'; update_option('sidebars_widgets', $sidebars); $widget_categories = get_option('widget_woocommerce_product_categories', array()); $widget_categories[2] = array('title' => 'Product Categories', 'orderby' => 'name', 'dropdown' => 0, 'count' => 1, 'hierarchical' => 1, 'show_children_only' => 0); update_option('widget_woocommerce_product_categories', $widget_categories); $widget_recent = get_option('widget_woocommerce_recent_products', array()); $widget_recent[2] = array('title' => 'Recent Products', 'number' => 5, 'show_hidden' => 0); update_option('widget_woocommerce_recent_products', $widget_recent); $widget_rated = get_option('widget_woocommerce_top_rated_products', array()); $widget_rated[2] = array('title' => 'Top Rated Products', 'number' => 5, 'show_hidden' => 0); update_option('widget_woocommerce_top_rated_products', $widget_rated); } ?>\"},{\"step\":\"defineWpConfigConsts\",\"consts\":{\"WP_DEBUG\":false,\"WP_DEBUG_LOG\":false,\"WP_DEBUG_DISPLAY\":false}}]}"}},"all_blocks":[],"tagged_versions":["1.5.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3439872,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3439872,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3439874,"resolution":"3","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1509,282,215415,286],"plugin_category":[45],"plugin_contributors":[254003],"plugin_business_model":[],"class_list":["post-266570","plugin","type-plugin","status-publish","hentry","plugin_tags-buy","plugin_tags-ecommerce","plugin_tags-quick-purchase","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-borisrazzr","plugin_committers-borisrazzr"],"banners":{"banner":"https:\/\/ps.w.org\/buy-in-1-click-for-woocommerce\/assets\/banner-772x250.png?rev=3439881","banner_2x":"https:\/\/ps.w.org\/buy-in-1-click-for-woocommerce\/assets\/banner-1544x500.png?rev=3439881","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/buy-in-1-click-for-woocommerce\/assets\/icon-128x128.png?rev=3439872","icon_2x":"https:\/\/ps.w.org\/buy-in-1-click-for-woocommerce\/assets\/icon-256x256.png?rev=3439872","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/buy-in-1-click-for-woocommerce\/assets\/screenshot-1.png?rev=3439872","caption":""},{"src":"https:\/\/ps.w.org\/buy-in-1-click-for-woocommerce\/assets\/screenshot-2.png?rev=3439872","caption":""},{"src":"https:\/\/ps.w.org\/buy-in-1-click-for-woocommerce\/assets\/screenshot-3.png?rev=3439874","caption":""}],"raw_content":"<!--section=description-->\n<p><strong>Buy in 1 Click for WooCommerce<\/strong> adds a fast and frictionless purchasing option to your WooCommerce store. Customers can submit an order directly from the product page by entering their phone number, without going through <strong>the cart or checkout<\/strong> pages. This significantly reduces checkout abandonment and improves <strong>conversion rates<\/strong>.<\/p>\n\n<p>The plugin includes <strong>a powerful admin settings panel<\/strong> with live previews, giving store owners full control over button appearance and input styling \u2014 <strong>no coding required<\/strong>.<\/p>\n\n<p><strong>Key Features:<\/strong>\n* Display a <strong>\"Buy in 1 Click\"<\/strong> button on product pages.\n* Customers can enter their <strong>phone number<\/strong> to place an order in a single click.\n* Automatically creates a WooCommerce order with the <strong>phone number included<\/strong>.\n* Order notes include a clear description: <code>\"Order placed via Buy in 1 Click. Phone: [customer number]\"<\/code>.\n* Fully <strong>translation-ready<\/strong>. All language phrases are stored in the plugin itself; the <code>.mo<\/code> files will be regenerated automatically if you remove the <code>languages<\/code> folder.\n* Lightweight and easy to use, designed to <strong>increase sales and reduce checkout friction<\/strong>.\n* Admin Settings Panel with the following options:\n - Phone mask configuration\n - Button text\n - Button color and hover color\n - Border color and border radius\n - Font weight and button text weight\n - Button font color\n - Button font size (10\u201330px)\n - Phone input font size (10\u201330px)\n - Button and input height \n* Live preview of the button and input fields in the admin panel before saving changes.<\/p>\n\n<p><strong>Supported Languages:<\/strong>\n* English (en_US)\n* Ukrainian (uk_UA)\n* Russian (ru_RU)\n* Polish (pl_PL)\n* Estonian (et_EE)\n* German (de_DE)\n* Spanish (es_ES)\n* French (fr_FR)\n* Italian (it_IT)\n* Dutch (nl_NL)\n* Czech (cs_CZ)\n* Portuguese (pt_PT)\n* Romanian (ro_RO)\n* Bulgarian (bg_BG)\n* Swedish (sv_SE)\n* Danish (da_DK)\n* Greek (el_GR)\n* Georgian (ka_GE)<\/p>\n\n<!--section=installation-->\n<ul>\n<li>Upload the plugin folder to the '\/wp-content\/plugins\/' directory.<\/li>\n<li>Activate the plugin via the Plugins menu in WordPress.<\/li>\n<li>Ensure WooCommerce is installed and active.<\/li>\n<li>Configure appearance and behavior via the plugin's admin settings page.<\/li>\n<li>The <strong>Buy in 1 Click button<\/strong> will appear automatically on WooCommerce product pages.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20work%20with%20woocommerce%3F\"><h3>Does it work with WooCommerce?<\/h3><\/dt>\n<dd><p>Yes, this plugin is designed specifically for WooCommerce products.<\/p><\/dd>\n<dt id=\"can%20i%20customize%20the%20button%20text%20and%20design%3F\"><h3>Can I customize the button text and design?<\/h3><\/dt>\n<dd><p>Yes. The plugin includes a full admin settings panel where you can customize text, colors, fonts, sizes, borders, and dimensions. All changes can be previewed live before saving.<\/p><\/dd>\n<dt id=\"can%20i%20change%20fonts%20and%20styling%20manually%3F\"><h3>Can I change fonts and styling manually?<\/h3><\/dt>\n<dd><p>Yes. Advanced users can further customize styles via the plugin's CSS file, but most styling needs can be handled directly from the admin panel.<\/p><\/dd>\n<dt id=\"is%20the%20plugin%20responsive%3F\"><h3>Is the plugin responsive?<\/h3><\/dt>\n<dd><p>Yes. The button and phone input are fully responsive and adapt automatically to mobile, tablet, and desktop screen sizes.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.5.2<\/h4>\n\n<ul>\n<li>Removed hardcoded WP_LANG_DIR constant - now using load_plugin_textdomain()<\/li>\n<li>Removed hardcoded WP_CONTENT_DIR fallback - now properly handles wp_upload_dir() errors<\/li>\n<\/ul>\n\n<h4>1.5.1<\/h4>\n\n<ul>\n<li>Improved: Orders created via \u201cBuy in 1 Click\u201d now correctly trigger native WooCommerce status transition hooks.<\/li>\n<li>Fixed: Order number mismatch by using the WooCommerce display order number instead of internal order ID for frontend messages and integrations.<\/li>\n<li>Improved: Overall compatibility with WooCommerce notification, automation, and messaging plugins.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Fixed translation system - .mo files now generate correctly on plugin activation<\/li>\n<li>Added complete MO file binary generation according to GNU gettext specification<\/li>\n<li>Added automatic translation file regeneration if missing or deleted<\/li>\n<li>Improved translation loading with proper priority (uploads \u2192 wp-content\/languages \u2192 plugin directory)<\/li>\n<li>Added transient-based checking to prevent performance impact on every page load<\/li>\n<li>Enhanced error logging for translation generation debugging<\/li>\n<li>Translations now properly stored in wp-content\/uploads\/buy-in-1-click-for-woocommerce\/languages\/<\/li>\n<li>Added security measures: .htaccess and index.php files in translations directory<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Fixed all WordPress.org review issues:<\/li>\n<li>Changed architecture to use static CSS\/JS files instead of dynamic generation<\/li>\n<li>Fixed proper escaping for all echoed variables using esc_html__(), esc_attr__(), etc.<\/li>\n<li>Fixed inline CSS generation with proper variable escaping using sprintf()<\/li>\n<li>Fixed core file loading (pomo\/mo.php) with proper class existence check<\/li>\n<li>Removed WP_Filesystem complexity - now using standard static file approach<\/li>\n<li>Fixed admin notices to use esc_html__() instead of __()<\/li>\n<li>Improved compatibility with all hosting environments<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Fixed code quality issues based on WordPress.org review<\/li>\n<li>Improved WooCommerce dependency handling<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added admin settings panel with extensive button and input customization options<\/li>\n<li>Added live preview for button and input fields in the admin area<\/li>\n<li>Added configurable phone mask option<\/li>\n<li>Improved code quality:<\/li>\n<li>Prefixed all declarations, globals, and stored data<\/li>\n<li>Proper script and style loading using wp_enqueue_*<\/li>\n<li>Improved WooCommerce dependency handling<\/li>\n<li>Improved UI consistency and responsiveness<\/li>\n<\/ul>","raw_excerpt":"Add a &quot;Buy in 1 Click&quot; button to WooCommerce product pages and let customers place orders instantly using only their phone number.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mri.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/266570","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mri.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mri.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mri.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=266570"}],"author":[{"embeddable":true,"href":"https:\/\/mri.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/borisrazzr"}],"wp:attachment":[{"href":"https:\/\/mri.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=266570"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mri.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=266570"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mri.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=266570"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mri.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=266570"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mri.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=266570"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mri.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=266570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}