Changeset 3275305
- Timestamp:
- 04/17/2025 04:53:33 AM (12 months ago)
- Location:
- checkout-countdown-for-woocommerce/trunk
- Files:
-
- 5 edited
-
assets/checkout-countdown.js (modified) (5 diffs)
-
checkout-countdown-for-woocommerce.php (modified) (2 diffs)
-
functions/enqueue.php (modified) (2 diffs)
-
languages/checkout-countdown-for-woocommerce.pot (modified) (3 diffs)
-
readme.txt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
checkout-countdown-for-woocommerce/trunk/assets/checkout-countdown.js
r3115281 r3275305 223 223 ccfwooController.triggerEvent("document", "ccfwooFinishedCounting", true); 224 224 }, 1000); 225 // Wait 5seconds and display default text.225 // Wait 6 seconds and display default text. 226 226 setTimeout(function () { 227 227 // stop here if we are still counting. … … 248 248 let string = ccfwooLocal.countdown_text.replace( 249 249 "{minutes}", 250 duration.minutes 250 duration.minutes, 251 251 ); 252 252 string = string.replace("{seconds}", duration.seconds); … … 328 328 const days = Math.floor(diff / 1000 / 60 / 60 / 24 - weekdays * 7); 329 329 const hours = Math.floor( 330 diff / 1000 / 60 / 60 - weekdays * 7 * 24 - days * 24 330 diff / 1000 / 60 / 60 - weekdays * 7 * 24 - days * 24, 331 331 ); 332 332 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, 334 334 ); 335 335 const seconds = Math.floor( … … 338 338 days * 24 * 60 * 60 - 339 339 hours * 60 * 60 - 340 minutes * 60 340 minutes * 60, 341 341 ); 342 342 const milliseconds = Math.floor( … … 346 346 hours * 60 * 60 * 1000 - 347 347 minutes * 60 * 1000 - 348 seconds * 1000 348 seconds * 1000, 349 349 ); 350 350 -
checkout-countdown-for-woocommerce/trunk/checkout-countdown-for-woocommerce.php
r3187246 r3275305 3 3 * Plugin Name: Checkout Countdown for WooCommerce 4 4 * Description: A flexible WooCommerce cart/checkout countdown to help improve cart conversion. 5 * Version: 4.0. 15 * Version: 4.0.2 6 6 * Author: Puri.io 7 7 * Author URI: https://puri.io/ 8 8 * Text Domain: checkout-countdown-for-woocommerce 9 9 10 * Domain Path: /languages/ 10 11 * … … 96 97 $this->constants = array( 97 98 'name' => 'Checkout Countdown for WooCommerce', 98 'version' => '4.0. 1',99 'version' => '4.0.2', 99 100 'prefix' => 'ccfwoo', 100 101 'admin_page' => 'checkout-countdown', -
checkout-countdown-for-woocommerce/trunk/functions/enqueue.php
r3187246 r3275305 6 6 function ccfwoo_core_enqueue_scripts() { 7 7 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' ); 9 9 10 10 if ( ccfwoo_get_option( 'bar_position', false, 'top' ) === 'top' ) { … … 29 29 30 30 // 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 ); 32 32 33 33 $countdown_text = sprintf( -
checkout-countdown-for-woocommerce/trunk/languages/checkout-countdown-for-woocommerce.pot
r3187246 r3275305 1 # Copyright (C) 202 4checkout-countdown-for-woocommerce1 # Copyright (C) 2025 checkout-countdown-for-woocommerce 2 2 # This file is distributed under the same license as the checkout-countdown-for-woocommerce package. 3 3 msgid "" … … 9 9 "Language-Team: Puri.io\n" 10 10 "Last-Translator: Puri.io\n" 11 "POT-Creation-Date: 202 4-11-13 08:51+0000\n"11 "POT-Creation-Date: 2025-04-17 04:51+0000\n" 12 12 "X-Poedit-Basepath: ..\n" 13 13 "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" … … 17 17 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 18 18 19 #: dist/checkout-countdown-for-woocommerce/checkout-countdown-for-woocommerce.php:5 319 #: dist/checkout-countdown-for-woocommerce/checkout-countdown-for-woocommerce.php:54 20 20 msgid "Update required to Checkout Countdown Pro 3.0+ or downgrade to Checkout Countdown Free 2.4.4" 21 21 msgstr "" -
checkout-countdown-for-woocommerce/trunk/readme.txt
r3187246 r3275305 2 2 3 3 Contributors: morganhvidt 4 Tags: product, c art, checkout, countdown, timer4 Tags: product, counter, checkout, countdown, timer 5 5 Author URI: https://puri.io/ 6 6 Author: Morgan Hvidt 7 7 Donate link: https://www.paypal.me/morganhvidt/ 8 8 Requires at least: 5.0 9 Tested up to: 6. 79 Tested up to: 6.8 10 10 Requires PHP: 7.4 11 11 Stable tag: trunk … … 13 13 License URI: https://www.gnu.org/licenses/gpl-2.0.html 14 14 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. 15 The Countdown Bar for WooCommerce Products to improve your Cart & Checkout Flow 16 16 17 17 ## Description 18 18 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.19 Tired 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. 20 20 21 21 ### Boost Sales with WooCommerce Checkout Countdown 22 22 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.23 Checkout 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**. 24 24 25 25 ### Easy to Use WooCommerce Cart Timer 26 26 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 brandingand meet your specific needs.27 Our 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. 28 28 29 29 ### Optimize Your eCommerce Store with Checkout Countdown 30 30 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.31 Sales 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. 32 32 33 33 ### Create Urgency in eCommerce with Checkout Countdown 34 34 35 The psychology of urgency i n 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 tocomplete their purchases before the timer runs out.35 The 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. 36 36 37 37 ### Improve Conversion Rates with Checkout Countdown 38 38 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.39 Our 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**. 40 40 41 41 ### Checkout Countdown for WooCommerce Features 42 42 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. 50 52 51 53 ### Ideal for WooCommerce Ticket Sales and Bookings … … 53 55 A 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. 54 56 55 ### Unlock More Powerwith Checkout Countdown Pro56 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 59 Ready 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/) 68 70 69 71 ### Configuring Ideal Countdown Duration … … 75 77 ### Selling limited stock? Try reserving stock in customer carts. 76 78 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. 79 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. 80 81 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. 80 82 81 83 [Learn more about Reserved Stock Pro](https://puri.io/plugin/reserved-stock-pro-for-woocommerce/) … … 92 94 93 95 1. 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.96 2. Activate the plugin through the 'Plugins' menu in WordPress. 95 97 3. Configure your settings by going to WooCommerce settings, then the Checkout countdown tab. 96 98 4. That's it! … … 139 141 == Changelog == 140 142 143 = 4.0.2 = 144 145 * Ready & tested for WordPress 6.8 146 * Ready & tested for WooCommerce 9.8 147 141 148 = 4.0.1 = 142 149
Note: See TracChangeset
for help on using the changeset viewer.