Version Description
Released on Jul 05, 2017
- New: Support to WooCommerce 3.1.
- New: Support to WordPress 4.8.
- New: Russian Translation.
- New: Slovenian Translation.
- Update: Plugin Core.
- Update: Language Files.
- Fix: WPML and Add to cart action from popup.
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Compare |
Version | 2.2.1 |
Comparing to | |
See all releases |
Code changes from version 2.2.0 to 2.2.1
- README.txt +21 -8
- assets/css/style.css +2 -0
- assets/js/woocompare.js +4 -0
- assets/js/woocompare.min.js +1 -1
- includes/functions.yith-woocompare.php +0 -11
- init.php +3 -4
- languages/yith-woocommerce-compare-ru_RU.mo +0 -0
- languages/yith-woocommerce-compare-ru_RU.po +546 -0
- languages/yith-woocommerce-compare-sl_SI.mo +0 -0
- languages/yith-woocommerce-compare-sl_SI.po +486 -0
- plugin-fw/init.php +1 -1
- plugin-fw/lib/yit-plugin-panel-wc.php +2 -0
- plugin-fw/lib/yit-plugin-panel.php +4 -2
- plugin-fw/yit-woocommerce-compatibility.php +77 -37
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
- templates/compare.php +10 -16
README.txt
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
=== YITH WooCommerce Compare ===
|
2 |
|
3 |
Contributors: yithemes
|
4 |
-
Tags:
|
5 |
Requires at least: 3.5.1
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
YITH WooCommerce Compare allows you to compare more products of your shop in one complete table.
|
12 |
-
WooCommerce Compatible up to 3.
|
13 |
|
14 |
== Description ==
|
15 |
|
@@ -66,6 +66,16 @@ yith-woocommerce-compare-<WORDPRESS LOCALE >.mo
|
|
66 |
|
67 |
== Changelog ==
|
68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
= 2.2.0 = Released on Mar 29, 2017
|
70 |
|
71 |
* New: Support to WooCommerce 3.0.0 RC2.
|
@@ -243,9 +253,12 @@ Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woo
|
|
243 |
|
244 |
== Upgrade notice ==
|
245 |
|
246 |
-
= 2.2.
|
247 |
|
248 |
-
* New: Support to WooCommerce 3.
|
249 |
-
* New: Support to WordPress 4.
|
|
|
|
|
250 |
* Update: Plugin Core.
|
251 |
-
* Update: Language Files.
|
|
1 |
=== YITH WooCommerce Compare ===
|
2 |
|
3 |
Contributors: yithemes
|
4 |
+
Tags: woocommerce compare, compare products, product compare, product comparison, compare table
|
5 |
Requires at least: 3.5.1
|
6 |
+
Tested up to: 4.8
|
7 |
+
Stable tag: 2.2.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
YITH WooCommerce Compare allows you to compare more products of your shop in one complete table.
|
12 |
+
WooCommerce Compatible up to 3.1
|
13 |
|
14 |
== Description ==
|
15 |
|
66 |
|
67 |
== Changelog ==
|
68 |
|
69 |
+
= 2.2.1 = Released on Jul 05, 2017
|
70 |
+
|
71 |
+
* New: Support to WooCommerce 3.1.
|
72 |
+
* New: Support to WordPress 4.8.
|
73 |
+
* New: Russian Translation.
|
74 |
+
* New: Slovenian Translation.
|
75 |
+
* Update: Plugin Core.
|
76 |
+
* Update: Language Files.
|
77 |
+
* Fix: WPML and Add to cart action from popup.
|
78 |
+
|
79 |
= 2.2.0 = Released on Mar 29, 2017
|
80 |
|
81 |
* New: Support to WooCommerce 3.0.0 RC2.
|
253 |
|
254 |
== Upgrade notice ==
|
255 |
|
256 |
+
= 2.2.1 = Released on Jul 05, 2017
|
257 |
|
258 |
+
* New: Support to WooCommerce 3.1.
|
259 |
+
* New: Support to WordPress 4.8.
|
260 |
+
* New: Russian Translation.
|
261 |
+
* New: Slovenian Translation.
|
262 |
* Update: Plugin Core.
|
263 |
+
* Update: Language Files.
|
264 |
+
* Fix: WPML and Add to cart action from popup.
|
assets/css/style.css
CHANGED
@@ -135,10 +135,12 @@ table.compare-list .add-to-cart td a {
|
|
135 |
padding: 5px 20px;
|
136 |
text-decoration: none;
|
137 |
text-transform: uppercase;
|
|
|
138 |
}
|
139 |
|
140 |
table.compare-list .add-to-cart td a:hover {
|
141 |
background: #868686;
|
|
|
142 |
}
|
143 |
|
144 |
table.compare-list .stock td span {
|
135 |
padding: 5px 20px;
|
136 |
text-decoration: none;
|
137 |
text-transform: uppercase;
|
138 |
+
cursor: pointer;
|
139 |
}
|
140 |
|
141 |
table.compare-list .add-to-cart td a:hover {
|
142 |
background: #868686;
|
143 |
+
color: #fff;
|
144 |
}
|
145 |
|
146 |
table.compare-list .stock td span {
|
assets/js/woocompare.js
CHANGED
@@ -234,6 +234,10 @@ jQuery(document).ready(function($) {
|
|
234 |
});
|
235 |
});
|
236 |
|
|
|
|
|
|
|
|
|
237 |
|
238 |
function yith_add_query_arg(key, value)
|
239 |
{
|
234 |
});
|
235 |
});
|
236 |
|
237 |
+
$('body').on('added_to_cart', function( ev, fragments, cart_hash, $thisbutton ){
|
238 |
+
if( $( $thisbutton).closest( 'table.compare-list' ).length )
|
239 |
+
$thisbutton.hide();
|
240 |
+
});
|
241 |
|
242 |
function yith_add_query_arg(key, value)
|
243 |
{
|
assets/js/woocompare.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(
|
1 |
+
jQuery(document).ready(function(o){function e(o,e){o=escape(o),e=escape(e);var t=document.location.search,a=o+"="+e,r=new RegExp("(&|\\?)"+o+"=[^&]*");return t=t.replace(r,"$1"+a),RegExp.$1||(t+=(t.length>0?"&":"?")+a),t}o(document).on("click",".product a.compare:not(.added)",function(e){e.preventDefault();var t=o(this),a={action:yith_woocompare.actionadd,id:t.data("product_id"),context:"frontend"},r=o(".yith-woocompare-widget ul.products-list");void 0!==o.fn.block&&(t.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),r.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}})),o.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionadd),data:a,dataType:"json",success:function(e){void 0!==o.fn.block&&(t.unblock(),r.unblock()),t.addClass("added").attr("href",e.table_url).text(yith_woocompare.added_label),r.html(e.widget_table),"yes"==yith_woocompare.auto_open&&o("body").trigger("yith_woocompare_open_popup",{response:e.table_url,button:t})}})}),o(document).on("click",".product a.compare.added",function(e){e.preventDefault();var t=this.href;void 0!==t&&o("body").trigger("yith_woocompare_open_popup",{response:t,button:o(this)})}),o("body").on("yith_woocompare_open_popup",function(e,t){var a=t.response;if(o(window).width()>=768)o.colorbox({href:a,iframe:!0,width:"90%",height:"90%",className:"yith_woocompare_colorbox",onClosed:function(){var e=o(".yith-woocompare-widget ul.products-list"),t={action:yith_woocompare.actionreload,context:"frontend"};void 0!==o.fn.block&&e.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),o.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionreload),data:t,success:function(t){void 0!==o.fn.block&&e.unblock().html(t),e.html(t)}})}}),o(window).resize(function(){o.colorbox.resize({width:"90%",height:"90%"})});else{var r=a.split("?");if(r.length>=2){for(var c=encodeURIComponent("iframe")+"=",n=r[1].split(/[&;]/g),i=n.length;i-- >0;)-1!==n[i].lastIndexOf(c,0)&&n.splice(i,1);a=r[0]+"?"+n.join("&")}window.open(a,yith_woocompare.table_title)}}),o(document).on("click",".remove a",function(e){e.preventDefault();var t=o(this),a={action:yith_woocompare.actionremove,id:t.data("product_id"),context:"frontend"};o("td.product_"+a.id+", th.product_"+a.id);void 0!==o.fn.block&&t.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),o.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionremove),data:a,dataType:"html",success:function(e){var a=o(e).filter("table.compare-list");o("body > table.compare-list").replaceWith(a),o('.compare[data-product_id="'+t.data("product_id")+'"]',window.parent.document).removeClass("added").html(yith_woocompare.button_text),o(window).trigger("yith_woocompare_product_removed")}})}),o(".yith-woocompare-open a, a.yith-woocompare-open").on("click",function(t){t.preventDefault(),o("body").trigger("yith_woocompare_open_popup",{response:e("action",yith_woocompare.actionview)+"&iframe=true"})}),o(".yith-woocompare-widget").on("click","a.compare",function(e){e.preventDefault(),o("body").trigger("yith_woocompare_open_popup",{response:o(this).attr("href")})}).on("click","li a.remove, a.clear-all",function(e){e.preventDefault();var t=o(".yith-woocompare-widget .products-list").data("lang"),a=o(this),r=a.data("product_id"),c={action:yith_woocompare.actionremove,id:r,context:"frontend",responseType:"product_list",lang:t},n=a.parents(".yith-woocompare-widget").find("ul.products-list");void 0!==o.fn.block&&n.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),o.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionremove),data:c,dataType:"html",success:function(e){"all"==r?o(".compare.added").removeClass("added").html(yith_woocompare.button_text):o('.compare[data-product_id="'+r+'"]').removeClass("added").html(yith_woocompare.button_text),n.html(e),void 0!==o.fn.block&&n.unblock()}})}),o("body").on("added_to_cart",function(e,t,a,r){o(r).closest("table.compare-list").length&&r.hide()})});
|
includes/functions.yith-woocompare.php
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Functions
|
4 |
-
*
|
5 |
-
* @author Your Inspiration Themes
|
6 |
-
* @package YITH Woocommerce Compare
|
7 |
-
* @version 1.1.4
|
8 |
-
*/
|
9 |
-
|
10 |
-
if ( !defined( 'YITH_WOOCOMPARE' ) ) { exit; } // Exit if accessed directly
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
init.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Compare
|
4 |
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-compare/
|
5 |
* Description: YITH WooCommerce Compare allows you to compare more products with WooCommerce plugin, through product attributes.
|
6 |
-
* Version: 2.2.
|
7 |
* Author: YITHEMES
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-compare
|
@@ -11,7 +11,7 @@
|
|
11 |
*
|
12 |
* @author Yithemes
|
13 |
* @package YITH WooCommerce Compare
|
14 |
-
* @version 2.2.
|
15 |
*/
|
16 |
/* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
@@ -56,7 +56,7 @@ if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
|
|
56 |
register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
57 |
|
58 |
if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ){
|
59 |
-
define( 'YITH_WOOCOMPARE_VERSION', '2.2.
|
60 |
}
|
61 |
if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
|
62 |
define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
|
@@ -107,7 +107,6 @@ function yith_woocompare_constructor() {
|
|
107 |
|
108 |
// Load required classes and functions
|
109 |
require_once('includes/class.yith-woocompare-helper.php');
|
110 |
-
require_once('includes/functions.yith-woocompare.php');
|
111 |
require_once('widgets/class.yith-woocompare-widget.php');
|
112 |
require_once('includes/class.yith-woocompare.php');
|
113 |
|
3 |
* Plugin Name: YITH WooCommerce Compare
|
4 |
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-compare/
|
5 |
* Description: YITH WooCommerce Compare allows you to compare more products with WooCommerce plugin, through product attributes.
|
6 |
+
* Version: 2.2.1
|
7 |
* Author: YITHEMES
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-compare
|
11 |
*
|
12 |
* @author Yithemes
|
13 |
* @package YITH WooCommerce Compare
|
14 |
+
* @version 2.2.1
|
15 |
*/
|
16 |
/* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
56 |
register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
57 |
|
58 |
if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ){
|
59 |
+
define( 'YITH_WOOCOMPARE_VERSION', '2.2.1' );
|
60 |
}
|
61 |
if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
|
62 |
define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
|
107 |
|
108 |
// Load required classes and functions
|
109 |
require_once('includes/class.yith-woocompare-helper.php');
|
|
|
110 |
require_once('widgets/class.yith-woocompare-widget.php');
|
111 |
require_once('includes/class.yith-woocompare.php');
|
112 |
|
languages/yith-woocommerce-compare-ru_RU.mo
ADDED
Binary file
|
languages/yith-woocommerce-compare-ru_RU.po
ADDED
@@ -0,0 +1,546 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
+
"POT-Creation-Date: 2017-03-22 10:28+0100\n"
|
5 |
+
"PO-Revision-Date: 2017-06-08 12:45+0500\n"
|
6 |
+
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
7 |
+
"MIME-Version: 1.0\n"
|
8 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
9 |
+
"Content-Transfer-Encoding: 8bit\n"
|
10 |
+
"X-Generator: Poedit 2.0.2\n"
|
11 |
+
"X-Poedit-KeywordsList: __;_e;_x\n"
|
12 |
+
"X-Poedit-Basepath: ..\n"
|
13 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
15 |
+
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
16 |
+
"Last-Translator: \n"
|
17 |
+
"Language: ru_RU\n"
|
18 |
+
"X-Poedit-SearchPath-0: .\n"
|
19 |
+
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
20 |
+
|
21 |
+
#: includes/class.yith-woocompare-admin.php:122
|
22 |
+
#: includes/class.yith-woocompare-admin.php:146
|
23 |
+
msgid "Settings"
|
24 |
+
msgstr "Настройки"
|
25 |
+
|
26 |
+
#: includes/class.yith-woocompare-admin.php:124
|
27 |
+
#: includes/class.yith-woocompare-admin.php:150
|
28 |
+
msgid "Premium Version"
|
29 |
+
msgstr "Премиум версия"
|
30 |
+
|
31 |
+
#: includes/class.yith-woocompare-admin.php:156
|
32 |
+
#: includes/class.yith-woocompare-admin.php:157
|
33 |
+
#: includes/class.yith-woocompare-frontend.php:484
|
34 |
+
#: plugin-options/general-options.php:41 plugin-options/general-options.php:42
|
35 |
+
#: widgets/class.yith-woocompare-widget.php:51
|
36 |
+
msgid "Compare"
|
37 |
+
msgstr "Сравнить"
|
38 |
+
|
39 |
+
#: includes/class.yith-woocompare-admin.php:220
|
40 |
+
msgid "Plugin Documentation"
|
41 |
+
msgstr "Документация плагина"
|
42 |
+
|
43 |
+
#: includes/class.yith-woocompare-admin.php:240
|
44 |
+
msgid "YITH WooCommerce Compare Activated"
|
45 |
+
msgstr "Активировать YITH WooCommerce Compare"
|
46 |
+
|
47 |
+
#: includes/class.yith-woocompare-admin.php:241
|
48 |
+
#, php-format
|
49 |
+
msgid ""
|
50 |
+
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
51 |
+
"With this menu, you can access to all the settings of our plugins that you "
|
52 |
+
"have activated. YITH WooCommerce Compare is available in an outstanding "
|
53 |
+
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
54 |
+
msgstr ""
|
55 |
+
"На вкладке YIT Plugin tab вы можете найти варианты сравнения YITH "
|
56 |
+
"WooCommerce. С помощью этого меню вы можете получить доступ ко всем "
|
57 |
+
"настройкам наших плагинов, которые вы активировали. YITH WooCommerce Compare "
|
58 |
+
"доступен в бесплатной версии и PREMIUM версии со множеством новых опций, <a "
|
59 |
+
"href=«%s»>discover it now</a>."
|
60 |
+
|
61 |
+
#: includes/class.yith-woocompare-admin.php:252
|
62 |
+
msgid "YITH WooCommerce Compare Updated"
|
63 |
+
msgstr "Обновить YITH WooCommerce Compare"
|
64 |
+
|
65 |
+
#: includes/class.yith-woocompare-admin.php:253
|
66 |
+
#, php-format
|
67 |
+
msgid ""
|
68 |
+
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
69 |
+
"YIT Plugin -> Compare instead of WooCommerce -> Settings -> Compare, as in "
|
70 |
+
"the previous version. When one of our plugins is updated, a new voice will "
|
71 |
+
"be added to this menu. YITH WooCommerce Compare has been updated with new "
|
72 |
+
"available options, <a href=\"%s\">discover the PREMIUM version.</a>"
|
73 |
+
msgstr ""
|
74 |
+
"С этого момента вы можете найти все варианты YITH WooCommerce Compare во "
|
75 |
+
"вкладке YIT Plugin -> Compare вместо WooCommerce -> Настройки -> Сравнить, "
|
76 |
+
"как в предыдущей версии. Когда один из наших плагинов будет обновлен, в это "
|
77 |
+
"меню будет добавлена новая вкладка. YITH WooCommerce Compare был обновлен "
|
78 |
+
"новыми доступными вариантами, <a href=«%s»>discover the PREMIUM version.</a>"
|
79 |
+
|
80 |
+
#: includes/class.yith-woocompare-admin.php:398
|
81 |
+
msgid "Do you want to hard crop the image?"
|
82 |
+
msgstr "Вы хотите принудительно уменьшить изображение?"
|
83 |
+
|
84 |
+
#: includes/class.yith-woocompare-frontend.php:211
|
85 |
+
msgid "Added"
|
86 |
+
msgstr "Добавлено"
|
87 |
+
|
88 |
+
#: includes/class.yith-woocompare-frontend.php:212 templates/compare.php:49
|
89 |
+
msgid "Product Comparison"
|
90 |
+
msgstr "Сравнение товаров"
|
91 |
+
|
92 |
+
#: includes/class.yith-woocompare-frontend.php:368
|
93 |
+
msgid "In stock"
|
94 |
+
msgstr "В наличии"
|
95 |
+
|
96 |
+
#: includes/class.yith-woocompare-frontend.php:675
|
97 |
+
msgid "No products to compare"
|
98 |
+
msgstr "Нет товаров для сравнения"
|
99 |
+
|
100 |
+
#: includes/class.yith-woocompare-frontend.php:688 templates/compare.php:112
|
101 |
+
msgid "Remove"
|
102 |
+
msgstr "Удалить"
|
103 |
+
|
104 |
+
#: includes/class.yith-woocompare-helper.php:45
|
105 |
+
msgid "Image"
|
106 |
+
msgstr "Изображение"
|
107 |
+
|
108 |
+
#: includes/class.yith-woocompare-helper.php:46
|
109 |
+
#: widgets/class.yith-woocompare-widget.php:68
|
110 |
+
msgid "Title"
|
111 |
+
msgstr "Название"
|
112 |
+
|
113 |
+
#: includes/class.yith-woocompare-helper.php:47
|
114 |
+
msgid "Price"
|
115 |
+
msgstr "Цена"
|
116 |
+
|
117 |
+
#: includes/class.yith-woocompare-helper.php:48
|
118 |
+
msgid "Add to cart"
|
119 |
+
msgstr "Добавить в корзину"
|
120 |
+
|
121 |
+
#: includes/class.yith-woocompare-helper.php:49
|
122 |
+
msgid "Description"
|
123 |
+
msgstr "Описание"
|
124 |
+
|
125 |
+
#: includes/class.yith-woocompare-helper.php:50
|
126 |
+
msgid "Availability"
|
127 |
+
msgstr "Наличие"
|
128 |
+
|
129 |
+
#: includes/class.yith-woocompare-helper.php:51
|
130 |
+
msgid "Weight"
|
131 |
+
msgstr "Вес"
|
132 |
+
|
133 |
+
#: includes/class.yith-woocompare-helper.php:52
|
134 |
+
msgid "Dimensions"
|
135 |
+
msgstr "Размеры"
|
136 |
+
|
137 |
+
#: init.php:40
|
138 |
+
msgid ""
|
139 |
+
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
140 |
+
"WooCommerce in order to work."
|
141 |
+
msgstr ""
|
142 |
+
"YITH WooCommerce Compare включен, но не эффективен. Для работы требуется "
|
143 |
+
"WooCommerce."
|
144 |
+
|
145 |
+
#: init.php:48
|
146 |
+
msgid ""
|
147 |
+
"You can't activate the free version of YITH WooCommerce Compare while you "
|
148 |
+
"are using the premium one."
|
149 |
+
msgstr ""
|
150 |
+
"Вы не можете активировать бесплатную версию YITH WooCommerce Compare, в то "
|
151 |
+
"время как вы используете премиум-версию."
|
152 |
+
|
153 |
+
#: plugin-options/general-options.php:17
|
154 |
+
msgid "General Settings"
|
155 |
+
msgstr "Основные настройки"
|
156 |
+
|
157 |
+
#: plugin-options/general-options.php:24
|
158 |
+
msgid "Link or Button"
|
159 |
+
msgstr "Ссылка или Кнопка"
|
160 |
+
|
161 |
+
#: plugin-options/general-options.php:25
|
162 |
+
msgid "Choose if you want to use a link or a button for the comepare actions."
|
163 |
+
msgstr ""
|
164 |
+
"Выберите, если хотите использовать ссылку или кнопку для действия сравнения."
|
165 |
+
|
166 |
+
#: plugin-options/general-options.php:32
|
167 |
+
msgid "Link"
|
168 |
+
msgstr "Ссылка"
|
169 |
+
|
170 |
+
#: plugin-options/general-options.php:33
|
171 |
+
msgid "Button"
|
172 |
+
msgstr "Кнопка"
|
173 |
+
|
174 |
+
#: plugin-options/general-options.php:38
|
175 |
+
msgid "Link/Button text"
|
176 |
+
msgstr "Текст ссылки или кнопки"
|
177 |
+
|
178 |
+
#: plugin-options/general-options.php:39
|
179 |
+
msgid "Type the text to use for the button or the link of the compare."
|
180 |
+
msgstr ""
|
181 |
+
"Введите текст, который будет использоваться для кнопки или ссылки сравнения."
|
182 |
+
|
183 |
+
#: plugin-options/general-options.php:47
|
184 |
+
msgid "Show button in single product page"
|
185 |
+
msgstr "Показывать кнопку на странице товара"
|
186 |
+
|
187 |
+
#: plugin-options/general-options.php:48
|
188 |
+
msgid "Say if you want to show the button in the single product page."
|
189 |
+
msgstr "Отметьте, если хотите показывать кнопку на странице товара."
|
190 |
+
|
191 |
+
#: plugin-options/general-options.php:56
|
192 |
+
msgid "Show button in products list"
|
193 |
+
msgstr "Показывать кнопку в каталоге товаров"
|
194 |
+
|
195 |
+
#: plugin-options/general-options.php:57
|
196 |
+
msgid "Say if you want to show the button in the products list."
|
197 |
+
msgstr "Отметьте, если вы хотите показывать кнопку в каталоге товаров."
|
198 |
+
|
199 |
+
#: plugin-options/general-options.php:65
|
200 |
+
msgid "Open automatically lightbox"
|
201 |
+
msgstr "Автоматическое открытие всплывающего окна"
|
202 |
+
|
203 |
+
#: plugin-options/general-options.php:66
|
204 |
+
msgid "Open link after click into \"Compare\" button\"."
|
205 |
+
msgstr "Открыть ссылку после нажатия на кнопку «Сравнить»."
|
206 |
+
|
207 |
+
#: plugin-options/general-options.php:79
|
208 |
+
msgid "Table Settings"
|
209 |
+
msgstr "Настройки таблицы"
|
210 |
+
|
211 |
+
#: plugin-options/general-options.php:86
|
212 |
+
msgid "Table title"
|
213 |
+
msgstr "Название таблицы"
|
214 |
+
|
215 |
+
#: plugin-options/general-options.php:87
|
216 |
+
msgid "Type the text to use for the table title."
|
217 |
+
msgstr "Введите текст названия таблицы."
|
218 |
+
|
219 |
+
#: plugin-options/general-options.php:89 plugin-options/general-options.php:90
|
220 |
+
msgid "Compare products"
|
221 |
+
msgstr "Сравнение товаров"
|
222 |
+
|
223 |
+
#: plugin-options/general-options.php:95
|
224 |
+
msgid "Fields to show"
|
225 |
+
msgstr "Поля для показа"
|
226 |
+
|
227 |
+
#: plugin-options/general-options.php:96
|
228 |
+
msgid ""
|
229 |
+
"Select the fields to show in the comparison table and order them by "
|
230 |
+
"drag&drop (are included also the woocommerce attributes)"
|
231 |
+
msgstr ""
|
232 |
+
"Выберите поля, которые будут отображаться в таблице сравнения, и расставьте "
|
233 |
+
"их путем перетаскивания (включены также атрибуты woocommerce)"
|
234 |
+
|
235 |
+
#: plugin-options/general-options.php:104
|
236 |
+
msgid "Repeat \"Price\" field"
|
237 |
+
msgstr "Повторить поле «Цена» в конце таблицы"
|
238 |
+
|
239 |
+
#: plugin-options/general-options.php:105
|
240 |
+
msgid "Repeat the \"Price\" field at the end of the table"
|
241 |
+
msgstr "Повторить поле «Цена» в конце таблицы"
|
242 |
+
|
243 |
+
#: plugin-options/general-options.php:113
|
244 |
+
msgid "Repeat \"Add to cart\" field"
|
245 |
+
msgstr "Повторить поле «Добавить в корзину» в конце таблицы"
|
246 |
+
|
247 |
+
#: plugin-options/general-options.php:114
|
248 |
+
msgid "Repeat the \"Add to cart\" field at the end of the table"
|
249 |
+
msgstr "Повторить поле «Добавить в корзину» в конце таблицы"
|
250 |
+
|
251 |
+
#: plugin-options/general-options.php:122
|
252 |
+
msgid "Image size"
|
253 |
+
msgstr "Размер изображения"
|
254 |
+
|
255 |
+
#: plugin-options/general-options.php:123
|
256 |
+
msgid "Set the size for the images"
|
257 |
+
msgstr "Задайте размер для изображений"
|
258 |
+
|
259 |
+
#: templates/admin/premium.php:231 templates/admin/premium.php:421
|
260 |
+
#, php-format
|
261 |
+
msgid ""
|
262 |
+
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
263 |
+
"benefit from all features!"
|
264 |
+
msgstr ""
|
265 |
+
"Воспользуйтесь %1$spremium version%2$s %1$sYITH WooCommerce Compare%2$s, "
|
266 |
+
"чтобы воспользоваться всеми функциями!"
|
267 |
+
|
268 |
+
#: templates/admin/premium.php:234 templates/admin/premium.php:424
|
269 |
+
msgid "UPGRADE"
|
270 |
+
msgstr "ОБНОВИТЬ"
|
271 |
+
|
272 |
+
#: templates/admin/premium.php:235 templates/admin/premium.php:425
|
273 |
+
msgid "to the premium version"
|
274 |
+
msgstr "до премиум версии"
|
275 |
+
|
276 |
+
#: templates/admin/premium.php:241
|
277 |
+
msgid "Premium Features"
|
278 |
+
msgstr "Премиум-функции"
|
279 |
+
|
280 |
+
#: templates/admin/premium.php:249
|
281 |
+
msgid "A DEDICATED PAGE"
|
282 |
+
msgstr "СТРАНИЦА ОПИСАНИЯ"
|
283 |
+
|
284 |
+
#: templates/admin/premium.php:252
|
285 |
+
#, php-format
|
286 |
+
msgid ""
|
287 |
+
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
288 |
+
"the premium version of %1$sYITH WooCommerce Compare%2$s, a new page will be "
|
289 |
+
"created automatically in your site and, adding it among the menu entries, "
|
290 |
+
"you will be able to give to your users the chance to access it easily "
|
291 |
+
"whenever they want."
|
292 |
+
msgstr ""
|
293 |
+
"Вы не хотите больше сравнивать свои продукты в модальном окне? %3$sС премиум-"
|
294 |
+
"версией %1$sYITH WooCommerce Compare%2$s, на вашем сайте автоматически будет "
|
295 |
+
"создана новая страница. Добавив ее среди других страниц, вы сможете дать "
|
296 |
+
"своим пользователям возможность легко получить доступ к ней, когда они этого "
|
297 |
+
"захотят."
|
298 |
+
|
299 |
+
#: templates/admin/premium.php:262
|
300 |
+
msgid "CATEGORY COMPARATION"
|
301 |
+
msgstr "СРАВНЕНИЕ КАТЕГОРИЙ"
|
302 |
+
|
303 |
+
#: templates/admin/premium.php:265
|
304 |
+
#, php-format
|
305 |
+
msgid ""
|
306 |
+
"People are often confused by finding products of different categories in the "
|
307 |
+
"comparison table, creating difficulties in comparing the products they are "
|
308 |
+
"interested into.The %1$s\"Compare by category\"%2$s option exists for this "
|
309 |
+
"need: you will be able to separate the products in the table by category "
|
310 |
+
"affinity."
|
311 |
+
msgstr ""
|
312 |
+
"Люди часто путаются, находя в таблице сравнений товары из разных категорий. "
|
313 |
+
"Возникают трудности в понимании сравнения. Для этого существует возможность "
|
314 |
+
"%1$s«Сравнение по категориям»%2$s, чтобы разделить товары в таблице по "
|
315 |
+
"категориям."
|
316 |
+
|
317 |
+
#: templates/admin/premium.php:281
|
318 |
+
msgid "CATEGORY EXCLUSION "
|
319 |
+
msgstr "ИСКЛЮЧЕНИЕ КАТЕГОРИЙ "
|
320 |
+
|
321 |
+
#: templates/admin/premium.php:284
|
322 |
+
#, php-format
|
323 |
+
msgid ""
|
324 |
+
"In your shop there may be product categories you don't want to be affected "
|
325 |
+
"by the plugin features, deleting the comparison button for them. The premium "
|
326 |
+
"version of the plugin offers this too.%3$sAnd there's more! Activating the "
|
327 |
+
"%1$s\"Reverse exclusion list\"%2$s option, you can also invert the behavior "
|
328 |
+
"of the feature, allowing the comparison only to those products of the "
|
329 |
+
"selected categories."
|
330 |
+
msgstr ""
|
331 |
+
"В вашем магазине могут быть категории продуктов, на которые вы не хотите "
|
332 |
+
"распространять функции плагина, удаляя для них кнопку сравнения. Премиум-"
|
333 |
+
"версия плагина также дает такую возможность.%3$s И еще больше! Активируйте "
|
334 |
+
"%1$s«Реверсивный список исключений»%2$s, вы также сможете инвертировать "
|
335 |
+
"поведение функции, позволяя сравнивать только продукты из выбранных "
|
336 |
+
"категорий."
|
337 |
+
|
338 |
+
#: templates/admin/premium.php:294
|
339 |
+
msgid "TABLE IMAGE"
|
340 |
+
msgstr "ИЗОБРАЖЕНИЕ ТАБЛИЦЫ"
|
341 |
+
|
342 |
+
#: templates/admin/premium.php:297
|
343 |
+
#, php-format
|
344 |
+
msgid ""
|
345 |
+
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
346 |
+
"Select an image, upload it from the option panel and show it ahead of the "
|
347 |
+
"table to your users. "
|
348 |
+
msgstr ""
|
349 |
+
"Сделайте личный вклад в %1$sтаблицу сравнения%2$s, которую увидят ваши "
|
350 |
+
"пользователи. Выберите изображение, загрузите его с панели параметров и "
|
351 |
+
"покажите его перед таблицей своим пользователям. "
|
352 |
+
|
353 |
+
#: templates/admin/premium.php:313
|
354 |
+
msgid "DYNAMIC FIELDS"
|
355 |
+
msgstr "АКТИВНЫЕ ПОЛЯ"
|
356 |
+
|
357 |
+
#: templates/admin/premium.php:316
|
358 |
+
#, php-format
|
359 |
+
msgid ""
|
360 |
+
"With this precious feature, you will be able to show in the table only the "
|
361 |
+
"fields that have information in at least one of the selected products."
|
362 |
+
"%3$sActivate the %1$s\"Dynamic Attribute fields\"%2$s option and there will "
|
363 |
+
"be no more empty lines in your comparison table."
|
364 |
+
msgstr ""
|
365 |
+
"С помощью этой замечательной функции вы сможете отображать в таблице только "
|
366 |
+
"поля, содержащие информацию, по крайней мере, в одном из выбранных продуктов."
|
367 |
+
"%3$s Включите %1$s«Активные поля атрибута»%2$s и в таблице сравнения не "
|
368 |
+
"будет пустых строк."
|
369 |
+
|
370 |
+
#: templates/admin/premium.php:326
|
371 |
+
msgid "SOCIAL NETWORK SHARING"
|
372 |
+
msgstr "ПОДЕЛИТЬСЯ В СОЦИАЛЬНЫХ СЕТЯХ"
|
373 |
+
|
374 |
+
#: templates/admin/premium.php:329
|
375 |
+
#, php-format
|
376 |
+
msgid ""
|
377 |
+
"One of the most appealing features of the premium version of the plugin.Four "
|
378 |
+
"social network sites for your users (Facebook, Twitter, Google + and "
|
379 |
+
"Pinterest) and the email system %1$sto share%2$s the comparison table of the "
|
380 |
+
"products they have selected."
|
381 |
+
msgstr ""
|
382 |
+
"Одна из самых привлекательных функций премиальной версии плагина. Для сайтов "
|
383 |
+
"социальных сетей ваших пользователей (Facebook, Twitter, Google + и "
|
384 |
+
"Pinterest) и система электронной почты%1$sподелиться%2$s таблицей сравнения "
|
385 |
+
"продуктов, которую ни выбрали."
|
386 |
+
|
387 |
+
#: templates/admin/premium.php:345
|
388 |
+
msgid "RELATED PRODUCTS"
|
389 |
+
msgstr "СОПУТСТВУЮЩИЕ ТОВАРЫ"
|
390 |
+
|
391 |
+
#: templates/admin/premium.php:348
|
392 |
+
#, php-format
|
393 |
+
msgid ""
|
394 |
+
"All the products that have common categories and/or tags with those in the "
|
395 |
+
"comparison table will be showed in a slider, right under the comparison "
|
396 |
+
"table.%3$sA completely %1$s\"touch friendly\"%2$s slider to encourage your "
|
397 |
+
"users to discover the shop products of the shop related to those they are "
|
398 |
+
"interested into."
|
399 |
+
msgstr ""
|
400 |
+
"Все товары, которые имеют общие категории и/или теги с товарами в таблице "
|
401 |
+
"сравнения, будут показаны в слайдере, прямо под сравнительной таблицей.%3$s "
|
402 |
+
"Полностью%1$s «удобный для использования» %2$sслайдер, из которого ваши "
|
403 |
+
"пользователи узнают о товарах в магазине, связанных с теми, которые их "
|
404 |
+
"интересуют."
|
405 |
+
|
406 |
+
#: templates/admin/premium.php:358
|
407 |
+
msgid "CUSTOMIZABLE STYLE"
|
408 |
+
msgstr "НАСТРАИВАЕМЫЙ СТИЛЬ"
|
409 |
+
|
410 |
+
#: templates/admin/premium.php:361
|
411 |
+
#, php-format
|
412 |
+
msgid ""
|
413 |
+
"An advanced option panel that let you change all the colors of the plugin, "
|
414 |
+
"so that you can adapt stylistically all its elements %1$sto the layout%2$s "
|
415 |
+
"of your shop.We know it, looks also count... and we give you the right tools "
|
416 |
+
"to get to the best result."
|
417 |
+
msgstr ""
|
418 |
+
"Расширенная панель параметров, позволяющая вам изменить все цвета плагина, "
|
419 |
+
"чтобы вы могли приспособить все свои элементы стилистически %1$sк макету%2$s "
|
420 |
+
"вашего магазина. Мы знаем что это важно, присматриваем за этим … и мы даем "
|
421 |
+
"вам нужные инструменты для достижения наилучшего результата."
|
422 |
+
|
423 |
+
#: templates/admin/premium.php:377
|
424 |
+
msgid "CUSTOMIZED ATTRIBUTES"
|
425 |
+
msgstr "НАСТРАИВАЕМЫЕ АТРИБУТЫ"
|
426 |
+
|
427 |
+
#: templates/admin/premium.php:380
|
428 |
+
#, php-format
|
429 |
+
msgid ""
|
430 |
+
"Let you users compare products following every feature, and considering also "
|
431 |
+
"all those %1$sattributes%2$s that can be manually created in within the "
|
432 |
+
"product detail page. Every single detail will be included."
|
433 |
+
msgstr ""
|
434 |
+
"Позвольте пользователям сравнивать продукты предметно и учитывать также все "
|
435 |
+
"%1$sатрибуты%2$s, которые могут быть созданы вручную на странице сведений о "
|
436 |
+
"продукте. Каждая деталь будет включена."
|
437 |
+
|
438 |
+
#: templates/admin/premium.php:390
|
439 |
+
msgid "A TAILORED TABLE"
|
440 |
+
msgstr "ТАБЛИЦА НА ЗАКАЗ"
|
441 |
+
|
442 |
+
#: templates/admin/premium.php:393
|
443 |
+
#, php-format
|
444 |
+
msgid ""
|
445 |
+
"Select the products you want to compare and the system will offer you the "
|
446 |
+
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
447 |
+
msgstr ""
|
448 |
+
"Выберите продукты, которые вы хотите сравнить, и система предложит вам "
|
449 |
+
"%1$sshortcode%2$s для создания таблицы сравнения. Просто, быстро и полезно."
|
450 |
+
|
451 |
+
#: templates/admin/premium.php:409
|
452 |
+
msgid "WIDGET"
|
453 |
+
msgstr "ВИДЖЕТ"
|
454 |
+
|
455 |
+
#: templates/admin/premium.php:412
|
456 |
+
msgid ""
|
457 |
+
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
458 |
+
"complete list of products added to the compare tab and avoid to open the "
|
459 |
+
"popup to check its existence. "
|
460 |
+
msgstr ""
|
461 |
+
"Благодаря виджеты YITH WooCommerce Compare, пользователи могут в любой "
|
462 |
+
"момент проверить полный список продуктов, добавленных на вкладку сравнения, "
|
463 |
+
"и не открывая всплывающее окно, видеть что они сравнивают. "
|
464 |
+
|
465 |
+
#: templates/compare.php:74
|
466 |
+
msgid "Close window [X]"
|
467 |
+
msgstr "Закрыть окно [X]"
|
468 |
+
|
469 |
+
#: templates/compare.php:101
|
470 |
+
msgid "No products added in the compare table."
|
471 |
+
msgstr "Нет товаров для сравнения."
|
472 |
+
|
473 |
+
#: widgets/class.yith-woocompare-widget.php:23
|
474 |
+
msgid "The widget shows the list of products added in the comparison table."
|
475 |
+
msgstr "Виджет отображает список продуктов, добавленных для сравнения."
|
476 |
+
|
477 |
+
#: widgets/class.yith-woocompare-widget.php:27
|
478 |
+
msgid "YITH WooCommerce Compare Widget"
|
479 |
+
msgstr "Виджет YITH WooCommerce Compare"
|
480 |
+
|
481 |
+
#: widgets/class.yith-woocompare-widget.php:50
|
482 |
+
msgid "Clear all"
|
483 |
+
msgstr "Очистить"
|
484 |
+
|
485 |
+
msgid "Choose if you want to use a link or a button for the action button."
|
486 |
+
msgstr "Выберите, хотите ли вы использовать ссылку или кнопку при нажатии."
|
487 |
+
|
488 |
+
msgid "The widget show the list of products added in the compare table."
|
489 |
+
msgstr "Виджет отображает список продуктов, добавленных для сравнения."
|
490 |
+
|
491 |
+
msgid "YITH Woocommerce Compare Widget"
|
492 |
+
msgstr "Виджет YITH WooCommerce Compare"
|
493 |
+
|
494 |
+
msgid "Products Compare"
|
495 |
+
msgstr "Сравнение товаров"
|
496 |
+
|
497 |
+
msgid "Repeat \"Price\" field at the end of the table"
|
498 |
+
msgstr "Повторить поле «Цена» в конце таблицы"
|
499 |
+
|
500 |
+
msgid "Repeat \"Add to cart\" field at the end of the table"
|
501 |
+
msgstr "Повторить поле «Добавить в корзину» в конце таблицы"
|
502 |
+
|
503 |
+
msgid "Select a date"
|
504 |
+
msgstr "Выберите дату"
|
505 |
+
|
506 |
+
msgid "Hours"
|
507 |
+
msgstr "Часы"
|
508 |
+
|
509 |
+
msgid "Minutes"
|
510 |
+
msgstr "Минуты"
|
511 |
+
|
512 |
+
msgid "Upload"
|
513 |
+
msgstr "Закачать"
|
514 |
+
|
515 |
+
msgid "px"
|
516 |
+
msgstr "px"
|
517 |
+
|
518 |
+
msgid "em"
|
519 |
+
msgstr "em"
|
520 |
+
|
521 |
+
msgid "pt"
|
522 |
+
msgstr "pt"
|
523 |
+
|
524 |
+
msgid "rem"
|
525 |
+
msgstr "rem"
|
526 |
+
|
527 |
+
msgid "Select a font family"
|
528 |
+
msgstr "Выберите шрифт"
|
529 |
+
|
530 |
+
msgid "Regular"
|
531 |
+
msgstr "Обычный"
|
532 |
+
|
533 |
+
msgid "Bold"
|
534 |
+
msgstr "Жирный"
|
535 |
+
|
536 |
+
msgid "Extra bold"
|
537 |
+
msgstr "Экстра жирный"
|
538 |
+
|
539 |
+
msgid "Italic"
|
540 |
+
msgstr "Наклонный"
|
541 |
+
|
542 |
+
msgid "Italic bold"
|
543 |
+
msgstr "Наклонный жирный"
|
544 |
+
|
545 |
+
msgid "Click to preview"
|
546 |
+
msgstr "Нажмите для просмотра"
|
languages/yith-woocommerce-compare-sl_SI.mo
ADDED
Binary file
|
languages/yith-woocommerce-compare-sl_SI.po
ADDED
@@ -0,0 +1,486 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
+
"POT-Creation-Date: 2017-04-06 14:34+0200\n"
|
5 |
+
"PO-Revision-Date: 2017-04-06 14:34+0200\n"
|
6 |
+
"Last-Translator: \n"
|
7 |
+
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
+
"Language: sl\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.0\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
+
"X-Poedit-Basepath: .\n"
|
15 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
+
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
|
17 |
+
"%100==4 ? 2 : 3);\n"
|
18 |
+
"X-Poedit-SearchPath-0: ..\n"
|
19 |
+
"X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
|
20 |
+
|
21 |
+
#: ../includes/class.yith-woocompare-admin.php:119
|
22 |
+
#: ../includes/class.yith-woocompare-admin.php:143
|
23 |
+
msgid "Settings"
|
24 |
+
msgstr "Nastavitve"
|
25 |
+
|
26 |
+
#: ../includes/class.yith-woocompare-admin.php:121
|
27 |
+
#: ../includes/class.yith-woocompare-admin.php:147
|
28 |
+
msgid "Premium Version"
|
29 |
+
msgstr "Premium verzija"
|
30 |
+
|
31 |
+
#: ../includes/class.yith-woocompare-admin.php:153
|
32 |
+
#: ../includes/class.yith-woocompare-admin.php:154
|
33 |
+
#: ../includes/class.yith-woocompare-frontend.php:473
|
34 |
+
#: ../plugin-options/general-options.php:41
|
35 |
+
#: ../plugin-options/general-options.php:42
|
36 |
+
#: ../widgets/class.yith-woocompare-widget.php:51
|
37 |
+
msgid "Compare"
|
38 |
+
msgstr "Primerjaj"
|
39 |
+
|
40 |
+
#: ../includes/class.yith-woocompare-admin.php:217
|
41 |
+
msgid "Plugin Documentation"
|
42 |
+
msgstr "Dokumentacija vtičnika"
|
43 |
+
|
44 |
+
#: ../includes/class.yith-woocompare-admin.php:237
|
45 |
+
msgid "YITH WooCommerce Compare Activated"
|
46 |
+
msgstr "YITH WooCommerce Compare aktiviran"
|
47 |
+
|
48 |
+
#: ../includes/class.yith-woocompare-admin.php:238
|
49 |
+
#, php-format
|
50 |
+
msgid ""
|
51 |
+
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
52 |
+
"With this menu, you can access to all the settings of our plugins that you "
|
53 |
+
"have activated. YITH WooCommerce Compare is available in an outstanding "
|
54 |
+
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
55 |
+
msgstr ""
|
56 |
+
"V YIT Plugin zavihku lahko najdete vse možnosti YITH WooCommerce Compare. S "
|
57 |
+
"tem menijem lahko dostopate do vseh nastavitev vtičnikov, ki ste jih "
|
58 |
+
"aktivirali. YITH WooCommerce Compare je na voljo v izjemni Premium "
|
59 |
+
"različici z velko novih možnosti, <a href=\"%s\">raziščite jih zdaj</a>."
|
60 |
+
|
61 |
+
#: ../includes/class.yith-woocompare-admin.php:249
|
62 |
+
msgid "YITH WooCommerce Compare Updated"
|
63 |
+
msgstr "YITH WooCommerce Compare posodobljen"
|
64 |
+
|
65 |
+
#: ../includes/class.yith-woocompare-admin.php:250
|
66 |
+
#, php-format
|
67 |
+
msgid ""
|
68 |
+
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
69 |
+
"YIT Plugin -> Compare instead of WooCommerce -> Settings -> Compare, as in "
|
70 |
+
"the previous version. When one of our plugins is updated, a new voice will "
|
71 |
+
"be added to this menu. YITH WooCommerce Compare has been updated with new "
|
72 |
+
"available options, <a href=\"%s\">discover the PREMIUM version.</a>"
|
73 |
+
msgstr ""
|
74 |
+
"Od zdaj lahko najdete vse možnosti YITH WooCommerce Compare pod YIT Plugin -"
|
75 |
+
"> Primerjaj namesto WooCommerce -> Nastavitve -> Primerjaj, tako kot v "
|
76 |
+
"prejšnji različici. Ko posodobimo en vtičnik, bo nov glas dodan temu meniju. "
|
77 |
+
"YITH WooCommerce Compare je bil posodobljen z novimi možnostmi, <a href=\"%s"
|
78 |
+
"\">razišči Premium različico.</a>"
|
79 |
+
|
80 |
+
#: ../includes/class.yith-woocompare-admin.php:394
|
81 |
+
msgid "Do you want to hard crop the image?"
|
82 |
+
msgstr "Trdo obrežem sliko?"
|
83 |
+
|
84 |
+
#: ../includes/class.yith-woocompare-frontend.php:205
|
85 |
+
msgid "Added"
|
86 |
+
msgstr "Dodano"
|
87 |
+
|
88 |
+
#: ../includes/class.yith-woocompare-frontend.php:206
|
89 |
+
#: ../templates/compare.php:49
|
90 |
+
msgid "Product Comparison"
|
91 |
+
msgstr "Primerjanje izdelkov"
|
92 |
+
|
93 |
+
#: ../includes/class.yith-woocompare-frontend.php:357
|
94 |
+
msgid "In stock"
|
95 |
+
msgstr "Na zalogi"
|
96 |
+
|
97 |
+
#: ../includes/class.yith-woocompare-frontend.php:664
|
98 |
+
msgid "No products to compare"
|
99 |
+
msgstr "Ni izdelkov za primerjavo"
|
100 |
+
|
101 |
+
#: ../includes/class.yith-woocompare-frontend.php:677
|
102 |
+
#: ../templates/compare.php:114
|
103 |
+
msgid "Remove"
|
104 |
+
msgstr "Odstrani"
|
105 |
+
|
106 |
+
#: ../includes/class.yith-woocompare-helper.php:45
|
107 |
+
msgid "Image"
|
108 |
+
msgstr "Slika"
|
109 |
+
|
110 |
+
#: ../includes/class.yith-woocompare-helper.php:46
|
111 |
+
#: ../widgets/class.yith-woocompare-widget.php:68
|
112 |
+
msgid "Title"
|
113 |
+
msgstr "Naslov"
|
114 |
+
|
115 |
+
#: ../includes/class.yith-woocompare-helper.php:47
|
116 |
+
msgid "Price"
|
117 |
+
msgstr "Cena"
|
118 |
+
|
119 |
+
#: ../includes/class.yith-woocompare-helper.php:48
|
120 |
+
msgid "Add to cart"
|
121 |
+
msgstr "Dodaj v košarico"
|
122 |
+
|
123 |
+
#: ../includes/class.yith-woocompare-helper.php:49
|
124 |
+
msgid "Description"
|
125 |
+
msgstr "Opis"
|
126 |
+
|
127 |
+
#: ../includes/class.yith-woocompare-helper.php:50
|
128 |
+
msgid "Availability"
|
129 |
+
msgstr "Razpoložljivost"
|
130 |
+
|
131 |
+
#: ../includes/class.yith-woocompare-helper.php:51
|
132 |
+
msgid "Weight"
|
133 |
+
msgstr ""
|
134 |
+
|
135 |
+
#: ../includes/class.yith-woocompare-helper.php:52
|
136 |
+
msgid "Dimensions"
|
137 |
+
msgstr ""
|
138 |
+
|
139 |
+
#: ../init.php:40
|
140 |
+
msgid ""
|
141 |
+
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
142 |
+
"WooCommerce in order to work."
|
143 |
+
msgstr "YITH WooCommerce Compare je omogočen toda ne deluje brez WooCommerca."
|
144 |
+
|
145 |
+
#: ../init.php:48
|
146 |
+
msgid ""
|
147 |
+
"You can't activate the free version of YITH WooCommerce Compare while you "
|
148 |
+
"are using the premium one."
|
149 |
+
msgstr ""
|
150 |
+
"Ne morete aktivirati brezplačne različice YITH WooCommerce Compare, medtem "
|
151 |
+
"ko uporabljate Premium različico."
|
152 |
+
|
153 |
+
#: ../plugin-options/general-options.php:17
|
154 |
+
msgid "General Settings"
|
155 |
+
msgstr "Splošne nastavitve"
|
156 |
+
|
157 |
+
#: ../plugin-options/general-options.php:24
|
158 |
+
msgid "Link or Button"
|
159 |
+
msgstr "Besedilo povezave ali gumba"
|
160 |
+
|
161 |
+
#: ../plugin-options/general-options.php:25
|
162 |
+
#, fuzzy
|
163 |
+
#| msgid "Choose if you want to use a link or a button for the action button."
|
164 |
+
msgid "Choose if you want to use a link or a button for the comepare actions."
|
165 |
+
msgstr "Izberi ali želiš uporabiti povezava ali gumb za gumb dejanja."
|
166 |
+
|
167 |
+
#: ../plugin-options/general-options.php:32
|
168 |
+
msgid "Link"
|
169 |
+
msgstr "Povezava"
|
170 |
+
|
171 |
+
#: ../plugin-options/general-options.php:33
|
172 |
+
msgid "Button"
|
173 |
+
msgstr "Gumb"
|
174 |
+
|
175 |
+
#: ../plugin-options/general-options.php:38
|
176 |
+
msgid "Link/Button text"
|
177 |
+
msgstr "Besedilo povezave ali gumba"
|
178 |
+
|
179 |
+
#: ../plugin-options/general-options.php:39
|
180 |
+
msgid "Type the text to use for the button or the link of the compare."
|
181 |
+
msgstr ""
|
182 |
+
"Vnesite besedilo, ki bo uporabljeno za gumb ali povezavo za primerjavo."
|
183 |
+
|
184 |
+
#: ../plugin-options/general-options.php:47
|
185 |
+
msgid "Show button in single product page"
|
186 |
+
msgstr "Pokaži gumb na strani posameznega izdelka"
|
187 |
+
|
188 |
+
#: ../plugin-options/general-options.php:48
|
189 |
+
msgid "Say if you want to show the button in the single product page."
|
190 |
+
msgstr "Izberi, če želiš pokazati gumb na strani posameznega izdelka."
|
191 |
+
|
192 |
+
#: ../plugin-options/general-options.php:56
|
193 |
+
msgid "Show button in products list"
|
194 |
+
msgstr "Pokaži gumb v seznamu izdelkov"
|
195 |
+
|
196 |
+
#: ../plugin-options/general-options.php:57
|
197 |
+
msgid "Say if you want to show the button in the products list."
|
198 |
+
msgstr "Izberi, če želiš pokazati gumb na seznamu izdelkov."
|
199 |
+
|
200 |
+
#: ../plugin-options/general-options.php:65
|
201 |
+
msgid "Open automatically lightbox"
|
202 |
+
msgstr "Avtomatično odpri lightbox"
|
203 |
+
|
204 |
+
#: ../plugin-options/general-options.php:66
|
205 |
+
msgid "Open link after click into \"Compare\" button\"."
|
206 |
+
msgstr "Odpri povezavo po kliku na gumb \"Primerjaj\" ."
|
207 |
+
|
208 |
+
#: ../plugin-options/general-options.php:79
|
209 |
+
msgid "Table Settings"
|
210 |
+
msgstr "Nastavitve table"
|
211 |
+
|
212 |
+
#: ../plugin-options/general-options.php:86
|
213 |
+
msgid "Table title"
|
214 |
+
msgstr "Naslov tabele"
|
215 |
+
|
216 |
+
#: ../plugin-options/general-options.php:87
|
217 |
+
msgid "Type the text to use for the table title."
|
218 |
+
msgstr "Vpiši besedilo, ki bo uporabljeno za naslov tabele."
|
219 |
+
|
220 |
+
#: ../plugin-options/general-options.php:89
|
221 |
+
#: ../plugin-options/general-options.php:90
|
222 |
+
msgid "Compare products"
|
223 |
+
msgstr "Primerjaj izdelke"
|
224 |
+
|
225 |
+
#: ../plugin-options/general-options.php:95
|
226 |
+
msgid "Fields to show"
|
227 |
+
msgstr "Polja za prikaz"
|
228 |
+
|
229 |
+
#: ../plugin-options/general-options.php:96
|
230 |
+
msgid ""
|
231 |
+
"Select the fields to show in the comparison table and order them by "
|
232 |
+
"drag&drop (are included also the woocommerce attributes)"
|
233 |
+
msgstr ""
|
234 |
+
"Izberi polja za prikaz v primerjalni tabeli in jih razvrsti s povleci&spusti "
|
235 |
+
"(vključene so tudi možnosti woocommerce)"
|
236 |
+
|
237 |
+
#: ../plugin-options/general-options.php:104
|
238 |
+
msgid "Repeat \"Price\" field"
|
239 |
+
msgstr "Ponovi polje \"Cena\""
|
240 |
+
|
241 |
+
#: ../plugin-options/general-options.php:105
|
242 |
+
msgid "Repeat the \"Price\" field at the end of the table"
|
243 |
+
msgstr "Ponovi polje \"Cena\" na koncu tabele"
|
244 |
+
|
245 |
+
#: ../plugin-options/general-options.php:113
|
246 |
+
msgid "Repeat \"Add to cart\" field"
|
247 |
+
msgstr "Ponovi \"Dodaj v košarico\" polje"
|
248 |
+
|
249 |
+
#: ../plugin-options/general-options.php:114
|
250 |
+
msgid "Repeat the \"Add to cart\" field at the end of the table"
|
251 |
+
msgstr "Ponovi polje \"Dodaj v košarico\" na koncu tabele"
|
252 |
+
|
253 |
+
#: ../plugin-options/general-options.php:122
|
254 |
+
msgid "Image size"
|
255 |
+
msgstr "Velikost slike"
|
256 |
+
|
257 |
+
#: ../plugin-options/general-options.php:123
|
258 |
+
msgid "Set the size for the images"
|
259 |
+
msgstr "Nastavi velikost slik"
|
260 |
+
|
261 |
+
#: ../templates/admin/premium.php:231 ../templates/admin/premium.php:421
|
262 |
+
#, php-format
|
263 |
+
msgid ""
|
264 |
+
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
265 |
+
"benefit from all features!"
|
266 |
+
msgstr ""
|
267 |
+
"Nadgradite v %1$spremium različico%2$s z %1$sYITH WooCommerce Compare%2$s da "
|
268 |
+
"boste lahko izkoristili vse možnosti!"
|
269 |
+
|
270 |
+
#: ../templates/admin/premium.php:234 ../templates/admin/premium.php:424
|
271 |
+
msgid "UPGRADE"
|
272 |
+
msgstr "NADGRADI"
|
273 |
+
|
274 |
+
#: ../templates/admin/premium.php:235 ../templates/admin/premium.php:425
|
275 |
+
msgid "to the premium version"
|
276 |
+
msgstr "na premium različico"
|
277 |
+
|
278 |
+
#: ../templates/admin/premium.php:241
|
279 |
+
msgid "Premium Features"
|
280 |
+
msgstr "Premium možnosti"
|
281 |
+
|
282 |
+
#: ../templates/admin/premium.php:249
|
283 |
+
msgid "A DEDICATED PAGE"
|
284 |
+
msgstr "STRAN ZA POSVETILA"
|
285 |
+
|
286 |
+
#: ../templates/admin/premium.php:252
|
287 |
+
#, php-format
|
288 |
+
msgid ""
|
289 |
+
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
290 |
+
"the premium version of %1$sYITH WooCommerce Compare%2$s, a new page will be "
|
291 |
+
"created automatically in your site and, adding it among the menu entries, "
|
292 |
+
"you will be able to give to your users the chance to access it easily "
|
293 |
+
"whenever they want."
|
294 |
+
msgstr ""
|
295 |
+
"Si ne želite več primerjati vaših izdelkov v modalnem oknu?%3$s S premium "
|
296 |
+
"različico %1$sYITH WooCommerce Compare%2$s, bo nova stran na vaši spletni "
|
297 |
+
"strani samodejno ustvarjena in z dodajanjem med meniji boste svojim "
|
298 |
+
"uporabnikom dali možnost enostavnega dostopa."
|
299 |
+
|
300 |
+
#: ../templates/admin/premium.php:262
|
301 |
+
msgid "CATEGORY COMPARATION"
|
302 |
+
msgstr "PRIMERJANJE KATEGORIJ"
|
303 |
+
|
304 |
+
#: ../templates/admin/premium.php:265
|
305 |
+
#, php-format
|
306 |
+
msgid ""
|
307 |
+
"People are often confused by finding products of different categories in the "
|
308 |
+
"comparison table, creating difficulties in comparing the products they are "
|
309 |
+
"interested into.The %1$s\"Compare by category\"%2$s option exists for this "
|
310 |
+
"need: you will be able to separate the products in the table by category "
|
311 |
+
"affinity."
|
312 |
+
msgstr ""
|
313 |
+
"Uporabniki so pogosto zmedeni ob iskanju izdelkov v različnih kategorijah v "
|
314 |
+
"tabeli za primerjavo, kar ustvarja težave pri primerjanju izdelkov, za "
|
315 |
+
"katere se zanimajo. Možnost %1$s \"Primerjava po kategoriji\"%2$s omogoča, "
|
316 |
+
"da ločite izdelke v tabeli po sorodnih kategorijah. "
|
317 |
+
|
318 |
+
#: ../templates/admin/premium.php:281
|
319 |
+
msgid "CATEGORY EXCLUSION "
|
320 |
+
msgstr "IZKLJUČENE KATEGORIJE"
|
321 |
+
|
322 |
+
#: ../templates/admin/premium.php:284
|
323 |
+
#, php-format
|
324 |
+
msgid ""
|
325 |
+
"In your shop there may be product categories you don't want to be affected "
|
326 |
+
"by the plugin features, deleting the comparison button for them. The premium "
|
327 |
+
"version of the plugin offers this too.%3$sAnd there's more! Activating the "
|
328 |
+
"%1$s\"Reverse exclusion list\"%2$s option, you can also invert the behavior "
|
329 |
+
"of the feature, allowing the comparison only to those products of the "
|
330 |
+
"selected categories."
|
331 |
+
msgstr ""
|
332 |
+
"In your shop there may be product categories you don't want to be affected "
|
333 |
+
"by the plugin features, deleting the comparison button for them. The premium "
|
334 |
+
"version of the plugin offers this too.%3$sAnd there's more! Activating the "
|
335 |
+
"%1$s\"Reverse exclusion list\"%2$s option, you can also invert the behavior "
|
336 |
+
"of the feature, allowing the comparison only to those products of the "
|
337 |
+
"selected categories."
|
338 |
+
|
339 |
+
#: ../templates/admin/premium.php:294
|
340 |
+
msgid "TABLE IMAGE"
|
341 |
+
msgstr "SLIKA TABELE"
|
342 |
+
|
343 |
+
#: ../templates/admin/premium.php:297
|
344 |
+
#, php-format
|
345 |
+
msgid ""
|
346 |
+
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
347 |
+
"Select an image, upload it from the option panel and show it ahead of the "
|
348 |
+
"table to your users. "
|
349 |
+
msgstr ""
|
350 |
+
"Dodajte osebno noto v %1$sprimerjalno tabelo%2$s ki jo bodo uporabniki lahko "
|
351 |
+
"videli. Izberite sliko, prenesite jo iz panela možnosti in jo prikažite za "
|
352 |
+
"vaše uporabnike pred tabelo."
|
353 |
+
|
354 |
+
#: ../templates/admin/premium.php:313
|
355 |
+
msgid "DYNAMIC FIELDS"
|
356 |
+
msgstr "DINAMIČNA POLJA"
|
357 |
+
|
358 |
+
#: ../templates/admin/premium.php:316
|
359 |
+
#, php-format
|
360 |
+
msgid ""
|
361 |
+
"With this precious feature, you will be able to show in the table only the "
|
362 |
+
"fields that have information in at least one of the selected products."
|
363 |
+
"%3$sActivate the %1$s\"Dynamic Attribute fields\"%2$s option and there will "
|
364 |
+
"be no more empty lines in your comparison table."
|
365 |
+
msgstr ""
|
366 |
+
"S to funkcijo boste lahko v tabeli pokazali le tista polaj, ki vsebujejo "
|
367 |
+
"informacije o vsaj enem izbranem izdelku.%3$sAktivirajte %1$s\"Dynamic "
|
368 |
+
"Attribute fields\"%2$s funkcijo, tako da ne boste imeli praznih vrstic v "
|
369 |
+
"vaši tabeli za primerjanje."
|
370 |
+
|
371 |
+
#: ../templates/admin/premium.php:326
|
372 |
+
msgid "SOCIAL NETWORK SHARING"
|
373 |
+
msgstr "DELI SOCIALNA OMREŽJA"
|
374 |
+
|
375 |
+
#: ../templates/admin/premium.php:329
|
376 |
+
#, php-format
|
377 |
+
msgid ""
|
378 |
+
"One of the most appealing features of the premium version of the plugin.Four "
|
379 |
+
"social network sites for your users (Facebook, Twitter, Google + and "
|
380 |
+
"Pinterest) and the email system %1$sto share%2$s the comparison table of the "
|
381 |
+
"products they have selected."
|
382 |
+
msgstr ""
|
383 |
+
"Ena izmed najbolj privlačnih značilnosti premium različice vtičnika. Štiri "
|
384 |
+
"družbena omrežja za vaše uporabnike (Facebook, Twitter, Google + and "
|
385 |
+
"Pinterest) in sistem e-pošte %1$s deli%2$s za primerjalno tabelo izdelkov, "
|
386 |
+
"ki so jih izbrali."
|
387 |
+
|
388 |
+
#: ../templates/admin/premium.php:345
|
389 |
+
msgid "RELATED PRODUCTS"
|
390 |
+
msgstr "SORODNI IZDELKI"
|
391 |
+
|
392 |
+
#: ../templates/admin/premium.php:348
|
393 |
+
#, php-format
|
394 |
+
msgid ""
|
395 |
+
"All the products that have common categories and/or tags with those in the "
|
396 |
+
"comparison table will be showed in a slider, right under the comparison "
|
397 |
+
"table.%3$sA completely %1$s\"touch friendly\"%2$s slider to encourage your "
|
398 |
+
"users to discover the shop products of the shop related to those they are "
|
399 |
+
"interested into."
|
400 |
+
msgstr ""
|
401 |
+
"Vsi izdelki, ki imajo skupne kategorije in/ali oznake s tistimi iz "
|
402 |
+
"primerjalne tabele se bodo pokazali v drsniku, tik pod primerjalno tabelo."
|
403 |
+
"%3$sA Povsem %1$ s \"prijazen dotik\"%2$s drsnika za spodbujanje "
|
404 |
+
"uporabnikov, da odkrivajo tiste izdelke v trgovini, ki jih zanimajo."
|
405 |
+
|
406 |
+
#: ../templates/admin/premium.php:358
|
407 |
+
msgid "CUSTOMIZABLE STYLE"
|
408 |
+
msgstr "PRILAGODLJIVI STIL"
|
409 |
+
|
410 |
+
#: ../templates/admin/premium.php:361
|
411 |
+
#, fuzzy, php-format
|
412 |
+
#| msgid ""
|
413 |
+
#| "An advanced option panel that let you change all the colors of the "
|
414 |
+
#| "plugin, so that you can adapt stylistically all its elements to the "
|
415 |
+
#| "%1$slayout%2$s of your shop.We know it, looks also count... and we give "
|
416 |
+
#| "you the right tools to get to the best result."
|
417 |
+
msgid ""
|
418 |
+
"An advanced option panel that let you change all the colors of the plugin, "
|
419 |
+
"so that you can adapt stylistically all its elements %1$sto the layout%2$s "
|
420 |
+
"of your shop.We know it, looks also count... and we give you the right tools "
|
421 |
+
"to get to the best result."
|
422 |
+
msgstr ""
|
423 |
+
"Napredni panel možnosti, ki vam omogoča spremembo vseh barv vtičnika, tako "
|
424 |
+
"da se lahko slogovno prilagodi vsem elementom v %1$spostavitev%2$s vaše "
|
425 |
+
"trgovine. Vemo, videti je, da tudi računa.... dali smo vam najboljše orodje "
|
426 |
+
"za doseganje najboljših rezultatov."
|
427 |
+
|
428 |
+
#: ../templates/admin/premium.php:377
|
429 |
+
#, fuzzy
|
430 |
+
#| msgid "CUSTOMIZABLE STYLE"
|
431 |
+
msgid "CUSTOMIZED ATTRIBUTES"
|
432 |
+
msgstr "PRILAGODLJIVI STIL"
|
433 |
+
|
434 |
+
#: ../templates/admin/premium.php:380
|
435 |
+
#, php-format
|
436 |
+
msgid ""
|
437 |
+
"Let you users compare products following every feature, and considering also "
|
438 |
+
"all those %1$sattributes%2$s that can be manually created in within the "
|
439 |
+
"product detail page. Every single detail will be included."
|
440 |
+
msgstr ""
|
441 |
+
|
442 |
+
#: ../templates/admin/premium.php:390
|
443 |
+
msgid "A TAILORED TABLE"
|
444 |
+
msgstr ""
|
445 |
+
|
446 |
+
#: ../templates/admin/premium.php:393
|
447 |
+
#, php-format
|
448 |
+
msgid ""
|
449 |
+
"Select the products you want to compare and the system will offer you the "
|
450 |
+
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
451 |
+
msgstr ""
|
452 |
+
|
453 |
+
#: ../templates/admin/premium.php:409
|
454 |
+
msgid "WIDGET"
|
455 |
+
msgstr ""
|
456 |
+
|
457 |
+
#: ../templates/admin/premium.php:412
|
458 |
+
msgid ""
|
459 |
+
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
460 |
+
"complete list of products added to the compare tab and avoid to open the "
|
461 |
+
"popup to check its existence. "
|
462 |
+
msgstr ""
|
463 |
+
|
464 |
+
#: ../templates/compare.php:76
|
465 |
+
msgid "Close window [X]"
|
466 |
+
msgstr "Zapri okno [X]"
|
467 |
+
|
468 |
+
#: ../templates/compare.php:103
|
469 |
+
msgid "No products added in the compare table."
|
470 |
+
msgstr "V tabeli za primerjanje ni dodanih izdelkov."
|
471 |
+
|
472 |
+
#: ../widgets/class.yith-woocompare-widget.php:23
|
473 |
+
#, fuzzy
|
474 |
+
#| msgid "The widget show the list of products added in the compare table."
|
475 |
+
msgid "The widget shows the list of products added in the comparison table."
|
476 |
+
msgstr "Vtičnik prikaže seznam izdelkov, dodanih v tabelo za primerjavo."
|
477 |
+
|
478 |
+
#: ../widgets/class.yith-woocompare-widget.php:27
|
479 |
+
#, fuzzy
|
480 |
+
#| msgid "YITH Woocommerce Compare Widget"
|
481 |
+
msgid "YITH WooCommerce Compare Widget"
|
482 |
+
msgstr "YITH Woocommerce Compare vtičnik"
|
483 |
+
|
484 |
+
#: ../widgets/class.yith-woocompare-widget.php:50
|
485 |
+
msgid "Clear all"
|
486 |
+
msgstr "Počisti vse"
|
plugin-fw/init.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
-
* Version: 2.9.
|
5 |
* Author: Yithemes
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
+
* Version: 2.9.68
|
5 |
* Author: Yithemes
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
plugin-fw/lib/yit-plugin-panel-wc.php
CHANGED
@@ -64,6 +64,8 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
64 |
'image_width'
|
65 |
);
|
66 |
|
|
|
|
|
67 |
if ( ! empty( $args ) ) {
|
68 |
$this->settings = $args;
|
69 |
$this->_tabs_path_files = $this->get_tabs_path_files();
|
64 |
'image_width'
|
65 |
);
|
66 |
|
67 |
+
$args = apply_filters( 'yit_plugin_fw_wc_panel_option_args', $args );
|
68 |
+
|
69 |
if ( ! empty( $args ) ) {
|
70 |
$this->settings = $args;
|
71 |
$this->_tabs_path_files = $this->get_tabs_path_files();
|
plugin-fw/lib/yit-plugin-panel.php
CHANGED
@@ -77,7 +77,9 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
77 |
'position' => null
|
78 |
);
|
79 |
|
80 |
-
$
|
|
|
|
|
81 |
$this->_tabs_path_files = $this->get_tabs_path_files();
|
82 |
|
83 |
if ( isset( $this->settings['create_menu_page'] ) && $this->settings['create_menu_page'] ) {
|
@@ -114,7 +116,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
114 |
if( ! isset( $admin_page_hooks['yit_plugin_panel'] ) ){
|
115 |
$position = apply_filters( 'yit_plugins_menu_item_position', '62.32' );
|
116 |
// YITH Plugins text must not be translated
|
117 |
-
|
118 |
}
|
119 |
}
|
120 |
|
77 |
'position' => null
|
78 |
);
|
79 |
|
80 |
+
$args = apply_filters( 'yit_plugin_fw_panel_option_args', wp_parse_args( $args, $default_args ) );
|
81 |
+
|
82 |
+
$this->settings = $args;
|
83 |
$this->_tabs_path_files = $this->get_tabs_path_files();
|
84 |
|
85 |
if ( isset( $this->settings['create_menu_page'] ) && $this->settings['create_menu_page'] ) {
|
116 |
if( ! isset( $admin_page_hooks['yit_plugin_panel'] ) ){
|
117 |
$position = apply_filters( 'yit_plugins_menu_item_position', '62.32' );
|
118 |
// YITH Plugins text must not be translated
|
119 |
+
apply_filters('yit_plugin_panel_menu_page_capability', current_user_can( 'manage_options' )) && add_menu_page( 'yit_plugin_panel', 'YITH Plugins', 'manage_options', 'yit_plugin_panel', NULL, YIT_CORE_PLUGIN_URL . '/assets/images/yithemes-icon.png', $position );
|
120 |
}
|
121 |
}
|
122 |
|
plugin-fw/yit-woocommerce-compatibility.php
CHANGED
@@ -112,13 +112,8 @@ if ( !function_exists( 'yit_save_prop' ) ) {
|
|
112 |
foreach ( $arg1 as $key => $value ) {
|
113 |
yit_set_prop( $object, $key, $value );
|
114 |
|
115 |
-
if (
|
116 |
-
|
117 |
-
$object->save();
|
118 |
-
} else {
|
119 |
-
yit_store_changes( $object, $key, $value );
|
120 |
-
}
|
121 |
-
} else {
|
122 |
if ( yit_wc_check_post_columns( $key ) ) {
|
123 |
yit_store_changes( $object->post, $key, $value );
|
124 |
} else {
|
@@ -128,6 +123,10 @@ if ( !function_exists( 'yit_save_prop' ) ) {
|
|
128 |
}
|
129 |
}
|
130 |
}
|
|
|
|
|
|
|
|
|
131 |
}
|
132 |
}
|
133 |
|
@@ -150,7 +149,7 @@ if ( !function_exists( 'yit_delete_prop' ) ) {
|
|
150 |
$object->delete_meta_data( $key, $value );
|
151 |
}
|
152 |
|
153 |
-
|
154 |
} else {
|
155 |
if ( yit_wc_check_post_columns( $key ) && ( !$value || $object->post->$key == $value ) ) {
|
156 |
yit_store_changes( $object->post, $key, '' );
|
@@ -166,26 +165,30 @@ if ( !function_exists( 'yit_delete_prop' ) ) {
|
|
166 |
if ( !function_exists( 'yit_return_new_attribute_map' ) ) {
|
167 |
function yit_return_new_attribute_map() {
|
168 |
return array(
|
169 |
-
'post_parent'
|
170 |
-
'post_title'
|
171 |
-
'post_status'
|
172 |
-
'post_content'
|
173 |
-
'post_excerpt'
|
174 |
/* Orders */
|
175 |
-
'paid_date'
|
176 |
-
'_paid_date'
|
177 |
-
'completed_date'
|
178 |
-
'_completed_date'
|
179 |
-
'_order_date'
|
180 |
-
'order_date'
|
181 |
-
'order_total'
|
|
|
|
|
182 |
/* Products */
|
183 |
-
'visibility'
|
184 |
-
'_visibility'
|
185 |
-
'sale_price_dates_from'
|
186 |
-
'_sale_price_dates_from'
|
187 |
-
'sale_price_dates_to'
|
188 |
-
'_sale_price_dates_to'
|
|
|
|
|
189 |
/*Coupons*/
|
190 |
'coupon_amount' => 'amount',
|
191 |
'exclude_product_ids' => 'excluded_product_ids',
|
@@ -208,15 +211,11 @@ if ( !function_exists( 'yit_store_changes' ) ) {
|
|
208 |
*/
|
209 |
$object_reference = $object->get_id();
|
210 |
|
211 |
-
$cache_type = is_a( $object, 'WC_Product' ) ? 'product' : 'order';
|
212 |
-
$cache_key = $cache_type . '-' . $object_reference;
|
213 |
-
$cache_group = $cache_type . 's';
|
214 |
-
|
215 |
$changed_objects[ $object_reference ][ 'object' ] = $object;
|
216 |
$changed_objects[ $object_reference ][ 'changes' ][ $key ] = $value;
|
217 |
|
218 |
|
219 |
-
|
220 |
} else {
|
221 |
$changed_objects[ $object->ID ][ $key ] = $value;
|
222 |
}
|
@@ -251,7 +250,7 @@ if ( !function_exists( 'yit_get_orders' ) ) {
|
|
251 |
*
|
252 |
*/
|
253 |
function yit_get_orders( $args ) {
|
254 |
-
if ( version_compare( WC()->version, '2.
|
255 |
$args[ 'fields' ] = 'objects';
|
256 |
$posts = get_posts( $args );
|
257 |
|
@@ -267,7 +266,7 @@ if ( !function_exists( 'yit_get_products' ) ) {
|
|
267 |
*
|
268 |
*/
|
269 |
function yit_get_products( $args ) {
|
270 |
-
if ( version_compare( WC()->version, '2.
|
271 |
$args[ 'fields' ] = 'objects';
|
272 |
$posts = get_posts( $args );
|
273 |
|
@@ -317,6 +316,7 @@ if ( !function_exists( 'yit_wc_deprecated_filters' ) ) {
|
|
317 |
'woocommerce_product_weight' => 'woocommerce_product_get_weight',
|
318 |
'woocommerce_get_sku' => 'woocommerce_product_get_sku',
|
319 |
'woocommerce_get_price' => 'woocommerce_product_get_price',
|
|
|
320 |
'woocommerce_get_regular_price' => 'woocommerce_product_get_regular_price',
|
321 |
'woocommerce_get_sale_price' => 'woocommerce_product_get_sale_price',
|
322 |
'woocommerce_product_tax_class' => 'woocommerce_product_get_tax_class',
|
@@ -554,7 +554,7 @@ if ( !function_exists( 'yit_get_product_image_id' ) ) {
|
|
554 |
|
555 |
if ( !function_exists( 'yit_get_refund_amount' ) ) {
|
556 |
/**
|
557 |
-
* @param $refund
|
558 |
* @param $context string
|
559 |
*
|
560 |
* @return float
|
@@ -570,6 +570,44 @@ if ( !function_exists( 'yit_get_refund_amount' ) ) {
|
|
570 |
}
|
571 |
}
|
572 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
573 |
if ( !function_exists( 'yit_add_select2_fields' ) ) {
|
574 |
/**
|
575 |
* Add select 2
|
@@ -636,7 +674,7 @@ if ( !function_exists( 'yit_add_select2_fields' ) ) {
|
|
636 |
<?php
|
637 |
else :
|
638 |
if ( $args[ 'data-multiple' ] === false && is_array( $args[ 'data-selected' ] ) ) {
|
639 |
-
$args[ 'data-selected' ] = current($args[ 'data-selected' ]);
|
640 |
}
|
641 |
|
642 |
?>
|
@@ -664,7 +702,9 @@ if ( !function_exists( 'yit_product_visibility_meta' ) ) {
|
|
664 |
if ( version_compare( WC()->version, '2.7.0', '<' ) ) {
|
665 |
$args[ 'meta_query' ] = isset( $args[ 'meta_query' ] ) ? $args[ 'meta_query' ] : array();
|
666 |
$args[ 'meta_query' ][] = WC()->query->visibility_meta_query();
|
667 |
-
}
|
|
|
|
|
668 |
$product_visibility_term_ids = wc_get_product_visibility_term_ids();
|
669 |
$args[ 'tax_query' ] = isset( $args[ 'tax_query' ] ) ? $args[ 'tax_query' ] : array();
|
670 |
$args[ 'tax_query' ][] = array(
|
@@ -686,7 +726,7 @@ if ( !function_exists( 'yit_datetime_to_timestamp' ) ) {
|
|
686 |
*/
|
687 |
function yit_datetime_to_timestamp( $date ) {
|
688 |
|
689 |
-
if (
|
690 |
$date = strtotime( $date );
|
691 |
}
|
692 |
|
112 |
foreach ( $arg1 as $key => $value ) {
|
113 |
yit_set_prop( $object, $key, $value );
|
114 |
|
115 |
+
if ( !$is_wc_data ) {
|
116 |
+
|
|
|
|
|
|
|
|
|
|
|
117 |
if ( yit_wc_check_post_columns( $key ) ) {
|
118 |
yit_store_changes( $object->post, $key, $value );
|
119 |
} else {
|
123 |
}
|
124 |
}
|
125 |
}
|
126 |
+
|
127 |
+
if ( $is_wc_data ) {
|
128 |
+
$object->save();
|
129 |
+
}
|
130 |
}
|
131 |
}
|
132 |
|
149 |
$object->delete_meta_data( $key, $value );
|
150 |
}
|
151 |
|
152 |
+
$object->save();
|
153 |
} else {
|
154 |
if ( yit_wc_check_post_columns( $key ) && ( !$value || $object->post->$key == $value ) ) {
|
155 |
yit_store_changes( $object->post, $key, '' );
|
165 |
if ( !function_exists( 'yit_return_new_attribute_map' ) ) {
|
166 |
function yit_return_new_attribute_map() {
|
167 |
return array(
|
168 |
+
'post_parent' => 'parent_id',
|
169 |
+
'post_title' => 'name',
|
170 |
+
'post_status' => 'status',
|
171 |
+
'post_content' => 'description',
|
172 |
+
'post_excerpt' => 'short_description',
|
173 |
/* Orders */
|
174 |
+
'paid_date' => 'date_paid',
|
175 |
+
'_paid_date' => '_date_paid',
|
176 |
+
'completed_date' => 'date_completed',
|
177 |
+
'_completed_date' => '_date_completed',
|
178 |
+
'_order_date' => '_date_created',
|
179 |
+
'order_date' => 'date_created',
|
180 |
+
'order_total' => 'total',
|
181 |
+
'customer_user' => 'customer_id',
|
182 |
+
'_customer_user' => 'customer_id',
|
183 |
/* Products */
|
184 |
+
'visibility' => 'catalog_visibility',
|
185 |
+
'_visibility' => '_catalog_visibility',
|
186 |
+
'sale_price_dates_from' => 'date_on_sale_from',
|
187 |
+
'_sale_price_dates_from' => '_date_on_sale_from',
|
188 |
+
'sale_price_dates_to' => 'date_on_sale_to',
|
189 |
+
'_sale_price_dates_to' => '_date_on_sale_to',
|
190 |
+
'product_attributes' => 'attributes',
|
191 |
+
'_product_attributes' => '_attributes',
|
192 |
/*Coupons*/
|
193 |
'coupon_amount' => 'amount',
|
194 |
'exclude_product_ids' => 'excluded_product_ids',
|
211 |
*/
|
212 |
$object_reference = $object->get_id();
|
213 |
|
|
|
|
|
|
|
|
|
214 |
$changed_objects[ $object_reference ][ 'object' ] = $object;
|
215 |
$changed_objects[ $object_reference ][ 'changes' ][ $key ] = $value;
|
216 |
|
217 |
|
218 |
+
|
219 |
} else {
|
220 |
$changed_objects[ $object->ID ][ $key ] = $value;
|
221 |
}
|
250 |
*
|
251 |
*/
|
252 |
function yit_get_orders( $args ) {
|
253 |
+
if ( version_compare( WC()->version, '2.7', '<' ) ) {
|
254 |
$args[ 'fields' ] = 'objects';
|
255 |
$posts = get_posts( $args );
|
256 |
|
266 |
*
|
267 |
*/
|
268 |
function yit_get_products( $args ) {
|
269 |
+
if ( version_compare( WC()->version, '2.7', '<' ) ) {
|
270 |
$args[ 'fields' ] = 'objects';
|
271 |
$posts = get_posts( $args );
|
272 |
|
316 |
'woocommerce_product_weight' => 'woocommerce_product_get_weight',
|
317 |
'woocommerce_get_sku' => 'woocommerce_product_get_sku',
|
318 |
'woocommerce_get_price' => 'woocommerce_product_get_price',
|
319 |
+
'woocommerce_get_price' => 'woocommerce_product_variation_get_price',
|
320 |
'woocommerce_get_regular_price' => 'woocommerce_product_get_regular_price',
|
321 |
'woocommerce_get_sale_price' => 'woocommerce_product_get_sale_price',
|
322 |
'woocommerce_product_tax_class' => 'woocommerce_product_get_tax_class',
|
554 |
|
555 |
if ( !function_exists( 'yit_get_refund_amount' ) ) {
|
556 |
/**
|
557 |
+
* @param $refund \WC_Order_Refund
|
558 |
* @param $context string
|
559 |
*
|
560 |
* @return float
|
570 |
}
|
571 |
}
|
572 |
|
573 |
+
if ( !function_exists( 'yit_set_refund_amount' ) ){
|
574 |
+
/**
|
575 |
+
* @param $refund \WC_Order_Refund
|
576 |
+
* @param $amount float
|
577 |
+
*
|
578 |
+
* @return float
|
579 |
+
*/
|
580 |
+
function yit_set_refund_amount( $refund, $amount ){
|
581 |
+
$is_wc_data = $refund instanceof WC_Data;
|
582 |
+
|
583 |
+
if( $is_wc_data ){
|
584 |
+
$refund->set_amount( $amount );
|
585 |
+
}
|
586 |
+
else{
|
587 |
+
$refund->refund_amount = $amount;
|
588 |
+
}
|
589 |
+
}
|
590 |
+
}
|
591 |
+
|
592 |
+
if ( !function_exists( 'yit_get_refund_reason' ) ){
|
593 |
+
/**
|
594 |
+
* @param $refund \WC_Order_Refund
|
595 |
+
* @param $amount float
|
596 |
+
*
|
597 |
+
* @return float
|
598 |
+
*/
|
599 |
+
function yit_get_refund_reason( $refund ){
|
600 |
+
$is_wc_data = $refund instanceof WC_Data;
|
601 |
+
|
602 |
+
if( $is_wc_data ){
|
603 |
+
return $refund->get_reason();
|
604 |
+
}
|
605 |
+
else{
|
606 |
+
return $refund->get_refund_reason();
|
607 |
+
}
|
608 |
+
}
|
609 |
+
}
|
610 |
+
|
611 |
if ( !function_exists( 'yit_add_select2_fields' ) ) {
|
612 |
/**
|
613 |
* Add select 2
|
674 |
<?php
|
675 |
else :
|
676 |
if ( $args[ 'data-multiple' ] === false && is_array( $args[ 'data-selected' ] ) ) {
|
677 |
+
$args[ 'data-selected' ] = current( $args[ 'data-selected' ] );
|
678 |
}
|
679 |
|
680 |
?>
|
702 |
if ( version_compare( WC()->version, '2.7.0', '<' ) ) {
|
703 |
$args[ 'meta_query' ] = isset( $args[ 'meta_query' ] ) ? $args[ 'meta_query' ] : array();
|
704 |
$args[ 'meta_query' ][] = WC()->query->visibility_meta_query();
|
705 |
+
}
|
706 |
+
|
707 |
+
elseif( taxonomy_exists( 'product_visibility' ) ) {
|
708 |
$product_visibility_term_ids = wc_get_product_visibility_term_ids();
|
709 |
$args[ 'tax_query' ] = isset( $args[ 'tax_query' ] ) ? $args[ 'tax_query' ] : array();
|
710 |
$args[ 'tax_query' ][] = array(
|
726 |
*/
|
727 |
function yit_datetime_to_timestamp( $date ) {
|
728 |
|
729 |
+
if ( !is_int( $date ) ) {
|
730 |
$date = strtotime( $date );
|
731 |
}
|
732 |
|
screenshot-1.png
DELETED
Binary file
|
screenshot-2.png
DELETED
Binary file
|
screenshot-3.png
DELETED
Binary file
|
templates/compare.php
CHANGED
@@ -204,7 +204,7 @@ $localized_table_text = apply_filters ( 'wpml_translate_single_string', $table_t
|
|
204 |
<script type="text/javascript">
|
205 |
|
206 |
jQuery(document).ready(function($){
|
207 |
-
|
208 |
|
209 |
var oTable;
|
210 |
$('body').on( 'yith_woocompare_render_table', function(){
|
@@ -227,25 +227,25 @@ $localized_table_text = apply_filters ( 'wpml_translate_single_string', $table_t
|
|
227 |
}).trigger('yith_woocompare_render_table');
|
228 |
|
229 |
// add to cart
|
230 |
-
var
|
231 |
-
|
232 |
-
|
233 |
-
$(document).on('click', 'a.add_to_cart_button', function(){
|
234 |
-
button_clicked = $(this);
|
235 |
-
button_clicked.block({message: null, overlayCSS: {background: '#fff url(' + woocommerce_params.ajax_loader_url + ') no-repeat center', backgroundSize: '16px 16px', opacity: 0.6}});
|
236 |
-
});
|
237 |
|
238 |
// close colorbox if redirect to cart is active after add to cart
|
239 |
-
|
240 |
if( wc_add_to_cart_params.cart_redirect_after_add == 'yes' ) {
|
241 |
wc_add_to_cart_params.cart_redirect_after_add = 'no';
|
242 |
redirect_to_cart = true;
|
243 |
}
|
244 |
});
|
245 |
|
|
|
|
|
|
|
|
|
246 |
// remove add to cart button after added
|
247 |
-
|
248 |
|
|
|
249 |
|
250 |
if( redirect_to_cart == true ) {
|
251 |
// redirect
|
@@ -253,18 +253,12 @@ $localized_table_text = apply_filters ( 'wpml_translate_single_string', $table_t
|
|
253 |
return;
|
254 |
}
|
255 |
|
256 |
-
button_clicked.hide();
|
257 |
-
|
258 |
-
<?php if ( $is_iframe ) : ?>
|
259 |
-
$('a').attr('target', '_parent');
|
260 |
-
|
261 |
// Replace fragments
|
262 |
if ( fragments ) {
|
263 |
$.each(fragments, function(key, value) {
|
264 |
$(key, window.parent.document).replaceWith(value);
|
265 |
});
|
266 |
}
|
267 |
-
<?php endif; ?>
|
268 |
});
|
269 |
|
270 |
// close window
|
204 |
<script type="text/javascript">
|
205 |
|
206 |
jQuery(document).ready(function($){
|
207 |
+
$('a').attr('target', '_parent');
|
208 |
|
209 |
var oTable;
|
210 |
$('body').on( 'yith_woocompare_render_table', function(){
|
227 |
}).trigger('yith_woocompare_render_table');
|
228 |
|
229 |
// add to cart
|
230 |
+
var redirect_to_cart = false,
|
231 |
+
body = $('body');
|
|
|
|
|
|
|
|
|
|
|
232 |
|
233 |
// close colorbox if redirect to cart is active after add to cart
|
234 |
+
body.on( 'adding_to_cart', function ( $thisbutton, data ) {
|
235 |
if( wc_add_to_cart_params.cart_redirect_after_add == 'yes' ) {
|
236 |
wc_add_to_cart_params.cart_redirect_after_add = 'no';
|
237 |
redirect_to_cart = true;
|
238 |
}
|
239 |
});
|
240 |
|
241 |
+
body.on('wc_cart_button_updated', function( ev, button ){
|
242 |
+
$('a.added_to_cart').attr('target', '_parent');
|
243 |
+
});
|
244 |
+
|
245 |
// remove add to cart button after added
|
246 |
+
body.on('added_to_cart', function( ev, fragments, cart_hash, button ){
|
247 |
|
248 |
+
$('a').attr('target', '_parent');
|
249 |
|
250 |
if( redirect_to_cart == true ) {
|
251 |
// redirect
|
253 |
return;
|
254 |
}
|
255 |
|
|
|
|
|
|
|
|
|
|
|
256 |
// Replace fragments
|
257 |
if ( fragments ) {
|
258 |
$.each(fragments, function(key, value) {
|
259 |
$(key, window.parent.document).replaceWith(value);
|
260 |
});
|
261 |
}
|
|
|
262 |
});
|
263 |
|
264 |
// close window
|