Plugin Directory

Changeset 3457198


Ignore:
Timestamp:
02/09/2026 03:14:18 PM (12 days ago)
Author:
digitallychee
Message:

Update plugin to 1.0.3

Location:
dl-order-boost/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • dl-order-boost/trunk/changelog.txt

    r3436190 r3457198  
    11*** Order Boost — First Order Discounts ***
     2
     32026-02-04 - version 1.0.3
     4* Minor internal code refactoring.
     5* Clearer path to upgrade to the Pro version, for enhanced benefits.
    26
    372026-01-09 - version 1.0.2
  • dl-order-boost/trunk/dl-order-boost.php

    r3436190 r3457198  
    33 * Plugin Name: Order Boost — First Order Discounts
    44 * Description: Reward first-time buyers with automatic discounts. Simple, fast WooCommerce conversion boost.
    5  * Version: 1.0.2
     5 * Version: 1.0.3
    66 * Requires at least: 6.0
    7  * Requires PHP: 7.4
     7 * Requires PHP: 8.3
    88 * WC requires at least: 8.0
    99 * WC tested up to: 10.4.3
     
    1414 * Text Domain: dl-order-boost
    1515 * Domain Path: /languages
     16 * Requires Plugins: woocommerce
    1617 *
    1718 * Copyright (C) 2025 Digital Lychee Creative Limited
     
    3435    exit;
    3536
     37/**
     38 * Define constants
     39 */
     40define('DL_ORDER_BOOST_PLUGIN_URL', 'https://woocommerce.com/products/dl-order-boost-pro');
     41
    3642// Declare HPOS (High-Performance Order Storage) compatibility for WooCommerce
    3743add_action('before_woocommerce_init', function () {
    3844    if (class_exists('\Automattic\WooCommerce\Utilities\FeaturesUtil')) {
    3945        \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility('custom_order_tables', __FILE__, true);
     46        \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility('cart_checkout_blocks', __FILE__, true);
    4047    }
    4148});
     
    7178    public function action_links($links)
    7279    {
    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);
    7598        return $links;
    7699    }
     
    152175        <div class="wrap">
    153176            <h1><?php esc_html_e('Order Boost — First Order Discounts', 'dl-order-boost'); ?></h1>
    154 
    155177            <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 />
    157187            <form method="post" action="options.php">
    158188                <?php
  • dl-order-boost/trunk/readme.txt

    r3436190 r3457198  
    44Requires at least: 6.0
    55Tested up to: 6.9
    6 Requires PHP: 7.4
    7 Stable tag: 1.0.2
     6Requires PHP: 8.3
     7Stable tag: 1.0.3
    88License: GPL-3.0-or-later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    2626**Why a fee and not a coupon?**
    2727- 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
     31Enhance 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?**
     39Rewarding 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**
     42Purchase a licence here:
     43[Buy an Order Boost Pro licence](https://woocommerce.com/products/dl-order-boost-pro)
    2844
    2945**💡 Note:**
     
    6985== Changelog ==
    7086
     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
    7191= 1.0.2 — 2026-01-09 =
    7292* Minor internal code refactoring.
     
    83103== Upgrade Notice ==
    84104
    85 = 1.0.2 =
    86 Minor internal code refactoring - still works the same!
     105= 1.0.3 =
     106Minor internal code refactoring (and a clear upgrade path) - still works the same!
    87107
    88108== Uninstall ==
Note: See TracChangeset for help on using the changeset viewer.