Changeset 3457198
- Timestamp:
- 02/09/2026 03:14:18 PM (12 days ago)
- Location:
- dl-order-boost/trunk
- Files:
-
- 3 edited
-
changelog.txt (modified) (1 diff)
-
dl-order-boost.php (modified) (5 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dl-order-boost/trunk/changelog.txt
r3436190 r3457198 1 1 *** Order Boost — First Order Discounts *** 2 3 2026-02-04 - version 1.0.3 4 * Minor internal code refactoring. 5 * Clearer path to upgrade to the Pro version, for enhanced benefits. 2 6 3 7 2026-01-09 - version 1.0.2 -
dl-order-boost/trunk/dl-order-boost.php
r3436190 r3457198 3 3 * Plugin Name: Order Boost — First Order Discounts 4 4 * Description: Reward first-time buyers with automatic discounts. Simple, fast WooCommerce conversion boost. 5 * Version: 1.0. 25 * Version: 1.0.3 6 6 * Requires at least: 6.0 7 * Requires PHP: 7.47 * Requires PHP: 8.3 8 8 * WC requires at least: 8.0 9 9 * WC tested up to: 10.4.3 … … 14 14 * Text Domain: dl-order-boost 15 15 * Domain Path: /languages 16 * Requires Plugins: woocommerce 16 17 * 17 18 * Copyright (C) 2025 Digital Lychee Creative Limited … … 34 35 exit; 35 36 37 /** 38 * Define constants 39 */ 40 define('DL_ORDER_BOOST_PLUGIN_URL', 'https://woocommerce.com/products/dl-order-boost-pro'); 41 36 42 // Declare HPOS (High-Performance Order Storage) compatibility for WooCommerce 37 43 add_action('before_woocommerce_init', function () { 38 44 if (class_exists('\Automattic\WooCommerce\Utilities\FeaturesUtil')) { 39 45 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility('custom_order_tables', __FILE__, true); 46 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility('cart_checkout_blocks', __FILE__, true); 40 47 } 41 48 }); … … 71 78 public function action_links($links) 72 79 { 73 $url = admin_url('admin.php?page=' . self::MENU_SLUG); // MENU_SLUG = 'first_second_order_discounts' 74 array_unshift($links, '<a href="' . esc_url($url) . '">' . esc_html__('Settings', 'dl-order-boost') . '</a>'); 80 $settings_url = admin_url( 81 'admin.php?page=' . self::MENU_SLUG 82 ); 83 84 $settings_link = sprintf( 85 '<a href="%1$s">%2$s</a>', 86 esc_url($settings_url), 87 esc_html__('Settings', 'dl-order-boost') 88 ); 89 90 $upgrade_link = sprintf( 91 '<a href="%1$s" target="_blank" rel="noopener noreferrer">%2$s</a>', 92 esc_url(DL_ORDER_BOOST_PLUGIN_URL), 93 esc_html__('Upgrade to Pro', 'dl-order-boost') 94 ); 95 96 array_unshift($links, $upgrade_link); 97 array_unshift($links, $settings_link); 75 98 return $links; 76 99 } … … 152 175 <div class="wrap"> 153 176 <h1><?php esc_html_e('Order Boost — First Order Discounts', 'dl-order-boost'); ?></h1> 154 155 177 <br /> 156 178 <div class="notice notice-info" style="margin-top: 15px;"> 179 <p> 180 <?php esc_html_e('Want to add discounts to a customer\'s second order as an added incentive? Upgrade to Order Boost Pro.', 'dl-order-boost'); ?> 181 <a href="https://woocommerce.com/products/dl-order-boost-pro" target="_blank" rel="noopener noreferrer"> 182 <?php esc_html_e('Learn more', 'dl-order-boost'); ?> 183 </a> 184 </p> 185 </div> 186 <br /> 157 187 <form method="post" action="options.php"> 158 188 <?php -
dl-order-boost/trunk/readme.txt
r3436190 r3457198 4 4 Requires at least: 6.0 5 5 Tested up to: 6.9 6 Requires PHP: 7.47 Stable tag: 1.0. 26 Requires PHP: 8.3 7 Stable tag: 1.0.3 8 8 License: GPL-3.0-or-later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 26 26 **Why a fee and not a coupon?** 27 27 - Predictable totals, minimal conflicts with coupon logic, and clearer reporting. Need a real coupon? You can filter the label or adapt to an auto-applied coupon if preferred. 28 29 == Pro Version == 30 31 Enhance your store's incentives with Order Boost Pro - First & Second Order Discounts, which expands the free plugin's functionality by allowing discounts to be applied to either the first or the second order. 32 33 **What the Pro version adds** 34 - Apply the automatic discount to the second order, not just the first 35 - Use the same configurable rule set (type, amount, minimum subtotal, taxability, sale-item rules, etc.) 36 - Includes priority support and ongoing updates 37 38 **Why upgrade?** 39 Rewarding returning customers is an effective way to increase repeat purchases. The Pro version makes this effortless by applying your discount logic to a customer's second order-no coupons, no manual setup. 40 41 **Get Pro** 42 Purchase a licence here: 43 [Buy an Order Boost Pro licence](https://woocommerce.com/products/dl-order-boost-pro) 28 44 29 45 **💡 Note:** … … 69 85 == Changelog == 70 86 87 = 1.0.3 - 2026-02-04 = 88 * Minor internal code refactoring. 89 * Clearer path to upgrade to the Pro version, for enhanced benefits. 90 71 91 = 1.0.2 — 2026-01-09 = 72 92 * Minor internal code refactoring. … … 83 103 == Upgrade Notice == 84 104 85 = 1.0. 2=86 Minor internal code refactoring - still works the same!105 = 1.0.3 = 106 Minor internal code refactoring (and a clear upgrade path) - still works the same! 87 107 88 108 == Uninstall ==
Note: See TracChangeset
for help on using the changeset viewer.