Plugin Directory

Changeset 3275305


Ignore:
Timestamp:
04/17/2025 04:53:33 AM (12 months ago)
Author:
morganhvidt
Message:

update checkout countdown

Location:
checkout-countdown-for-woocommerce/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • checkout-countdown-for-woocommerce/trunk/assets/checkout-countdown.js

    r3115281 r3275305  
    223223            ccfwooController.triggerEvent("document", "ccfwooFinishedCounting", true);
    224224        }, 1000);
    225         // Wait 5 seconds and display default text.
     225        // Wait 6 seconds and display default text.
    226226        setTimeout(function () {
    227227            // stop here if we are still counting.
     
    248248    let string = ccfwooLocal.countdown_text.replace(
    249249        "{minutes}",
    250         duration.minutes
     250        duration.minutes,
    251251    );
    252252    string = string.replace("{seconds}", duration.seconds);
     
    328328    const days = Math.floor(diff / 1000 / 60 / 60 / 24 - weekdays * 7);
    329329    const hours = Math.floor(
    330         diff / 1000 / 60 / 60 - weekdays * 7 * 24 - days * 24
     330        diff / 1000 / 60 / 60 - weekdays * 7 * 24 - days * 24,
    331331    );
    332332    const minutes = Math.floor(
    333         diff / 1000 / 60 - weekdays * 7 * 24 * 60 - days * 24 * 60 - hours * 60
     333        diff / 1000 / 60 - weekdays * 7 * 24 * 60 - days * 24 * 60 - hours * 60,
    334334    );
    335335    const seconds = Math.floor(
     
    338338            days * 24 * 60 * 60 -
    339339            hours * 60 * 60 -
    340             minutes * 60
     340            minutes * 60,
    341341    );
    342342    const milliseconds = Math.floor(
     
    346346            hours * 60 * 60 * 1000 -
    347347            minutes * 60 * 1000 -
    348             seconds * 1000
     348            seconds * 1000,
    349349    );
    350350
  • checkout-countdown-for-woocommerce/trunk/checkout-countdown-for-woocommerce.php

    r3187246 r3275305  
    33 * Plugin Name:       Checkout Countdown for WooCommerce
    44 * Description:       A flexible WooCommerce cart/checkout countdown to help improve cart conversion.
    5  * Version:           4.0.1
     5 * Version:           4.0.2
    66 * Author:            Puri.io
    77 * Author URI:        https://puri.io/
    88 * Text Domain:       checkout-countdown-for-woocommerce
     9
    910 * Domain Path:       /languages/
    1011 *
     
    9697        $this->constants = array(
    9798            'name' => 'Checkout Countdown for WooCommerce',
    98             'version' => '4.0.1',
     99            'version' => '4.0.2',
    99100            'prefix' => 'ccfwoo',
    100101            'admin_page' => 'checkout-countdown',
  • checkout-countdown-for-woocommerce/trunk/functions/enqueue.php

    r3187246 r3275305  
    66function ccfwoo_core_enqueue_scripts() {
    77
    8     wp_enqueue_style( 'ccfwoo-style', plugin_dir_url( __FILE__ ) . '../assets/checkout-countdown.css', array(), '4.0.1' );
     8    wp_enqueue_style( 'ccfwoo-style', plugin_dir_url( __FILE__ ) . '../assets/checkout-countdown.css', array(), '4.0.2' );
    99
    1010    if ( ccfwoo_get_option( 'bar_position', false, 'top' ) === 'top' ) {
     
    2929
    3030    // Load Javascript and Access settings as variables.
    31     wp_enqueue_script( 'ccfwoo-countdown', plugin_dir_url( __FILE__ ) . '../assets/checkout-countdown.min.js', array(), '4.0.1', true );
     31    wp_enqueue_script( 'ccfwoo-countdown', plugin_dir_url( __FILE__ ) . '../assets/checkout-countdown.min.js', array(), '4.0.2', true );
    3232
    3333    $countdown_text = sprintf(
  • checkout-countdown-for-woocommerce/trunk/languages/checkout-countdown-for-woocommerce.pot

    r3187246 r3275305  
    1 # Copyright (C) 2024 checkout-countdown-for-woocommerce
     1# Copyright (C) 2025 checkout-countdown-for-woocommerce
    22# This file is distributed under the same license as the checkout-countdown-for-woocommerce package.
    33msgid ""
     
    99"Language-Team: Puri.io\n"
    1010"Last-Translator: Puri.io\n"
    11 "POT-Creation-Date: 2024-11-13 08:51+0000\n"
     11"POT-Creation-Date: 2025-04-17 04:51+0000\n"
    1212"X-Poedit-Basepath: ..\n"
    1313"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
     
    1717"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    1818
    19 #: dist/checkout-countdown-for-woocommerce/checkout-countdown-for-woocommerce.php:53
     19#: dist/checkout-countdown-for-woocommerce/checkout-countdown-for-woocommerce.php:54
    2020msgid "Update required to Checkout Countdown Pro 3.0+ or downgrade to Checkout Countdown Free 2.4.4"
    2121msgstr ""
  • checkout-countdown-for-woocommerce/trunk/readme.txt

    r3187246 r3275305  
    22
    33Contributors: morganhvidt
    4 Tags: product, cart, checkout, countdown, timer
     4Tags: product, counter, checkout, countdown, timer
    55Author URI: https://puri.io/
    66Author: Morgan Hvidt
    77Donate link: https://www.paypal.me/morganhvidt/
    88Requires at least: 5.0
    9 Tested up to: 6.7
     9Tested up to: 6.8
    1010Requires PHP: 7.4
    1111Stable tag: trunk
     
    1313License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1414
    15 Boost cart conversion, reduce abandoned carts, and optimize your WooCommerce sales with Checkout Countdown. Our countdown timer starts once products are added to the cart, creating a sense of urgency that encourages customers to complete their purchase.
     15The Countdown Bar for WooCommerce Products to improve your Cart & Checkout Flow
    1616
    1717## Description
    1818
    19 Checkout Countdown for WooCommerce is an easy-to-use cart timer that increases cart conversion by adding a countdown timer as soon as any product is added to the cart. Reduce cart abandonment by letting your customers know exactly how long their order can be reserved. Our plugin goes beyond just a product timer; it's a comprehensive solution for sales optimization in your eCommerce store.
     19Tired of abandoned carts? Checkout Countdown for WooCommerce helps you **recover lost sales** by adding a clear **countdown timer** the moment a product hits the cart. This simple **cart timer** creates urgency, reminding customers their items are reserved for a limited time, and encourages them to complete their purchase faster. It's an easy-to-use, effective tool for **boosting conversions** and optimizing your checkout flow.
    2020
    2121### Boost Sales with WooCommerce Checkout Countdown
    2222
    23 Checkout Countdown for WooCommerce is designed to boost your sales by creating a sense of urgency. The countdown timer encourages customers to complete their purchases, thereby reducing cart abandonment and increasing conversion rates.
     23Checkout Countdown for WooCommerce is designed to **boost your sales** by creating a tangible sense of urgency. The countdown timer encourages customers to complete their purchases, thereby **reducing cart abandonment** and **increasing conversion rates**.
    2424
    2525### Easy to Use WooCommerce Cart Timer
    2626
    27 Our plugin is user-friendly and easy to set up. With a range of customization options, you can tailor the countdown timer to match your store's branding and meet your specific needs.
     27Our plugin is **user-friendly and quick to set up**. With a range of customization options, you can easily tailor the countdown timer to **match your store's branding** and meet your specific needs.
    2828
    2929### Optimize Your eCommerce Store with Checkout Countdown
    3030
    31 Sales optimization is crucial for the success of any eCommerce store. Our Checkout Countdown plugin contributes to the overall optimization of your WooCommerce store by enhancing the checkout process and improving customer experience.
     31Sales optimization is crucial. Our Checkout Countdown plugin contributes to the overall optimization of your WooCommerce store by **enhancing the checkout process** and **improving customer experience** with clear time expectations.
    3232
    3333### Create Urgency in eCommerce with Checkout Countdown
    3434
    35 The psychology of urgency in eCommerce is a powerful tool that can significantly boost sales. Our Checkout Countdown plugin capitalizes on this concept by adding a countdown timer to the cart, encouraging customers to complete their purchases before the timer runs out.
     35The psychology of urgency is powerful. Our Checkout Countdown plugin capitalizes on this by adding a visible countdown timer to the cart, **motivating customers to act now** and complete their purchases before the timer runs out.
    3636
    3737### Improve Conversion Rates with Checkout Countdown
    3838
    39 Our plugin can help improve your store's conversion rates by reducing cart abandonment. By showing customers how long their order can be reserved, the Checkout Countdown plugin creates a sense of urgency that encourages swift action.
     39Our plugin directly helps **improve your store's conversion rates** by reducing cart abandonment. By showing customers exactly how long their order can be reserved, the Checkout Countdown plugin creates **proven urgency that encourages swift action**.
    4040
    4141### Checkout Countdown for WooCommerce Features
    4242
    43 * **WordPress and WooCommerce Compatibility:** Seamlessly integrates with WordPress 6.3+ and WooCommerce 8+ (HPOS).
    44 * **Dynamic Top Bar and Banner:** Display the countdown across your site. The bar appears only once a product is added to the customer's cart.
    45 * **Pre-cart Banner Message:** Set up a separate banner message for sales marketing that appears before any products have been added to the cart.
    46 * **Adaptable Styles:** Choose from multiple styles for your WooCommerce cart/checkout notice countdown timer. The design adapts to match your theme style.
    47 * **Custom Placement with Shortcode:** Use our easy shortcode, **[checkout_countdown]**, for custom countdown placement.
    48 * **Text Customization:** Personalize countdown text and expired cart text to match your store's voice. * **Color Customization:** Choose your preferred banner background color and font color to align with your brand identity.
    49 * **FOMO Strategy:** Perfect for implementing Fear Of Missing Out strategies and reducing cart abandonment.
     43* **Works Everywhere:** Seamlessly integrates with the latest **WordPress and WooCommerce** versions (including HPOS).
     44* **Show Reservation Time:** Acts as a **product timer** for cart items, clearly showing customers their remaining time.
     45* **Increase Urgency with a Dynamic Countdown Bar/Banner:** Display a highly visible **countdown bar** or banner across your site, appearing only when the cart isn't empty.
     46* **Market Before Cart Adds:** Set up a separate **pre-cart banner message** for sales or informational text.
     47* **Match Your Theme:** Choose from **multiple styles** for the cart/checkout notice timer, adapting to your theme.
     48* **Place it Anywhere:** Use the simple shortcode `[checkout_countdown]` for **custom countdown placement** via hooks or page builders.
     49* **Customize Your Message:** Personalize all **countdown text** and **expired cart text** to fit your brand voice.
     50* **Brand Your Timer:** Choose custom **banner background and font colors**.
     51* **Leverage FOMO:** Perfect for implementing **Fear Of Missing Out** strategies.
    5052
    5153### Ideal for WooCommerce Ticket Sales and Bookings
     
    5355A checkout or cart countdown timer can help your store speed up product sales. It's a valuable addition to WooCommerce Event ticket sales and WooCommerce Bookings.
    5456
    55 ### Unlock More Power with Checkout Countdown Pro
    56 
    57 Looking for more customization and control over your checkout countdown? Checkout Countdown Pro offers a range of extended features:
    58 
    59 * **Cart Clearing:** Empty and clear the WooCommerce cart as a timed event while customers are active on your site.
    60 * **Countdown Looping:** Restart and loop the countdown after it's finished.
    61 * **Countdown Reset:** Reset the countdown when another product is added to the cart.
    62 * **Live Totals Recalculation:** Recalculate the cart and checkout totals with every timer loop. Totals reload live without the page refreshing, so customers don't lose any details at the checkout. Useful for WooCommerce stores with live market rates.
    63 * **AJAX Support:** Start the timer when a product is added to the cart without reloading the page.
    64 * **Custom Redirect:** Redirect customers after the countdown timer has finished.
    65 * **Expiry Message Duration:** Change the display duration of the expiry message.
    66 
    67 [Discover the benefits of Checkout Countdown Pro](https://puri.io/plugin/checkout-countdown-woocommerce/)
     57### Unlock Advanced Sales Strategies with Checkout Countdown Pro
     58
     59Ready to take your sales optimization to the next level? Checkout Countdown Pro offers powerful features for maximum impact:
     60
     61*   **Recover Lost Sales with Cart Clearing:** Automatically empty carts after the timer expires (while customers are active), preventing abandoned items from blocking stock.
     62*   **Maintain Urgency with Countdown Looping:** Automatically restart the countdown after it finishes, perfect for ongoing promotions or high-demand items.
     63*   **Adapt to Cart Changes with Countdown Reset:** Optionally reset the timer when new items are added, giving customers fresh time.
     64*   **Ensure Accuracy with Live Totals Recalculation:** Automatically refresh cart/checkout totals with each loop – vital for dynamic pricing or live rates.
     65*   **Seamless Experience with AJAX Support:** Start the timer instantly on add-to-cart without page reloads.
     66*   **Guide Customers Post-Expiry with Custom Redirects:** Send customers to a specific page (like bestsellers or help) when the timer ends.
     67*   **Control Messaging with Expiry Duration:** Choose how long the "expired" message displays.
     68
     69[**See How Pro Can Skyrocket Your Conversions →**](https://puri.io/plugin/checkout-countdown-woocommerce/)
    6870
    6971### Configuring Ideal Countdown Duration
     
    7577###  Selling limited stock? Try reserving stock in customer carts.
    7678
    77 If you manage stock and want to ensure reserved items aren't sold out during checkout, Checkout Countdown may not fully meet your needs. That's where Reserved Stock Pro by Puri.io may be the alternative solution you need. 
    78 
    79 Reserved Stock Pro reserves stock in the customer's cart for a limited duration, providing a secure shopping experience during high-demand periods. It's especially beneficial for stores with limited stock items or flash sales.  By using Reserved Stock Pro, you optimize your sales and enhance customer happiness by offering a secure and fair shopping experience. 
     79If you manage stock and want to ensure reserved items aren't sold out during checkout, Checkout Countdown may not fully meet your needs. That's where Reserved Stock Pro by Puri.io may be the alternative solution you need.
     80
     81Reserved Stock Pro reserves stock in the customer's cart for a limited duration, providing a secure shopping experience during high-demand periods. It's especially beneficial for stores with limited stock items or flash sales.  By using Reserved Stock Pro, you optimize your sales and enhance customer happiness by offering a secure and fair shopping experience.
    8082
    8183[Learn more about Reserved Stock Pro](https://puri.io/plugin/reserved-stock-pro-for-woocommerce/)
     
    9294
    93951. Upload the Checkout Countdown for WooCommerce plugin to your /wp-content/plugin/ directory or through the plugin admin section under "add new".
    94 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
     962. Activate the plugin through the 'Plugins' menu in WordPress.
    95973. Configure your settings by going to WooCommerce settings, then the Checkout countdown tab.
    96984. That's it!
     
    139141== Changelog ==
    140142
     143= 4.0.2 =
     144
     145* Ready & tested for WordPress 6.8
     146* Ready & tested for WooCommerce 9.8
     147
    141148= 4.0.1 =
    142149
Note: See TracChangeset for help on using the changeset viewer.