Version Description
- Jun 13, 2019 =
- New cool feature cache and speed up your store page. Available on the Ecwid/Advanced settings page inside your WordPress admin backend. Tick the new checkbox there to make it cache and speed up the store home page on your ecommerce site. When its enabled, you and your customer will see your store page load way faster than before.
- Compatibility with more multilingual plugins. As we mentioned before, Ecwid now supports full-featured multilingual storefronts. Previously, we made it compatible with the WPML plugin. In this update, we are adding support for more multilingual plugins: Polylang, TranslatePress, WPGlobus, WP Multilang, Multisite Language Switcher, MultilingualPress, Multilanguage by BestWebSoft, Transposh WordPress Translation and more. In general, if some plugin or a custom code switches locale on your site, Ecwid should be compatible with it and change the storefront language accordingly. So, if you have enabled the multilingual mode in your ecommerce store and are supporting several languages on your WordPress site, your shop pages will be displayed in the language selected by a visitor.
- Minor fixes and improvements.
Download this release
Release Info
Developer | Ecwid |
Plugin | Ecwid Ecommerce Shopping Cart |
Version | 6.8 |
Comparing to | |
See all releases |
Code changes from version 6.7.4 to 6.8
- ecwid-shopping-cart.php +49 -38
- includes/class-ecwid-admin-main-page.php +5 -0
- includes/class-ecwid-admin.php +2 -1
- includes/class-ecwid-html-meta.php +2 -1
- includes/class-ecwid-message-manager.php +5 -1
- includes/class-ecwid-seo-links.php +0 -22
- includes/class-ecwid-static-page.php +6 -11
- includes/integrations/class-ecwid-integration-polylang.php +87 -0
- includes/integrations/class-ecwid-integration-wpml.php +16 -12
- includes/shortcodes/class-ecwid-shortcode-productbrowser.php +8 -3
- languages/ecwid-shopping-cart-ru_RU.mo +0 -0
- languages/ecwid-shopping-cart-ru_RU.po +92 -78
- readme.txt +6 -1
- templates/advanced-settings.php +41 -3
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 Ecommerce
|
8 |
-
Version: 6.
|
9 |
Author URI: https://ecwid.to/ecwid-site
|
10 |
*/
|
11 |
|
@@ -189,6 +189,7 @@ function ecwid_init_integrations()
|
|
189 |
'elementor/elementor.php' => 'elementor',
|
190 |
'sitepress-multilingual-cms/sitepress.php' => 'wpml',
|
191 |
'pwa/pwa.php' => 'pwa',
|
|
|
192 |
);
|
193 |
|
194 |
|
@@ -1319,7 +1320,9 @@ function ecwid_wrap_shortcode_content($content, $name, $attrs)
|
|
1319 |
function ecwid_get_scriptjs_code( $force_lang = null ) {
|
1320 |
static $code = '';
|
1321 |
|
1322 |
-
|
|
|
|
|
1323 |
|
1324 |
$store_id = get_ecwid_store_id();
|
1325 |
$params = ecwid_get_scriptjs_params( $force_lang );
|
@@ -1331,6 +1334,20 @@ function ecwid_get_scriptjs_code( $force_lang = null ) {
|
|
1331 |
return apply_filters( 'ecwid_scriptjs_code', $code );
|
1332 |
}
|
1333 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1334 |
function ecwid_get_scriptjs_params( $force_lang = null ) {
|
1335 |
|
1336 |
$store_id = get_ecwid_store_id();
|
@@ -1578,7 +1595,7 @@ function ecwid_store_activate() {
|
|
1578 |
$shortcode = Ecwid_Shortcode_Base::get_current_store_shortcode_name();
|
1579 |
|
1580 |
$content = <<<EOT
|
1581 |
-
[$shortcode widgets="productbrowser" default_category_id="
|
1582 |
EOT;
|
1583 |
|
1584 |
$content = <<<EOT
|
@@ -1753,37 +1770,36 @@ function ecwid_store_deactivate() {
|
|
1753 |
update_option('ecwid_store_page_id', '');
|
1754 |
}
|
1755 |
}
|
1756 |
-
|
1757 |
-
Ecwid_Message_Manager::reset_hidden_messages();
|
1758 |
-
|
1759 |
$p = new Ecwid_Products();
|
1760 |
$p->disable_all_products();
|
1761 |
}
|
1762 |
|
1763 |
function ecwid_uninstall() {
|
1764 |
-
|
1765 |
-
|
1766 |
-
|
1767 |
-
|
1768 |
-
|
1769 |
-
|
1770 |
-
|
1771 |
-
|
1772 |
-
|
1773 |
-
|
1774 |
-
|
1775 |
-
|
1776 |
-
|
1777 |
-
|
1778 |
-
|
1779 |
-
|
1780 |
-
|
1781 |
-
|
1782 |
-
|
1783 |
-
|
1784 |
-
|
1785 |
delete_option("ecwid_plugin_version");
|
1786 |
delete_option("ecwid_use_chameleon");
|
|
|
1787 |
}
|
1788 |
|
1789 |
function ecwid_abs_intval($value) {
|
@@ -2066,6 +2082,10 @@ function ecwid_settings_api_init() {
|
|
2066 |
if ($_POST['settings_section'] == 'advanced' && isset( $_POST[Ecwid_Store_Page::OPTION_MAIN_STORE_PAGE_ID] ) && in_array( $_POST[Ecwid_Store_Page::OPTION_MAIN_STORE_PAGE_ID], Ecwid_Store_Page::get_store_pages_array() ) ) {
|
2067 |
Ecwid_Store_Page::update_main_store_page_id( $_POST[Ecwid_Store_Page::OPTION_MAIN_STORE_PAGE_ID] );
|
2068 |
}
|
|
|
|
|
|
|
|
|
2069 |
}
|
2070 |
|
2071 |
if ( isset( $_POST['ecwid_store_id'] ) ) {
|
@@ -2245,16 +2265,7 @@ function ecwid_general_settings_do_page() {
|
|
2245 |
}
|
2246 |
} else {
|
2247 |
if ($connection_error || isset($_GET['reconnect'])) {
|
2248 |
-
|
2249 |
-
case 'spw': $reconnect_message = sprintf( __( 'To be able to choose a product to insert to your posts and pages, you will need to re-connect your site to your %s store. This will only require you to accept permissions request – so that the plugin will be able to list your products in the "Add product" dialog.', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() );
|
2250 |
-
break;
|
2251 |
-
}
|
2252 |
-
|
2253 |
-
$scopes = '';
|
2254 |
-
|
2255 |
-
$connection_error = isset($_GET['connection_error']);
|
2256 |
-
|
2257 |
-
require_once ECWID_PLUGIN_DIR . 'templates/reconnect.php';
|
2258 |
} else {
|
2259 |
ecwid_admin_do_page( 'dashboard' );
|
2260 |
}
|
@@ -2279,7 +2290,7 @@ function ecwid_get_admin_sso_url( $time, $page = '' ) {
|
|
2279 |
|
2280 |
$oauth = new Ecwid_Oauth();
|
2281 |
|
2282 |
-
if ( !Ecwid_Api_V3::get_token()
|
2283 |
return false;
|
2284 |
}
|
2285 |
|
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 Ecommerce
|
8 |
+
Version: 6.8
|
9 |
Author URI: https://ecwid.to/ecwid-site
|
10 |
*/
|
11 |
|
189 |
'elementor/elementor.php' => 'elementor',
|
190 |
'sitepress-multilingual-cms/sitepress.php' => 'wpml',
|
191 |
'pwa/pwa.php' => 'pwa',
|
192 |
+
'polylang/polylang.php' => 'polylang',
|
193 |
);
|
194 |
|
195 |
|
1320 |
function ecwid_get_scriptjs_code( $force_lang = null ) {
|
1321 |
static $code = '';
|
1322 |
|
1323 |
+
if( is_null( $force_lang ) ) {
|
1324 |
+
$force_lang = apply_filters( 'ecwid_lang', $force_lang );
|
1325 |
+
}
|
1326 |
|
1327 |
$store_id = get_ecwid_store_id();
|
1328 |
$params = ecwid_get_scriptjs_params( $force_lang );
|
1334 |
return apply_filters( 'ecwid_scriptjs_code', $code );
|
1335 |
}
|
1336 |
|
1337 |
+
|
1338 |
+
add_filter( 'ecwid_lang', 'ecwid_get_default_language', 1, 1 );
|
1339 |
+
function ecwid_get_default_language( $lang ) {
|
1340 |
+
$locale = get_locale();
|
1341 |
+
|
1342 |
+
if ( $locale ) {
|
1343 |
+
$locales = explode( '_', $locale );
|
1344 |
+
return $locales[0];
|
1345 |
+
}
|
1346 |
+
|
1347 |
+
return $lang;
|
1348 |
+
}
|
1349 |
+
|
1350 |
+
|
1351 |
function ecwid_get_scriptjs_params( $force_lang = null ) {
|
1352 |
|
1353 |
$store_id = get_ecwid_store_id();
|
1595 |
$shortcode = Ecwid_Shortcode_Base::get_current_store_shortcode_name();
|
1596 |
|
1597 |
$content = <<<EOT
|
1598 |
+
[$shortcode widgets="productbrowser" default_category_id=""]
|
1599 |
EOT;
|
1600 |
|
1601 |
$content = <<<EOT
|
1770 |
update_option('ecwid_store_page_id', '');
|
1771 |
}
|
1772 |
}
|
1773 |
+
|
|
|
|
|
1774 |
$p = new Ecwid_Products();
|
1775 |
$p->disable_all_products();
|
1776 |
}
|
1777 |
|
1778 |
function ecwid_uninstall() {
|
1779 |
+
delete_option("ecwid_store_page_id_auto");
|
1780 |
+
delete_option("ecwid_store_id");
|
1781 |
+
delete_option("ecwid_enable_minicart");
|
1782 |
+
delete_option("ecwid_show_categories");
|
1783 |
+
delete_option("ecwid_show_search_box");
|
1784 |
+
delete_option("ecwid_pb_categoriesperrow");
|
1785 |
+
delete_option("ecwid_pb_productspercolumn_grid");
|
1786 |
+
delete_option("ecwid_pb_productsperrow_grid");
|
1787 |
+
delete_option("ecwid_pb_productsperpage_list");
|
1788 |
+
delete_option("ecwid_pb_productsperpage_table");
|
1789 |
+
delete_option("ecwid_pb_defaultview");
|
1790 |
+
delete_option("ecwid_pb_searchview");
|
1791 |
+
delete_option("ecwid_mobile_catalog_link");
|
1792 |
+
delete_option("ecwid_default_category_id");
|
1793 |
+
delete_option('ecwid_is_api_enabled');
|
1794 |
+
delete_option('ecwid_api_check_time');
|
1795 |
+
delete_option('ecwid_show_vote_message');
|
1796 |
+
delete_option("ecwid_sso_secret_key");
|
1797 |
+
delete_option("ecwid_installation_date");
|
1798 |
+
delete_option('ecwid_hide_appearance_menu');
|
1799 |
+
|
1800 |
delete_option("ecwid_plugin_version");
|
1801 |
delete_option("ecwid_use_chameleon");
|
1802 |
+
delete_option(Ecwid_Api_V3::TOKEN_OPTION_NAME);
|
1803 |
}
|
1804 |
|
1805 |
function ecwid_abs_intval($value) {
|
2082 |
if ($_POST['settings_section'] == 'advanced' && isset( $_POST[Ecwid_Store_Page::OPTION_MAIN_STORE_PAGE_ID] ) && in_array( $_POST[Ecwid_Store_Page::OPTION_MAIN_STORE_PAGE_ID], Ecwid_Store_Page::get_store_pages_array() ) ) {
|
2083 |
Ecwid_Store_Page::update_main_store_page_id( $_POST[Ecwid_Store_Page::OPTION_MAIN_STORE_PAGE_ID] );
|
2084 |
}
|
2085 |
+
|
2086 |
+
if ($_POST['settings_section'] == 'advanced' && isset($_POST[Ecwid_Static_Page::OPTION_IS_ENABLED])) {
|
2087 |
+
update_option( Ecwid_Static_Page::OPTION_IS_ENABLED, $_POST[Ecwid_Static_Page::OPTION_IS_ENABLED] );
|
2088 |
+
}
|
2089 |
}
|
2090 |
|
2091 |
if ( isset( $_POST['ecwid_store_id'] ) ) {
|
2265 |
}
|
2266 |
} else {
|
2267 |
if ($connection_error || isset($_GET['reconnect'])) {
|
2268 |
+
require_once ECWID_PLUGIN_DIR . 'templates/reconnect-sso.php';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2269 |
} else {
|
2270 |
ecwid_admin_do_page( 'dashboard' );
|
2271 |
}
|
2290 |
|
2291 |
$oauth = new Ecwid_Oauth();
|
2292 |
|
2293 |
+
if ( !Ecwid_Api_V3::get_token() ) {
|
2294 |
return false;
|
2295 |
}
|
2296 |
|
includes/class-ecwid-admin-main-page.php
CHANGED
@@ -118,6 +118,11 @@ class Ecwid_Admin_Main_Page
|
|
118 |
|
119 |
$iframe_src = ecwid_get_iframe_src($time, $page);
|
120 |
|
|
|
|
|
|
|
|
|
|
|
121 |
$request = Ecwid_Http::create_get('embedded_admin_iframe', $iframe_src, array(Ecwid_Http::POLICY_RETURN_VERBOSE));
|
122 |
|
123 |
if (!$request) {
|
118 |
|
119 |
$iframe_src = ecwid_get_iframe_src($time, $page);
|
120 |
|
121 |
+
if( !$iframe_src ) {
|
122 |
+
$this->_do_simple_connect_page();
|
123 |
+
return;
|
124 |
+
}
|
125 |
+
|
126 |
$request = Ecwid_Http::create_get('embedded_admin_iframe', $iframe_src, array(Ecwid_Http::POLICY_RETURN_VERBOSE));
|
127 |
|
128 |
if (!$request) {
|
includes/class-ecwid-admin.php
CHANGED
@@ -70,7 +70,8 @@ class Ecwid_Admin {
|
|
70 |
}
|
71 |
|
72 |
global $ecwid_oauth;
|
73 |
-
|
|
|
74 |
|
75 |
if ( !self::are_auto_menus_enabled() ) {
|
76 |
add_submenu_page(
|
70 |
}
|
71 |
|
72 |
global $ecwid_oauth;
|
73 |
+
|
74 |
+
if (!$is_newbie && Ecwid_Api_V3::is_available() ) {
|
75 |
|
76 |
if ( !self::are_auto_menus_enabled() ) {
|
77 |
add_submenu_page(
|
includes/class-ecwid-html-meta.php
CHANGED
@@ -161,9 +161,10 @@ class Ecwid_HTML_Meta_Catalog_Entry extends Ecwid_HTML_Meta
|
|
161 |
$og_tags_html = Ecwid_Static_Page::get_og_tags_html();
|
162 |
|
163 |
$site_name = $this->_get_site_name();
|
|
|
164 |
$og_tags_html = preg_replace(
|
165 |
'/(<meta property="og:site_name" content=").*?(" \/>)/',
|
166 |
-
'$1'.$site_name.'$2',
|
167 |
$og_tags_html
|
168 |
);
|
169 |
|
161 |
$og_tags_html = Ecwid_Static_Page::get_og_tags_html();
|
162 |
|
163 |
$site_name = $this->_get_site_name();
|
164 |
+
|
165 |
$og_tags_html = preg_replace(
|
166 |
'/(<meta property="og:site_name" content=").*?(" \/>)/',
|
167 |
+
'${1}'.$site_name.'${2}',
|
168 |
$og_tags_html
|
169 |
);
|
170 |
|
includes/class-ecwid-message-manager.php
CHANGED
@@ -365,9 +365,13 @@ HTML
|
|
365 |
&& ecwid_is_recent_installation();
|
366 |
|
367 |
case 'please_vote':
|
368 |
-
|
369 |
if ( Ecwid_Config::is_wl() ) return false;
|
370 |
|
|
|
|
|
|
|
|
|
371 |
$install_date = get_option('ecwid_installation_date');
|
372 |
|
373 |
$result = false;
|
365 |
&& ecwid_is_recent_installation();
|
366 |
|
367 |
case 'please_vote':
|
368 |
+
|
369 |
if ( Ecwid_Config::is_wl() ) return false;
|
370 |
|
371 |
+
if ( strpos( $admin_page, Ecwid_Admin::ADMIN_SLUG ) === false ) {
|
372 |
+
return false;
|
373 |
+
}
|
374 |
+
|
375 |
$install_date = get_option('ecwid_installation_date');
|
376 |
|
377 |
$result = false;
|
includes/class-ecwid-seo-links.php
CHANGED
@@ -406,7 +406,6 @@ JS;
|
|
406 |
$pages = Ecwid_Store_Page::get_store_pages_array();
|
407 |
|
408 |
if ( is_array( $pages ) ) {
|
409 |
-
|
410 |
foreach ( $pages as $page_id ) {
|
411 |
|
412 |
if ( !isset( $base_urls[$page_id] ) ) {
|
@@ -417,27 +416,6 @@ JS;
|
|
417 |
|
418 |
$base_urls[$page_id][] = $link;
|
419 |
}
|
420 |
-
|
421 |
-
if (
|
422 |
-
is_plugin_active('polylang/polylang.php')
|
423 |
-
&& function_exists( 'PLL' )
|
424 |
-
&& function_exists('pll_get_post_language')
|
425 |
-
) {
|
426 |
-
|
427 |
-
if ( PLL()->options['force_lang'] == 1 ) {
|
428 |
-
$patterns = self::get_seo_links_patterns();
|
429 |
-
foreach ( $pages as $page_id ) {
|
430 |
-
$link = urldecode( self::_get_relative_permalink( $page_id ) );
|
431 |
-
$language = pll_get_post_language( $page_id );
|
432 |
-
|
433 |
-
if ( !isset( $base_urls[$page_id] ) ) {
|
434 |
-
$base_urls[$page_id] = array();
|
435 |
-
}
|
436 |
-
|
437 |
-
$base_urls[$page_id][] = $language . '/' . $link;
|
438 |
-
}
|
439 |
-
}
|
440 |
-
}
|
441 |
}
|
442 |
|
443 |
return $base_urls;
|
406 |
$pages = Ecwid_Store_Page::get_store_pages_array();
|
407 |
|
408 |
if ( is_array( $pages ) ) {
|
|
|
409 |
foreach ( $pages as $page_id ) {
|
410 |
|
411 |
if ( !isset( $base_urls[$page_id] ) ) {
|
416 |
|
417 |
$base_urls[$page_id][] = $link;
|
418 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
419 |
}
|
420 |
|
421 |
return $base_urls;
|
includes/class-ecwid-static-page.php
CHANGED
@@ -22,8 +22,7 @@ class Ecwid_Static_Page {
|
|
22 |
}
|
23 |
}
|
24 |
|
25 |
-
public function enqueue_scripts()
|
26 |
-
{
|
27 |
if ( !self::is_enabled_static_home_page() ) {
|
28 |
return null;
|
29 |
}
|
@@ -49,8 +48,7 @@ class Ecwid_Static_Page {
|
|
49 |
}
|
50 |
}
|
51 |
|
52 |
-
public static function get_data_for_current_page()
|
53 |
-
{
|
54 |
if ( current_user_can( Ecwid_Admin::get_capability() ) ) {
|
55 |
add_action( 'wp_enqueue_scripts', 'ecwid_enqueue_cache_control', 100 );
|
56 |
}
|
@@ -87,8 +85,7 @@ class Ecwid_Static_Page {
|
|
87 |
return $url;
|
88 |
}
|
89 |
|
90 |
-
protected static function _maybe_fetch_data()
|
91 |
-
{
|
92 |
$version = get_bloginfo('version');
|
93 |
$pb_attribures = array();
|
94 |
if ( strpos( $version, '5.0' ) === 0 || version_compare( $version, '5.0' ) > 0 ) {
|
@@ -255,8 +252,7 @@ class Ecwid_Static_Page {
|
|
255 |
return false;
|
256 |
}
|
257 |
|
258 |
-
public static function is_enabled_static_home_page()
|
259 |
-
{
|
260 |
$html_catalog_params = Ecwid_Seo_Links::maybe_extract_html_catalog_params();
|
261 |
$is_home_page = empty( $html_catalog_params );
|
262 |
if( !$is_home_page ) {
|
@@ -279,7 +275,7 @@ class Ecwid_Static_Page {
|
|
279 |
if ( get_option( self::OPTION_IS_ENABLED ) == self::OPTION_VALUE_ENABLED ) {
|
280 |
return true;
|
281 |
}
|
282 |
-
|
283 |
if ( !self::is_feature_available() ) {
|
284 |
return false;
|
285 |
}
|
@@ -295,8 +291,7 @@ class Ecwid_Static_Page {
|
|
295 |
return false;
|
296 |
}
|
297 |
|
298 |
-
public static function is_feature_available()
|
299 |
-
{
|
300 |
$api = new Ecwid_Api_V3();
|
301 |
|
302 |
return $api->is_store_feature_enabled( Ecwid_Api_V3::FEATURE_STATIC_HOME_PAGE )
|
22 |
}
|
23 |
}
|
24 |
|
25 |
+
public function enqueue_scripts() {
|
|
|
26 |
if ( !self::is_enabled_static_home_page() ) {
|
27 |
return null;
|
28 |
}
|
48 |
}
|
49 |
}
|
50 |
|
51 |
+
public static function get_data_for_current_page() {
|
|
|
52 |
if ( current_user_can( Ecwid_Admin::get_capability() ) ) {
|
53 |
add_action( 'wp_enqueue_scripts', 'ecwid_enqueue_cache_control', 100 );
|
54 |
}
|
85 |
return $url;
|
86 |
}
|
87 |
|
88 |
+
protected static function _maybe_fetch_data() {
|
|
|
89 |
$version = get_bloginfo('version');
|
90 |
$pb_attribures = array();
|
91 |
if ( strpos( $version, '5.0' ) === 0 || version_compare( $version, '5.0' ) > 0 ) {
|
252 |
return false;
|
253 |
}
|
254 |
|
255 |
+
public static function is_enabled_static_home_page() {
|
|
|
256 |
$html_catalog_params = Ecwid_Seo_Links::maybe_extract_html_catalog_params();
|
257 |
$is_home_page = empty( $html_catalog_params );
|
258 |
if( !$is_home_page ) {
|
275 |
if ( get_option( self::OPTION_IS_ENABLED ) == self::OPTION_VALUE_ENABLED ) {
|
276 |
return true;
|
277 |
}
|
278 |
+
|
279 |
if ( !self::is_feature_available() ) {
|
280 |
return false;
|
281 |
}
|
291 |
return false;
|
292 |
}
|
293 |
|
294 |
+
public static function is_feature_available() {
|
|
|
295 |
$api = new Ecwid_Api_V3();
|
296 |
|
297 |
return $api->is_store_feature_enabled( Ecwid_Api_V3::FEATURE_STATIC_HOME_PAGE )
|
includes/integrations/class-ecwid-integration-polylang.php
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Ecwid_Integration_Polylang
|
4 |
+
{
|
5 |
+
public $hreflang_items;
|
6 |
+
|
7 |
+
public function __construct() {
|
8 |
+
add_filter( 'ecwid_lang', array( $this, 'force_scriptjs_lang' ) );
|
9 |
+
|
10 |
+
add_filter( 'pll_rel_hreflang_attributes', array( $this, 'filter_hreflangs' ), 1, 1 );
|
11 |
+
add_action( 'wp_head', array( $this, 'print_hreflang_js_config' ) );
|
12 |
+
}
|
13 |
+
|
14 |
+
public function force_scriptjs_lang( $lang ) {
|
15 |
+
$lang = pll_current_language();
|
16 |
+
return $lang;
|
17 |
+
}
|
18 |
+
|
19 |
+
public function set_hreflangs( $hreflangs ) {
|
20 |
+
$this->hreflang_items = $hreflangs;
|
21 |
+
}
|
22 |
+
|
23 |
+
public function get_hreflangs( $hreflangs ) {
|
24 |
+
return $this->hreflang_items;
|
25 |
+
}
|
26 |
+
|
27 |
+
public function filter_hreflangs( $hreflangs ) {
|
28 |
+
|
29 |
+
$this->set_hreflangs( $hreflangs );
|
30 |
+
|
31 |
+
add_filter( 'ecwid_hreflangs', array( $this, 'get_hreflangs' ), 1000 );
|
32 |
+
|
33 |
+
if( class_exists( 'Ecwid_Static_Page' ) && Ecwid_Static_Page::is_data_available() ) {
|
34 |
+
|
35 |
+
$ecwid_hreflang_html = Ecwid_Static_Page::get_href_lang_html();
|
36 |
+
|
37 |
+
if( $ecwid_hreflang_html ) {
|
38 |
+
$ecwid_hreflangs = $this->parse_hreflang_html_to_array( $ecwid_hreflang_html );
|
39 |
+
|
40 |
+
if( $ecwid_hreflangs ) {
|
41 |
+
return $ecwid_hreflangs;
|
42 |
+
}
|
43 |
+
}
|
44 |
+
}
|
45 |
+
|
46 |
+
return $hreflangs;
|
47 |
+
}
|
48 |
+
|
49 |
+
public function parse_hreflang_html_to_array( $string ) {
|
50 |
+
$pattern = "/<link rel='alternate' hreflang='(.*?)' href='(.*?)' \/>/i";
|
51 |
+
|
52 |
+
preg_match_all( $pattern, $string, $matches );
|
53 |
+
|
54 |
+
if( !empty( $matches[1] ) ) {
|
55 |
+
return array_combine( $matches[1], $matches[2] );
|
56 |
+
}
|
57 |
+
|
58 |
+
return false;
|
59 |
+
}
|
60 |
+
|
61 |
+
public function print_hreflang_js_config() {
|
62 |
+
|
63 |
+
if( !is_array( $this->hreflang_items ) ) {
|
64 |
+
return;
|
65 |
+
}
|
66 |
+
|
67 |
+
$js = '<script type="text/javascript">';
|
68 |
+
|
69 |
+
$js .= 'window.ec = window.ec || Object();';
|
70 |
+
$js .= 'window.ec.config = window.ec.config || Object();';
|
71 |
+
|
72 |
+
$js .= 'window.ec.config.storefrontUrls.enableHreflangTags = true;';
|
73 |
+
$js .= 'window.ec.config.storefrontUrls.internationalPages = {';
|
74 |
+
|
75 |
+
foreach( $this->hreflang_items as $lang => $url ) {
|
76 |
+
$js .= sprintf( '"%s": "%s",', $lang, $url );
|
77 |
+
}
|
78 |
+
|
79 |
+
$js .= '};';
|
80 |
+
|
81 |
+
$js .= '</script>';
|
82 |
+
|
83 |
+
echo $js;
|
84 |
+
}
|
85 |
+
}
|
86 |
+
|
87 |
+
$ecwid_integration_polylang = new Ecwid_Integration_Polylang();
|
includes/integrations/class-ecwid-integration-wpml.php
CHANGED
@@ -11,12 +11,25 @@ class Ecwid_Integration_WPML
|
|
11 |
}
|
12 |
|
13 |
add_filter( 'ecwid_lang', array( $this, 'force_scriptjs_lang' ) );
|
14 |
-
add_filter( 'wpml_hreflangs', array( $this, '
|
15 |
-
add_filter( 'wpml_hreflangs_html', array( $this, '
|
|
|
|
|
|
|
|
|
|
|
16 |
}
|
17 |
|
18 |
public function set_hreflangs( $hreflang_items ) {
|
19 |
$this->hreflang_items = $hreflang_items;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
add_filter( 'ecwid_hreflangs', array( $this, 'get_hreflangs' ), 10, 1);
|
22 |
add_filter( 'ecwid_inline_js_config', array( $this, 'add_inline_js_config' ), 10, 1);
|
@@ -24,11 +37,7 @@ class Ecwid_Integration_WPML
|
|
24 |
return $hreflang_items;
|
25 |
}
|
26 |
|
27 |
-
public function
|
28 |
-
return $this->hreflang_items;
|
29 |
-
}
|
30 |
-
|
31 |
-
public function set_hreflangs_html( $hreflang ) {
|
32 |
if( class_exists( 'Ecwid_Static_Page' ) && Ecwid_Static_Page::is_data_available() ) {
|
33 |
$ecwid_hreflang = Ecwid_Static_Page::get_href_lang_html();
|
34 |
if( $ecwid_hreflang ) {
|
@@ -54,11 +63,6 @@ class Ecwid_Integration_WPML
|
|
54 |
return $js;
|
55 |
}
|
56 |
|
57 |
-
public function force_scriptjs_lang( $lang ) {
|
58 |
-
$current_language_code = apply_filters( 'wpml_current_language', null );
|
59 |
-
return $current_language_code;
|
60 |
-
}
|
61 |
-
|
62 |
public function mod_relative_permalink( $default_link, $item_id ) {
|
63 |
global $sitepress;
|
64 |
|
11 |
}
|
12 |
|
13 |
add_filter( 'ecwid_lang', array( $this, 'force_scriptjs_lang' ) );
|
14 |
+
add_filter( 'wpml_hreflangs', array( $this, 'filter_hreflangs' ), 10, 1 );
|
15 |
+
add_filter( 'wpml_hreflangs_html', array( $this, 'filter_hreflangs_html'), 10, 1 );
|
16 |
+
}
|
17 |
+
|
18 |
+
public function force_scriptjs_lang( $lang ) {
|
19 |
+
$current_language_code = apply_filters( 'wpml_current_language', null );
|
20 |
+
return $current_language_code;
|
21 |
}
|
22 |
|
23 |
public function set_hreflangs( $hreflang_items ) {
|
24 |
$this->hreflang_items = $hreflang_items;
|
25 |
+
}
|
26 |
+
|
27 |
+
public function get_hreflangs() {
|
28 |
+
return $this->hreflang_items;
|
29 |
+
}
|
30 |
+
|
31 |
+
public function filter_hreflangs( $hreflang_items ) {
|
32 |
+
$this->set_hreflangs( $hreflang_items );
|
33 |
|
34 |
add_filter( 'ecwid_hreflangs', array( $this, 'get_hreflangs' ), 10, 1);
|
35 |
add_filter( 'ecwid_inline_js_config', array( $this, 'add_inline_js_config' ), 10, 1);
|
37 |
return $hreflang_items;
|
38 |
}
|
39 |
|
40 |
+
public function filter_hreflangs_html( $hreflang ) {
|
|
|
|
|
|
|
|
|
41 |
if( class_exists( 'Ecwid_Static_Page' ) && Ecwid_Static_Page::is_data_available() ) {
|
42 |
$ecwid_hreflang = Ecwid_Static_Page::get_href_lang_html();
|
43 |
if( $ecwid_hreflang ) {
|
63 |
return $js;
|
64 |
}
|
65 |
|
|
|
|
|
|
|
|
|
|
|
66 |
public function mod_relative_permalink( $default_link, $item_id ) {
|
67 |
global $sitepress;
|
68 |
|
includes/shortcodes/class-ecwid-shortcode-productbrowser.php
CHANGED
@@ -44,13 +44,18 @@ class Ecwid_Shortcode_ProductBrowser extends Ecwid_Shortcode_Base {
|
|
44 |
|
45 |
$code = <<<HTML
|
46 |
<script>
|
47 |
-
document.documentElement.id
|
48 |
-
document.
|
|
|
|
|
|
|
|
|
|
|
49 |
</script>
|
50 |
HTML;
|
51 |
}
|
52 |
|
53 |
-
if ( Ecwid_Static_Page::is_enabled_static_home_page() ) {
|
54 |
$code .= self::_get_js_switch_dynamic('static-ec-store', 'dynamic-ec-store');
|
55 |
} else {
|
56 |
$code .= self::_get_js_hide_static('#static-ec-store');
|
44 |
|
45 |
$code = <<<HTML
|
46 |
<script>
|
47 |
+
if( typeof document.documentElement.id == 'undefined' || document.documentElement.id === '' ) {
|
48 |
+
document.documentElement.id = 'ecwid_html';
|
49 |
+
}
|
50 |
+
|
51 |
+
if( typeof document.body.id == 'undefined' || document.body.id === '' ) {
|
52 |
+
document.body.id = 'ecwid_body';
|
53 |
+
}
|
54 |
</script>
|
55 |
HTML;
|
56 |
}
|
57 |
|
58 |
+
if ( Ecwid_Static_Page::is_enabled_static_home_page() && Ecwid_Static_Page::is_feature_available() ) {
|
59 |
$code .= self::_get_js_switch_dynamic('static-ec-store', 'dynamic-ec-store');
|
60 |
} else {
|
61 |
$code .= self::_get_js_hide_static('#static-ec-store');
|
languages/ecwid-shopping-cart-ru_RU.mo
CHANGED
Binary file
|
languages/ecwid-shopping-cart-ru_RU.po
CHANGED
@@ -5,14 +5,14 @@ msgstr ""
|
|
5 |
"Project-Id-Version: Ecwid Shopping Cart 4.9.4\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ecwid-shopping-cart\n"
|
7 |
"POT-Creation-Date: 2017-05-30 19:04:12+00:00\n"
|
8 |
-
"PO-Revision-Date: 2019-
|
9 |
"Language: ru_RU\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Last-Translator: \n"
|
14 |
"Language-Team: \n"
|
15 |
-
"X-Generator: Poedit 2.2.
|
16 |
|
17 |
#: ecwid-shopping-cart.php:820
|
18 |
msgid "%s plugin doesn't work well with my \"%s\" theme"
|
@@ -46,7 +46,10 @@ msgstr "Сообщить о проблеме"
|
|
46 |
msgid "<a %s>Online store powered by %s</a>"
|
47 |
msgstr "<a %s>Интернет магазин построен на Эквиде</a>"
|
48 |
|
49 |
-
#: ecwid-shopping-cart.php:1497 includes/class-ecwid-nav-menus.php:111
|
|
|
|
|
|
|
50 |
msgid "Store"
|
51 |
msgstr "Магазин"
|
52 |
|
@@ -66,7 +69,8 @@ msgstr "Настройки"
|
|
66 |
msgid "Dashboard"
|
67 |
msgstr "Консоль"
|
68 |
|
69 |
-
#: ecwid-shopping-cart.php:1801 includes/class-ecwid-admin.php:58
|
|
|
70 |
msgid "Products"
|
71 |
msgstr "Товары"
|
72 |
|
@@ -110,7 +114,8 @@ msgstr "Продажи"
|
|
110 |
msgid "Appearance settings"
|
111 |
msgstr "Настройки внешнего вида"
|
112 |
|
113 |
-
#: includes/class-ecwid-admin.php:69 templates/product-popup.php:183
|
|
|
114 |
msgid "Appearance"
|
115 |
msgstr "Внешний вид"
|
116 |
|
@@ -163,11 +168,7 @@ msgid "Enter optional CSS classes to be used for this module. A CSS class can be
|
|
163 |
msgstr ""
|
164 |
|
165 |
#: includes/class-ecwid-message-manager.php:45
|
166 |
-
msgid ""
|
167 |
-
"Sorry, there is a problem. This page is supposed to display your store Control Panel. However, this Wordpress site doesn't seem to be able to connect to the Ecwid server to show your store dashboard here. This is likely caused by your server misconfiguration and can be fixed by your hosting "
|
168 |
-
"provider. Here is a more techy description of the problem, which you can send to your hosting provider: \"The Wordpress function wp_remote_post() failed to connect a remote server because of some error: \"%s\". Seems like HTTP POST requests are disabled on this server\". <br /><br />Please "
|
169 |
-
"feel free to contact us at <a %s>wordpress@ecwid.com</a> and we will help you contact your hosting and ask them to fix the issue. <br /><br /> Meanwhile, to manage your store, you can use the Ecwid Web Control Panel at <a %s>my.ecwid.com</a>. Your store front is working fine as well and you "
|
170 |
-
"can check it here: <a %s>%s</a>."
|
171 |
msgstr ""
|
172 |
|
173 |
#: includes/class-ecwid-message-manager.php:194
|
@@ -230,15 +231,19 @@ msgstr "Добавить в меню"
|
|
230 |
msgid "Cart"
|
231 |
msgstr "Корзина"
|
232 |
|
233 |
-
#: includes/class-ecwid-nav-menus.php:276
|
|
|
234 |
msgid "Shopping Cart"
|
235 |
msgstr "Корзина"
|
236 |
|
237 |
-
#: includes/class-ecwid-nav-menus.php:281
|
|
|
|
|
238 |
msgid "Product Search"
|
239 |
msgstr "Поиск товаров"
|
240 |
|
241 |
-
#: includes/class-ecwid-nav-menus.php:289
|
|
|
242 |
msgid "My Account"
|
243 |
msgstr "Профиль"
|
244 |
|
@@ -266,7 +271,8 @@ msgstr "Следующая"
|
|
266 |
msgid "Last Page"
|
267 |
msgstr "Конец"
|
268 |
|
269 |
-
#: includes/class-ecwid-store-editor.php:44 templates/store-popup.php:11
|
|
|
270 |
msgid "Add Store"
|
271 |
msgstr "Добавить магазин"
|
272 |
|
@@ -283,35 +289,24 @@ msgid "How secure is this plugin? Is my store PCI DSS compliant?"
|
|
283 |
msgstr "Безопасен ли Эквид?"
|
284 |
|
285 |
#: includes/faq_entries.php:6
|
286 |
-
msgid ""
|
287 |
-
"
|
288 |
-
"#security\">More details.</a>"
|
289 |
-
msgstr ""
|
290 |
-
"Эквид сертифицирован по стандарту PCI DSS Level 1. Это высший уровень соответствия мировым требованиям безопасной передачи данных: информация вашего магазина и ваших клиентов надёжно защищена. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/ru/articles/207101259-Wordpress#security"
|
291 |
-
"\">Подробнее о безопасности.</a>"
|
292 |
|
293 |
#: includes/faq_entries.php:12
|
294 |
msgid "How can I manage my store from a mobile device?"
|
295 |
msgstr "Как быстро внести изменения в каталог товаров?"
|
296 |
|
297 |
#: includes/faq_entries.php:13
|
298 |
-
msgid ""
|
299 |
-
"
|
300 |
-
msgstr ""
|
301 |
-
"Лучший способ быстро изменить что-либо в товаре – воспользоваться мобильным приложение. Приложение Эквида для iOS и Android доступно с любым платным тарифным планом и поможет вам управлять заказами, вносить изменения в каталог товаров и регистрировать новые покупки при личных встречах с "
|
302 |
-
"покупателями где бы вы ни находились. <a target=\"_blank\" href=\"https://www.ecwid.ru/blog/quick-mobile-connect.html\">Подробнее о мобильном приложении.</a>"
|
303 |
|
304 |
#: includes/faq_entries.php:20
|
305 |
msgid "How to set up a storefront on Facebook with Ecwid?"
|
306 |
msgstr "Как добавить магазин на Facebook?"
|
307 |
|
308 |
#: includes/faq_entries.php:21
|
309 |
-
msgid ""
|
310 |
-
"
|
311 |
-
"Facebook-Shop\">More details.</a>"
|
312 |
-
msgstr ""
|
313 |
-
"Вы можете разместить магазин не только на своём WordPress-сайте, но и на любой другой странице включая Facebook. Зеркальная копия витрины мгновенно отражает любые изменения в магазине. Новые товары в каталоге, наличие на складе, заказы и покупатели – все данные распространяются между "
|
314 |
-
"витринами на лету. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/ru/articles/115005892705-%D0%9C%D0%B0%D0%B3%D0%B0%D0%B7%D0%B8%D0%BD-%D0%BD%D0%B0-%D0%A4%D0%B5%D0%B9%D1%81%D0%B1%D1%83%D0%BA%D0%B5\">Подробнее об установке на Facebook.</a>"
|
315 |
|
316 |
#: includes/faq_entries.php:28
|
317 |
msgid "How can I add a cart widget to my site sidebar?"
|
@@ -334,9 +329,7 @@ msgid "How do I add store categories to the site menu?"
|
|
334 |
msgstr "Как добавить категории в меню сайта?"
|
335 |
|
336 |
#: includes/faq_entries.php:46
|
337 |
-
msgid ""
|
338 |
-
"You can add the store categories menu to your site menu to help your customers easily navigate your site. Just open \"Appearance > Menus\" in your WordPress control panel and add the \"Store with Categories Menu\" item to your site menu. A drop-down menu containing your store categories will "
|
339 |
-
"automatically appear on your site."
|
340 |
msgstr "Перейдите на страницу «Внешний вид > Меню», добавьте элемент «Магазин с меню категорий» в меню и сохраните изменения. Сразу после сохранения меню сайта пополнится выпадающим списком категорий вашего магазина."
|
341 |
|
342 |
#: includes/faq_entries.php:52
|
@@ -344,13 +337,8 @@ msgid "How do I put my products in the sitemap?"
|
|
344 |
msgstr "Как добавить товары в карту сайта (sitemap)?"
|
345 |
|
346 |
#: includes/faq_entries.php:53
|
347 |
-
msgid ""
|
348 |
-
"
|
349 |
-
"plugins are fully compatible with Ecwid and allow to generate a sitemap that will contain links to categories and product pages, so the store pages will get indexed faster. Please note that this option is available to <a target=\"_blank\" href=\"https://www.ecwid.com/pricing\">paid Ecwid "
|
350 |
-
"users</a>."
|
351 |
-
msgstr ""
|
352 |
-
"Для создания карты сайта мы рекомендуем использовать плагин <a target=\"_blank\" href=\"https://ru.wordpress.org/plugins/google-sitemap-plugin/\">Google XML Sitemaps</a> или <a target=\"_blank\" href=\"https://ru.wordpress.org/plugins/wordpress-seo/\">Yoast Wordpress SEO</a>. После установки "
|
353 |
-
"плагин создаст карту сайта, содержащую ссылки на страницы товаров и категорий, и ускорит их индексацию поисковыми движками. Чтобы воспользоваться этой возможностью подпишитесь на любой <a target=\"_blank\" href=\"https://www.ecwid.ru/pricing\">платный тарифный план</a>."
|
354 |
|
355 |
#: includes/faq_entries.php:58
|
356 |
msgid "How to add a single product with the add to bag button to the site pages?"
|
@@ -379,8 +367,13 @@ msgstr "Эквид совместим с любой темой, будь то б
|
|
379 |
msgid "See more"
|
380 |
msgstr "Посмотреть все"
|
381 |
|
382 |
-
#: includes/themes/class-ecwid-theme-twentyfifteen.php:32
|
383 |
-
#: includes/themes/class-ecwid-theme-
|
|
|
|
|
|
|
|
|
|
|
384 |
msgid "Shop"
|
385 |
msgstr "Магазин"
|
386 |
|
@@ -392,23 +385,28 @@ msgstr "Если вам нравится Эквид и вы хотите пом
|
|
392 |
msgid "Ecwid Badge"
|
393 |
msgstr "Значок Эквида"
|
394 |
|
395 |
-
#: includes/widgets/class-ecwid-widget-badge.php:17
|
|
|
396 |
msgid "Ecwid shopping cart widget"
|
397 |
msgstr "Виджет интернет-магазина Эквид"
|
398 |
|
399 |
-
#: includes/widgets/class-ecwid-widget-badge.php:29
|
|
|
400 |
msgid "Ecwid ecommerce solution"
|
401 |
msgstr "Решение для электронной коммерции Эквид"
|
402 |
|
403 |
-
#: includes/widgets/class-ecwid-widget-badge.php:35
|
|
|
404 |
msgid "Ecwid free shopping cart"
|
405 |
msgstr "Беспланный конструктов интернет-магазинов Эквид"
|
406 |
|
407 |
-
#: includes/widgets/class-ecwid-widget-badge.php:41
|
|
|
408 |
msgid "Ecwid shopping cart"
|
409 |
msgstr "Интернет-магазин Эквид"
|
410 |
|
411 |
-
#: includes/widgets/class-ecwid-widget-badge.php:47
|
|
|
412 |
msgid "Ecwid e-commerce widgets"
|
413 |
msgstr "Виджеты для электронной коммерции Эквид"
|
414 |
|
@@ -440,7 +438,11 @@ msgstr "Добавляет компактный виджет корзины по
|
|
440 |
msgid "Shopping Cart (Mini)"
|
441 |
msgstr "Корзина (Мини)"
|
442 |
|
443 |
-
#: includes/widgets/class-ecwid-widget-minicart-miniview.php:44
|
|
|
|
|
|
|
|
|
444 |
msgid "Title:"
|
445 |
msgstr "Название:"
|
446 |
|
@@ -452,15 +454,18 @@ msgstr "Добавляет виджет корзины покупателя дл
|
|
452 |
msgid "Displays a list of products recently viewed by the customer to easily return to the products they saw in your shop."
|
453 |
msgstr "Показывает список товаров, просмотренных покупателем. Позволяет покупателю быстро перейти к товарам, которые их заинтересовали раньше."
|
454 |
|
455 |
-
#: includes/widgets/class-ecwid-widget-recently-viewed.php:10
|
|
|
456 |
msgid "Recently Viewed Products"
|
457 |
msgstr "Просмотренные товары"
|
458 |
|
459 |
-
#: includes/widgets/class-ecwid-widget-recently-viewed.php:124
|
|
|
460 |
msgid "You have not viewed any product yet. Open store."
|
461 |
msgstr "Вы пока что не просмотрели ни одного товара. Открыть магазин."
|
462 |
|
463 |
-
#: includes/widgets/class-ecwid-widget-recently-viewed.php:164
|
|
|
464 |
msgid "Title"
|
465 |
msgstr "Название"
|
466 |
|
@@ -504,7 +509,8 @@ msgstr "Показывает список корневых категорий д
|
|
504 |
msgid "Store Root Categories"
|
505 |
msgstr "Корневые категории магазина"
|
506 |
|
507 |
-
#: includes/widgets/class-ecwid-widget-vertical-categories-list.php:22
|
|
|
508 |
msgid "Browse by Category"
|
509 |
msgstr "Категории магазина"
|
510 |
|
@@ -577,12 +583,8 @@ msgid "Store root category"
|
|
577 |
msgstr "Корневая категория магазина"
|
578 |
|
579 |
#: templates/advanced-settings.php:74
|
580 |
-
msgid ""
|
581 |
-
"
|
582 |
-
"new visitors."
|
583 |
-
msgstr ""
|
584 |
-
"По умолчанию, магазин показывает корневые категории. Здесь можно выбрать другую категорию для отображения, когда покупатель впервые открывает ваш магазин. Это может быть полезно, если у вас есть только одна категория или вы хотите показывать определённые набор товаров (например, специальные "
|
585 |
-
"предложения) новым пользователям."
|
586 |
|
587 |
#: templates/advanced-settings.php:97
|
588 |
msgid "Customer Single Sign-On"
|
@@ -590,9 +592,7 @@ msgstr "Единый вход для покупателей"
|
|
590 |
|
591 |
#: templates/advanced-settings.php:102
|
592 |
msgid "Single Sign-On allows your customers to have a single login for your WordPress site and your %s. When someone logs in to your site, they will automatically be logged in to their customer account in your store as well with no need to enter their email/password again."
|
593 |
-
msgstr ""
|
594 |
-
"Объединяет учетную запись покупателя на сайте с его учетной записью в %s. Когда единый вход включен, покупателю не нужно логиниться дважды – на сайте и в магазине. После входа в свой аккаунт на сайте покупатель может смотреть историю своих заказов и оформлять новый заказ с предзаполненным "
|
595 |
-
"email и адресом доставки."
|
596 |
|
597 |
#: templates/advanced-settings.php:109
|
598 |
msgid "Upgrade to get this feature"
|
@@ -622,22 +622,26 @@ msgstr "Автоматическая подстройка внешнего ви
|
|
622 |
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>."
|
623 |
msgstr "Мы добавили этот инструмент недавно, и он сейчас работает в бета-режиме. Если вы обнаружите какие-либо проблемы в его работе, пожалуйста, <a %s>сообщите нам</a>."
|
624 |
|
625 |
-
#: templates/advanced-settings.php:
|
626 |
-
msgid "Integration with search on your site
|
627 |
-
msgstr "Интеграция с поиском на сайте
|
628 |
|
629 |
#: templates/advanced-settings.php:180
|
630 |
-
msgid ""
|
631 |
-
"%s
|
632 |
-
"option enables a local storage mode: the products will be stored both in the cloud and on your site. The site search results will list product pages as well as regular pages/posts of your site."
|
633 |
-
msgstr ""
|
634 |
-
"%s хранит данные товаров магазина в защищенном облачном хранилище, и показывает их прямо на странице магазина, когда посетитель открывает товар. Поэтому данные товаров не хранятся на вашем сайте, а поиск по сайту находит только страницы и записи сайта — не находит товары магазина. Эта "
|
635 |
-
"настройка включает локальное хранение товаров: данные товаров будут храниться и в облачном хранилище, и прямо на вашем сайте. Поиск по сайту будет показывать страницы товаров магазина так же, как записи или страницы, размещенные на сайте."
|
636 |
|
637 |
#: templates/advanced-settings.php:188
|
638 |
msgid "Please note this functionality is in beta. So if you run into difficulties or find problems with it, please <a %s>let us know</a>."
|
639 |
msgstr "Эта функция сейчас работает в бета-режиме. Если вы обнаружите проблемы в её работе, пожалуйста, <a %s>сообщите нам</a>."
|
640 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
641 |
#: templates/advanced-settings.php:197 templates/appearance-settings.php:217
|
642 |
msgid "Save changes"
|
643 |
msgstr "Сохранить изменения"
|
@@ -698,15 +702,18 @@ msgstr "Здесь вы можете задать количество отоб
|
|
698 |
msgid "Default view mode on product pages"
|
699 |
msgstr "Вид страницы продуктов по умолчанию"
|
700 |
|
701 |
-
#: templates/appearance-settings.php:183 templates/appearance-settings.php:201
|
|
|
702 |
msgid "Grid"
|
703 |
msgstr "Сетка"
|
704 |
|
705 |
-
#: templates/appearance-settings.php:186 templates/appearance-settings.php:204
|
|
|
706 |
msgid "List"
|
707 |
msgstr "Список"
|
708 |
|
709 |
-
#: templates/appearance-settings.php:189 templates/appearance-settings.php:207
|
|
|
710 |
msgid "Table"
|
711 |
msgstr "Таблица"
|
712 |
|
@@ -714,7 +721,8 @@ msgstr "Таблица"
|
|
714 |
msgid "Default view mode on search results"
|
715 |
msgstr "Вид страницы результатов поиска по умолчанию"
|
716 |
|
717 |
-
#: templates/connect.php:5 templates/dashboard.php:6
|
|
|
718 |
msgid "%s Shopping Cart"
|
719 |
msgstr "Интернет-магазин %s"
|
720 |
|
@@ -726,7 +734,8 @@ msgstr "Подключите магазин<br /> к своему WordPress са
|
|
726 |
msgid "Enter your Store ID"
|
727 |
msgstr "Введите ваш ID Магазина"
|
728 |
|
729 |
-
#: templates/connect.php:20 templates/landing_old.php:27
|
|
|
730 |
msgid "Connect"
|
731 |
msgstr "Подключите магазин"
|
732 |
|
@@ -750,7 +759,8 @@ msgstr "ID магазина – это уникальный номер акка
|
|
750 |
msgid "Don't have an %s account? Create one now."
|
751 |
msgstr "Ещё нет аккаунта в %s? Зарегистрируйтесь"
|
752 |
|
753 |
-
#: templates/dashboard.php:10 templates/store-popup.php:231
|
|
|
754 |
msgid "Store ID"
|
755 |
msgstr "ID Магазина"
|
756 |
|
@@ -1098,7 +1108,8 @@ msgstr "Название"
|
|
1098 |
msgid "SKU"
|
1099 |
msgstr "Артикул"
|
1100 |
|
1101 |
-
#: templates/product-popup.php:47 templates/product-popup.php:53
|
|
|
1102 |
msgid "Search"
|
1103 |
msgstr "Поиск"
|
1104 |
|
@@ -1679,6 +1690,9 @@ msgstr "Тема моего сайта: %s"
|
|
1679 |
msgid "To improve the look and feel of your product page and manage your its appearance here, please enable the “Next-gen look and feel of the product page on the storefront” option in your store dashboard (<a href=\"admin.php?page=ec-store-admin-whatsnew\">Settings → What’s New</a>)."
|
1680 |
msgstr "Чтобы обновить дизайн страницы товара и управлять настройками вида в редакторе, включите опцию “Обновленный внешний вид страницы товара” в панели управления магазина (<a href=\"admin.php?page=ec-store-admin-whatsnew\">Настройки → Обновления</a>)"
|
1681 |
|
|
|
|
|
|
|
1682 |
#. Plugin URI of the plugin/theme
|
1683 |
#. Author URI of the plugin/theme
|
1684 |
msgid "http://www.ecwid.com?source=wporg"
|
5 |
"Project-Id-Version: Ecwid Shopping Cart 4.9.4\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ecwid-shopping-cart\n"
|
7 |
"POT-Creation-Date: 2017-05-30 19:04:12+00:00\n"
|
8 |
+
"PO-Revision-Date: 2019-06-13 13:39+0400\n"
|
9 |
"Language: ru_RU\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Last-Translator: \n"
|
14 |
"Language-Team: \n"
|
15 |
+
"X-Generator: Poedit 2.2.3\n"
|
16 |
|
17 |
#: ecwid-shopping-cart.php:820
|
18 |
msgid "%s plugin doesn't work well with my \"%s\" theme"
|
46 |
msgid "<a %s>Online store powered by %s</a>"
|
47 |
msgstr "<a %s>Интернет магазин построен на Эквиде</a>"
|
48 |
|
49 |
+
#: ecwid-shopping-cart.php:1497 includes/class-ecwid-nav-menus.php:111
|
50 |
+
#: includes/class-ecwid-nav-menus.php:297
|
51 |
+
#: includes/class-ecwid-nav-menus.php:300
|
52 |
+
#: includes/class-ecwid-nav-menus.php:308
|
53 |
msgid "Store"
|
54 |
msgstr "Магазин"
|
55 |
|
69 |
msgid "Dashboard"
|
70 |
msgstr "Консоль"
|
71 |
|
72 |
+
#: ecwid-shopping-cart.php:1801 includes/class-ecwid-admin.php:58
|
73 |
+
#: includes/class-ecwid-admin.php:59 includes/class-ecwid-products.php:242
|
74 |
msgid "Products"
|
75 |
msgstr "Товары"
|
76 |
|
114 |
msgid "Appearance settings"
|
115 |
msgstr "Настройки внешнего вида"
|
116 |
|
117 |
+
#: includes/class-ecwid-admin.php:69 templates/product-popup.php:183
|
118 |
+
#: templates/store-popup.php:13 templates/store-popup.php:31
|
119 |
msgid "Appearance"
|
120 |
msgstr "Внешний вид"
|
121 |
|
168 |
msgstr ""
|
169 |
|
170 |
#: includes/class-ecwid-message-manager.php:45
|
171 |
+
msgid "Sorry, there is a problem. This page is supposed to display your store Control Panel. However, this Wordpress site doesn't seem to be able to connect to the Ecwid server to show your store dashboard here. This is likely caused by your server misconfiguration and can be fixed by your hosting provider. Here is a more techy description of the problem, which you can send to your hosting provider: \"The Wordpress function wp_remote_post() failed to connect a remote server because of some error: \"%s\". Seems like HTTP POST requests are disabled on this server\". <br /><br />Please feel free to contact us at <a %s>wordpress@ecwid.com</a> and we will help you contact your hosting and ask them to fix the issue. <br /><br /> Meanwhile, to manage your store, you can use the Ecwid Web Control Panel at <a %s>my.ecwid.com</a>. Your store front is working fine as well and you can check it here: <a %s>%s</a>."
|
|
|
|
|
|
|
|
|
172 |
msgstr ""
|
173 |
|
174 |
#: includes/class-ecwid-message-manager.php:194
|
231 |
msgid "Cart"
|
232 |
msgstr "Корзина"
|
233 |
|
234 |
+
#: includes/class-ecwid-nav-menus.php:276
|
235 |
+
#: includes/widgets/class-ecwid-widget-minicart.php:6
|
236 |
msgid "Shopping Cart"
|
237 |
msgstr "Корзина"
|
238 |
|
239 |
+
#: includes/class-ecwid-nav-menus.php:281
|
240 |
+
#: includes/class-ecwid-nav-menus.php:284
|
241 |
+
#: includes/widgets/class-ecwid-widget-search.php:10
|
242 |
msgid "Product Search"
|
243 |
msgstr "Поиск товаров"
|
244 |
|
245 |
+
#: includes/class-ecwid-nav-menus.php:289
|
246 |
+
#: includes/class-ecwid-nav-menus.php:292
|
247 |
msgid "My Account"
|
248 |
msgstr "Профиль"
|
249 |
|
271 |
msgid "Last Page"
|
272 |
msgstr "Конец"
|
273 |
|
274 |
+
#: includes/class-ecwid-store-editor.php:44 templates/store-popup.php:11
|
275 |
+
#: templates/store-popup.php:19
|
276 |
msgid "Add Store"
|
277 |
msgstr "Добавить магазин"
|
278 |
|
289 |
msgstr "Безопасен ли Эквид?"
|
290 |
|
291 |
#: includes/faq_entries.php:6
|
292 |
+
msgid "Ecwid is PCI DSS Level 1 certified, which is the gold standard for e-commerce solutions worldwide. This means you won't have any banking compliance issues when selling online with Ecwid. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#security\">More details.</a>"
|
293 |
+
msgstr "Эквид сертифицирован по стандарту PCI DSS Level 1. Это высший уровень соответствия мировым требованиям безопасной передачи данных: информация вашего магазина и ваших клиентов надёжно защищена. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/ru/articles/207101259-Wordpress#security\">Подробнее о безопасности.</a>"
|
|
|
|
|
|
|
|
|
294 |
|
295 |
#: includes/faq_entries.php:12
|
296 |
msgid "How can I manage my store from a mobile device?"
|
297 |
msgstr "Как быстро внести изменения в каталог товаров?"
|
298 |
|
299 |
#: includes/faq_entries.php:13
|
300 |
+
msgid "Ecwid provides free mobile applications for iOS and Android to manage your store and sell on the go. Scan products, track inventory, manage sales and accept payments using your mobile device as a POS station. <a target=\"_blank\" href=\"https://www.ecwid.com/ecwid-mobile\">More details.</a>"
|
301 |
+
msgstr "Лучший способ быстро изменить что-либо в товаре – воспользоваться мобильным приложение. Приложение Эквида для iOS и Android доступно с любым платным тарифным планом и поможет вам управлять заказами, вносить изменения в каталог товаров и регистрировать новые покупки при личных встречах с покупателями где бы вы ни находились. <a target=\"_blank\" href=\"https://www.ecwid.ru/blog/quick-mobile-connect.html\">Подробнее о мобильном приложении.</a>"
|
|
|
|
|
|
|
302 |
|
303 |
#: includes/faq_entries.php:20
|
304 |
msgid "How to set up a storefront on Facebook with Ecwid?"
|
305 |
msgstr "Как добавить магазин на Facebook?"
|
306 |
|
307 |
#: includes/faq_entries.php:21
|
308 |
+
msgid "You can add your online store to your Facebook business page. No addons needed. Ecwid will automatically synchronize products, customers, orders and inventory between your WordPress and Facebook storefronts. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/en-us/articles/115005892705-Facebook-Shop\">More details.</a>"
|
309 |
+
msgstr "Вы можете разместить магазин не только на своём WordPress-сайте, но и на любой другой странице включая Facebook. Зеркальная копия витрины мгновенно отражает любые изменения в магазине. Новые товары в каталоге, наличие на складе, заказы и покупатели – все данные распространяются между витринами на лету. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/ru/articles/115005892705-%D0%9C%D0%B0%D0%B3%D0%B0%D0%B7%D0%B8%D0%BD-%D0%BD%D0%B0-%D0%A4%D0%B5%D0%B9%D1%81%D0%B1%D1%83%D0%BA%D0%B5\">Подробнее об установке на Facebook.</a>"
|
|
|
|
|
|
|
|
|
310 |
|
311 |
#: includes/faq_entries.php:28
|
312 |
msgid "How can I add a cart widget to my site sidebar?"
|
329 |
msgstr "Как добавить категории в меню сайта?"
|
330 |
|
331 |
#: includes/faq_entries.php:46
|
332 |
+
msgid "You can add the store categories menu to your site menu to help your customers easily navigate your site. Just open \"Appearance > Menus\" in your WordPress control panel and add the \"Store with Categories Menu\" item to your site menu. A drop-down menu containing your store categories will automatically appear on your site."
|
|
|
|
|
333 |
msgstr "Перейдите на страницу «Внешний вид > Меню», добавьте элемент «Магазин с меню категорий» в меню и сохраните изменения. Сразу после сохранения меню сайта пополнится выпадающим списком категорий вашего магазина."
|
334 |
|
335 |
#: includes/faq_entries.php:52
|
337 |
msgstr "Как добавить товары в карту сайта (sitemap)?"
|
338 |
|
339 |
#: includes/faq_entries.php:53
|
340 |
+
msgid "To create sitemap for your Wordpress site we suggest using <a target=\"_blank\" href=\"https://wordpress.org/plugins/google-sitemap-generator/\">Google XML Sitemaps</a> or <a target=\"_blank\" href=\"https://wordpress.org/plugins/wordpress-seo/\">Yoast Wordpress SEO</a>. plugins. These plugins are fully compatible with Ecwid and allow to generate a sitemap that will contain links to categories and product pages, so the store pages will get indexed faster. Please note that this option is available to <a target=\"_blank\" href=\"https://www.ecwid.com/pricing\">paid Ecwid users</a>."
|
341 |
+
msgstr "Для создания карты сайта мы рекомендуем использовать плагин <a target=\"_blank\" href=\"https://ru.wordpress.org/plugins/google-sitemap-plugin/\">Google XML Sitemaps</a> или <a target=\"_blank\" href=\"https://ru.wordpress.org/plugins/wordpress-seo/\">Yoast Wordpress SEO</a>. После установки плагин создаст карту сайта, содержащую ссылки на страницы товаров и категорий, и ускорит их индексацию поисковыми движками. Чтобы воспользоваться этой возможностью подпишитесь на любой <a target=\"_blank\" href=\"https://www.ecwid.ru/pricing\">платный тарифный план</a>."
|
|
|
|
|
|
|
|
|
|
|
342 |
|
343 |
#: includes/faq_entries.php:58
|
344 |
msgid "How to add a single product with the add to bag button to the site pages?"
|
367 |
msgid "See more"
|
368 |
msgstr "Посмотреть все"
|
369 |
|
370 |
+
#: includes/themes/class-ecwid-theme-twentyfifteen.php:32
|
371 |
+
#: includes/themes/class-ecwid-theme-twentyfifteen.php:38
|
372 |
+
#: includes/themes/class-ecwid-theme-twentyseventeen.php:47
|
373 |
+
#: includes/themes/class-ecwid-theme-twentyseventeen.php:53
|
374 |
+
#: includes/themes/class-ecwid-theme-twentysixteen.php:35
|
375 |
+
#: includes/themes/class-ecwid-theme-twentysixteen.php:41
|
376 |
+
#: includes/widgets/class-ecwid-widget-store-link.php:29
|
377 |
msgid "Shop"
|
378 |
msgstr "Магазин"
|
379 |
|
385 |
msgid "Ecwid Badge"
|
386 |
msgstr "Значок Эквида"
|
387 |
|
388 |
+
#: includes/widgets/class-ecwid-widget-badge.php:17
|
389 |
+
#: includes/widgets/class-ecwid-widget-badge.php:23
|
390 |
msgid "Ecwid shopping cart widget"
|
391 |
msgstr "Виджет интернет-магазина Эквид"
|
392 |
|
393 |
+
#: includes/widgets/class-ecwid-widget-badge.php:29
|
394 |
+
#: includes/widgets/class-ecwid-widget-badge.php:65
|
395 |
msgid "Ecwid ecommerce solution"
|
396 |
msgstr "Решение для электронной коммерции Эквид"
|
397 |
|
398 |
+
#: includes/widgets/class-ecwid-widget-badge.php:35
|
399 |
+
#: includes/widgets/class-ecwid-widget-badge.php:71
|
400 |
msgid "Ecwid free shopping cart"
|
401 |
msgstr "Беспланный конструктов интернет-магазинов Эквид"
|
402 |
|
403 |
+
#: includes/widgets/class-ecwid-widget-badge.php:41
|
404 |
+
#: includes/widgets/class-ecwid-widget-badge.php:53
|
405 |
msgid "Ecwid shopping cart"
|
406 |
msgstr "Интернет-магазин Эквид"
|
407 |
|
408 |
+
#: includes/widgets/class-ecwid-widget-badge.php:47
|
409 |
+
#: includes/widgets/class-ecwid-widget-badge.php:59
|
410 |
msgid "Ecwid e-commerce widgets"
|
411 |
msgstr "Виджеты для электронной коммерции Эквид"
|
412 |
|
438 |
msgid "Shopping Cart (Mini)"
|
439 |
msgstr "Корзина (Мини)"
|
440 |
|
441 |
+
#: includes/widgets/class-ecwid-widget-minicart-miniview.php:44
|
442 |
+
#: includes/widgets/class-ecwid-widget-minicart.php:44
|
443 |
+
#: includes/widgets/class-ecwid-widget-search.php:49
|
444 |
+
#: includes/widgets/class-ecwid-widget-vcategories.php:43
|
445 |
+
#: includes/widgets/class-ecwid-widget-vertical-categories-list.php:71
|
446 |
msgid "Title:"
|
447 |
msgstr "Название:"
|
448 |
|
454 |
msgid "Displays a list of products recently viewed by the customer to easily return to the products they saw in your shop."
|
455 |
msgstr "Показывает список товаров, просмотренных покупателем. Позволяет покупателю быстро перейти к товарам, которые их заинтересовали раньше."
|
456 |
|
457 |
+
#: includes/widgets/class-ecwid-widget-recently-viewed.php:10
|
458 |
+
#: includes/widgets/class-ecwid-widget-recently-viewed.php:153
|
459 |
msgid "Recently Viewed Products"
|
460 |
msgstr "Просмотренные товары"
|
461 |
|
462 |
+
#: includes/widgets/class-ecwid-widget-recently-viewed.php:124
|
463 |
+
#: includes/widgets/class-ecwid-widget-recently-viewed.php:154
|
464 |
msgid "You have not viewed any product yet. Open store."
|
465 |
msgstr "Вы пока что не просмотрели ни одного товара. Открыть магазин."
|
466 |
|
467 |
+
#: includes/widgets/class-ecwid-widget-recently-viewed.php:164
|
468 |
+
#: templates/product-popup.php:160
|
469 |
msgid "Title"
|
470 |
msgstr "Название"
|
471 |
|
509 |
msgid "Store Root Categories"
|
510 |
msgstr "Корневые категории магазина"
|
511 |
|
512 |
+
#: includes/widgets/class-ecwid-widget-vertical-categories-list.php:22
|
513 |
+
#: includes/widgets/class-ecwid-widget-vertical-categories-list.php:68
|
514 |
msgid "Browse by Category"
|
515 |
msgstr "Категории магазина"
|
516 |
|
583 |
msgstr "Корневая категория магазина"
|
584 |
|
585 |
#: templates/advanced-settings.php:74
|
586 |
+
msgid "By default, the storefront shows a list of root categories. You can override this behavior and show a different category when customers open your store for the first time. This is useful if you only have one category or want to display a specific set of items (e.g. \"Featured Products\") to new visitors."
|
587 |
+
msgstr "По умолчанию, магазин показывает корневые категории. Здесь можно выбрать другую категорию для отображения, когда покупатель впервые открывает ваш магазин. Это может быть полезно, если у вас есть только одна категория или вы хотите показывать определённые набор товаров (например, специальные предложения) новым пользователям."
|
|
|
|
|
|
|
|
|
588 |
|
589 |
#: templates/advanced-settings.php:97
|
590 |
msgid "Customer Single Sign-On"
|
592 |
|
593 |
#: templates/advanced-settings.php:102
|
594 |
msgid "Single Sign-On allows your customers to have a single login for your WordPress site and your %s. When someone logs in to your site, they will automatically be logged in to their customer account in your store as well with no need to enter their email/password again."
|
595 |
+
msgstr "Объединяет учетную запись покупателя на сайте с его учетной записью в %s. Когда единый вход включен, покупателю не нужно логиниться дважды – на сайте и в магазине. После входа в свой аккаунт на сайте покупатель может смотреть историю своих заказов и оформлять новый заказ с предзаполненным email и адресом доставки."
|
|
|
|
|
596 |
|
597 |
#: templates/advanced-settings.php:109
|
598 |
msgid "Upgrade to get this feature"
|
622 |
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>."
|
623 |
msgstr "Мы добавили этот инструмент недавно, и он сейчас работает в бета-режиме. Если вы обнаружите какие-либо проблемы в его работе, пожалуйста, <a %s>сообщите нам</a>."
|
624 |
|
625 |
+
#: templates/advanced-settings.php:164
|
626 |
+
msgid "Integration with search on your site"
|
627 |
+
msgstr "Интеграция с поиском на сайте"
|
628 |
|
629 |
#: templates/advanced-settings.php:180
|
630 |
+
msgid "%s stores your products data in a secure cloud storage. The product pages are displayed on the fly when a customer browses your store. So, basically, the products are not stored on the site, that's why the site search doesn't find product pages while looking through site pages and posts. This option enables a local storage mode: the products will be stored both in the cloud and on your site. The site search results will list product pages as well as regular pages/posts of your site."
|
631 |
+
msgstr "%s хранит данные товаров магазина в защищенном облачном хранилище, и показывает их прямо на странице магазина, когда посетитель открывает товар. Поэтому данные товаров не хранятся на вашем сайте, а поиск по сайту находит только страницы и записи сайта — не находит товары магазина. Эта настройка включает локальное хранение товаров: данные товаров будут храниться и в облачном хранилище, и прямо на вашем сайте. Поиск по сайту будет показывать страницы товаров магазина так же, как записи или страницы, размещенные на сайте."
|
|
|
|
|
|
|
|
|
632 |
|
633 |
#: templates/advanced-settings.php:188
|
634 |
msgid "Please note this functionality is in beta. So if you run into difficulties or find problems with it, please <a %s>let us know</a>."
|
635 |
msgstr "Эта функция сейчас работает в бета-режиме. Если вы обнаружите проблемы в её работе, пожалуйста, <a %s>сообщите нам</a>."
|
636 |
|
637 |
+
#: templates/advanced-settings.php:202
|
638 |
+
msgid "Cache and speed up the store home page <sup>new</sup>"
|
639 |
+
msgstr "Кеширование и ускорение главной страницы магазина <sup>новое</sup>"
|
640 |
+
|
641 |
+
#: templates/advanced-settings.php:206
|
642 |
+
msgid "This caches your store home page on your site to make it load way faster for your customers."
|
643 |
+
msgstr "Включает кеширование главной страницы магазина для ускорения загрузки витрины в браузере покупателя."
|
644 |
+
|
645 |
#: templates/advanced-settings.php:197 templates/appearance-settings.php:217
|
646 |
msgid "Save changes"
|
647 |
msgstr "Сохранить изменения"
|
702 |
msgid "Default view mode on product pages"
|
703 |
msgstr "Вид страницы продуктов по умолчанию"
|
704 |
|
705 |
+
#: templates/appearance-settings.php:183 templates/appearance-settings.php:201
|
706 |
+
#: templates/store-popup.php:197 templates/store-popup.php:215
|
707 |
msgid "Grid"
|
708 |
msgstr "Сетка"
|
709 |
|
710 |
+
#: templates/appearance-settings.php:186 templates/appearance-settings.php:204
|
711 |
+
#: templates/store-popup.php:200 templates/store-popup.php:218
|
712 |
msgid "List"
|
713 |
msgstr "Список"
|
714 |
|
715 |
+
#: templates/appearance-settings.php:189 templates/appearance-settings.php:207
|
716 |
+
#: templates/store-popup.php:203 templates/store-popup.php:221
|
717 |
msgid "Table"
|
718 |
msgstr "Таблица"
|
719 |
|
721 |
msgid "Default view mode on search results"
|
722 |
msgstr "Вид страницы результатов поиска по умолчанию"
|
723 |
|
724 |
+
#: templates/connect.php:5 templates/dashboard.php:6
|
725 |
+
#: templates/reconnect-sso.php:5 templates/reconnect.php:5
|
726 |
msgid "%s Shopping Cart"
|
727 |
msgstr "Интернет-магазин %s"
|
728 |
|
734 |
msgid "Enter your Store ID"
|
735 |
msgstr "Введите ваш ID Магазина"
|
736 |
|
737 |
+
#: templates/connect.php:20 templates/landing_old.php:27
|
738 |
+
#: templates/reconnect.php:23
|
739 |
msgid "Connect"
|
740 |
msgstr "Подключите магазин"
|
741 |
|
759 |
msgid "Don't have an %s account? Create one now."
|
760 |
msgstr "Ещё нет аккаунта в %s? Зарегистрируйтесь"
|
761 |
|
762 |
+
#: templates/dashboard.php:10 templates/store-popup.php:231
|
763 |
+
#: templates/store-svg.php:15
|
764 |
msgid "Store ID"
|
765 |
msgstr "ID Магазина"
|
766 |
|
1108 |
msgid "SKU"
|
1109 |
msgstr "Артикул"
|
1110 |
|
1111 |
+
#: templates/product-popup.php:47 templates/product-popup.php:53
|
1112 |
+
#: templates/product-popup.php:56
|
1113 |
msgid "Search"
|
1114 |
msgstr "Поиск"
|
1115 |
|
1690 |
msgid "To improve the look and feel of your product page and manage your its appearance here, please enable the “Next-gen look and feel of the product page on the storefront” option in your store dashboard (<a href=\"admin.php?page=ec-store-admin-whatsnew\">Settings → What’s New</a>)."
|
1691 |
msgstr "Чтобы обновить дизайн страницы товара и управлять настройками вида в редакторе, включите опцию “Обновленный внешний вид страницы товара” в панели управления магазина (<a href=\"admin.php?page=ec-store-admin-whatsnew\">Настройки → Обновления</a>)"
|
1692 |
|
1693 |
+
msgid "To use this functionality, please enable the "Next-gen look and feel of the product list on the storefront" option in your store dashboard ("<a%s>Settings → What's New</a>")."
|
1694 |
+
msgstr "Чтобы использовать этот функционал, включите опцию “Обновленный внешний вид каталога товаров на витрине” в панели управления магазина ("<a%s>Настройки → Обновления</a>")"
|
1695 |
+
|
1696 |
#. Plugin URI of the plugin/theme
|
1697 |
#. Author URI of the plugin/theme
|
1698 |
msgid "http://www.ecwid.com?source=wporg"
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Ecwid
|
|
3 |
Tags: ecommerce, e-commerce, storefront, online store, sell
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 5.2
|
6 |
-
Stable tag: 6.
|
7 |
|
8 |
Powerful, easy to use ecommerce shopping cart. Sell on Facebook and Instagram. iPhone & Android apps. Superb support. Free plan available.
|
9 |
|
@@ -153,6 +153,11 @@ You can use Ecwid’s built-in import tools to copy your store products from any
|
|
153 |
* [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
|
154 |
|
155 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
156 |
= 6.7.4 - Jun 6, 2019 =
|
157 |
- **Fixed the "Random products" sidebar widget layout issues**. Some users might notice that the random product widget didn't look good on e-commerce sites with a narrow sidebar. We fixed it so the widget work fine in narrow spaces.
|
158 |
- **Fixed slow loading issue for the site admin**. After the latest Ecwid Ecommerce plugin update you might notice the store page loaded a bit longer. That was a bug. It didn't affect how the site loaded for your customers, but it did slow it down for you, the site administrator. We fixed it.
|
3 |
Tags: ecommerce, e-commerce, storefront, online store, sell
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 5.2
|
6 |
+
Stable tag: 6.8
|
7 |
|
8 |
Powerful, easy to use ecommerce shopping cart. Sell on Facebook and Instagram. iPhone & Android apps. Superb support. Free plan available.
|
9 |
|
153 |
* [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
|
154 |
|
155 |
== Changelog ==
|
156 |
+
= 6.8 - Jun 13, 2019 =
|
157 |
+
- **New cool feature — cache and speed up your store page**. Available on the Ecwid/Advanced settings page inside your WordPress admin backend. Tick the new checkbox there to make it cache and speed up the store home page on your ecommerce site. When it’s enabled, you and your customer will see your store page load way faster than before.
|
158 |
+
- **Compatibility with more multilingual plugins**. As we mentioned before, Ecwid now supports full-featured multilingual storefronts. Previously, we made it compatible with the WPML plugin. In this update, we are adding support for more multilingual plugins: Polylang, TranslatePress, WPGlobus, WP Multilang, Multisite Language Switcher, MultilingualPress, Multilanguage by BestWebSoft, Transposh WordPress Translation and more. In general, if some plugin or a custom code switches locale on your site, Ecwid should be compatible with it and change the storefront language accordingly. So, if you have enabled the multilingual mode in your ecommerce store and are supporting several languages on your WordPress site, your shop pages will be displayed in the language selected by a visitor.
|
159 |
+
- Minor fixes and improvements.
|
160 |
+
|
161 |
= 6.7.4 - Jun 6, 2019 =
|
162 |
- **Fixed the "Random products" sidebar widget layout issues**. Some users might notice that the random product widget didn't look good on e-commerce sites with a narrow sidebar. We fixed it so the widget work fine in narrow spaces.
|
163 |
- **Fixed slow loading issue for the site admin**. After the latest Ecwid Ecommerce plugin update you might notice the store page loaded a bit longer. That was a bug. It didn't affect how the site loaded for your customers, but it did slow it down for you, the site administrator. We fixed it.
|
templates/advanced-settings.php
CHANGED
@@ -166,7 +166,7 @@
|
|
166 |
disabled="disabled"
|
167 |
<?php endif; ?>
|
168 |
/>
|
169 |
-
<?php _e('Integration with search on your site
|
170 |
</label>
|
171 |
|
172 |
<div class="note">
|
@@ -177,8 +177,46 @@
|
|
177 |
|
178 |
<?php ecwid_sync_do_page(); ?>
|
179 |
|
180 |
-
<
|
181 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
</div>
|
183 |
|
184 |
</fieldset>
|
166 |
disabled="disabled"
|
167 |
<?php endif; ?>
|
168 |
/>
|
169 |
+
<?php _e('Integration with search on your site', 'ecwid-shopping-cart'); ?>
|
170 |
</label>
|
171 |
|
172 |
<div class="note">
|
177 |
|
178 |
<?php ecwid_sync_do_page(); ?>
|
179 |
|
180 |
+
<hr />
|
181 |
+
|
182 |
+
|
183 |
+
<div class="pure-control-group checkbox">
|
184 |
+
<div class="label">
|
185 |
+
|
186 |
+
<input type="hidden" name="<?php echo Ecwid_Static_Page::OPTION_IS_ENABLED; ?>" value="<?php echo Ecwid_Static_Page::OPTION_VALUE_DISABLED; ?>" />
|
187 |
+
|
188 |
+
<label for="<?php echo Ecwid_Static_Page::OPTION_IS_ENABLED; ?>">
|
189 |
+
|
190 |
+
<input
|
191 |
+
id="<?php echo Ecwid_Static_Page::OPTION_IS_ENABLED; ?>"
|
192 |
+
name="<?php echo Ecwid_Static_Page::OPTION_IS_ENABLED; ?>"
|
193 |
+
type="checkbox"
|
194 |
+
|
195 |
+
<?php if ( get_option( Ecwid_Static_Page::OPTION_IS_ENABLED ) == Ecwid_Static_Page::OPTION_VALUE_ENABLED ): ?>
|
196 |
+
checked="checked"
|
197 |
+
<?php endif; ?>
|
198 |
+
|
199 |
+
<?php if ( !Ecwid_Static_Page::is_feature_available() ): ?>
|
200 |
+
disabled="disabled"
|
201 |
+
<?php endif; ?>
|
202 |
+
|
203 |
+
value="Y"
|
204 |
+
/>
|
205 |
+
<?php _e('Cache and speed up the store home page <sup>new</sup>', 'ecwid-shopping-cart'); ?>
|
206 |
+
</label>
|
207 |
+
|
208 |
+
<?php if ( Ecwid_Static_Page::is_feature_available() ): ?>
|
209 |
+
<div class="note">
|
210 |
+
<?php echo __( 'This caches your store home page on your site to make it load way faster for your customers.', 'ecwid-shopping-cart' ); ?>
|
211 |
+
</div>
|
212 |
+
<?php else: ?>
|
213 |
+
<div class="note">
|
214 |
+
<?php printf(
|
215 |
+
__( 'To use this functionality, please enable the "Next-gen look and feel of the product list on the storefront" option in your store dashboard ("<a%s>Settings → What\'s New</a>").', 'ecwid-shopping-cart' ), ' href="' . admin_url( 'admin.php?page=ec-store&ec-store-page=whatsnew' ) . '"' ); ?>
|
216 |
+
</div>
|
217 |
+
<?php endif; ?>
|
218 |
+
|
219 |
+
</div>
|
220 |
</div>
|
221 |
|
222 |
</fieldset>
|