diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 0d8b84ef..360ba459 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,4 +1,8 @@ == Changelog == += 7.0.4 - Jul 15, 2025 = +- Improved compatibility with the Jetpack plugin to ensure storefront scripts load correctly when 'Defer Non-Essential JavaScript' is enabled. +- Applied minor fixes and general improvements for better performance and stability. + = 7.0.3 - Jun 24, 2025 = - Internal improvements and minor fixes for Gutenberg ecommerce blocks. diff --git a/README.md b/README.md index 06369c91..336965d3 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ With Ecwid, you can include your ecommerce shop on multiple websites, blogs, soc ### Mobile Responsive Design -Ecwid works great on any Wordpress site, especially those running on mobile-optimized themes. Your online store looks perfect on smartphones and automatically adapts to your customer’s screen size: laptops, tablets, smart TVs or smart watches. Check out this [demo](https://ecwid.to/ecwid-demo-store) +Ecwid works great on any Wordpress site, especially those running on mobile-optimized themes. Your online store looks perfect on smartphones and automatically adapts to your customer’s screen size: laptops, tablets, smart TVs or smart watches. Check out this [demo](https://go.lightspeedhq.com/ecwid-demo-store) ### Hundreds of extensions and powerful API @@ -45,17 +45,17 @@ There is a lot of in-house and third party extensions built on the Ecwid Ecommer ### Plans start at just $5/mo -Start selling ealisy with no big investment. As your online shop grows, Ecwid grows with you. When the time is right, consider upgrading your store to one of our premium plans to get more robust features and preferred support. See also: [Ecwid plan and pricing](https://ecwid.to/ecwid-pricing) +Start selling ealisy with no big investment. As your online shop grows, Ecwid grows with you. When the time is right, consider upgrading your store to one of our premium plans to get more robust features and preferred support. See also: [Ecwid plan and pricing](https://go.lightspeedhq.com/ecwid-pricing) ### See Ecwid In Action -* [Demo Store](https://ecwid.to/ecwid-demo-store "Ecwid demo") -* [Ecwid Ecommerce Control panel](https://ecwid.to/ecwid-store-control-panel "Ecwid Control Panel") (you will be able to create an Ecwid account) -* [Showcase](https://ecwid.to/ecwid-wp-site) +* [Demo Store](https://go.lightspeedhq.com/ecwid-demo-store "Ecwid demo") +* [Ecwid Ecommerce Control panel](https://go.lightspeedhq.com/ecwid-store-control-panel "Ecwid Control Panel") (you will be able to create an Ecwid account) +* [Showcase](https://go.lightspeedhq.com/ecwid-wp-site) ### Ecwid Site -* [www.ecwid.com](https://ecwid.to/ecwid-wp-site "Ecwid site") +* [www.ecwid.com](https://go.lightspeedhq.com/ecwid-wp-site "Ecwid site") ## Installation diff --git a/ecwid-shopping-cart.php b/ecwid-shopping-cart.php index 4164ec58..cff8e69c 100644 --- a/ecwid-shopping-cart.php +++ b/ecwid-shopping-cart.php @@ -5,8 +5,8 @@ Description: Ecwid by Lightspeed is a full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up. Text Domain: ecwid-shopping-cart Author: Ecwid Ecommerce -Version: 7.0.3 -Author URI: https://ecwid.to/ecwid-site +Version: 7.0.4 +Author URI: https://go.lightspeedhq.com/ecwid-site License: GPLv2 or later */ @@ -1222,11 +1222,11 @@ function ecwid_get_scriptjs_code( $force_lang = null ) { $store_id = get_ecwid_store_id(); $params = ecwid_get_scriptjs_params(); - $code .= ''; //phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript + $code .= ''; //phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript } $code .= ecwid_sso(); - $code .= ''; + $code .= ''; return apply_filters( 'ecwid_scriptjs_code', $code ); } diff --git a/includes/class-ecwid-ajax-defer-renderer.php b/includes/class-ecwid-ajax-defer-renderer.php index d29a0fbd..9fe9a64d 100644 --- a/includes/class-ecwid-ajax-defer-renderer.php +++ b/includes/class-ecwid-ajax-defer-renderer.php @@ -94,7 +94,7 @@ public function render_shortcode( $shortcode ) { public function add_shortcodes( $content ) { $ecwid_store_id = get_ecwid_store_id(); - $before = ''; + $before = ''; $scriptjs_domain = esc_attr( Ecwid_Config::get_scriptjs_domain() ); @@ -104,7 +104,7 @@ public function add_shortcodes( $content ) { $script_src = "https://$scriptjs_domain/script.js?$ecwid_store_id&data_platform=wporg&lang=$lang"; ob_start(); ?> - "; +$content = ""; echo ecwid_wrap_shortcode_content( $content, 'product', array() ); //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped diff --git a/templates/store-popup.php b/templates/store-popup.php index e803fce5..82ca7b2a 100644 --- a/templates/store-popup.php +++ b/templates/store-popup.php @@ -299,7 +299,7 @@ class="number"
- diff --git a/templates/sync.php b/templates/sync.php index 77b2d767..15c1daf6 100644 --- a/templates/sync.php +++ b/templates/sync.php @@ -5,7 +5,7 @@ $api = new Ecwid_Api_V3( get_ecwid_store_id() ); ?> -