Version Description
Release Date - 19 March 2021
- Fixed PHP warning for 3rd party integrations
Download this release
Release Info
Developer | templateinvaders |
Plugin | WooCommerce Wishlist Plugin |
Version | 1.24.2 |
Comparing to | |
See all releases |
Code changes from version 1.24.1 to 1.24.2
- admin/settings/integrations.class.php +13 -11
- assets/css/admin-form-rtl.min.css +1 -1
- assets/css/admin-form.min.css +1 -1
- assets/css/admin-rtl.min.css +1 -1
- assets/css/admin-setup-rtl.min.css +1 -1
- assets/css/admin-setup.min.css +1 -1
- assets/css/admin.min.css +1 -1
- assets/css/public-rtl.min.css +1 -1
- assets/css/public.min.css +1 -1
- assets/css/theme-rtl.min.css +1 -1
- assets/css/theme.min.css +1 -1
- assets/css/webfont-rtl.min.css +1 -1
- assets/css/webfont.min.css +1 -1
- assets/js/admin.min.js +1 -1
- assets/js/public.min.js +1 -1
- integrations/advanced-product-fields-for-woocommerce-pro.php +4 -2
- integrations/advanced-product-fields-for-woocommerce.php +4 -2
- integrations/automatewoo.php +4 -2
- integrations/check-pincodezipcode-for-shipping-woocommerce.php +4 -2
- integrations/clever-swatches.php +4 -2
- integrations/comet-cache.php +4 -2
- integrations/duracelltomi-google-tag-manager.php +4 -2
- integrations/elex-woocommerce-catalog-mode.php +4 -2
- integrations/gift-cards-for-woocommerce.php +4 -2
- integrations/hide-price-add-to-cart-button.php +4 -2
- integrations/improved-variable-product-attributes.php +4 -2
- integrations/litespeed-cache.php +4 -2
- integrations/mycred.php +4 -2
- integrations/product-extras-for-woocommerce.php +4 -2
- integrations/pw-woocommerce-gift-cards.php +4 -2
- integrations/show-single-variations.php +4 -2
- integrations/sitepress-multilingual-cms.php +4 -2
- integrations/theme-divi.php +4 -2
- integrations/theme-flatsome.php +4 -2
- integrations/theme-kallyas.php +4 -2
- integrations/theme-oceanwp.php +4 -2
- integrations/uni-woo-custom-product-options.php +4 -2
- integrations/woo-advanced-qty.php +4 -2
- integrations/woo-custom-product-addons.php +4 -2
- integrations/woo-payment-gateway.php +4 -2
- integrations/woo-product-bundle.php +4 -2
- integrations/woo-variation-swatches-pro.php +4 -2
- integrations/woo-variations-table-grid.php +4 -2
- integrations/woocommerce-booking.php +4 -2
- integrations/woocommerce-bookings.php +4 -2
- integrations/woocommerce-composite-products.php +4 -2
- integrations/woocommerce-custom-fields.php +4 -2
- integrations/woocommerce-gravityforms-product-addons.php +4 -2
- integrations/woocommerce-mix-and-match-products.php +4 -2
- integrations/woocommerce-multilingual.php +4 -2
- integrations/woocommerce-product-addon.php +4 -2
- integrations/woocommerce-product-addons.php +4 -2
- integrations/woocommerce-product-bundles.php +4 -2
- integrations/woocommerce-product-table.php +4 -2
- integrations/woocommerce-rental-and-booking.php +4 -2
- integrations/woocommerce-square.php +4 -2
- integrations/woocommerce-tm-extra-product-options.php +4 -2
- integrations/wp-fastest-cache.php +4 -2
- integrations/wp-grid-builder.php +4 -2
- integrations/wp-multilang.php +4 -2
- integrations/wp-rocket.php +4 -2
- integrations/wpc-variations-radio-buttons.php +4 -2
- integrations/yith-woocommerce-product-add-ons.php +4 -2
- integrations/yith-woocommerce-product-bundles.php +4 -2
- integrations/yith-woocommerce-quick-view.php +4 -2
- languages/ti-woocommerce-wishlist.pot +29 -29
- readme.txt +6 -1
- ti-woocommerce-wishlist.php +4 -4
admin/settings/integrations.class.php
CHANGED
@@ -72,21 +72,23 @@ class TInvWL_Admin_Settings_Integrations extends TInvWL_Admin_BaseSection
|
|
72 |
function constructor_data()
|
73 |
{
|
74 |
|
75 |
-
global $
|
76 |
$fields = array();
|
77 |
-
foreach ($integrations as $slug => $settings) {
|
78 |
|
79 |
-
|
|
|
80 |
|
81 |
-
|
82 |
-
'type' => 'checkboxonoff',
|
83 |
-
'name' => $slug,
|
84 |
-
'text' => $settings['name'],
|
85 |
-
'std' => true,
|
86 |
-
'extra' => $disabled,
|
87 |
-
);
|
88 |
-
}
|
89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
|
91 |
$settings = array(
|
92 |
|
72 |
function constructor_data()
|
73 |
{
|
74 |
|
75 |
+
global $tinvwl_integrations;
|
76 |
$fields = array();
|
|
|
77 |
|
78 |
+
if (is_array($tinvwl_integrations)) {
|
79 |
+
foreach ($tinvwl_integrations as $slug => $settings) {
|
80 |
|
81 |
+
$disabled = ($settings['available']) ? array() : array('disabled' => 'disabled');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
+
$fields[] = array(
|
84 |
+
'type' => 'checkboxonoff',
|
85 |
+
'name' => $slug,
|
86 |
+
'text' => $settings['name'],
|
87 |
+
'std' => true,
|
88 |
+
'extra' => $disabled,
|
89 |
+
);
|
90 |
+
}
|
91 |
+
}
|
92 |
|
93 |
$settings = array(
|
94 |
|
assets/css/admin-form-rtl.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
-
* @version 1.24.
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
.tiwlform-number-container{display:inline-block;margin:2px;position:relative;vertical-align:middle}
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
+
* @version 1.24.2
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
.tiwlform-number-container{display:inline-block;margin:2px;position:relative;vertical-align:middle}
|
assets/css/admin-form.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
-
* @version 1.24.
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
.tiwlform-number-container{display:inline-block;margin:2px;position:relative;vertical-align:middle}
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
+
* @version 1.24.2
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
.tiwlform-number-container{display:inline-block;margin:2px;position:relative;vertical-align:middle}
|
assets/css/admin-rtl.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
-
* @version 1.24.
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
*{-webkit-box-sizing:border-box;box-sizing:border-box}
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
+
* @version 1.24.2
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
*{-webkit-box-sizing:border-box;box-sizing:border-box}
|
assets/css/admin-setup-rtl.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
-
* @version 1.24.
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
html{background:#f6f3ed}
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
+
* @version 1.24.2
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
html{background:#f6f3ed}
|
assets/css/admin-setup.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
-
* @version 1.24.
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
html{background:#f6f3ed}
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
+
* @version 1.24.2
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
html{background:#f6f3ed}
|
assets/css/admin.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
-
* @version 1.24.
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
*{-webkit-box-sizing:border-box;box-sizing:border-box}
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
+
* @version 1.24.2
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
*{-webkit-box-sizing:border-box;box-sizing:border-box}
|
assets/css/public-rtl.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
-
* @version 1.24.
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
.tinv-wishlist form,.tinv-wishlist p:last-child,.tinv-wishlist table{margin-bottom:0}
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
+
* @version 1.24.2
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
.tinv-wishlist form,.tinv-wishlist p:last-child,.tinv-wishlist table{margin-bottom:0}
|
assets/css/public.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
-
* @version 1.24.
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
.tinv-wishlist form,.tinv-wishlist p:last-child,.tinv-wishlist table{margin-bottom:0}
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
+
* @version 1.24.2
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
.tinv-wishlist form,.tinv-wishlist p:last-child,.tinv-wishlist table{margin-bottom:0}
|
assets/css/theme-rtl.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
-
* @version 1.24.
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
.tinv-wishlist,.tinv-wishlist input,.tinv-wishlist select,.tinv-wishlist textarea,.tinv-wishlist button,.tinv-wishlist input[type="button"],.tinv-wishlist input[type="reset"],.tinv-wishlist input[type="submit"]{font-family:Georgia,serif;font-size:14px;font-weight:400;text-transform:none;line-height:1.75}
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
+
* @version 1.24.2
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
.tinv-wishlist,.tinv-wishlist input,.tinv-wishlist select,.tinv-wishlist textarea,.tinv-wishlist button,.tinv-wishlist input[type="button"],.tinv-wishlist input[type="reset"],.tinv-wishlist input[type="submit"]{font-family:Georgia,serif;font-size:14px;font-weight:400;text-transform:none;line-height:1.75}
|
assets/css/theme.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
-
* @version 1.24.
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
.tinv-wishlist,.tinv-wishlist input,.tinv-wishlist select,.tinv-wishlist textarea,.tinv-wishlist button,.tinv-wishlist input[type="button"],.tinv-wishlist input[type="reset"],.tinv-wishlist input[type="submit"]{font-family:Georgia,serif;font-size:14px;font-weight:400;text-transform:none;line-height:1.75}
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
+
* @version 1.24.2
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
.tinv-wishlist,.tinv-wishlist input,.tinv-wishlist select,.tinv-wishlist textarea,.tinv-wishlist button,.tinv-wishlist input[type="button"],.tinv-wishlist input[type="reset"],.tinv-wishlist input[type="submit"]{font-family:Georgia,serif;font-size:14px;font-weight:400;text-transform:none;line-height:1.75}
|
assets/css/webfont-rtl.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
-
* @version 1.24.
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
@font-face{font-family:'tinvwl-webfont';src:url("../fonts/tinvwl-webfont.eot?ver=xu2uyi");src:url("../fonts/tinvwl-webfont.eot?ver=xu2uyi#iefix") format("embedded-opentype"),url("../fonts/tinvwl-webfont.woff2?ver=xu2uyi") format("woff2"),url("../fonts/tinvwl-webfont.woff?ver=xu2uyi") format("woff"),url("../fonts/tinvwl-webfont.ttf?ver=xu2uyi") format("truetype"),url("../fonts/tinvwl-webfont.svg?ver=xu2uyi#tinvwl-webfont") format("svg");font-weight:normal;font-style:normal}
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
+
* @version 1.24.2
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
@font-face{font-family:'tinvwl-webfont';src:url("../fonts/tinvwl-webfont.eot?ver=xu2uyi");src:url("../fonts/tinvwl-webfont.eot?ver=xu2uyi#iefix") format("embedded-opentype"),url("../fonts/tinvwl-webfont.woff2?ver=xu2uyi") format("woff2"),url("../fonts/tinvwl-webfont.woff?ver=xu2uyi") format("woff"),url("../fonts/tinvwl-webfont.ttf?ver=xu2uyi") format("truetype"),url("../fonts/tinvwl-webfont.svg?ver=xu2uyi#tinvwl-webfont") format("svg");font-weight:normal;font-style:normal}
|
assets/css/webfont.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
-
* @version 1.24.
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
@font-face{font-family:'tinvwl-webfont';src:url("../fonts/tinvwl-webfont.eot?ver=xu2uyi");src:url("../fonts/tinvwl-webfont.eot?ver=xu2uyi#iefix") format("embedded-opentype"),url("../fonts/tinvwl-webfont.woff2?ver=xu2uyi") format("woff2"),url("../fonts/tinvwl-webfont.woff?ver=xu2uyi") format("woff"),url("../fonts/tinvwl-webfont.ttf?ver=xu2uyi") format("truetype"),url("../fonts/tinvwl-webfont.svg?ver=xu2uyi#tinvwl-webfont") format("svg");font-weight:normal;font-style:normal}
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
+
* @version 1.24.2
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
@font-face{font-family:'tinvwl-webfont';src:url("../fonts/tinvwl-webfont.eot?ver=xu2uyi");src:url("../fonts/tinvwl-webfont.eot?ver=xu2uyi#iefix") format("embedded-opentype"),url("../fonts/tinvwl-webfont.woff2?ver=xu2uyi") format("woff2"),url("../fonts/tinvwl-webfont.woff?ver=xu2uyi") format("woff"),url("../fonts/tinvwl-webfont.ttf?ver=xu2uyi") format("truetype"),url("../fonts/tinvwl-webfont.svg?ver=xu2uyi#tinvwl-webfont") format("svg");font-weight:normal;font-style:normal}
|
assets/js/admin.min.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
-
* @version 1.24.
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
"use strict";function TInvWL($,h){this.pf="tinvwl",this.g="_",this.ho=h||!1,this.n="TInvWL",this.aj_act=function(t){return[this.pf,t].join(this.g)},this._csel=function(t,n){return"{0}{1}{2}".format(n=n||".",this.pf,t)},this._tm=function(t){var n=$("script#{0}[type='text/template']".format(t));return n.length?n.html():""},this.formElm=function(){if($(this._csel("-form-onoff")).tiwl_onoff(),$("input[type=checkbox][tiwl-show], input[type=checkbox][tiwl-hide]").tiwl_onoffblock(),$("[tiwl-value][tiwl-show], [tiwl-value][tiwl-hide]").tiwl_byvalueblock(),void 0!==$.fn.wpColorPicker){var e=function(t){var n=t.substring(1),i=parseInt(n,16);return.2126*(i>>16&255)+.7152*(i>>8&255)+.0722*(i>>0&255)},n=this._csel("-form-color");$(n).each(function(){var n=$(this),t=$(this).closest(".tinvwl-color-picker"),i=t.find(".tinvwl-eyedropper");n.css("background-color",n.val()),175<e(n.val())&&n.css("color","#000000"),n.iris({mode:"hsv",target:$(this).parent().parent(),change:function(t,n){175<e(n.color.toCSS())?$(this).css("color","#000000"):$(this).css("color",""),$(this).css("background-color",n.color.toCSS())}}),t.on("click",".iris-square-value",function(t){t.preventDefault(),n.iris("toggle")}),i.on("click",function(t){t.preventDefault(),n.iris("show")}),n.on("focusin",function(){n.iris("show")})}),$(document).on("click",function(t){$(t.target).is(n+", .iris-picker, .iris-picker-inner, .iris-slider-offset, .tinvwl-eyedropper, .tinvwl-eyedropper .ftinvwl-eyedropper")?$(n).not($(t.target).closest(".tinvwl-color-picker").find(n)).iris("hide"):$(n).iris("hide")})}},this.wizard_page=function(t){$(t).find("select").change(this._wizard_page_ch),this.wizard_page_ch($(t).find("select"))},this.wizard_page_ch=function(t){var n=(t=$(t)).parent(this._csel("-page-select")),i=n.find("input[type=hidden]").val(),e=n.find(this._csel("-error-icon")),o=n.find(this._csel("-error-desc"));""!==t.val()?(n.removeClass("tinvwl-error"),e.hide(),o.hide()):0==i&&(n.addClass("tinvwl-error"),e.show(),o.show())},this.pageElm=function(){$(this._csel("-header","div.")).prependTo("#wpbody-content"),$(this._csel("-page-select")).each(this._wizard_page),$(".bulkactions [type=submit]").each(this._control_bulkactions),$(".action-search [type=submit]").each(this._control_search)},this.control_bulkactions=function(t){$(t).on("click",this._control_bulkactions_ck)},this.control_bulkactions_ck=function(t,n){var i=(t=$(t)).parents(".bulkactions").eq(0).find("[name=action]"),e=t.parents("form").eq(0);i&&("-1"!==i.val()&&e.find("input[type=checkbox]:checked").length||n.preventDefault())},this.control_search=function(t){$(t).on("click",this._control_search_ck)},this.control_search_ck=function(t,n){var i=(t=$(t)).parents(".action-search").eq(0).find("[name=s]");i&&""===i.val()&&n.preventDefault()},this.Run=function(){this.formElm(),this.pageElm()},this.cg=function(){var t=this.n;if(this.ho){var n=new Date;t=t+n.getFullYear()+n.getMonth()+n.getDate()}window[t]=this},this.cg(),String.prototype.format||(String.prototype.format=function(){var i=arguments;return this.replace(/{(\d+)}/g,function(t,n){return void 0!==i[n]?i[n]:t})}),function(o){var n=o.n,ho=o.ho,c="";for(var i in ho&&(c="t=new Date(),n=n+t.getFullYear()+t.getMonth()+t.getDate(),"),o)"function"!=typeof o[i]||"_"===i[0]||o.hasOwnProperty("_"+i)||eval("o._"+i+"=function(a,b,c,d){var n='"+n+"',"+c+"o=window[n]||null;if (o) {return o."+i+"(this,a,b,c,d);};};")}(this)}!function(s){s.fn.tiwl_onoff=function(t){var o=s.extend(!0,{},{value:{on:"",off:""},class:"tiwlform-onoff",wrap:"container",button:"button"},t);return s(this).each(function(){var n=s(this),t=s("<div>").attr({class:o.class+"-"+o.button}),i=o.class+"-"+o.wrap,e=s("<div>").attr({id:n.attr("id")+"_"+o.wrap,class:i});return n.is("input")&&(e.attr("class",e.attr("class")+" "+n.attr("class")),n.is(":disabled")&&(e.toggleClass("disabled",n.is(":disabled")),n.prop("disabled",!1)),e.toggleClass("checked",n.is(":checked")),n.hide().removeAttr("class").wrap(e).before(t),e=n.parent(),n.on("change",function(t){if(e.hasClass("disabled"))return t.preventDefault();e.toggleClass("checked",s(this).is(":checked"))}),e.on("click",function(t){if(e.hasClass("disabled"))return t.preventDefault();n.is(":enabled")&&e.hasClass("checked")===n.is(":checked")&&n.click()})),n})},s.fn.tiwl_onoffblock=function(t){var n={onEachElm:function(){},isChecked:function(){return s(this).is(":checked")}},c=s.extend(!0,{},n,t);return s(this).each(function(){function t(){function t(t,i){t=t.match(/[\w\d-\>\.\#\:\=\[\]]+/gim)||[],s.each(t,function(t,n){c.onEachElm.call(s(n).toggle(i))})}var n=s(this),i=n.attr("tiwl-show"),e=n.attr("tiwl-hide"),o=c.isChecked.call(n);return"string"==typeof i&&t(i,o),"string"==typeof e&&t(e,!o),n}var n=s(this);return n.is("input")&&"checkbox"==n.attr("type")?(s(this).on("change",t),t.call(n)):n})},s.fn.tiwl_byvalueblock=function(t){var n={onEachElm:function(){},onClick:function(){return s(this).val()==s(this).attr("tiwl-value")}},i=s.extend(!0,{},n,t);return s(this).each(function(){function t(e){function t(t,i){t=t.match(/[\w\d-\>\.\#\:\=\[\]]+/gim)||[],s.each(t,function(t,n){e.onEachElm.call(s(n).toggle(i))})}var n=s(this),i=n.attr("tiwl-show"),o=n.attr("tiwl-hide"),c=e.onClick.call(n);return"string"==typeof i&&t(i,c),"string"==typeof o&&t(o,!c),n}var n=s(this);return n.is("input")||n.is("select")?(s(this).on("change",function(){t.call(this,i)}),t.call(n,i)):n})};var n=new TInvWL(s);s(document).ready(function(){if(n.Run(),jQuery('input[name="general-show_notice"]').change(function(){var t=!jQuery(this).is(":checked"),n=jQuery('input[name="general-redirect_require_login"]');t&&!n.is(":checked")&&n.click().trigger("change"),n.closest(".tiwlform-onoff-container").toggleClass("disabled",t)}).change(),s(".tablenav").each(function(){var t=s(this);s.trim(t.find(".alignleft").html()).length||t.find(".alignleft").remove(),s.trim(t.find(".alignright").html()).length&&!t.find(".tablenav-pages").hasClass("one-page")||(t.find(".alignright").remove(),t.find(".tinv-wishlist-clear").remove()),s.trim(t.html()).length||t.remove()}),s(".tablenav .bulkactions select").addClass("tinvwl-select grey").wrap('<span class="tinvwl-select-wrap">').parent().append('<span class="tinvwl-caret"><span></span></span>'),s(".tablenav .bulkactions .button.action, .tablenav #search-submit").removeClass("button").addClass("tinvwl-btn grey"),s(".tinvwl-modal-btn").on("click",function(){s(this).next(".tinvwl-modal").addClass("tinvwl-modal-open")}),s(".tinvwl-overlay, .tinvwl-close-modal, .tinvwl_button_close").on("click",function(t){t.preventDefault(),s(this).parents(".tinvwl-modal:first").removeClass("tinvwl-modal-open")}),void 0!==s.fn.popover){var t=s(".tinvwl-help");t.popover({content:function(){return s(this).closest(".tinvwl-info-wrap").find(".tinvwl-info-desc").html()}}),t.on("click",function(){s(this).popover("toggle")}),t.on("focusout",function(){s(this).popover("hide")}),s(window).on("resize",function(){t.popover("hide")})}s("body").on("click",".tinvwl-confirm-reset",function(t){t.preventDefault(),confirm(tinvwl_comfirm.text_comfirm_reset)&&s(this).removeClass("tinvwl-confirm-reset").trigger("click")})})}(jQuery);
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
+
* @version 1.24.2
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
"use strict";function TInvWL($,h){this.pf="tinvwl",this.g="_",this.ho=h||!1,this.n="TInvWL",this.aj_act=function(t){return[this.pf,t].join(this.g)},this._csel=function(t,n){return"{0}{1}{2}".format(n=n||".",this.pf,t)},this._tm=function(t){var n=$("script#{0}[type='text/template']".format(t));return n.length?n.html():""},this.formElm=function(){if($(this._csel("-form-onoff")).tiwl_onoff(),$("input[type=checkbox][tiwl-show], input[type=checkbox][tiwl-hide]").tiwl_onoffblock(),$("[tiwl-value][tiwl-show], [tiwl-value][tiwl-hide]").tiwl_byvalueblock(),void 0!==$.fn.wpColorPicker){var e=function(t){var n=t.substring(1),i=parseInt(n,16);return.2126*(i>>16&255)+.7152*(i>>8&255)+.0722*(i>>0&255)},n=this._csel("-form-color");$(n).each(function(){var n=$(this),t=$(this).closest(".tinvwl-color-picker"),i=t.find(".tinvwl-eyedropper");n.css("background-color",n.val()),175<e(n.val())&&n.css("color","#000000"),n.iris({mode:"hsv",target:$(this).parent().parent(),change:function(t,n){175<e(n.color.toCSS())?$(this).css("color","#000000"):$(this).css("color",""),$(this).css("background-color",n.color.toCSS())}}),t.on("click",".iris-square-value",function(t){t.preventDefault(),n.iris("toggle")}),i.on("click",function(t){t.preventDefault(),n.iris("show")}),n.on("focusin",function(){n.iris("show")})}),$(document).on("click",function(t){$(t.target).is(n+", .iris-picker, .iris-picker-inner, .iris-slider-offset, .tinvwl-eyedropper, .tinvwl-eyedropper .ftinvwl-eyedropper")?$(n).not($(t.target).closest(".tinvwl-color-picker").find(n)).iris("hide"):$(n).iris("hide")})}},this.wizard_page=function(t){$(t).find("select").change(this._wizard_page_ch),this.wizard_page_ch($(t).find("select"))},this.wizard_page_ch=function(t){var n=(t=$(t)).parent(this._csel("-page-select")),i=n.find("input[type=hidden]").val(),e=n.find(this._csel("-error-icon")),o=n.find(this._csel("-error-desc"));""!==t.val()?(n.removeClass("tinvwl-error"),e.hide(),o.hide()):0==i&&(n.addClass("tinvwl-error"),e.show(),o.show())},this.pageElm=function(){$(this._csel("-header","div.")).prependTo("#wpbody-content"),$(this._csel("-page-select")).each(this._wizard_page),$(".bulkactions [type=submit]").each(this._control_bulkactions),$(".action-search [type=submit]").each(this._control_search)},this.control_bulkactions=function(t){$(t).on("click",this._control_bulkactions_ck)},this.control_bulkactions_ck=function(t,n){var i=(t=$(t)).parents(".bulkactions").eq(0).find("[name=action]"),e=t.parents("form").eq(0);i&&("-1"!==i.val()&&e.find("input[type=checkbox]:checked").length||n.preventDefault())},this.control_search=function(t){$(t).on("click",this._control_search_ck)},this.control_search_ck=function(t,n){var i=(t=$(t)).parents(".action-search").eq(0).find("[name=s]");i&&""===i.val()&&n.preventDefault()},this.Run=function(){this.formElm(),this.pageElm()},this.cg=function(){var t=this.n;if(this.ho){var n=new Date;t=t+n.getFullYear()+n.getMonth()+n.getDate()}window[t]=this},this.cg(),String.prototype.format||(String.prototype.format=function(){var i=arguments;return this.replace(/{(\d+)}/g,function(t,n){return void 0!==i[n]?i[n]:t})}),function(o){var n=o.n,ho=o.ho,c="";for(var i in ho&&(c="t=new Date(),n=n+t.getFullYear()+t.getMonth()+t.getDate(),"),o)"function"!=typeof o[i]||"_"===i[0]||o.hasOwnProperty("_"+i)||eval("o._"+i+"=function(a,b,c,d){var n='"+n+"',"+c+"o=window[n]||null;if (o) {return o."+i+"(this,a,b,c,d);};};")}(this)}!function(s){s.fn.tiwl_onoff=function(t){var o=s.extend(!0,{},{value:{on:"",off:""},class:"tiwlform-onoff",wrap:"container",button:"button"},t);return s(this).each(function(){var n=s(this),t=s("<div>").attr({class:o.class+"-"+o.button}),i=o.class+"-"+o.wrap,e=s("<div>").attr({id:n.attr("id")+"_"+o.wrap,class:i});return n.is("input")&&(e.attr("class",e.attr("class")+" "+n.attr("class")),n.is(":disabled")&&(e.toggleClass("disabled",n.is(":disabled")),n.prop("disabled",!1)),e.toggleClass("checked",n.is(":checked")),n.hide().removeAttr("class").wrap(e).before(t),e=n.parent(),n.on("change",function(t){if(e.hasClass("disabled"))return t.preventDefault();e.toggleClass("checked",s(this).is(":checked"))}),e.on("click",function(t){if(e.hasClass("disabled"))return t.preventDefault();n.is(":enabled")&&e.hasClass("checked")===n.is(":checked")&&n.click()})),n})},s.fn.tiwl_onoffblock=function(t){var n={onEachElm:function(){},isChecked:function(){return s(this).is(":checked")}},c=s.extend(!0,{},n,t);return s(this).each(function(){function t(){function t(t,i){t=t.match(/[\w\d-\>\.\#\:\=\[\]]+/gim)||[],s.each(t,function(t,n){c.onEachElm.call(s(n).toggle(i))})}var n=s(this),i=n.attr("tiwl-show"),e=n.attr("tiwl-hide"),o=c.isChecked.call(n);return"string"==typeof i&&t(i,o),"string"==typeof e&&t(e,!o),n}var n=s(this);return n.is("input")&&"checkbox"==n.attr("type")?(s(this).on("change",t),t.call(n)):n})},s.fn.tiwl_byvalueblock=function(t){var n={onEachElm:function(){},onClick:function(){return s(this).val()==s(this).attr("tiwl-value")}},i=s.extend(!0,{},n,t);return s(this).each(function(){function t(e){function t(t,i){t=t.match(/[\w\d-\>\.\#\:\=\[\]]+/gim)||[],s.each(t,function(t,n){e.onEachElm.call(s(n).toggle(i))})}var n=s(this),i=n.attr("tiwl-show"),o=n.attr("tiwl-hide"),c=e.onClick.call(n);return"string"==typeof i&&t(i,c),"string"==typeof o&&t(o,!c),n}var n=s(this);return n.is("input")||n.is("select")?(s(this).on("change",function(){t.call(this,i)}),t.call(n,i)):n})};var n=new TInvWL(s);s(document).ready(function(){if(n.Run(),jQuery('input[name="general-show_notice"]').change(function(){var t=!jQuery(this).is(":checked"),n=jQuery('input[name="general-redirect_require_login"]');t&&!n.is(":checked")&&n.click().trigger("change"),n.closest(".tiwlform-onoff-container").toggleClass("disabled",t)}).change(),s(".tablenav").each(function(){var t=s(this);s.trim(t.find(".alignleft").html()).length||t.find(".alignleft").remove(),s.trim(t.find(".alignright").html()).length&&!t.find(".tablenav-pages").hasClass("one-page")||(t.find(".alignright").remove(),t.find(".tinv-wishlist-clear").remove()),s.trim(t.html()).length||t.remove()}),s(".tablenav .bulkactions select").addClass("tinvwl-select grey").wrap('<span class="tinvwl-select-wrap">').parent().append('<span class="tinvwl-caret"><span></span></span>'),s(".tablenav .bulkactions .button.action, .tablenav #search-submit").removeClass("button").addClass("tinvwl-btn grey"),s(".tinvwl-modal-btn").on("click",function(){s(this).next(".tinvwl-modal").addClass("tinvwl-modal-open")}),s(".tinvwl-overlay, .tinvwl-close-modal, .tinvwl_button_close").on("click",function(t){t.preventDefault(),s(this).parents(".tinvwl-modal:first").removeClass("tinvwl-modal-open")}),void 0!==s.fn.popover){var t=s(".tinvwl-help");t.popover({content:function(){return s(this).closest(".tinvwl-info-wrap").find(".tinvwl-info-desc").html()}}),t.on("click",function(){s(this).popover("toggle")}),t.on("focusout",function(){s(this).popover("hide")}),s(window).on("resize",function(){t.popover("hide")})}s("body").on("click",".tinvwl-confirm-reset",function(t){t.preventDefault(),confirm(tinvwl_comfirm.text_comfirm_reset)&&s(this).removeClass("tinvwl-confirm-reset").trigger("click")})})}(jQuery);
|
assets/js/public.min.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
-
* @version 1.24.
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
"use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function showTooltip(t,i){t.setAttribute("class","social social-clipboard tooltipped tooltipped-s"),t.setAttribute("aria-label",i)}function clearTooltip(t){t.currentTarget.setAttribute("class","social social-clipboard "),t.currentTarget.removeAttribute("aria-label")}!function(c){c.fn.tinvwl_to_wishlist=function(t){var i={api_url:window.location.href.split("?")[0],text_create:window.tinvwl_add_to_wishlist.text_create,text_already_in:window.tinvwl_add_to_wishlist.text_already_in,class:{dialogbox:".tinvwl_add_to_select_wishlist",select:".tinvwl_wishlist",newtitle:".tinvwl_new_input",dialogbutton:".tinvwl_button_add"},redirectTimer:null,onPrepareList:function(){},onGetDialogBox:function(){},onPrepareDialogBox:function(){c("body > .tinv-wishlist").length||c("body").append(c("<div>").addClass("tinv-wishlist")),c(this).appendTo("body > .tinv-wishlist")},onCreateWishList:function(t){c(this).append(c("<option>").html(t.title).val(t.ID).toggleClass("tinv_in_wishlist",t.in))},onSelectWishList:function(){},onDialogShow:function(t){c(t).addClass("tinv-modal-open"),c(t).removeClass("ftinvwl-pulse")},onDialogHide:function(t){c(t).removeClass("tinv-modal-open"),c(t).removeClass("ftinvwl-pulse")},onInited:function(){},onClick:function(){if(c(this).is(".disabled-add-wishlist"))return!1;c(this).is(".ftinvwl-animated")&&c(this).addClass("ftinvwl-pulse"),this.tinvwl_dialog?this.tinvwl_dialog.show_list.call(this):e.onActionProduct.call(this)},onPrepareDataAction:function(t,i){c("body").trigger("tinvwl_wishlist_button_clicked",[t,i])},filterProductAlreadyIn:function(t){t=t||[];var o={};return c("form.cart[method=post], .woocommerce-variation-add-to-cart, form.vtajaxform[method=post]").find("input, select").each(function(){var t=c(this).attr("name"),i=c(this).attr("type"),n=c(this).val();("checkbox"!==i&&"radio"!==i||c(this).is(":checked"))&&(o["form"+t]=n)}),o=o.formvariation_id,t.filter(function(t){if("object"!==_typeof(t.in)||"string"!=typeof o)return t.in;var i=parseInt(o);return 0<=t.in.indexOf(i)})},onMultiProductAlreadyIn:function(t){t=t||[];t=e.onPrepareList.call(t)||t,t=e.filterProductAlreadyIn.call(this,t)||t,c(this).parent().parent().find(".already-in").remove();var n="";switch(t.length){case 0:break;default:n=c("<ul>");c.each(t,function(t,i){n.append(c("<li>").html(c("<a>").html(i.title).attr({href:i.url})).val(i.ID))})}n.length&&c(this).closest(".tinv-modal-inner").find("img").after(c("<div>").addClass("already-in").html(e.text_already_in+" ").append(n))},onAction:{redirect:function(t){e.redirectTimer&&clearTimeout(e.redirectTimer),e.redirectTimer=window.setTimeout(function(){window.location.href=t},4e3)},force_redirect:function(t){window.location.href=t},wishlists:function(){},msg:function(t){if(!t)return!1;var i=c(t).eq(0);c("body > .tinv-wishlist").length||c("body").append(c("<div>").addClass("tinv-wishlist")),c("body > .tinv-wishlist").append(i),i.on("click",".tinv-close-modal, .tinvwl_button_close, .tinv-overlay",function(t){t.preventDefault(),i.remove(),e.redirectTimer&&clearTimeout(e.redirectTimer)})},status:function(t){c("body").trigger("tinvwl_wishlist_added_status",[this,t])},removed:function(){},make_remove:function(){},wishlists_data:function(t){d(JSON.stringify(t))}}};i.onActionProduct=function(t,i){var r={form:{},tinv_wishlist_id:t||"",tinv_wishlist_name:i||"",product_type:c(this).attr("data-tinv-wl-producttype"),product_id:c(this).attr("data-tinv-wl-product")||0,product_variation:c(this).attr("data-tinv-wl-productvariation")||0,product_action:c(this).attr("data-tinv-wl-action")||"addto",redirect:window.location.href},n=this,o=[],d=new FormData;tinvwl_add_to_wishlist.wpml&&(r.lang=tinvwl_add_to_wishlist.wpml),c('form.cart[method=post][data-product_id="'+c(this).attr("data-tinv-wl-product")+'"], form.vtajaxform[method=post][data-product_id="'+c(this).attr("data-tinv-wl-product")+'"]').each(function(){o.push(c(this))}),o.length||(c(n).closest("form.cart[method=post], form.vtajaxform[method=post]").each(function(){o.push(c(this))}),o.length||o.push(c("form.cart[method=post]"))),c('.tinv-wraper[data-product_id="'+c(this).attr("data-tinv-wl-product")+'"]').each(function(){o.push(c(this))}),c.each(o,function(t,i){c(i).find("input:not(:disabled), select:not(:disabled), textarea:not(:disabled)").each(function(){function e(t,i){if("object"!==_typeof(i))return i;for(var n in void 0===t&&(t={}),i)if(""===n){var o=-1;for(o in t)o=o;t[o=parseInt(o)+1]=e(t[n],i[n])}else t[n]=e(t[n],i[n]);return t}var t=c(this).attr("name"),i=c(this).attr("type"),n=c(this).val(),o=10;if("button"!==i&&void 0!==t){for(;/^(.+)\[([^\[\]]*?)\]$/.test(t)&&0<o;){var a=t.match(/^(.+)\[([^\[\]]*?)\]$/);if(3===a.length){var l={};l[a[2]]=n,n=l}t=a[1],o--}if("file"===i){var s=c(this)[0].files;s&&d.append(t,s[0])}"checkbox"===i||"radio"===i?c(this).is(":checked")&&(n.length||"object"===_typeof(n)||(n=!0),r.form[t]=e(r.form[t],n)):r.form[t]=e(r.form[t],n)}})}),r=e.onPrepareDataAction.call(n,n,r)||r,c.each(r,function(n,t){"form"===n?c.each(t,function(t,i){"object"===_typeof(i)&&(i=JSON.stringify(i)),d.append(n+"["+t+"]",i)}):d.append(n,t)}),c.ajax({url:e.api_url,method:"POST",contentType:!1,processData:!1,data:d}).done(function(t){if(e.onDialogHide.call(n.tinvwl_dialog,n),"object"===_typeof(t))for(var i in t)"function"==typeof e.onAction[i]&&e.onAction[i].call(n,t[i]);else"function"==typeof e.onAction.msg&&e.onAction.msg.call(n,t)})};var e=c.extend(!0,{},i,t);return c(this).each(function(){if(!c(this).attr("data-tinv-wl-list"))return!1;if(e.dialogbox&&e.dialogbox.length&&(this.tinvwl_dialog=e.dialogbox),this.tinvwl_dialog||(this.tinvwl_dialog=e.onGetDialogBox.call(this)),!this.tinvwl_dialog){var t=c(this).nextAll(e.class.dialogbox).eq(0);t.length&&(this.tinvwl_dialog=t)}if(this.tinvwl_dialog){e.onPrepareDialogBox.call(this.tinvwl_dialog),"function"!=typeof this.tinvwl_dialog.update_list&&(this.tinvwl_dialog.update_list=function(t){var n=c(this).find(e.class.select).eq(0);c(this).find(e.class.newtitle).hide().val(""),n.html(""),c.each(t,function(t,i){e.onCreateWishList.call(n,i)}),e.text_create&&e.onCreateWishList.call(n,{ID:"",title:e.text_create,in:!1}),e.onMultiProductAlreadyIn.call(n,t),e.onSelectWishList.call(n,t),c(this).find(e.class.newtitle).toggle(""===n.val())}),"function"!=typeof this.tinvwl_dialog.show_list&&(this.tinvwl_dialog.show_list=function(){var t=JSON.parse(c(this).attr("data-tinv-wl-list"))||[];t.length?(t=e.onPrepareList.call(t)||t,this.tinvwl_dialog.update_list(t),e.onDialogShow.call(this.tinvwl_dialog,this)):e.onActionProduct.call(this)});var o=this;c(this.tinvwl_dialog).find(e.class.dialogbutton).off("click").on("click",function(){var t,i=c(o.tinvwl_dialog).find(e.class.select),n=c(o.tinvwl_dialog).find(e.class.newtitle);i.val()||n.val()?e.onActionProduct.call(o,i.val(),n.val()):((t=n.is(":visible")?n:i).addClass("empty-name-wishlist"),window.setTimeout(function(){t.removeClass("empty-name-wishlist")},1e3))})}c(this).off("click").on("click",e.onClick),e.onInited.call(this,e)})},c(document).ready(function(){c("body").on("click",".tinvwl_add_to_wishlist_button",function(t){if(c("body").trigger("tinvwl_add_to_wishlist_button_click",[this]),c(this).is(".disabled-add-wishlist"))return t.preventDefault(),void window.alert(tinvwl_add_to_wishlist.i18n_make_a_selection_text);c(this).is(".inited-add-wishlist")||c(this).tinvwl_to_wishlist({onInited:function(t){c(this).addClass("inited-add-wishlist"),t.onClick.call(this)}})}),c(document).on("hide_variation",".variations_form",function(t){var i=c('.tinvwl_add_to_wishlist_button:not(.tinvwl-loop)[data-tinv-wl-product="'+c(this).data("product_id")+'"]');if(i.attr("data-tinv-wl-productvariation",0),i.length&&i.attr("data-tinv-wl-list")){var n=JSON.parse(i.attr("data-tinv-wl-list")),o=!1,e="1"==window.tinvwl_add_to_wishlist.simple_flow;for(var a in n)n[a].hasOwnProperty("in")&&Array.isArray(n[a].in)&&-1<(n[a].in||[]).indexOf(0)&&(o=!0);i.toggleClass("tinvwl-product-in-list",o).toggleClass("tinvwl-product-make-remove",o&&e).attr("data-tinv-wl-action",o&&e?"remove":"addto")}i.length&&!tinvwl_add_to_wishlist.allow_parent_variable&&(t.preventDefault(),i.addClass("disabled-add-wishlist"))}),c(document).on("show_variation",".variations_form",function(t,i,n){var o=c('.tinvwl_add_to_wishlist_button:not(.tinvwl-loop)[data-tinv-wl-product="'+c(this).data("product_id")+'"]');if(o.attr("data-tinv-wl-productvariation",i.variation_id),o.length&&o.attr("data-tinv-wl-list")){var e=JSON.parse(o.attr("data-tinv-wl-list")),a=!1,l="1"==window.tinvwl_add_to_wishlist.simple_flow;for(var s in e)e[s].hasOwnProperty("in")&&Array.isArray(e[s].in)&&-1<(e[s].in||[]).indexOf(i.variation_id)&&(a=!0);o.toggleClass("tinvwl-product-in-list",a).toggleClass("tinvwl-product-make-remove",a&&l).attr("data-tinv-wl-action",a&&l?"remove":"addto")}t.preventDefault(),o.removeClass("disabled-add-wishlist")}),c(window).on("storage onstorage",function(t){if(s===t.originalEvent.key&&localStorage.getItem(s)!==sessionStorage.getItem(s)&&localStorage.getItem(s)){var i=JSON.parse(localStorage.getItem(s));"object"===_typeof(i)&&null!==i&&(i.hasOwnProperty("products")||i.hasOwnProperty("counter"))&&d(localStorage.getItem(s))}});var n=[],i=!1;c("a.tinvwl_add_to_wishlist_button").each(function(){"undefined"!==c(this).data("tinv-wl-product")&&c(this).data("tinv-wl-product")&&n.push(c(this).data("tinv-wl-product"))}),c(".wishlist_products_counter_number").each(function(){i=!0});function o(){if(n.length||i){var t={};tinvwl_add_to_wishlist.wpml&&(t.lang=tinvwl_add_to_wishlist.wpml),c.ajax({url:tinvwl_add_to_wishlist.plugin_url+"includes/api/ajax.php",method:"POST",data:t,beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",tinvwl_add_to_wishlist.nonce)}}).done(function(t){d(JSON.stringify(t)),r(t)}).fail(function(){!function(){if(n.length||i){var t={ids:n,counter:i,tinvwl_request:!0};tinvwl_add_to_wishlist.wpml&&(t.lang=tinvwl_add_to_wishlist.wpml),c.ajax({url:tinvwl_add_to_wishlist.rest_root+"wishlist/v1/products",method:"POST",data:t,beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",tinvwl_add_to_wishlist.nonce)}}).done(function(t){d(JSON.stringify(t)),r(t)})}}()})}}function e(){if(l&&(tinvwl_add_to_wishlist.update_wishlists_data&&localStorage.setItem(s,""),localStorage.getItem(s))){var t=JSON.parse(localStorage.getItem(s));if("object"===_typeof(t)&&null!==t&&(t.hasOwnProperty("products")||t.hasOwnProperty("counter"))&&(!t.hasOwnProperty("lang")&&!tinvwl_add_to_wishlist.wpml||tinvwl_add_to_wishlist.wpml&&t.lang===tinvwl_add_to_wishlist.wpml))return void r(t)}tinvwl_add_to_wishlist.block_ajax_wishlists_data||o()}e();var t=new MutationObserver(function(t){n=[],t.forEach(function(t){var i=t.addedNodes;null!==i&&c(i).each(function(){var t=c(this).find(".tinvwl_add_to_wishlist_button");t.length&&t.each(function(){"undefined"!==c(this).data("tinv-wl-product")&&c(this).data("tinv-wl-product")&&n.push(c(this).data("tinv-wl-product"))})})}),n.length&&e()}),a=document.body;t.observe(a,{childList:!0,subtree:!0})});var l=!0,s=tinvwl_add_to_wishlist.hash_key;try{l="sessionStorage"in window&&null!==window.sessionStorage,window.sessionStorage.setItem("ti","test"),window.sessionStorage.removeItem("ti"),window.localStorage.setItem("ti","test"),window.localStorage.removeItem("ti")}catch(t){l=!1}function r(t){var l="1"==window.tinvwl_add_to_wishlist.simple_flow;l&&c("a.tinvwl_add_to_wishlist_button").each(function(){c(this).removeClass("tinvwl-product-make-remove").removeClass("tinvwl-product-already-on-wishlist").removeClass("tinvwl-product-in-list").attr("data-tinv-wl-action","addto").attr("data-tinv-wl-list","[]")}),c("body").trigger("tinvwl_wishlist_mark_products",[t]),c.each(t.products,function(t,e){var a=t;c('a.tinvwl_add_to_wishlist_button[data-tinv-wl-product="'+a+'"]').each(function(){var t=parseInt(c(this).attr("data-tinv-wl-productvariation")),i=c(this).data("tinv-wl-productvariations")||[],n=!1;for(var o in e)e[o].hasOwnProperty("in")&&Array.isArray(e[o].in)&&(-1<(e[o].in||[]).indexOf(a)||-1<(e[o].in||[]).indexOf(t)||i.some(function(t){return 0<=(e[o].in||[]).indexOf(t)}))&&(n=!0);c("body").trigger("tinvwl_wishlist_product_marked",[this,n]),c(this).attr("data-tinv-wl-list",JSON.stringify(e)).toggleClass("tinvwl-product-in-list",n).toggleClass("tinvwl-product-make-remove",n&&l).attr("data-tinv-wl-action",n&&l?"remove":"addto")})}),function(t){"1"==window.tinvwl_add_to_wishlist.hide_zero_counter&&0===t&&(t="false");jQuery("i.wishlist-icon").addClass("added"),"false"!==t?(jQuery(".wishlist_products_counter_number, body.theme-woostify .wishlist-item-count").html(t),jQuery("i.wishlist-icon").attr("data-icon-label",t)):(jQuery(".wishlist_products_counter_number, body.theme-woostify .wishlist-item-count").html("").closest("span.wishlist-counter-with-products").removeClass("wishlist-counter-with-products"),jQuery("i.wishlist-icon").removeAttr("data-icon-label"));var i=!("0"==t||"false"==t);jQuery(".wishlist_products_counter").toggleClass("wishlist-counter-with-products",i),setTimeout(function(){jQuery("i.wishlist-icon").removeClass("added")},500)}(t.counter)}function d(t){l&&(localStorage.setItem(s,t),sessionStorage.setItem(s,t),r(JSON.parse(t)))}}(jQuery),function(o){o(document).ready(function(){if(o("#tinvwl_manage_actions, #tinvwl_product_actions").addClass("form-control").parent().wrapInner('<div class="tinvwl-input-group tinvwl-no-full">').find("button").wrap('<span class="tinvwl-input-group-btn">'),o(".tinv-lists-nav").each(function(){o(this).html().trim().length||o(this).remove()}),o("body").on("click",".social-buttons .social:not(.social-email,.social-whatsapp,.social-clipboard)",function(t){var i=window.open(o(this).attr("href"),o(this).attr("title"),"width=420,height=320,resizable=yes,scrollbars=yes,status=yes");i&&(i.focus(),t.preventDefault())}),"undefined"!=typeof ClipboardJS){new ClipboardJS(".social-buttons .social.social-clipboard",{text:function(t){return t.getAttribute("href")}}).on("success",function(t){showTooltip(t.trigger,tinvwl_add_to_wishlist.tinvwl_clipboard)});for(var t=document.querySelectorAll(".social-buttons .social.social-clipboard"),i=0;i<t.length;i++)t[i].addEventListener("mouseleave",clearTooltip),t[i].addEventListener("blur",clearTooltip)}o("body").on("click",".social-buttons .social.social-clipboard",function(t){t.preventDefault()}),o("body").on("click",".tinv-wishlist .tinv-overlay, .tinv-wishlist .tinv-close-modal, .tinv-wishlist .tinvwl_button_close",function(t){t.preventDefault(),o(this).parents(".tinv-modal:first").removeClass("tinv-modal-open"),o("body").trigger("tinvwl_modal_closed",[this])}),o("body").on("click",".tinv-wishlist .tinvwl-btn-onclick",function(t){o(this).data("url")&&(t.preventDefault(),window.location=o(this).data("url"))});var n=o(".tinv-wishlist .navigation-button");n.length&&n.each(function(){var t=o(this).find("> li");t.length<5&&t.parent().addClass("tinvwl-btns-count-"+t.length)}),o(".tinv-login .showlogin").off("click").on("click",function(t){t.preventDefault(),o(this).closest(".tinv-login").find(".login").toggle()}),o(".tinv-wishlist table.tinvwl-table-manage-list tfoot td").each(function(){o(this).toggle(!!o(this).children().not(".look_in").length||!!o(this).children(".look_in").children().length)})})}(jQuery),function(o){o.fn.tinvwl_break_submit=function(t){var i={selector:"input, select, textarea",ifempty:!0,invert:!1,validate:function(){return o(this).val()},rule:function(){var t=o(this).parents("form").eq(0).find(n.selector),i=n.invert;return 0===t.length?n.ifempty:(t.each(function(){i&&!n.invert||!i&&n.invert||(i=Boolean(n.validate.call(o(this))))}),i)}},n=o.extend(!0,{},i,t);return o(this).each(function(){o(this).on("click",function(t){n.rule.call(o(this))||(alert(window.tinvwl_add_to_wishlist.tinvwl_break_submit),t.preventDefault())})})},o(document).ready(function(){o(".tinvwl-break-input").tinvwl_break_submit({selector:".tinvwl-break-input-filed"}),o(".tinvwl-break-checkbox").tinvwl_break_submit({selector:"table td input[type=checkbox]",validate:function(){return o(this).is(":checked")}}),o(".global-cb").on("click",function(){o(this).closest("table").eq(0).find(".product-cb input[type=checkbox], .wishlist-cb input[type=checkbox]").prop("checked",o(this).is(":checked"))})})}(jQuery);
|
1 |
/**
|
2 |
* TI WooCommerce Wishlist Plugin - Allow your store guests and customers to add products to Wishlist. Add Wishlist functionality to your store for free.
|
3 |
+
* @version 1.24.2
|
4 |
* @link https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
5 |
*/
|
6 |
"use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function showTooltip(t,i){t.setAttribute("class","social social-clipboard tooltipped tooltipped-s"),t.setAttribute("aria-label",i)}function clearTooltip(t){t.currentTarget.setAttribute("class","social social-clipboard "),t.currentTarget.removeAttribute("aria-label")}!function(c){c.fn.tinvwl_to_wishlist=function(t){var i={api_url:window.location.href.split("?")[0],text_create:window.tinvwl_add_to_wishlist.text_create,text_already_in:window.tinvwl_add_to_wishlist.text_already_in,class:{dialogbox:".tinvwl_add_to_select_wishlist",select:".tinvwl_wishlist",newtitle:".tinvwl_new_input",dialogbutton:".tinvwl_button_add"},redirectTimer:null,onPrepareList:function(){},onGetDialogBox:function(){},onPrepareDialogBox:function(){c("body > .tinv-wishlist").length||c("body").append(c("<div>").addClass("tinv-wishlist")),c(this).appendTo("body > .tinv-wishlist")},onCreateWishList:function(t){c(this).append(c("<option>").html(t.title).val(t.ID).toggleClass("tinv_in_wishlist",t.in))},onSelectWishList:function(){},onDialogShow:function(t){c(t).addClass("tinv-modal-open"),c(t).removeClass("ftinvwl-pulse")},onDialogHide:function(t){c(t).removeClass("tinv-modal-open"),c(t).removeClass("ftinvwl-pulse")},onInited:function(){},onClick:function(){if(c(this).is(".disabled-add-wishlist"))return!1;c(this).is(".ftinvwl-animated")&&c(this).addClass("ftinvwl-pulse"),this.tinvwl_dialog?this.tinvwl_dialog.show_list.call(this):e.onActionProduct.call(this)},onPrepareDataAction:function(t,i){c("body").trigger("tinvwl_wishlist_button_clicked",[t,i])},filterProductAlreadyIn:function(t){t=t||[];var o={};return c("form.cart[method=post], .woocommerce-variation-add-to-cart, form.vtajaxform[method=post]").find("input, select").each(function(){var t=c(this).attr("name"),i=c(this).attr("type"),n=c(this).val();("checkbox"!==i&&"radio"!==i||c(this).is(":checked"))&&(o["form"+t]=n)}),o=o.formvariation_id,t.filter(function(t){if("object"!==_typeof(t.in)||"string"!=typeof o)return t.in;var i=parseInt(o);return 0<=t.in.indexOf(i)})},onMultiProductAlreadyIn:function(t){t=t||[];t=e.onPrepareList.call(t)||t,t=e.filterProductAlreadyIn.call(this,t)||t,c(this).parent().parent().find(".already-in").remove();var n="";switch(t.length){case 0:break;default:n=c("<ul>");c.each(t,function(t,i){n.append(c("<li>").html(c("<a>").html(i.title).attr({href:i.url})).val(i.ID))})}n.length&&c(this).closest(".tinv-modal-inner").find("img").after(c("<div>").addClass("already-in").html(e.text_already_in+" ").append(n))},onAction:{redirect:function(t){e.redirectTimer&&clearTimeout(e.redirectTimer),e.redirectTimer=window.setTimeout(function(){window.location.href=t},4e3)},force_redirect:function(t){window.location.href=t},wishlists:function(){},msg:function(t){if(!t)return!1;var i=c(t).eq(0);c("body > .tinv-wishlist").length||c("body").append(c("<div>").addClass("tinv-wishlist")),c("body > .tinv-wishlist").append(i),i.on("click",".tinv-close-modal, .tinvwl_button_close, .tinv-overlay",function(t){t.preventDefault(),i.remove(),e.redirectTimer&&clearTimeout(e.redirectTimer)})},status:function(t){c("body").trigger("tinvwl_wishlist_added_status",[this,t])},removed:function(){},make_remove:function(){},wishlists_data:function(t){d(JSON.stringify(t))}}};i.onActionProduct=function(t,i){var r={form:{},tinv_wishlist_id:t||"",tinv_wishlist_name:i||"",product_type:c(this).attr("data-tinv-wl-producttype"),product_id:c(this).attr("data-tinv-wl-product")||0,product_variation:c(this).attr("data-tinv-wl-productvariation")||0,product_action:c(this).attr("data-tinv-wl-action")||"addto",redirect:window.location.href},n=this,o=[],d=new FormData;tinvwl_add_to_wishlist.wpml&&(r.lang=tinvwl_add_to_wishlist.wpml),c('form.cart[method=post][data-product_id="'+c(this).attr("data-tinv-wl-product")+'"], form.vtajaxform[method=post][data-product_id="'+c(this).attr("data-tinv-wl-product")+'"]').each(function(){o.push(c(this))}),o.length||(c(n).closest("form.cart[method=post], form.vtajaxform[method=post]").each(function(){o.push(c(this))}),o.length||o.push(c("form.cart[method=post]"))),c('.tinv-wraper[data-product_id="'+c(this).attr("data-tinv-wl-product")+'"]').each(function(){o.push(c(this))}),c.each(o,function(t,i){c(i).find("input:not(:disabled), select:not(:disabled), textarea:not(:disabled)").each(function(){function e(t,i){if("object"!==_typeof(i))return i;for(var n in void 0===t&&(t={}),i)if(""===n){var o=-1;for(o in t)o=o;t[o=parseInt(o)+1]=e(t[n],i[n])}else t[n]=e(t[n],i[n]);return t}var t=c(this).attr("name"),i=c(this).attr("type"),n=c(this).val(),o=10;if("button"!==i&&void 0!==t){for(;/^(.+)\[([^\[\]]*?)\]$/.test(t)&&0<o;){var a=t.match(/^(.+)\[([^\[\]]*?)\]$/);if(3===a.length){var l={};l[a[2]]=n,n=l}t=a[1],o--}if("file"===i){var s=c(this)[0].files;s&&d.append(t,s[0])}"checkbox"===i||"radio"===i?c(this).is(":checked")&&(n.length||"object"===_typeof(n)||(n=!0),r.form[t]=e(r.form[t],n)):r.form[t]=e(r.form[t],n)}})}),r=e.onPrepareDataAction.call(n,n,r)||r,c.each(r,function(n,t){"form"===n?c.each(t,function(t,i){"object"===_typeof(i)&&(i=JSON.stringify(i)),d.append(n+"["+t+"]",i)}):d.append(n,t)}),c.ajax({url:e.api_url,method:"POST",contentType:!1,processData:!1,data:d}).done(function(t){if(e.onDialogHide.call(n.tinvwl_dialog,n),"object"===_typeof(t))for(var i in t)"function"==typeof e.onAction[i]&&e.onAction[i].call(n,t[i]);else"function"==typeof e.onAction.msg&&e.onAction.msg.call(n,t)})};var e=c.extend(!0,{},i,t);return c(this).each(function(){if(!c(this).attr("data-tinv-wl-list"))return!1;if(e.dialogbox&&e.dialogbox.length&&(this.tinvwl_dialog=e.dialogbox),this.tinvwl_dialog||(this.tinvwl_dialog=e.onGetDialogBox.call(this)),!this.tinvwl_dialog){var t=c(this).nextAll(e.class.dialogbox).eq(0);t.length&&(this.tinvwl_dialog=t)}if(this.tinvwl_dialog){e.onPrepareDialogBox.call(this.tinvwl_dialog),"function"!=typeof this.tinvwl_dialog.update_list&&(this.tinvwl_dialog.update_list=function(t){var n=c(this).find(e.class.select).eq(0);c(this).find(e.class.newtitle).hide().val(""),n.html(""),c.each(t,function(t,i){e.onCreateWishList.call(n,i)}),e.text_create&&e.onCreateWishList.call(n,{ID:"",title:e.text_create,in:!1}),e.onMultiProductAlreadyIn.call(n,t),e.onSelectWishList.call(n,t),c(this).find(e.class.newtitle).toggle(""===n.val())}),"function"!=typeof this.tinvwl_dialog.show_list&&(this.tinvwl_dialog.show_list=function(){var t=JSON.parse(c(this).attr("data-tinv-wl-list"))||[];t.length?(t=e.onPrepareList.call(t)||t,this.tinvwl_dialog.update_list(t),e.onDialogShow.call(this.tinvwl_dialog,this)):e.onActionProduct.call(this)});var o=this;c(this.tinvwl_dialog).find(e.class.dialogbutton).off("click").on("click",function(){var t,i=c(o.tinvwl_dialog).find(e.class.select),n=c(o.tinvwl_dialog).find(e.class.newtitle);i.val()||n.val()?e.onActionProduct.call(o,i.val(),n.val()):((t=n.is(":visible")?n:i).addClass("empty-name-wishlist"),window.setTimeout(function(){t.removeClass("empty-name-wishlist")},1e3))})}c(this).off("click").on("click",e.onClick),e.onInited.call(this,e)})},c(document).ready(function(){c("body").on("click",".tinvwl_add_to_wishlist_button",function(t){if(c("body").trigger("tinvwl_add_to_wishlist_button_click",[this]),c(this).is(".disabled-add-wishlist"))return t.preventDefault(),void window.alert(tinvwl_add_to_wishlist.i18n_make_a_selection_text);c(this).is(".inited-add-wishlist")||c(this).tinvwl_to_wishlist({onInited:function(t){c(this).addClass("inited-add-wishlist"),t.onClick.call(this)}})}),c(document).on("hide_variation",".variations_form",function(t){var i=c('.tinvwl_add_to_wishlist_button:not(.tinvwl-loop)[data-tinv-wl-product="'+c(this).data("product_id")+'"]');if(i.attr("data-tinv-wl-productvariation",0),i.length&&i.attr("data-tinv-wl-list")){var n=JSON.parse(i.attr("data-tinv-wl-list")),o=!1,e="1"==window.tinvwl_add_to_wishlist.simple_flow;for(var a in n)n[a].hasOwnProperty("in")&&Array.isArray(n[a].in)&&-1<(n[a].in||[]).indexOf(0)&&(o=!0);i.toggleClass("tinvwl-product-in-list",o).toggleClass("tinvwl-product-make-remove",o&&e).attr("data-tinv-wl-action",o&&e?"remove":"addto")}i.length&&!tinvwl_add_to_wishlist.allow_parent_variable&&(t.preventDefault(),i.addClass("disabled-add-wishlist"))}),c(document).on("show_variation",".variations_form",function(t,i,n){var o=c('.tinvwl_add_to_wishlist_button:not(.tinvwl-loop)[data-tinv-wl-product="'+c(this).data("product_id")+'"]');if(o.attr("data-tinv-wl-productvariation",i.variation_id),o.length&&o.attr("data-tinv-wl-list")){var e=JSON.parse(o.attr("data-tinv-wl-list")),a=!1,l="1"==window.tinvwl_add_to_wishlist.simple_flow;for(var s in e)e[s].hasOwnProperty("in")&&Array.isArray(e[s].in)&&-1<(e[s].in||[]).indexOf(i.variation_id)&&(a=!0);o.toggleClass("tinvwl-product-in-list",a).toggleClass("tinvwl-product-make-remove",a&&l).attr("data-tinv-wl-action",a&&l?"remove":"addto")}t.preventDefault(),o.removeClass("disabled-add-wishlist")}),c(window).on("storage onstorage",function(t){if(s===t.originalEvent.key&&localStorage.getItem(s)!==sessionStorage.getItem(s)&&localStorage.getItem(s)){var i=JSON.parse(localStorage.getItem(s));"object"===_typeof(i)&&null!==i&&(i.hasOwnProperty("products")||i.hasOwnProperty("counter"))&&d(localStorage.getItem(s))}});var n=[],i=!1;c("a.tinvwl_add_to_wishlist_button").each(function(){"undefined"!==c(this).data("tinv-wl-product")&&c(this).data("tinv-wl-product")&&n.push(c(this).data("tinv-wl-product"))}),c(".wishlist_products_counter_number").each(function(){i=!0});function o(){if(n.length||i){var t={};tinvwl_add_to_wishlist.wpml&&(t.lang=tinvwl_add_to_wishlist.wpml),c.ajax({url:tinvwl_add_to_wishlist.plugin_url+"includes/api/ajax.php",method:"POST",data:t,beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",tinvwl_add_to_wishlist.nonce)}}).done(function(t){d(JSON.stringify(t)),r(t)}).fail(function(){!function(){if(n.length||i){var t={ids:n,counter:i,tinvwl_request:!0};tinvwl_add_to_wishlist.wpml&&(t.lang=tinvwl_add_to_wishlist.wpml),c.ajax({url:tinvwl_add_to_wishlist.rest_root+"wishlist/v1/products",method:"POST",data:t,beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",tinvwl_add_to_wishlist.nonce)}}).done(function(t){d(JSON.stringify(t)),r(t)})}}()})}}function e(){if(l&&(tinvwl_add_to_wishlist.update_wishlists_data&&localStorage.setItem(s,""),localStorage.getItem(s))){var t=JSON.parse(localStorage.getItem(s));if("object"===_typeof(t)&&null!==t&&(t.hasOwnProperty("products")||t.hasOwnProperty("counter"))&&(!t.hasOwnProperty("lang")&&!tinvwl_add_to_wishlist.wpml||tinvwl_add_to_wishlist.wpml&&t.lang===tinvwl_add_to_wishlist.wpml))return void r(t)}tinvwl_add_to_wishlist.block_ajax_wishlists_data||o()}e();var t=new MutationObserver(function(t){n=[],t.forEach(function(t){var i=t.addedNodes;null!==i&&c(i).each(function(){var t=c(this).find(".tinvwl_add_to_wishlist_button");t.length&&t.each(function(){"undefined"!==c(this).data("tinv-wl-product")&&c(this).data("tinv-wl-product")&&n.push(c(this).data("tinv-wl-product"))})})}),n.length&&e()}),a=document.body;t.observe(a,{childList:!0,subtree:!0})});var l=!0,s=tinvwl_add_to_wishlist.hash_key;try{l="sessionStorage"in window&&null!==window.sessionStorage,window.sessionStorage.setItem("ti","test"),window.sessionStorage.removeItem("ti"),window.localStorage.setItem("ti","test"),window.localStorage.removeItem("ti")}catch(t){l=!1}function r(t){var l="1"==window.tinvwl_add_to_wishlist.simple_flow;l&&c("a.tinvwl_add_to_wishlist_button").each(function(){c(this).removeClass("tinvwl-product-make-remove").removeClass("tinvwl-product-already-on-wishlist").removeClass("tinvwl-product-in-list").attr("data-tinv-wl-action","addto").attr("data-tinv-wl-list","[]")}),c("body").trigger("tinvwl_wishlist_mark_products",[t]),c.each(t.products,function(t,e){var a=t;c('a.tinvwl_add_to_wishlist_button[data-tinv-wl-product="'+a+'"]').each(function(){var t=parseInt(c(this).attr("data-tinv-wl-productvariation")),i=c(this).data("tinv-wl-productvariations")||[],n=!1;for(var o in e)e[o].hasOwnProperty("in")&&Array.isArray(e[o].in)&&(-1<(e[o].in||[]).indexOf(a)||-1<(e[o].in||[]).indexOf(t)||i.some(function(t){return 0<=(e[o].in||[]).indexOf(t)}))&&(n=!0);c("body").trigger("tinvwl_wishlist_product_marked",[this,n]),c(this).attr("data-tinv-wl-list",JSON.stringify(e)).toggleClass("tinvwl-product-in-list",n).toggleClass("tinvwl-product-make-remove",n&&l).attr("data-tinv-wl-action",n&&l?"remove":"addto")})}),function(t){"1"==window.tinvwl_add_to_wishlist.hide_zero_counter&&0===t&&(t="false");jQuery("i.wishlist-icon").addClass("added"),"false"!==t?(jQuery(".wishlist_products_counter_number, body.theme-woostify .wishlist-item-count").html(t),jQuery("i.wishlist-icon").attr("data-icon-label",t)):(jQuery(".wishlist_products_counter_number, body.theme-woostify .wishlist-item-count").html("").closest("span.wishlist-counter-with-products").removeClass("wishlist-counter-with-products"),jQuery("i.wishlist-icon").removeAttr("data-icon-label"));var i=!("0"==t||"false"==t);jQuery(".wishlist_products_counter").toggleClass("wishlist-counter-with-products",i),setTimeout(function(){jQuery("i.wishlist-icon").removeClass("added")},500)}(t.counter)}function d(t){l&&(localStorage.setItem(s,t),sessionStorage.setItem(s,t),r(JSON.parse(t)))}}(jQuery),function(o){o(document).ready(function(){if(o("#tinvwl_manage_actions, #tinvwl_product_actions").addClass("form-control").parent().wrapInner('<div class="tinvwl-input-group tinvwl-no-full">').find("button").wrap('<span class="tinvwl-input-group-btn">'),o(".tinv-lists-nav").each(function(){o(this).html().trim().length||o(this).remove()}),o("body").on("click",".social-buttons .social:not(.social-email,.social-whatsapp,.social-clipboard)",function(t){var i=window.open(o(this).attr("href"),o(this).attr("title"),"width=420,height=320,resizable=yes,scrollbars=yes,status=yes");i&&(i.focus(),t.preventDefault())}),"undefined"!=typeof ClipboardJS){new ClipboardJS(".social-buttons .social.social-clipboard",{text:function(t){return t.getAttribute("href")}}).on("success",function(t){showTooltip(t.trigger,tinvwl_add_to_wishlist.tinvwl_clipboard)});for(var t=document.querySelectorAll(".social-buttons .social.social-clipboard"),i=0;i<t.length;i++)t[i].addEventListener("mouseleave",clearTooltip),t[i].addEventListener("blur",clearTooltip)}o("body").on("click",".social-buttons .social.social-clipboard",function(t){t.preventDefault()}),o("body").on("click",".tinv-wishlist .tinv-overlay, .tinv-wishlist .tinv-close-modal, .tinv-wishlist .tinvwl_button_close",function(t){t.preventDefault(),o(this).parents(".tinv-modal:first").removeClass("tinv-modal-open"),o("body").trigger("tinvwl_modal_closed",[this])}),o("body").on("click",".tinv-wishlist .tinvwl-btn-onclick",function(t){o(this).data("url")&&(t.preventDefault(),window.location=o(this).data("url"))});var n=o(".tinv-wishlist .navigation-button");n.length&&n.each(function(){var t=o(this).find("> li");t.length<5&&t.parent().addClass("tinvwl-btns-count-"+t.length)}),o(".tinv-login .showlogin").off("click").on("click",function(t){t.preventDefault(),o(this).closest(".tinv-login").find(".login").toggle()}),o(".tinv-wishlist table.tinvwl-table-manage-list tfoot td").each(function(){o(this).toggle(!!o(this).children().not(".look_in").length||!!o(this).children(".look_in").children().length)})})}(jQuery),function(o){o.fn.tinvwl_break_submit=function(t){var i={selector:"input, select, textarea",ifempty:!0,invert:!1,validate:function(){return o(this).val()},rule:function(){var t=o(this).parents("form").eq(0).find(n.selector),i=n.invert;return 0===t.length?n.ifempty:(t.each(function(){i&&!n.invert||!i&&n.invert||(i=Boolean(n.validate.call(o(this))))}),i)}},n=o.extend(!0,{},i,t);return o(this).each(function(){o(this).on("click",function(t){n.rule.call(o(this))||(alert(window.tinvwl_add_to_wishlist.tinvwl_break_submit),t.preventDefault())})})},o(document).ready(function(){o(".tinvwl-break-input").tinvwl_break_submit({selector:".tinvwl-break-input-filed"}),o(".tinvwl-break-checkbox").tinvwl_break_submit({selector:"table td input[type=checkbox]",validate:function(){return o(this).is(":checked")}}),o(".global-cb").on("click",function(){o(this).closest("table").eq(0).find(".product-cb input[type=checkbox], .wishlist-cb input[type=checkbox]").prop("checked",o(this).is(":checked"))})})}(jQuery);
|
integrations/advanced-product-fields-for-woocommerce-pro.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "advanced-product-fields-for-woocommerce-pro";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "Advanced Product Fields for WooCommerce Pro";
|
|
26 |
|
27 |
$available = class_exists('SW_WAPF_PRO\WAPF');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "advanced-product-fields-for-woocommerce-pro";
|
24 |
|
26 |
|
27 |
$available = class_exists('SW_WAPF_PRO\WAPF');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/advanced-product-fields-for-woocommerce.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "advanced-product-fields-for-woocommerce";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "Advanced Product Fields (Product Addons) for WooCommerce";
|
|
26 |
|
27 |
$available = class_exists('SW_WAPF\WAPF');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "advanced-product-fields-for-woocommerce";
|
24 |
|
26 |
|
27 |
$available = class_exists('SW_WAPF\WAPF');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/automatewoo.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "automatewoo";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "AutomateWoo";
|
|
26 |
|
27 |
$available = class_exists('AutomateWoo');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "automatewoo";
|
24 |
|
26 |
|
27 |
$available = class_exists('AutomateWoo');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/check-pincodezipcode-for-shipping-woocommerce.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "check-pincodezipcode-for-shipping-woocommerce";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "Check Pincode/Zipcode for Shipping Woocommerce";
|
|
26 |
|
27 |
$available = defined( 'WCZP_PLUGIN_NAME' );
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "check-pincodezipcode-for-shipping-woocommerce";
|
24 |
|
26 |
|
27 |
$available = defined( 'WCZP_PLUGIN_NAME' );
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/clever-swatches.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "clever-swatches";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "Clever Swatches";
|
|
26 |
|
27 |
$available = class_exists('Zoo_Clever_Swatch_Install');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "clever-swatches";
|
24 |
|
26 |
|
27 |
$available = class_exists('Zoo_Clever_Swatch_Install');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/comet-cache.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "comet-cache";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "Comet Cache";
|
|
26 |
|
27 |
$available = class_exists('WebSharks\CometCache');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "comet-cache";
|
24 |
|
26 |
|
27 |
$available = class_exists('WebSharks\CometCache');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/duracelltomi-google-tag-manager.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "duracelltomi-google-tag-manager";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "Google Tag Manager for WordPress";
|
|
26 |
|
27 |
$available = defined('GTM4WP_PATH');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "duracelltomi-google-tag-manager";
|
24 |
|
26 |
|
27 |
$available = defined('GTM4WP_PATH');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/elex-woocommerce-catalog-mode.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "elex-woocommerce-catalog-mode";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "ELEX WooCommerce Catalog Mode";
|
|
26 |
|
27 |
$available = class_exists('Elex_CM_Price_Discount_Admin');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "elex-woocommerce-catalog-mode";
|
24 |
|
26 |
|
27 |
$available = class_exists('Elex_CM_Price_Discount_Admin');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/gift-cards-for-woocommerce.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "gift-cards-for-woocommerce";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce – Gift Cards";
|
|
26 |
|
27 |
$available = class_exists('KODIAK_GIFTCARDS');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "gift-cards-for-woocommerce";
|
24 |
|
26 |
|
27 |
$available = class_exists('KODIAK_GIFTCARDS');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/hide-price-add-to-cart-button.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "hide-price-add-to-cart-button";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "Hide Price and Add to Cart Button";
|
|
26 |
|
27 |
$available = class_exists('Addify_Woo_Hide_Price_Front');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "hide-price-add-to-cart-button";
|
24 |
|
26 |
|
27 |
$available = class_exists('Addify_Woo_Hide_Price_Front');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/improved-variable-product-attributes.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "improved-variable-product-attributes";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "Improved Product Options for WooCommerce";
|
|
26 |
|
27 |
$available = class_exists('XforWC_Improved_Options');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "improved-variable-product-attributes";
|
24 |
|
26 |
|
27 |
$available = class_exists('XforWC_Improved_Options');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/litespeed-cache.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "litespeed-cache";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "LiteSpeed Cache";
|
|
26 |
|
27 |
$available = defined('LSWCP_PLUGIN_URL');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "litespeed-cache";
|
24 |
|
26 |
|
27 |
$available = defined('LSWCP_PLUGIN_URL');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/mycred.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "mycred";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "myCRED";
|
|
26 |
|
27 |
$available = defined('myCRED_VERSION');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "mycred";
|
24 |
|
26 |
|
27 |
$available = defined('myCRED_VERSION');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/product-extras-for-woocommerce.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "product-extras-for-woocommerce";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce Product Add-Ons Ultimate";
|
|
26 |
|
27 |
$available = defined('PEWC_FILE');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "product-extras-for-woocommerce";
|
24 |
|
26 |
|
27 |
$available = defined('PEWC_FILE');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/pw-woocommerce-gift-cards.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "pw-woocommerce-gift-cards";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "PW WooCommerce Gift Cards";
|
|
26 |
|
27 |
$available = defined('PWGC_VERSION');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "pw-woocommerce-gift-cards";
|
24 |
|
26 |
|
27 |
$available = defined('PWGC_VERSION');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/show-single-variations.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "show-single-variations-premium";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce Show Single Variations by Iconic";
|
|
26 |
|
27 |
$available = class_exists('Iconic_WSSV_Product_Variation');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "show-single-variations-premium";
|
24 |
|
26 |
|
27 |
$available = class_exists('Iconic_WSSV_Product_Variation');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/sitepress-multilingual-cms.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "sitepress-multilingual-cms";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WPML Multilingual CMS";
|
|
26 |
|
27 |
$available = defined('ICL_SITEPRESS_VERSION');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "sitepress-multilingual-cms";
|
24 |
|
26 |
|
27 |
$available = defined('ICL_SITEPRESS_VERSION');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/theme-divi.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "divi";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "Divi Theme";
|
|
26 |
|
27 |
$available = class_exists('ET_Builder_Element');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "divi";
|
24 |
|
26 |
|
27 |
$available = class_exists('ET_Builder_Element');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/theme-flatsome.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "flatsome";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "Flatsome Theme";
|
|
26 |
|
27 |
$available = class_exists('Flatsome_Default');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "flatsome";
|
24 |
|
26 |
|
27 |
$available = class_exists('Flatsome_Default');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/theme-kallyas.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "kallyas";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "Kallyas Theme";
|
|
26 |
|
27 |
$available = function_exists('zget_option');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "kallyas";
|
24 |
|
26 |
|
27 |
$available = function_exists('zget_option');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/theme-oceanwp.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "oceanwp";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "OceanWP Theme";
|
|
26 |
|
27 |
$available = class_exists('OceanWP_WooCommerce_Config');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "oceanwp";
|
24 |
|
26 |
|
27 |
$available = class_exists('OceanWP_WooCommerce_Config');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/uni-woo-custom-product-options.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "uni-woo-custom-product-options";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "Product Options and Price Calculation Formulas for WooCommerce – Uni
|
|
26 |
|
27 |
$available = class_exists('Uni_Cpo');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "uni-woo-custom-product-options";
|
24 |
|
26 |
|
27 |
$available = class_exists('Uni_Cpo');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woo-advanced-qty.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woo-advanced-qty";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce Advanced Quantity";
|
|
26 |
|
27 |
$available = class_exists('Woo_Advanced_QTY_Public');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woo-advanced-qty";
|
24 |
|
26 |
|
27 |
$available = class_exists('Woo_Advanced_QTY_Public');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woo-custom-product-addons.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woo-custom-product-addons";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce Custom Product Addons";
|
|
26 |
|
27 |
$available = defined('WCPA_POST_TYPE');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woo-custom-product-addons";
|
24 |
|
26 |
|
27 |
$available = defined('WCPA_POST_TYPE');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woo-payment-gateway.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woo-payment-gateway";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "Braintree For WooCommerce";
|
|
26 |
|
27 |
$available = defined('WC_BRAINTREE_PLUGIN_NAME');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woo-payment-gateway";
|
24 |
|
26 |
|
27 |
$available = defined('WC_BRAINTREE_PLUGIN_NAME');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woo-product-bundle.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woo-product-bundle";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WPC Product Bundles for WooCommerce";
|
|
26 |
|
27 |
$available = defined('WOOSB_VERSION');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woo-product-bundle";
|
24 |
|
26 |
|
27 |
$available = defined('WOOSB_VERSION');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woo-variation-swatches-pro.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woo-variation-swatches-pro";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce Variation Swatches - Pro";
|
|
26 |
|
27 |
$available = class_exists('Woo_Variation_Swatches_Pro');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woo-variation-swatches-pro";
|
24 |
|
26 |
|
27 |
$available = class_exists('Woo_Variation_Swatches_Pro');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woo-variations-table-grid.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woo-variations-table-grid";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "Woocommerce Variations Table - Grid";
|
|
26 |
|
27 |
$available = function_exists('vartable_activate');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woo-variations-table-grid";
|
24 |
|
26 |
|
27 |
$available = function_exists('vartable_activate');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woocommerce-booking.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woocommerce-booking";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "Booking & Appointment Plugin for WooCommerce";
|
|
26 |
|
27 |
$available = class_exists('woocommerce_booking');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woocommerce-booking";
|
24 |
|
26 |
|
27 |
$available = class_exists('woocommerce_booking');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woocommerce-bookings.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woocommerce-bookings";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce Bookings";
|
|
26 |
|
27 |
$available = class_exists('WC_Bookings');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woocommerce-bookings";
|
24 |
|
26 |
|
27 |
$available = class_exists('WC_Bookings');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woocommerce-composite-products.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woocommerce-composite-products";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce Composite Products";
|
|
26 |
|
27 |
$available = class_exists('WC_Composite_Products');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woocommerce-composite-products";
|
24 |
|
26 |
|
27 |
$available = class_exists('WC_Composite_Products');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woocommerce-custom-fields.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woocommerce-custom-fields";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce Custom Fields";
|
|
26 |
|
27 |
$available = class_exists('WCCF');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woocommerce-custom-fields";
|
24 |
|
26 |
|
27 |
$available = class_exists('WCCF');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woocommerce-gravityforms-product-addons.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woocommerce-gravityforms-product-addons";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce Gravity Forms Product Add-Ons";
|
|
26 |
|
27 |
$available = class_exists('woocommerce_gravityforms');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woocommerce-gravityforms-product-addons";
|
24 |
|
26 |
|
27 |
$available = class_exists('woocommerce_gravityforms');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woocommerce-mix-and-match-products.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woocommerce-mix-and-match-products";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce Mix and Match";
|
|
26 |
|
27 |
$available = class_exists('WC_Mix_and_Match');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woocommerce-mix-and-match-products";
|
24 |
|
26 |
|
27 |
$available = class_exists('WC_Mix_and_Match');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woocommerce-multilingual.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woocommerce-multilingual";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce Multilingual";
|
|
26 |
|
27 |
$available = class_exists('woocommerce_wpml');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woocommerce-multilingual";
|
24 |
|
26 |
|
27 |
$available = class_exists('woocommerce_wpml');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woocommerce-product-addon.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woocommerce-product-addon";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "PPOM for WooCommerce";
|
|
26 |
|
27 |
$available = defined('PPOM_VERSION');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woocommerce-product-addon";
|
24 |
|
26 |
|
27 |
$available = defined('PPOM_VERSION');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woocommerce-product-addons.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woocommerce-product-addons";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce Product Add-ons";
|
|
26 |
|
27 |
$available = class_exists('WC_Product_Addons');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woocommerce-product-addons";
|
24 |
|
26 |
|
27 |
$available = class_exists('WC_Product_Addons');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woocommerce-product-bundles.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woocommerce-product-bundles";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce Product Bundles";
|
|
26 |
|
27 |
$available = class_exists('WC_Bundles');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woocommerce-product-bundles";
|
24 |
|
26 |
|
27 |
$available = class_exists('WC_Bundles');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woocommerce-product-table.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woocommerce-product-table";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce Product Table";
|
|
26 |
|
27 |
$available = class_exists('Barn2\Plugin\WC_Product_Table');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woocommerce-product-table";
|
24 |
|
26 |
|
27 |
$available = class_exists('Barn2\Plugin\WC_Product_Table');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woocommerce-rental-and-booking.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woocommerce-rental-and-booking";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce Rental & Bookings System";
|
|
26 |
|
27 |
$available = class_exists('RedQ_Rental_And_Bookings');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woocommerce-rental-and-booking";
|
24 |
|
26 |
|
27 |
$available = class_exists('RedQ_Rental_And_Bookings');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woocommerce-square.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woocommerce-square";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce Square";
|
|
26 |
|
27 |
$available = class_exists('WooCommerce_Square_Loader');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woocommerce-square";
|
24 |
|
26 |
|
27 |
$available = class_exists('WooCommerce_Square_Loader');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/woocommerce-tm-extra-product-options.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "woocommerce-tm-extra-product-options";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WooCommerce TM Extra Product Options";
|
|
26 |
|
27 |
$available = (defined('THEMECOMPLETE_EPO_VERSION') || defined('TM_EPO_VERSION'));
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "woocommerce-tm-extra-product-options";
|
24 |
|
26 |
|
27 |
$available = (defined('THEMECOMPLETE_EPO_VERSION') || defined('TM_EPO_VERSION'));
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/wp-fastest-cache.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "wp-fastest-cache";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WP Fastest Cache";
|
|
26 |
|
27 |
$available = defined('WPFC_WP_PLUGIN_DIR');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "wp-fastest-cache";
|
24 |
|
26 |
|
27 |
$available = defined('WPFC_WP_PLUGIN_DIR');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/wp-grid-builder.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "wp-grid-builder";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WP Grid Builder";
|
|
26 |
|
27 |
$available = defined('WPGB_VERSION');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "wp-grid-builder";
|
24 |
|
26 |
|
27 |
$available = defined('WPGB_VERSION');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/wp-multilang.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "wp-multilang";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WP Multilang";
|
|
26 |
|
27 |
$available = function_exists('wpm_translate_string');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "wp-multilang";
|
24 |
|
26 |
|
27 |
$available = function_exists('wpm_translate_string');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/wp-rocket.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "wp-rocket";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WP Rocket";
|
|
26 |
|
27 |
$available = defined('WP_ROCKET_VERSION');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "wp-rocket";
|
24 |
|
26 |
|
27 |
$available = defined('WP_ROCKET_VERSION');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/wpc-variations-radio-buttons.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "wpc-variations-radio-buttons";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "WPC Variations Radio Buttons for WooCommerce";
|
|
26 |
|
27 |
$available = defined('WOOVR_VERSION');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "wpc-variations-radio-buttons";
|
24 |
|
26 |
|
27 |
$available = defined('WOOVR_VERSION');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/yith-woocommerce-product-add-ons.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "yith-woocommerce-product-add-ons";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "YITH WooCommerce Product Add-Ons";
|
|
26 |
|
27 |
$available = class_exists('YITH_WAPO');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "yith-woocommerce-product-add-ons";
|
24 |
|
26 |
|
27 |
$available = class_exists('YITH_WAPO');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/yith-woocommerce-product-bundles.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "yith-woocommerce-product-bundles";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "YITH WooCommerce Product Bundles";
|
|
26 |
|
27 |
$available = defined('YITH_WCPB_VERSION');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "yith-woocommerce-product-bundles";
|
24 |
|
26 |
|
27 |
$available = defined('YITH_WCPB_VERSION');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
integrations/yith-woocommerce-quick-view.php
CHANGED
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
|
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
-
global $
|
22 |
|
23 |
$slug = "yith-woocommerce-quick-view";
|
24 |
|
@@ -26,7 +26,9 @@ $name = "YITH WooCommerce Quick View";
|
|
26 |
|
27 |
$available = defined('YITH_WCQV');
|
28 |
|
29 |
-
$
|
|
|
|
|
30 |
'name' => $name,
|
31 |
'available' => $available,
|
32 |
);
|
18 |
}
|
19 |
|
20 |
// Load integration depends on current settings.
|
21 |
+
global $tinvwl_integrations;
|
22 |
|
23 |
$slug = "yith-woocommerce-quick-view";
|
24 |
|
26 |
|
27 |
$available = defined('YITH_WCQV');
|
28 |
|
29 |
+
$tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : [];
|
30 |
+
|
31 |
+
$tinvwl_integrations[$slug] = array(
|
32 |
'name' => $name,
|
33 |
'available' => $available,
|
34 |
);
|
languages/ti-woocommerce-wishlist.pot
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
# Copyright (C) 2021 TI WooCommerce Wishlist Plugin - 1.24.
|
2 |
-
# This file is distributed under the same license as the TI WooCommerce Wishlist Plugin - 1.24.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: TI WooCommerce Wishlist Plugin - 1.24.
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -32,7 +32,7 @@ msgstr ""
|
|
32 |
msgid "Template Custom CSS"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: admin/basestyle.helper.php:115, admin/settings/general.class.php:885, admin/settings/integrations.class.php:
|
36 |
msgid "Save Settings"
|
37 |
msgstr ""
|
38 |
|
@@ -40,7 +40,7 @@ msgstr ""
|
|
40 |
msgid "Reset"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: admin/basestyle.helper.php:127, admin/settings/general.class.php:897, admin/settings/integrations.class.php:
|
44 |
msgid "Save"
|
45 |
msgstr ""
|
46 |
|
@@ -500,11 +500,11 @@ msgstr ""
|
|
500 |
msgid "Wishlist Integrations with 3rd party plugins and themes"
|
501 |
msgstr ""
|
502 |
|
503 |
-
#: admin/settings/integrations.class.php:
|
504 |
msgid "Available Integrations"
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: admin/settings/integrations.class.php:
|
508 |
msgid "You can disable built-in integrations with 3rd party plugins and themes."
|
509 |
msgstr ""
|
510 |
|
@@ -936,7 +936,7 @@ msgstr ""
|
|
936 |
msgid "Page Setup"
|
937 |
msgstr ""
|
938 |
|
939 |
-
#: includes/wizard.class.php:295, includes/wizard.class.php:326, integrations/theme-flatsome.php:
|
940 |
msgid "Wishlist"
|
941 |
msgstr ""
|
942 |
|
@@ -1016,87 +1016,87 @@ msgstr ""
|
|
1016 |
msgid "If checked the trigger will fire only once for each customer for each wishlist they create. Most customers only use the one wishlist so use with caution. Setting a high Reminder interval may be a better plan."
|
1017 |
msgstr ""
|
1018 |
|
1019 |
-
#: integrations/gift-cards-for-woocommerce.php:
|
1020 |
msgid "Note"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
-
#: integrations/gift-cards-for-woocommerce.php:
|
1024 |
msgid "To"
|
1025 |
msgstr ""
|
1026 |
|
1027 |
-
#: integrations/gift-cards-for-woocommerce.php:
|
1028 |
msgid "To Email"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
#: integrations/gift-cards-for-woocommerce.php:
|
1032 |
msgid "Address"
|
1033 |
msgstr ""
|
1034 |
|
1035 |
-
#: integrations/gift-cards-for-woocommerce.php:
|
1036 |
msgid "Reload existing Gift Card"
|
1037 |
msgstr ""
|
1038 |
|
1039 |
-
#: integrations/mycred.php:
|
1040 |
msgid "WooCommerce Wishlist"
|
1041 |
msgstr ""
|
1042 |
|
1043 |
-
#: integrations/mycred.php:
|
1044 |
msgid "Awards %_plural% for users adding products to their wishlist and purchased products from their wishlist."
|
1045 |
msgstr ""
|
1046 |
|
1047 |
-
#: integrations/mycred.php:
|
1048 |
msgid "Adding Product to Wishlist"
|
1049 |
msgstr ""
|
1050 |
|
1051 |
-
#: integrations/mycred.php:
|
1052 |
msgid "Points"
|
1053 |
msgstr ""
|
1054 |
|
1055 |
-
#: integrations/mycred.php:
|
1056 |
msgid "Limit"
|
1057 |
msgstr ""
|
1058 |
|
1059 |
-
#: integrations/mycred.php:
|
1060 |
msgid "Log Template"
|
1061 |
msgstr ""
|
1062 |
|
1063 |
-
#: integrations/mycred.php:
|
1064 |
msgid "required"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
-
#: integrations/mycred.php:
|
1068 |
msgid "Purchasing Product from Wishlist"
|
1069 |
msgstr ""
|
1070 |
|
1071 |
-
#: integrations/mycred.php:
|
1072 |
msgid "Purchased From Wishlist"
|
1073 |
msgstr ""
|
1074 |
|
1075 |
-
#: integrations/mycred.php:
|
1076 |
msgid "Added To Wishlist"
|
1077 |
msgstr ""
|
1078 |
|
1079 |
-
#: integrations/product-extras-for-woocommerce.php:
|
1080 |
msgid "Flat rate cost"
|
1081 |
msgstr ""
|
1082 |
|
1083 |
-
#: integrations/woo-product-bundle.php:
|
1084 |
msgid "In stock"
|
1085 |
msgstr ""
|
1086 |
|
1087 |
-
#: integrations/woocommerce-gravityforms-product-addons.php:
|
1088 |
msgid "Select options"
|
1089 |
msgstr ""
|
1090 |
|
1091 |
-
#: integrations/wp-grid-builder.php:
|
1092 |
msgid "Wishlist Button"
|
1093 |
msgstr ""
|
1094 |
|
1095 |
-
#: integrations/yith-woocommerce-product-add-ons.php:
|
1096 |
msgid "Base price"
|
1097 |
msgstr ""
|
1098 |
|
1099 |
-
#: integrations/yith-woocommerce-product-bundles.php:
|
1100 |
msgid "Out of stock"
|
1101 |
msgstr ""
|
1102 |
|
1 |
+
# Copyright (C) 2021 TI WooCommerce Wishlist Plugin - 1.24.2
|
2 |
+
# This file is distributed under the same license as the TI WooCommerce Wishlist Plugin - 1.24.2 package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: TI WooCommerce Wishlist Plugin - 1.24.2\n"
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
32 |
msgid "Template Custom CSS"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: admin/basestyle.helper.php:115, admin/settings/general.class.php:885, admin/settings/integrations.class.php:115
|
36 |
msgid "Save Settings"
|
37 |
msgstr ""
|
38 |
|
40 |
msgid "Reset"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: admin/basestyle.helper.php:127, admin/settings/general.class.php:897, admin/settings/integrations.class.php:121
|
44 |
msgid "Save"
|
45 |
msgstr ""
|
46 |
|
500 |
msgid "Wishlist Integrations with 3rd party plugins and themes"
|
501 |
msgstr ""
|
502 |
|
503 |
+
#: admin/settings/integrations.class.php:97
|
504 |
msgid "Available Integrations"
|
505 |
msgstr ""
|
506 |
|
507 |
+
#: admin/settings/integrations.class.php:100
|
508 |
msgid "You can disable built-in integrations with 3rd party plugins and themes."
|
509 |
msgstr ""
|
510 |
|
936 |
msgid "Page Setup"
|
937 |
msgstr ""
|
938 |
|
939 |
+
#: includes/wizard.class.php:295, includes/wizard.class.php:326, integrations/theme-flatsome.php:124, public/tinvwl.class.php:683
|
940 |
msgid "Wishlist"
|
941 |
msgstr ""
|
942 |
|
1016 |
msgid "If checked the trigger will fire only once for each customer for each wishlist they create. Most customers only use the one wishlist so use with caution. Setting a high Reminder interval may be a better plan."
|
1017 |
msgstr ""
|
1018 |
|
1019 |
+
#: integrations/gift-cards-for-woocommerce.php:119
|
1020 |
msgid "Note"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
+
#: integrations/gift-cards-for-woocommerce.php:122
|
1024 |
msgid "To"
|
1025 |
msgstr ""
|
1026 |
|
1027 |
+
#: integrations/gift-cards-for-woocommerce.php:125
|
1028 |
msgid "To Email"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
+
#: integrations/gift-cards-for-woocommerce.php:128
|
1032 |
msgid "Address"
|
1033 |
msgstr ""
|
1034 |
|
1035 |
+
#: integrations/gift-cards-for-woocommerce.php:131
|
1036 |
msgid "Reload existing Gift Card"
|
1037 |
msgstr ""
|
1038 |
|
1039 |
+
#: integrations/mycred.php:55
|
1040 |
msgid "WooCommerce Wishlist"
|
1041 |
msgstr ""
|
1042 |
|
1043 |
+
#: integrations/mycred.php:56
|
1044 |
msgid "Awards %_plural% for users adding products to their wishlist and purchased products from their wishlist."
|
1045 |
msgstr ""
|
1046 |
|
1047 |
+
#: integrations/mycred.php:209
|
1048 |
msgid "Adding Product to Wishlist"
|
1049 |
msgstr ""
|
1050 |
|
1051 |
+
#: integrations/mycred.php:214, integrations/mycred.php:259
|
1052 |
msgid "Points"
|
1053 |
msgstr ""
|
1054 |
|
1055 |
+
#: integrations/mycred.php:227, integrations/mycred.php:272
|
1056 |
msgid "Limit"
|
1057 |
msgstr ""
|
1058 |
|
1059 |
+
#: integrations/mycred.php:240, integrations/mycred.php:285
|
1060 |
msgid "Log Template"
|
1061 |
msgstr ""
|
1062 |
|
1063 |
+
#: integrations/mycred.php:244, integrations/mycred.php:289
|
1064 |
msgid "required"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
+
#: integrations/mycred.php:254
|
1068 |
msgid "Purchasing Product from Wishlist"
|
1069 |
msgstr ""
|
1070 |
|
1071 |
+
#: integrations/mycred.php:342
|
1072 |
msgid "Purchased From Wishlist"
|
1073 |
msgstr ""
|
1074 |
|
1075 |
+
#: integrations/mycred.php:343
|
1076 |
msgid "Added To Wishlist"
|
1077 |
msgstr ""
|
1078 |
|
1079 |
+
#: integrations/product-extras-for-woocommerce.php:94
|
1080 |
msgid "Flat rate cost"
|
1081 |
msgstr ""
|
1082 |
|
1083 |
+
#: integrations/woo-product-bundle.php:115, integrations/woocommerce-composite-products.php:142, integrations/woocommerce-mix-and-match-products.php:112, integrations/woocommerce-product-bundles.php:136, integrations/yith-woocommerce-product-bundles.php:165, templates/ti-wishlist-user.php:145, templates/ti-wishlist.php:153
|
1084 |
msgid "In stock"
|
1085 |
msgstr ""
|
1086 |
|
1087 |
+
#: integrations/woocommerce-gravityforms-product-addons.php:69
|
1088 |
msgid "Select options"
|
1089 |
msgstr ""
|
1090 |
|
1091 |
+
#: integrations/wp-grid-builder.php:100
|
1092 |
msgid "Wishlist Button"
|
1093 |
msgstr ""
|
1094 |
|
1095 |
+
#: integrations/yith-woocommerce-product-add-ons.php:72
|
1096 |
msgid "Base price"
|
1097 |
msgstr ""
|
1098 |
|
1099 |
+
#: integrations/yith-woocommerce-product-bundles.php:100
|
1100 |
msgid "Out of stock"
|
1101 |
msgstr ""
|
1102 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: templateinvaders
|
|
3 |
Tags: woocommerce, wishlist, woocommerce wishlist, e-commerce, ecommerce
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.7
|
6 |
-
Stable tag: 1.24.
|
7 |
License: GPLv3
|
8 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
9 |
Plugin URI: https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
@@ -163,6 +163,11 @@ Yes, you can! Join in on our [GitHub repository](https://github.com/TemplateInva
|
|
163 |
|
164 |
|
165 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
166 |
= 1.24.1 =
|
167 |
*Release Date - 18 March 2021*
|
168 |
|
3 |
Tags: woocommerce, wishlist, woocommerce wishlist, e-commerce, ecommerce
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.7
|
6 |
+
Stable tag: 1.24.2
|
7 |
License: GPLv3
|
8 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
9 |
Plugin URI: https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
163 |
|
164 |
|
165 |
== Changelog ==
|
166 |
+
= 1.24.2 =
|
167 |
+
*Release Date - 19 March 2021*
|
168 |
+
|
169 |
+
* Fixed PHP warning for 3rd party integrations
|
170 |
+
|
171 |
= 1.24.1 =
|
172 |
*Release Date - 18 March 2021*
|
173 |
|
ti-woocommerce-wishlist.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: TI WooCommerce Wishlist
|
5 |
* Plugin URI: https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
6 |
* Description: Wishlist functionality for your WooCommerce store.
|
7 |
-
* Version: 1.24.
|
8 |
* Requires at least: 4.7
|
9 |
* Tested up to: 5.7
|
10 |
* WC requires at least: 3.0
|
@@ -41,7 +41,7 @@ if (!defined('TINVWL_DOMAIN')) {
|
|
41 |
}
|
42 |
|
43 |
if (!defined('TINVWL_FVERSION')) {
|
44 |
-
define('TINVWL_FVERSION', '1.24.
|
45 |
}
|
46 |
|
47 |
if (!defined('TINVWL_LOAD_FREE')) {
|
@@ -237,9 +237,9 @@ if (!function_exists('run_tinv_wishlist')) {
|
|
237 |
*/
|
238 |
function run_tinv_wishlist()
|
239 |
{
|
240 |
-
global $
|
241 |
|
242 |
-
$
|
243 |
|
244 |
require_once TINVWL_PATH . 'tinv-wishlists-function.php';
|
245 |
|
4 |
* Plugin Name: TI WooCommerce Wishlist
|
5 |
* Plugin URI: https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
6 |
* Description: Wishlist functionality for your WooCommerce store.
|
7 |
+
* Version: 1.24.2
|
8 |
* Requires at least: 4.7
|
9 |
* Tested up to: 5.7
|
10 |
* WC requires at least: 3.0
|
41 |
}
|
42 |
|
43 |
if (!defined('TINVWL_FVERSION')) {
|
44 |
+
define('TINVWL_FVERSION', '1.24.2');
|
45 |
}
|
46 |
|
47 |
if (!defined('TINVWL_LOAD_FREE')) {
|
237 |
*/
|
238 |
function run_tinv_wishlist()
|
239 |
{
|
240 |
+
global $tinvwl_integrations;
|
241 |
|
242 |
+
$tinvwl_integrations = array();
|
243 |
|
244 |
require_once TINVWL_PATH . 'tinv-wishlists-function.php';
|
245 |
|