Plugin Directory

Changeset 3436190


Ignore:
Timestamp:
01/09/2026 05:52:16 PM (6 weeks ago)
Author:
digitallychee
Message:

Updated plugin code for version 1.0.2

Location:
dl-order-boost
Files:
9 edited

Legend:

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

    r3411483 r3436190  
    1 *** Order Boost — First & Second Order Discounts ***
     1*** Order Boost — First Order Discounts ***
     2
     32026-01-09 - version 1.0.2
     4* Minor internal code refactoring.
    25
    362025-12-04 - version 1.0.1
  • dl-order-boost/tags/1.0.2/dl-order-boost.php

    r3411483 r3436190  
    11<?php
    22/**
    3  * Plugin Name: Order Boost — First & Second Order Discounts
    4  * Description: Reward first-time buyers with automatic discounts — and upgrade to Pro for second-order rewards. Simple, fast WooCommerce conversion boost.
    5  * Version: 1.0.1
     3 * Plugin Name: Order Boost — First Order Discounts
     4 * Description: Reward first-time buyers with automatic discounts. Simple, fast WooCommerce conversion boost.
     5 * Version: 1.0.2
    66 * Requires at least: 6.0
    77 * Requires PHP: 7.4
    88 * WC requires at least: 8.0
    9  * WC tested up to: 10.3.6
     9 * WC tested up to: 10.4.3
    1010 * Author: Digital Lychee Creative Limited
    1111 * Author URI: https://digitallychee.com
     
    135135        add_submenu_page(
    136136            $parent,
    137             __('Order Boost — First & Second Order Discounts', 'dl-order-boost'),
     137            __('Order Boost — First Order Discounts', 'dl-order-boost'),
    138138            __('Order Boost', 'dl-order-boost'),
    139139            'manage_woocommerce',
     
    151151        ?>
    152152        <div class="wrap">
    153             <h1><?php esc_html_e('Order Boost — First & Second Order Discounts', 'dl-order-boost'); ?></h1>
     153            <h1><?php esc_html_e('Order Boost — First Order Discounts', 'dl-order-boost'); ?></h1>
     154
     155            <br />
     156
    154157            <form method="post" action="options.php">
    155158                <?php
     
    164167                                <input type="checkbox" name="<?php echo esc_attr(self::OPTION_KEY); ?>[enabled]" value="yes"
    165168                                    <?php checked($opts['enabled'], 'yes'); ?> />
    166                                 <?php esc_html_e('Enable automatic first or second order discount', 'dl-order-boost'); ?>
     169                                <?php esc_html_e('Enable automatic first order discount', 'dl-order-boost'); ?>
    167170                            </label>
    168171                        </td>
     
    177180                                <?php esc_html_e('Apply to first order', 'dl-order-boost'); ?>
    178181                            </label>
    179                             <br />
    180                             <label style="opacity: 0.6;">
    181                                 <input type="radio" name="<?php echo esc_attr(self::OPTION_KEY); ?>[eligible_order]"
    182                                     value="second" disabled="disabled" />
    183                                 <?php esc_html_e('Apply to second order (Pro only)', 'dl-order-boost'); ?>
    184                             </label>
    185182                            <p class="description">
    186183                                <?php esc_html_e('Discount is based on the number of paid orders (processing, completed, or on-hold) for the customer account or their billing email for guest checkouts.', 'dl-order-boost'); ?>
    187                                 <?php
    188                                 /* translators: %s: link to the Pro version sales page. */
    189                                 printf(
    190                                     wp_kses_post(
    191                                         /* translators: %s: link to the Pro version sales page. */
    192                                         __('Unlock second-order discounts with the <a href="%s" target="_blank">Pro version</a>.', 'dl-order-boost')
    193                                     ),
    194                                     esc_url('https://checkout.freemius.com/plugin/21931/plan/36625/')
    195                                 );
    196                                 ?>
    197184                            </p>
    198185                        </td>
  • dl-order-boost/tags/1.0.2/readme.txt

    r3411483 r3436190  
    1 === Order Boost — First & Second Order Discounts ===
     1=== Order Boost — First Order Discounts ===
    22Contributors: digitallychee
    33Tags: woocommerce, discount, coupon, first order, new customer
     
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPL-3.0-or-later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
    10 Auto-apply a discount to first orders and unlock second-order rewards in Pro. Boost sales with simple, automated WooCommerce incentives.
     10Reward first-time buyers with automatic discounts. Simple, fast WooCommerce conversion boost.
    1111
    1212== Description ==
     
    2222
    2323**Where to configure**
    24 - Go to **Marketing → First & Second Order Discounts**.
     24- Go to **Marketing → First Order Discounts**.
    2525
    2626**Why a fee and not a coupon?**
     
    3030- In the block-based checkout, WooCommerce only recalculates totals once enough billing details are entered to validate the customer. Typing an email alone will not immediately update prices — but any eligible discount is always applied automatically before the order is completed.
    3131
    32 == Pro Version ==
    33 
    34 Enhance your store’s incentives with First & Second Order Discounts Pro, which expands the free plugin’s functionality by allowing discounts to be applied to either the first or the second order.
    35 
    36 **What the Pro version adds**
    37 - Apply the automatic discount to the second order, not just the first
    38 - Use the same configurable rule set (type, amount, minimum subtotal, taxability, sale-item rules, etc.)
    39 - Includes priority support and ongoing updates
    40 
    41 **Why upgrade?**
    42 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, and no marketing automation required.
    43 
    44 **Get Pro**
    45 Purchase a licence here:
    46 [👉 Buy an Order Boost Pro licence](https://checkout.freemius.com/plugin/21931/plan/36625/)
    47 
    4832== Installation ==
    4933
    50 1. Upload the plugin folder to `/wp-content/plugins/first-second-order-discounts/` or install via ZIP.
     341. Upload the plugin folder to `/wp-content/plugins/dl-order-boost/` or install via ZIP.
    51352. Activate the plugin.
    52 3. Visit **Marketing → First & Second Order Discounts** and set your defaults (type, amount, threshold, etc.).
     363. Visit **Marketing → Order Boost** and set your defaults (type, amount, threshold, etc.).
    5337
    5438== Frequently Asked Questions ==
     
    6347= Does the discount appear as soon as a guest types their email in the block checkout? =
    6448Discount eligibility for guest customers is checked as part of WooCommerce's checkout totals calculation. Simply entering an email address does not trigger totals to update in the block-based checkout. WooCommerce recalculates totals automatically once the customer completes their billing details
    65 (for example, after address fields are filled or when using autofill). At that point, any eligible
    66 first-order discount will appear. The discount will always be applied before the order is placed
    67 if the customer is eligible.
     49(for example, after address fields are filled or when using autofill). At that point, any eligible first-order discount will appear. The discount will always be applied before the order is placed if the customer is eligible.
    6850
    6951= Does this plugin create a coupon code? =
     
    8769== Changelog ==
    8870
     71= 1.0.2 — 2026-01-09 =
     72* Minor internal code refactoring.
     73
    8974= 1.0.1 — 2025-12-04 =
    9075* Improved discount eligibility detection for guest customers.
     
    9883== Upgrade Notice ==
    9984
    100 = 1.0.1 =
    101 Improves discount detection for guest customers — now automatically applies first-order discounts as soon as a valid email is entered at checkout.
     85= 1.0.2 =
     86Minor internal code refactoring - still works the same!
    10287
    10388== Uninstall ==
    10489
    105 The plugin includes an `uninstall.php` that **fully deletes** its saved options (`dl-first-order-discount_settings_v1`). Multisite-safe.
     90The plugin includes an `uninstall.php` that **fully deletes** its saved options (`dl_order_boost_settings_v1`). Multisite-safe.
    10691
    10792== Author ==
  • dl-order-boost/trunk/changelog.txt

    r3411483 r3436190  
    1 *** Order Boost — First & Second Order Discounts ***
     1*** Order Boost — First Order Discounts ***
     2
     32026-01-09 - version 1.0.2
     4* Minor internal code refactoring.
    25
    362025-12-04 - version 1.0.1
  • dl-order-boost/trunk/dl-order-boost.php

    r3411483 r3436190  
    11<?php
    22/**
    3  * Plugin Name: Order Boost — First & Second Order Discounts
    4  * Description: Reward first-time buyers with automatic discounts — and upgrade to Pro for second-order rewards. Simple, fast WooCommerce conversion boost.
    5  * Version: 1.0.1
     3 * Plugin Name: Order Boost — First Order Discounts
     4 * Description: Reward first-time buyers with automatic discounts. Simple, fast WooCommerce conversion boost.
     5 * Version: 1.0.2
    66 * Requires at least: 6.0
    77 * Requires PHP: 7.4
    88 * WC requires at least: 8.0
    9  * WC tested up to: 10.3.6
     9 * WC tested up to: 10.4.3
    1010 * Author: Digital Lychee Creative Limited
    1111 * Author URI: https://digitallychee.com
     
    135135        add_submenu_page(
    136136            $parent,
    137             __('Order Boost — First & Second Order Discounts', 'dl-order-boost'),
     137            __('Order Boost — First Order Discounts', 'dl-order-boost'),
    138138            __('Order Boost', 'dl-order-boost'),
    139139            'manage_woocommerce',
     
    151151        ?>
    152152        <div class="wrap">
    153             <h1><?php esc_html_e('Order Boost — First & Second Order Discounts', 'dl-order-boost'); ?></h1>
     153            <h1><?php esc_html_e('Order Boost — First Order Discounts', 'dl-order-boost'); ?></h1>
     154
     155            <br />
     156
    154157            <form method="post" action="options.php">
    155158                <?php
     
    164167                                <input type="checkbox" name="<?php echo esc_attr(self::OPTION_KEY); ?>[enabled]" value="yes"
    165168                                    <?php checked($opts['enabled'], 'yes'); ?> />
    166                                 <?php esc_html_e('Enable automatic first or second order discount', 'dl-order-boost'); ?>
     169                                <?php esc_html_e('Enable automatic first order discount', 'dl-order-boost'); ?>
    167170                            </label>
    168171                        </td>
     
    177180                                <?php esc_html_e('Apply to first order', 'dl-order-boost'); ?>
    178181                            </label>
    179                             <br />
    180                             <label style="opacity: 0.6;">
    181                                 <input type="radio" name="<?php echo esc_attr(self::OPTION_KEY); ?>[eligible_order]"
    182                                     value="second" disabled="disabled" />
    183                                 <?php esc_html_e('Apply to second order (Pro only)', 'dl-order-boost'); ?>
    184                             </label>
    185182                            <p class="description">
    186183                                <?php esc_html_e('Discount is based on the number of paid orders (processing, completed, or on-hold) for the customer account or their billing email for guest checkouts.', 'dl-order-boost'); ?>
    187                                 <?php
    188                                 /* translators: %s: link to the Pro version sales page. */
    189                                 printf(
    190                                     wp_kses_post(
    191                                         /* translators: %s: link to the Pro version sales page. */
    192                                         __('Unlock second-order discounts with the <a href="%s" target="_blank">Pro version</a>.', 'dl-order-boost')
    193                                     ),
    194                                     esc_url('https://checkout.freemius.com/plugin/21931/plan/36625/')
    195                                 );
    196                                 ?>
    197184                            </p>
    198185                        </td>
  • dl-order-boost/trunk/readme.txt

    r3411483 r3436190  
    1 === Order Boost — First & Second Order Discounts ===
     1=== Order Boost — First Order Discounts ===
    22Contributors: digitallychee
    33Tags: woocommerce, discount, coupon, first order, new customer
     
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPL-3.0-or-later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
    10 Auto-apply a discount to first orders and unlock second-order rewards in Pro. Boost sales with simple, automated WooCommerce incentives.
     10Reward first-time buyers with automatic discounts. Simple, fast WooCommerce conversion boost.
    1111
    1212== Description ==
     
    2222
    2323**Where to configure**
    24 - Go to **Marketing → First & Second Order Discounts**.
     24- Go to **Marketing → First Order Discounts**.
    2525
    2626**Why a fee and not a coupon?**
     
    3030- In the block-based checkout, WooCommerce only recalculates totals once enough billing details are entered to validate the customer. Typing an email alone will not immediately update prices — but any eligible discount is always applied automatically before the order is completed.
    3131
    32 == Pro Version ==
    33 
    34 Enhance your store’s incentives with First & Second Order Discounts Pro, which expands the free plugin’s functionality by allowing discounts to be applied to either the first or the second order.
    35 
    36 **What the Pro version adds**
    37 - Apply the automatic discount to the second order, not just the first
    38 - Use the same configurable rule set (type, amount, minimum subtotal, taxability, sale-item rules, etc.)
    39 - Includes priority support and ongoing updates
    40 
    41 **Why upgrade?**
    42 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, and no marketing automation required.
    43 
    44 **Get Pro**
    45 Purchase a licence here:
    46 [👉 Buy an Order Boost Pro licence](https://checkout.freemius.com/plugin/21931/plan/36625/)
    47 
    4832== Installation ==
    4933
    50 1. Upload the plugin folder to `/wp-content/plugins/first-second-order-discounts/` or install via ZIP.
     341. Upload the plugin folder to `/wp-content/plugins/dl-order-boost/` or install via ZIP.
    51352. Activate the plugin.
    52 3. Visit **Marketing → First & Second Order Discounts** and set your defaults (type, amount, threshold, etc.).
     363. Visit **Marketing → Order Boost** and set your defaults (type, amount, threshold, etc.).
    5337
    5438== Frequently Asked Questions ==
     
    6347= Does the discount appear as soon as a guest types their email in the block checkout? =
    6448Discount eligibility for guest customers is checked as part of WooCommerce's checkout totals calculation. Simply entering an email address does not trigger totals to update in the block-based checkout. WooCommerce recalculates totals automatically once the customer completes their billing details
    65 (for example, after address fields are filled or when using autofill). At that point, any eligible
    66 first-order discount will appear. The discount will always be applied before the order is placed
    67 if the customer is eligible.
     49(for example, after address fields are filled or when using autofill). At that point, any eligible first-order discount will appear. The discount will always be applied before the order is placed if the customer is eligible.
    6850
    6951= Does this plugin create a coupon code? =
     
    8769== Changelog ==
    8870
     71= 1.0.2 — 2026-01-09 =
     72* Minor internal code refactoring.
     73
    8974= 1.0.1 — 2025-12-04 =
    9075* Improved discount eligibility detection for guest customers.
     
    9883== Upgrade Notice ==
    9984
    100 = 1.0.1 =
    101 Improves discount detection for guest customers — now automatically applies first-order discounts as soon as a valid email is entered at checkout.
     85= 1.0.2 =
     86Minor internal code refactoring - still works the same!
    10287
    10388== Uninstall ==
    10489
    105 The plugin includes an `uninstall.php` that **fully deletes** its saved options (`dl-first-order-discount_settings_v1`). Multisite-safe.
     90The plugin includes an `uninstall.php` that **fully deletes** its saved options (`dl_order_boost_settings_v1`). Multisite-safe.
    10691
    10792== Author ==
Note: See TracChangeset for help on using the changeset viewer.