Version Description
- Fixed a bug affecting the links in store sidebar widgets. The bug appeared in the version 4.0.5. Its now fixed and all categories/cart/search links should work OK
Download this release
Release Info
Developer | Ecwid |
Plugin | Ecwid Ecommerce Shopping Cart |
Version | 4.0.6 |
Comparing to | |
See all releases |
Code changes from version 4.0.5 to 4.0.6
- ecwid-shopping-cart.php +20 -20
- includes/class-ecwid-kissmetrics.php +2 -2
- js/frontend.js +1 -2
- languages/ecwid-shopping-cart-ru_RU.mo +0 -0
- languages/ecwid-shopping-cart-ru_RU.po +1 -1
- readme.txt +4 -1
ecwid-shopping-cart.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.ecwid.com?source=wporg
|
|
5 |
Description: Ecwid is a free full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up.
|
6 |
Text Domain: ecwid-shopping-cart
|
7 |
Author: Ecwid Team
|
8 |
-
Version: 4.0.
|
9 |
Author URI: http://www.ecwid.com?source=wporg
|
10 |
*/
|
11 |
|
@@ -275,24 +275,24 @@ function ecwid_enqueue_frontend() {
|
|
275 |
wp_enqueue_style('ecwid-css', plugins_url('ecwid-shopping-cart/css/frontend.css'),array(), get_option('ecwid_plugin_version'));
|
276 |
wp_enqueue_style('ecwid-fonts-css', plugins_url('ecwid-shopping-cart/css/fonts.css'), array(), get_option('ecwid_plugin_version'));
|
277 |
|
278 |
-
|
|
|
279 |
|
280 |
-
|
281 |
-
global $ecwid_seo_title_mode;
|
282 |
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
|
297 |
if ((bool)get_option('ecwid_use_chameleon')) {
|
298 |
wp_enqueue_script('ecwid-chameleon-js', 'https://dj925myfyz5v.cloudfront.net/widgets/chameleon/v1/ecwid-chameleon.js', array(), get_option('ecwid_plugin_version'), true);
|
@@ -987,10 +987,10 @@ function ecwid_content_started($content)
|
|
987 |
|
988 |
function ecwid_wrap_shortcode_content($content, $name, $attrs)
|
989 |
{
|
990 |
-
return "<!-- Ecwid shopping cart plugin v 4.0.
|
991 |
. ecwid_get_scriptjs_code(@$attrs['lang'])
|
992 |
. "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
|
993 |
-
. "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 4.0.
|
994 |
}
|
995 |
|
996 |
function ecwid_get_scriptjs_code($force_lang = null) {
|
@@ -2289,7 +2289,7 @@ function ecwid_get_store_page_url()
|
|
2289 |
{
|
2290 |
static $link = null;
|
2291 |
|
2292 |
-
if (
|
2293 |
$link = get_page_link(ecwid_get_current_store_page_id());
|
2294 |
}
|
2295 |
|
@@ -2726,7 +2726,7 @@ class EcwidRecentlyViewedWidget extends WP_Widget {
|
|
2726 |
|
2727 |
$recently_viewed = false;
|
2728 |
if (isset($_COOKIE['ecwid-shopping-cart-recently-viewed'])) {
|
2729 |
-
$recently_viewed = json_decode(
|
2730 |
}
|
2731 |
$recently_viewed = json_decode(stripslashes(@$_COOKIE['ecwid-shopping-cart-recently-viewed']));
|
2732 |
|
5 |
Description: Ecwid is a free full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up.
|
6 |
Text Domain: ecwid-shopping-cart
|
7 |
Author: Ecwid Team
|
8 |
+
Version: 4.0.6
|
9 |
Author URI: http://www.ecwid.com?source=wporg
|
10 |
*/
|
11 |
|
275 |
wp_enqueue_style('ecwid-css', plugins_url('ecwid-shopping-cart/css/frontend.css'),array(), get_option('ecwid_plugin_version'));
|
276 |
wp_enqueue_style('ecwid-fonts-css', plugins_url('ecwid-shopping-cart/css/fonts.css'), array(), get_option('ecwid_plugin_version'));
|
277 |
|
278 |
+
if (function_exists('wp_get_document_title')) {
|
279 |
+
wp_enqueue_script( 'ecwid-frontend-js', plugins_url( 'ecwid-shopping-cart/js/frontend.js' ), array( 'jquery' ), get_option( 'ecwid_plugin_version' ) );
|
280 |
|
281 |
+
global $ecwid_seo_title_mode;
|
|
|
282 |
|
283 |
+
$ecwid_seo_title_mode = 'none';
|
284 |
+
$original_title = wp_get_document_title();
|
285 |
+
$ecwid_seo_title_mode = 'placeholder';
|
286 |
+
$title_template = wp_get_document_title();
|
287 |
+
$ecwid_seo_title_mode = 'normal';
|
288 |
|
289 |
+
wp_localize_script( 'ecwid-frontend-js', 'ecwid_ajax_object', array(
|
290 |
+
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
291 |
+
'original_title' => $original_title,
|
292 |
+
'title_template' => $title_template
|
293 |
+
)
|
294 |
+
);
|
295 |
+
}
|
296 |
|
297 |
if ((bool)get_option('ecwid_use_chameleon')) {
|
298 |
wp_enqueue_script('ecwid-chameleon-js', 'https://dj925myfyz5v.cloudfront.net/widgets/chameleon/v1/ecwid-chameleon.js', array(), get_option('ecwid_plugin_version'), true);
|
987 |
|
988 |
function ecwid_wrap_shortcode_content($content, $name, $attrs)
|
989 |
{
|
990 |
+
return "<!-- Ecwid shopping cart plugin v 4.0.6 --><!-- noptimize -->"
|
991 |
. ecwid_get_scriptjs_code(@$attrs['lang'])
|
992 |
. "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
|
993 |
+
. "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 4.0.6 -->";
|
994 |
}
|
995 |
|
996 |
function ecwid_get_scriptjs_code($force_lang = null) {
|
2289 |
{
|
2290 |
static $link = null;
|
2291 |
|
2292 |
+
if (is_null($link)) {
|
2293 |
$link = get_page_link(ecwid_get_current_store_page_id());
|
2294 |
}
|
2295 |
|
2726 |
|
2727 |
$recently_viewed = false;
|
2728 |
if (isset($_COOKIE['ecwid-shopping-cart-recently-viewed'])) {
|
2729 |
+
$recently_viewed = json_decode($_COOKIE['ecwid-shopping-cart-recently-viewed']);
|
2730 |
}
|
2731 |
$recently_viewed = json_decode(stripslashes(@$_COOKIE['ecwid-shopping-cart-recently-viewed']));
|
2732 |
|
includes/class-ecwid-kissmetrics.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
class Ecwid_Kissmetrics {
|
4 |
|
5 |
-
const API_KEY = '
|
6 |
const STORAGE_OPTION_NAME = 'ecwid_kissmetrics';
|
7 |
const EVENT_PREFIX = 'wp-plugin ';
|
8 |
|
@@ -80,4 +80,4 @@ class Ecwid_Kissmetrics {
|
|
80 |
}
|
81 |
}
|
82 |
|
83 |
-
Ecwid_Kissmetrics::init();
|
2 |
|
3 |
class Ecwid_Kissmetrics {
|
4 |
|
5 |
+
const API_KEY = '12a19b058a28c5db7b722584d59e60e4f080e142';
|
6 |
const STORAGE_OPTION_NAME = 'ecwid_kissmetrics';
|
7 |
const EVENT_PREFIX = 'wp-plugin ';
|
8 |
|
80 |
}
|
81 |
}
|
82 |
|
83 |
+
Ecwid_Kissmetrics::init();
|
js/frontend.js
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
jQuery(document).ready(function() {
|
2 |
|
3 |
-
/*
|
4 |
if (typeof window.Ecwid != 'undefined') {
|
5 |
Ecwid.OnPageLoaded.add(function() {
|
6 |
jQuery.get(ecwid_ajax_object.ajax_url,
|
@@ -14,5 +13,5 @@ jQuery(document).ready(function() {
|
|
14 |
);
|
15 |
});
|
16 |
}
|
17 |
-
|
18 |
})
|
1 |
jQuery(document).ready(function() {
|
2 |
|
|
|
3 |
if (typeof window.Ecwid != 'undefined') {
|
4 |
Ecwid.OnPageLoaded.add(function() {
|
5 |
jQuery.get(ecwid_ajax_object.ajax_url,
|
13 |
);
|
14 |
});
|
15 |
}
|
16 |
+
|
17 |
})
|
languages/ecwid-shopping-cart-ru_RU.mo
CHANGED
Binary file
|
languages/ecwid-shopping-cart-ru_RU.po
CHANGED
@@ -476,7 +476,7 @@ msgid "Chameleon skin <sup>beta</sup>"
|
|
476 |
msgstr "Тема \"Хамелеон\" <sup>бета</sup>"
|
477 |
|
478 |
msgid "Automatic adjustment of your store design to your Wordpress theme. Whatever Wordpress theme you use, Ecwid will detect predominant colors and font and use them in your product catalog."
|
479 |
-
msgstr "Автоматическая подстройка внешнего вида магазина под стили темы сайта. Включите эту опцию, чтобы Эквид определял цвета и шрифты сайта и
|
480 |
|
481 |
msgid "Please note this functionality is in beta. So if you run into difficulties or find problems with Chameleon, please <a %s>let us know</a>."
|
482 |
msgstr "Мы добавили этот инструмент недавно, и он сейчас работает в бета-режиме. Если вы обнаружите какие-либо проблемы в его работе, пожалуйста, <a %s>сообщите нам</a>."
|
476 |
msgstr "Тема \"Хамелеон\" <sup>бета</sup>"
|
477 |
|
478 |
msgid "Automatic adjustment of your store design to your Wordpress theme. Whatever Wordpress theme you use, Ecwid will detect predominant colors and font and use them in your product catalog."
|
479 |
+
msgstr "Автоматическая подстройка внешнего вида магазина под стили темы сайта. Включите эту опцию, чтобы Эквид определял цвета и шрифты сайта и использовал их в каталоге товаров."
|
480 |
|
481 |
msgid "Please note this functionality is in beta. So if you run into difficulties or find problems with Chameleon, please <a %s>let us know</a>."
|
482 |
msgstr "Мы добавили этот инструмент недавно, и он сейчас работает в бета-режиме. Если вы обнаружите какие-либо проблемы в его работе, пожалуйста, <a %s>сообщите нам</a>."
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: ecwid
|
|
3 |
Tags: ecwid, shopping cart, ecommerce, wordpress ecommerce, wp e-commerce, paypal, e-commerce, online store, store, shop, cart, online shop, shopping, digital goods, downloadable products, product catalog, ecomerce, products, facebook, f-commerce
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 4.4
|
6 |
-
Stable tag: 4.0.
|
7 |
|
8 |
Ecwid is a full-featured shopping cart that can be added to any Wordpress site in less than 5 minutes. Start using Ecwid for free today.
|
9 |
|
@@ -104,6 +104,9 @@ http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
|
|
104 |
* [Ecwid site](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid Site")
|
105 |
|
106 |
== Changelog ==
|
|
|
|
|
|
|
107 |
= 4.0.5 =
|
108 |
- **Updated SEO Titles and Meta Descriptions.** Google recently launched a new crawling schema to better index rich AJAX sites and applications like Ecwid, which is a great news for all Ecwid users. We're keeping an eye on this and help Google improve indexing of all Ecwid stores. In this update, we made the product/categories page titles and descriptions change on the fly (with no page reload) so that Google will index them better. No action is required from your side – we will continue improving how your store appears for Google to make sure your products and categories will get to the search results.
|
109 |
- **Fixed a bug affecting the "Re-connect Ecwid account" link.** The "Disconnect the Ecwid store and connect to another one" link at the bottom of the plugin dashboard now works fine.
|
3 |
Tags: ecwid, shopping cart, ecommerce, wordpress ecommerce, wp e-commerce, paypal, e-commerce, online store, store, shop, cart, online shop, shopping, digital goods, downloadable products, product catalog, ecomerce, products, facebook, f-commerce
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 4.4
|
6 |
+
Stable tag: 4.0.6
|
7 |
|
8 |
Ecwid is a full-featured shopping cart that can be added to any Wordpress site in less than 5 minutes. Start using Ecwid for free today.
|
9 |
|
104 |
* [Ecwid site](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid Site")
|
105 |
|
106 |
== Changelog ==
|
107 |
+
= 4.0.6 =
|
108 |
+
- **Fixed a bug affecting the links in store sidebar widgets.** The bug appeared in the version 4.0.5. It’s now fixed and all categories/cart/search links should work OK
|
109 |
+
|
110 |
= 4.0.5 =
|
111 |
- **Updated SEO Titles and Meta Descriptions.** Google recently launched a new crawling schema to better index rich AJAX sites and applications like Ecwid, which is a great news for all Ecwid users. We're keeping an eye on this and help Google improve indexing of all Ecwid stores. In this update, we made the product/categories page titles and descriptions change on the fly (with no page reload) so that Google will index them better. No action is required from your side – we will continue improving how your store appears for Google to make sure your products and categories will get to the search results.
|
112 |
- **Fixed a bug affecting the "Re-connect Ecwid account" link.** The "Disconnect the Ecwid store and connect to another one" link at the bottom of the plugin dashboard now works fine.
|