Version Description
Download this release
Release Info
Code changes from version 2.1.0 to 2.1.1
- assets/css/woolentor-widgets.css +39 -1
- assets/js/block-woolentor.asset.php +0 -1
- assets/js/block-woolentor.js +0 -101
- assets/js/block-woolentor.js.map +0 -1
- assets/js/woolentor-checkout.js +155 -0
- classes/class.assest_management.php +6 -0
- classes/class.default_data.php +31 -8
- classes/class.page_action.php +120 -0
- includes/addons/wb_product_add_to_cart.php +2 -2
- includes/admin/admin-init.php +1 -3
- includes/admin/assets/css/template_edit_manager.css +865 -0
- includes/admin/assets/css/woolentor-admin.css +37 -10
- includes/admin/assets/js/template_edit_manager.js +395 -0
- includes/admin/assets/js/woolentor-admin.js +55 -10
- includes/admin/assets/lib/css/sweetalert2.min.css +1 -0
- includes/admin/assets/lib/js/sweetalert2.min.js +1 -0
- includes/admin/include/admin_field-manager.php +165 -2
- includes/admin/include/admin_fields.php +582 -478
- includes/admin/include/class.extension-manager.php +5 -0
- includes/admin/include/class.template-manager.php +677 -0
- includes/admin/include/class.template_cpt.php +98 -0
- includes/admin/include/template-library/manager.php +74 -0
- includes/admin/templates/dashboard-renamelabel.php +0 -26
- includes/admin/templates/dashboard-sales-notification.php +0 -26
- includes/admin/templates/template_edit_popup.php +118 -0
- includes/base.php +14 -2
- includes/helper-function.php +78 -0
- includes/modules/class.module-manager.php +41 -0
- includes/modules/shopify-like-checkout/assets/shopify-like-checkout.css +1390 -0
- includes/modules/shopify-like-checkout/assets/shopify-like-checkout.js +122 -0
- includes/modules/shopify-like-checkout/class.shopify-like-checkout.php +631 -0
- includes/modules/shopify-like-checkout/templates/canvas.php +28 -0
- includes/modules/shopify-like-checkout/templates/cart-shipping.php +69 -0
- includes/modules/shopify-like-checkout/templates/form-billing.php +71 -0
- includes/modules/shopify-like-checkout/templates/form-checkout.php +250 -0
- includes/modules/shopify-like-checkout/templates/form-coupon.php +25 -0
- includes/modules/shopify-like-checkout/templates/form-login.php +51 -0
- includes/modules/shopify-like-checkout/templates/form-shipping.php +57 -0
- includes/modules/shopify-like-checkout/templates/payment.php +30 -0
- includes/modules/shopify-like-checkout/templates/review-order.php +65 -0
- languages/woolentor.pot +970 -518
- readme.txt +11 -1
- woolentor_addons_elementor.php +3 -3
assets/css/woolentor-widgets.css
CHANGED
@@ -677,6 +677,13 @@
|
|
677 |
-o-transition: all 0.3s ease;
|
678 |
transition: all 0.3s ease;
|
679 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
680 |
.ht-products .ht-product .ht-product-inner .ht-product-action ul li a.htcompare-btn.loading{
|
681 |
padding:0;
|
682 |
}
|
@@ -758,6 +765,7 @@
|
|
758 |
-webkit-transition: all 0.5s ease;
|
759 |
-o-transition: all 0.5s ease;
|
760 |
transition: all 0.5s ease;
|
|
|
761 |
}
|
762 |
.wishsuite-button.wishlist span.wishsuite-btn-text{
|
763 |
margin-right: -10px;
|
@@ -1190,7 +1198,8 @@
|
|
1190 |
-webkit-justify-content: flex-start;
|
1191 |
-ms-flex-pack: start;
|
1192 |
justify-content: flex-start;
|
1193 |
-
position:
|
|
|
1194 |
}
|
1195 |
.ht-products .ht-product.ht-product-action-bottom-content .ht-product-inner .ht-product-ratting-wrap + .ht-product-action {
|
1196 |
margin-top: 20px !important;
|
@@ -2219,6 +2228,25 @@ span.wlvideo-button {
|
|
2219 |
float: left;
|
2220 |
}
|
2221 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2222 |
/* Sale Notification */
|
2223 |
.notifake{
|
2224 |
max-width: 550px;
|
@@ -4931,6 +4959,11 @@ div[class*="woolentor-single-select-drop"] .select2-results__option::before{
|
|
4931 |
left: auto;
|
4932 |
}
|
4933 |
|
|
|
|
|
|
|
|
|
|
|
4934 |
/**
|
4935 |
* Thirdparty plugin support
|
4936 |
*/
|
@@ -5247,6 +5280,11 @@ div[class*="woolentor-single-select-drop"] .select2-results__option::before{
|
|
5247 |
margin-right: 0 !important;
|
5248 |
}
|
5249 |
|
|
|
|
|
|
|
|
|
|
|
5250 |
}
|
5251 |
|
5252 |
/* Large Mobile :480px. */
|
677 |
-o-transition: all 0.3s ease;
|
678 |
transition: all 0.3s ease;
|
679 |
}
|
680 |
+
.ht-products .ht-product .ht-product-inner .ht-product-action ul li a.htcompare-btn,.ht-products .ht-product .ht-product-inner .ht-product-action ul li a.htcompare-btn .htcompare-btn-text{
|
681 |
+
display: block !important;
|
682 |
+
}
|
683 |
+
.ht-products .ht-product .ht-product-inner .ht-product-action ul li a.wishsuite-button svg{
|
684 |
+
width: 18px;
|
685 |
+
height: 18px;
|
686 |
+
}
|
687 |
.ht-products .ht-product .ht-product-inner .ht-product-action ul li a.htcompare-btn.loading{
|
688 |
padding:0;
|
689 |
}
|
765 |
-webkit-transition: all 0.5s ease;
|
766 |
-o-transition: all 0.5s ease;
|
767 |
transition: all 0.5s ease;
|
768 |
+
z-index: 99;
|
769 |
}
|
770 |
.wishsuite-button.wishlist span.wishsuite-btn-text{
|
771 |
margin-right: -10px;
|
1198 |
-webkit-justify-content: flex-start;
|
1199 |
-ms-flex-pack: start;
|
1200 |
justify-content: flex-start;
|
1201 |
+
position: relative;
|
1202 |
+
left: 0;
|
1203 |
}
|
1204 |
.ht-products .ht-product.ht-product-action-bottom-content .ht-product-inner .ht-product-ratting-wrap + .ht-product-action {
|
1205 |
margin-top: 20px !important;
|
2228 |
float: left;
|
2229 |
}
|
2230 |
|
2231 |
+
/* Checkout Page */
|
2232 |
+
.elementor-widget-wl-checkout-order-review #order_review{
|
2233 |
+
width: 100% !important;
|
2234 |
+
float: none !important;
|
2235 |
+
background-color: transparent !important;
|
2236 |
+
}
|
2237 |
+
|
2238 |
+
.woolentor-order-review-product span.product-thumbnail {
|
2239 |
+
display: inline-block;
|
2240 |
+
padding-right: 10px;
|
2241 |
+
}
|
2242 |
+
.woolentor-order-review-product span.product-thumbnail img {
|
2243 |
+
max-width: 70px;
|
2244 |
+
}
|
2245 |
+
.woolentor_current_theme_storefront span.woolentor-order-item-title {
|
2246 |
+
display: flex;
|
2247 |
+
align-items: center;
|
2248 |
+
}
|
2249 |
+
|
2250 |
/* Sale Notification */
|
2251 |
.notifake{
|
2252 |
max-width: 550px;
|
4959 |
left: auto;
|
4960 |
}
|
4961 |
|
4962 |
+
/* blocksy */
|
4963 |
+
.woolentor_current_theme_blocksy form.woocommerce-checkout {
|
4964 |
+
display: block;
|
4965 |
+
}
|
4966 |
+
|
4967 |
/**
|
4968 |
* Thirdparty plugin support
|
4969 |
*/
|
5280 |
margin-right: 0 !important;
|
5281 |
}
|
5282 |
|
5283 |
+
/* CHeckout Page */
|
5284 |
+
.woolentor_current_theme_storefront span.woolentor-order-item-title {
|
5285 |
+
display: block;
|
5286 |
+
}
|
5287 |
+
|
5288 |
}
|
5289 |
|
5290 |
/* Large Mobile :480px. */
|
assets/js/block-woolentor.asset.php
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'a63ebc50c0ae768fd8069e1d957add29');
|
|
assets/js/block-woolentor.js
DELETED
@@ -1,101 +0,0 @@
|
|
1 |
-
/******/ (function(modules) { // webpackBootstrap
|
2 |
-
/******/ // The module cache
|
3 |
-
/******/ var installedModules = {};
|
4 |
-
/******/
|
5 |
-
/******/ // The require function
|
6 |
-
/******/ function __webpack_require__(moduleId) {
|
7 |
-
/******/
|
8 |
-
/******/ // Check if module is in cache
|
9 |
-
/******/ if(installedModules[moduleId]) {
|
10 |
-
/******/ return installedModules[moduleId].exports;
|
11 |
-
/******/ }
|
12 |
-
/******/ // Create a new module (and put it into the cache)
|
13 |
-
/******/ var module = installedModules[moduleId] = {
|
14 |
-
/******/ i: moduleId,
|
15 |
-
/******/ l: false,
|
16 |
-
/******/ exports: {}
|
17 |
-
/******/ };
|
18 |
-
/******/
|
19 |
-
/******/ // Execute the module function
|
20 |
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
21 |
-
/******/
|
22 |
-
/******/ // Flag the module as loaded
|
23 |
-
/******/ module.l = true;
|
24 |
-
/******/
|
25 |
-
/******/ // Return the exports of the module
|
26 |
-
/******/ return module.exports;
|
27 |
-
/******/ }
|
28 |
-
/******/
|
29 |
-
/******/
|
30 |
-
/******/ // expose the modules object (__webpack_modules__)
|
31 |
-
/******/ __webpack_require__.m = modules;
|
32 |
-
/******/
|
33 |
-
/******/ // expose the module cache
|
34 |
-
/******/ __webpack_require__.c = installedModules;
|
35 |
-
/******/
|
36 |
-
/******/ // define getter function for harmony exports
|
37 |
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
38 |
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
39 |
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
40 |
-
/******/ }
|
41 |
-
/******/ };
|
42 |
-
/******/
|
43 |
-
/******/ // define __esModule on exports
|
44 |
-
/******/ __webpack_require__.r = function(exports) {
|
45 |
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
46 |
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
47 |
-
/******/ }
|
48 |
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
49 |
-
/******/ };
|
50 |
-
/******/
|
51 |
-
/******/ // create a fake namespace object
|
52 |
-
/******/ // mode & 1: value is a module id, require it
|
53 |
-
/******/ // mode & 2: merge all properties of value into the ns
|
54 |
-
/******/ // mode & 4: return value when already ns object
|
55 |
-
/******/ // mode & 8|1: behave like require
|
56 |
-
/******/ __webpack_require__.t = function(value, mode) {
|
57 |
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
58 |
-
/******/ if(mode & 8) return value;
|
59 |
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
60 |
-
/******/ var ns = Object.create(null);
|
61 |
-
/******/ __webpack_require__.r(ns);
|
62 |
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
63 |
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
64 |
-
/******/ return ns;
|
65 |
-
/******/ };
|
66 |
-
/******/
|
67 |
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
68 |
-
/******/ __webpack_require__.n = function(module) {
|
69 |
-
/******/ var getter = module && module.__esModule ?
|
70 |
-
/******/ function getDefault() { return module['default']; } :
|
71 |
-
/******/ function getModuleExports() { return module; };
|
72 |
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
73 |
-
/******/ return getter;
|
74 |
-
/******/ };
|
75 |
-
/******/
|
76 |
-
/******/ // Object.prototype.hasOwnProperty.call
|
77 |
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
78 |
-
/******/
|
79 |
-
/******/ // __webpack_public_path__
|
80 |
-
/******/ __webpack_require__.p = "";
|
81 |
-
/******/
|
82 |
-
/******/
|
83 |
-
/******/ // Load entry module and return exports
|
84 |
-
/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js");
|
85 |
-
/******/ })
|
86 |
-
/************************************************************************/
|
87 |
-
/******/ ({
|
88 |
-
|
89 |
-
/***/ "./src/index.js":
|
90 |
-
/*!**********************!*\
|
91 |
-
!*** ./src/index.js ***!
|
92 |
-
\**********************/
|
93 |
-
/*! exports provided: registerWoolentorBlocks */
|
94 |
-
/***/ (function(module, exports) {
|
95 |
-
|
96 |
-
throw new Error("Module build failed (from ./node_modules/source-map-loader/index.js):\nError: ENOENT: no such file or directory, open 'D:\\SERVER\\htdocs\\pluginsdevlop\\wp-content\\plugins\\woolentor-addons\\woolentor-blocks\\src\\index.js'");
|
97 |
-
|
98 |
-
/***/ })
|
99 |
-
|
100 |
-
/******/ });
|
101 |
-
//# sourceMappingURL=block-woolentor.js.map
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/block-woolentor.js.map
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
{"version":3,"sources":["webpack:///webpack/bootstrap"],"names":[],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA","file":"block-woolentor.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./src/index.js\");\n"],"sourceRoot":""}
|
|
assets/js/woolentor-checkout.js
ADDED
@@ -0,0 +1,155 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
;(function($){
|
2 |
+
"use strict";
|
3 |
+
|
4 |
+
// Handle Quentity Increment and decrement
|
5 |
+
var woolentor_checkout_quentity = {
|
6 |
+
|
7 |
+
init: function(){
|
8 |
+
$( document.body ).on( 'click', '.woolentor-order-review-product input.qty', this.update_order_review )
|
9 |
+
},
|
10 |
+
|
11 |
+
update_order_review: function( event ){
|
12 |
+
|
13 |
+
var data = {
|
14 |
+
action: 'update_order_review',
|
15 |
+
security: wc_checkout_params.update_order_review_nonce,
|
16 |
+
post_data: $( 'form.checkout' ).serialize()
|
17 |
+
};
|
18 |
+
$.post(
|
19 |
+
wc_checkout_params.ajax_url,
|
20 |
+
data,
|
21 |
+
function( response ){
|
22 |
+
$( document.body ).trigger( 'update_checkout' );
|
23 |
+
}
|
24 |
+
);
|
25 |
+
|
26 |
+
}
|
27 |
+
|
28 |
+
};
|
29 |
+
|
30 |
+
// Handle Coupon Form
|
31 |
+
var woolentor_checkout_coupons = {
|
32 |
+
|
33 |
+
init: function() {
|
34 |
+
$( document.body ).on( 'click', '.woolentor-checkout-coupon-form a.show-coupon', this.show_coupon_form )
|
35 |
+
$( '.woolentor-checkout-coupon-form .coupon-form button[name="apply_coupon"]' ).on( 'click', this.submit );
|
36 |
+
},
|
37 |
+
|
38 |
+
show_coupon_form: function( event ) {
|
39 |
+
event.preventDefault();
|
40 |
+
|
41 |
+
$( '.woolentor-checkout-coupon-form .coupon-form' ).slideToggle( 400, function() {
|
42 |
+
$( '.coupon-form' ).find( ':input:eq(0)' ).trigger( 'focus' );
|
43 |
+
});
|
44 |
+
|
45 |
+
return false;
|
46 |
+
},
|
47 |
+
|
48 |
+
submit: function( event ) {
|
49 |
+
event.preventDefault();
|
50 |
+
|
51 |
+
var $form = $('.woolentor-checkout-coupon-form').find(".coupon-form");
|
52 |
+
|
53 |
+
if ( $form.is( '.processing' ) ) {
|
54 |
+
return false;
|
55 |
+
}
|
56 |
+
|
57 |
+
$form.addClass( 'processing' ).block({
|
58 |
+
message: null,
|
59 |
+
overlayCSS: {
|
60 |
+
background: '#fff',
|
61 |
+
opacity: 0.6
|
62 |
+
}
|
63 |
+
});
|
64 |
+
|
65 |
+
var data = {
|
66 |
+
security: wc_checkout_params.apply_coupon_nonce,
|
67 |
+
coupon_code: $form.find( 'input[name="coupon_code"]' ).val()
|
68 |
+
};
|
69 |
+
|
70 |
+
$.ajax({
|
71 |
+
type: 'POST',
|
72 |
+
url: wc_checkout_params.wc_ajax_url.toString().replace( '%%endpoint%%', 'apply_coupon' ),
|
73 |
+
data: data,
|
74 |
+
success: function( code ) {
|
75 |
+
$( '.woocommerce-error, .woocommerce-message' ).remove();
|
76 |
+
$form.removeClass( 'processing' ).unblock();
|
77 |
+
|
78 |
+
if ( code ) {
|
79 |
+
$('.woolentor-checkout-coupon-form').after( code );
|
80 |
+
$form.slideUp();
|
81 |
+
|
82 |
+
$( document.body ).trigger( 'applied_coupon_in_checkout', [ data.coupon_code ] );
|
83 |
+
$( document.body ).trigger( 'update_checkout', { update_shipping_method: false } );
|
84 |
+
}
|
85 |
+
},
|
86 |
+
dataType: 'html'
|
87 |
+
});
|
88 |
+
|
89 |
+
return false;
|
90 |
+
}
|
91 |
+
|
92 |
+
};
|
93 |
+
|
94 |
+
// Handle Loggin Form
|
95 |
+
var woolentor_checkout_login = {
|
96 |
+
|
97 |
+
init: function() {
|
98 |
+
$('.elementor-widget-wl-checkout-login-form').find('.woocommerce-form-login').removeAttr('method');
|
99 |
+
$( document.body ).on( 'click', '.elementor-widget-wl-checkout-login-form a.showlogin', this.show_login_form );
|
100 |
+
$( '.elementor-widget-wl-checkout-login-form button[name="login"]' ).on( 'click', this.submit_login );
|
101 |
+
},
|
102 |
+
|
103 |
+
show_login_form: function() {
|
104 |
+
$( '.elementor-widget-wl-checkout-login-form div.login, .elementor-widget-wl-checkout-login-form div.woocommerce-form--login' ).slideToggle();
|
105 |
+
return false;
|
106 |
+
},
|
107 |
+
|
108 |
+
submit_login: function( event ){
|
109 |
+
event.preventDefault();
|
110 |
+
|
111 |
+
var $form = $('.elementor-widget-wl-checkout-login-form').find(".woocommerce-form-login");
|
112 |
+
|
113 |
+
if ( $form.is( '.processing' ) ) {
|
114 |
+
return false;
|
115 |
+
}
|
116 |
+
|
117 |
+
$form.addClass( 'processing' ).block({
|
118 |
+
message: null,
|
119 |
+
overlayCSS: {
|
120 |
+
background: '#fff',
|
121 |
+
opacity: 0.6
|
122 |
+
}
|
123 |
+
});
|
124 |
+
|
125 |
+
$.ajax({
|
126 |
+
type: 'POST',
|
127 |
+
url: wc_checkout_params.ajax_url,
|
128 |
+
data: {
|
129 |
+
'action': 'woolentor_ajax_login',
|
130 |
+
'login': 'login',
|
131 |
+
'username': $( '.elementor-widget-wl-checkout-login-form').find('input[name="username"]').val(),
|
132 |
+
'password': $( '.elementor-widget-wl-checkout-login-form').find('input[name="password"]').val(),
|
133 |
+
'woocommerce-login-nonce': $( '.elementor-widget-wl-checkout-login-form').find('input[id="woocommerce-login-nonce"]').val()
|
134 |
+
},
|
135 |
+
success: function( response ){
|
136 |
+
if( response.data ){
|
137 |
+
$('.elementor-widget-wl-checkout-login-form').find('.woocommerce-error').remove();
|
138 |
+
$form.removeClass( 'processing' ).unblock();
|
139 |
+
$('.elementor-widget-wl-checkout-login-form .woocommerce-form-login').before( response.data.notices );
|
140 |
+
}else{
|
141 |
+
window.location.replace( $( '.elementor-widget-wl-checkout-login-form').find('input[name="redirect"]').val() );
|
142 |
+
}
|
143 |
+
}
|
144 |
+
});
|
145 |
+
|
146 |
+
}
|
147 |
+
|
148 |
+
};
|
149 |
+
|
150 |
+
woolentor_checkout_quentity.init();
|
151 |
+
woolentor_checkout_coupons.init();
|
152 |
+
woolentor_checkout_login.init();
|
153 |
+
|
154 |
+
|
155 |
+
})(jQuery);
|
classes/class.assest_management.php
CHANGED
@@ -221,6 +221,12 @@ class Assets_Management{
|
|
221 |
'version' => WOOLENTOR_VERSION,
|
222 |
'deps' => [ 'jquery' ]
|
223 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
|
225 |
'woolentor-admin-main' =>[
|
226 |
'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/js/woolentor-admin.js',
|
221 |
'version' => WOOLENTOR_VERSION,
|
222 |
'deps' => [ 'jquery' ]
|
223 |
],
|
224 |
+
'woolentor-checkout' =>[
|
225 |
+
'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/js/woolentor-checkout.js',
|
226 |
+
'version' => WOOLENTOR_VERSION,
|
227 |
+
'deps' => [ 'jquery','wc-checkout' ]
|
228 |
+
],
|
229 |
+
|
230 |
|
231 |
'woolentor-admin-main' =>[
|
232 |
'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/js/woolentor-admin.js',
|
classes/class.default_data.php
CHANGED
@@ -51,7 +51,7 @@ class WooLentor_Default_Data{
|
|
51 |
*/
|
52 |
public function body_class( $classes ){
|
53 |
$post_type = get_post_type();
|
54 |
-
if( $post_type == 'elementor_library' ){
|
55 |
$classes[] = 'woocommerce';
|
56 |
$classes[] = 'woocommerce-page';
|
57 |
$classes[] = 'woolentor-woocommerce-builder';
|
@@ -67,12 +67,32 @@ class WooLentor_Default_Data{
|
|
67 |
*/
|
68 |
public function post_class( $classes ){
|
69 |
$post_type = get_post_type();
|
70 |
-
if( $post_type == 'elementor_library' ){
|
71 |
$classes[] = 'product';
|
72 |
}
|
73 |
return $classes;
|
74 |
}
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
/**
|
77 |
* [theme_hook_reactive]
|
78 |
* @param [object] $element
|
@@ -84,6 +104,10 @@ class WooLentor_Default_Data{
|
|
84 |
$this->theme_hooks( $element->get_name() );
|
85 |
}else if( 'wl-single-product-upsell' === $element->get_name() && $is_editor_mode ){
|
86 |
$this->theme_hooks( $element->get_name() );
|
|
|
|
|
|
|
|
|
87 |
}
|
88 |
}
|
89 |
|
@@ -96,7 +120,7 @@ class WooLentor_Default_Data{
|
|
96 |
$current_theme = wp_get_theme();
|
97 |
|
98 |
// For Astra Theme
|
99 |
-
if( 'astra' === $current_theme->get( 'TextDomain' ) ){
|
100 |
|
101 |
if( $name === 'woolentor-product-archive-addons' ){
|
102 |
|
@@ -185,15 +209,14 @@ class WooLentor_Default_Data{
|
|
185 |
|
186 |
case 'wl-product-add-to-cart':
|
187 |
ob_start();
|
188 |
-
echo '<div class="product">';
|
189 |
do_action( 'woocommerce_' . $product->get_type() . '_add_to_cart' );
|
190 |
-
echo '</div>';
|
191 |
return ob_get_clean();
|
192 |
break;
|
193 |
|
194 |
case 'wl-single-product-price':
|
195 |
ob_start();
|
196 |
-
|
197 |
if( !empty( $product->get_price_html() ) ){
|
198 |
?><p class="<?php echo esc_attr( apply_filters( 'woocommerce_product_price_class', 'price' ) ); ?>"><?php echo $product->get_price_html(); ?></p><?php
|
199 |
}else{
|
@@ -323,8 +346,9 @@ class WooLentor_Default_Data{
|
|
323 |
|
324 |
case 'wl-product-data-tabs':
|
325 |
setup_postdata( $product->get_id() );
|
|
|
326 |
ob_start();
|
327 |
-
if( get_post_type() == 'elementor_library' ){
|
328 |
add_filter( 'the_content', [ $this, 'product_content' ] );
|
329 |
}
|
330 |
wc_get_template( 'single-product/tabs/tabs.php' );
|
@@ -379,7 +403,6 @@ class WooLentor_Default_Data{
|
|
379 |
|
380 |
case 'wl-product-related':
|
381 |
ob_start();
|
382 |
-
if ( ! $product ) { return; }
|
383 |
$args = [
|
384 |
'posts_per_page' => 4,
|
385 |
'columns' => 4,
|
51 |
*/
|
52 |
public function body_class( $classes ){
|
53 |
$post_type = get_post_type();
|
54 |
+
if( $post_type == 'elementor_library' || $post_type == 'woolentor-template' ){
|
55 |
$classes[] = 'woocommerce';
|
56 |
$classes[] = 'woocommerce-page';
|
57 |
$classes[] = 'woolentor-woocommerce-builder';
|
67 |
*/
|
68 |
public function post_class( $classes ){
|
69 |
$post_type = get_post_type();
|
70 |
+
if( $post_type == 'elementor_library' || $post_type == 'woolentor-template' ){
|
71 |
$classes[] = 'product';
|
72 |
}
|
73 |
return $classes;
|
74 |
}
|
75 |
|
76 |
+
/**
|
77 |
+
* [get_product] get product
|
78 |
+
* @param [string] $post_type post type
|
79 |
+
* @return [object]
|
80 |
+
*/
|
81 |
+
public function get_product( $post_type ) {
|
82 |
+
|
83 |
+
global $product;
|
84 |
+
|
85 |
+
if( 'product' == $post_type ) {
|
86 |
+
return $product;
|
87 |
+
}
|
88 |
+
|
89 |
+
// $product = $this->get_simple_product();
|
90 |
+
$product = wc_get_product( woolentor_get_last_product_id() );
|
91 |
+
|
92 |
+
return empty( $product ) ? new \stdClass() : $product;
|
93 |
+
|
94 |
+
}
|
95 |
+
|
96 |
/**
|
97 |
* [theme_hook_reactive]
|
98 |
* @param [object] $element
|
104 |
$this->theme_hooks( $element->get_name() );
|
105 |
}else if( 'wl-single-product-upsell' === $element->get_name() && $is_editor_mode ){
|
106 |
$this->theme_hooks( $element->get_name() );
|
107 |
+
}else if( 'wl-product-related' === $element->get_name() && $is_editor_mode ){
|
108 |
+
$this->theme_hooks( $element->get_name() );
|
109 |
+
}else if( 'wl-cross-sell' === $element->get_name() && $is_editor_mode ){
|
110 |
+
$this->theme_hooks( $element->get_name() );
|
111 |
}
|
112 |
}
|
113 |
|
120 |
$current_theme = wp_get_theme();
|
121 |
|
122 |
// For Astra Theme
|
123 |
+
if( 'astra' === $current_theme->get( 'TextDomain' ) || 'hello-elementor' === $current_theme->get( 'TextDomain' ) ){
|
124 |
|
125 |
if( $name === 'woolentor-product-archive-addons' ){
|
126 |
|
209 |
|
210 |
case 'wl-product-add-to-cart':
|
211 |
ob_start();
|
212 |
+
// echo '<div class="product">';
|
213 |
do_action( 'woocommerce_' . $product->get_type() . '_add_to_cart' );
|
214 |
+
// echo '</div>';
|
215 |
return ob_get_clean();
|
216 |
break;
|
217 |
|
218 |
case 'wl-single-product-price':
|
219 |
ob_start();
|
|
|
220 |
if( !empty( $product->get_price_html() ) ){
|
221 |
?><p class="<?php echo esc_attr( apply_filters( 'woocommerce_product_price_class', 'price' ) ); ?>"><?php echo $product->get_price_html(); ?></p><?php
|
222 |
}else{
|
346 |
|
347 |
case 'wl-product-data-tabs':
|
348 |
setup_postdata( $product->get_id() );
|
349 |
+
// $post = get_post( $product->get_id() );
|
350 |
ob_start();
|
351 |
+
if( get_post_type() == 'elementor_library' || get_post_type() == 'woolentor-template' ){
|
352 |
add_filter( 'the_content', [ $this, 'product_content' ] );
|
353 |
}
|
354 |
wc_get_template( 'single-product/tabs/tabs.php' );
|
403 |
|
404 |
case 'wl-product-related':
|
405 |
ob_start();
|
|
|
406 |
$args = [
|
407 |
'posts_per_page' => 4,
|
408 |
'columns' => 4,
|
classes/class.page_action.php
ADDED
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* WooLentor_Page_Action
|
4 |
+
*/
|
5 |
+
class WooLentor_Page_Action{
|
6 |
+
|
7 |
+
/**
|
8 |
+
* [$instance]
|
9 |
+
* @var null
|
10 |
+
*/
|
11 |
+
private static $instance = null;
|
12 |
+
|
13 |
+
/**
|
14 |
+
* [$product_id]
|
15 |
+
* @var null
|
16 |
+
*/
|
17 |
+
private static $product_id = null;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* [instance] Initializes a singleton instance
|
21 |
+
* @return [WooLentor_Page_Action]
|
22 |
+
*/
|
23 |
+
public static function instance() {
|
24 |
+
if ( is_null( self::$instance ) ) {
|
25 |
+
self::$instance = new self();
|
26 |
+
}
|
27 |
+
return self::$instance;
|
28 |
+
}
|
29 |
+
|
30 |
+
public function init(){
|
31 |
+
$this->checkout_page();
|
32 |
+
}
|
33 |
+
|
34 |
+
/*
|
35 |
+
* Manage Checkout page action
|
36 |
+
*/
|
37 |
+
public function checkout_page(){
|
38 |
+
$template_page_id = woolentor_get_option( 'productcheckoutpage', 'woolentor_woo_template_tabs', '0' );
|
39 |
+
if( empty( $template_page_id ) || !is_plugin_active('woolentor-addons-pro/woolentor_addons_pro.php') ){
|
40 |
+
return;
|
41 |
+
}
|
42 |
+
|
43 |
+
add_action( 'woocommerce_cart_item_name', [ $this, 'add_product_thumbnail' ], 10, 3 );
|
44 |
+
add_action( 'woocommerce_cart_item_class', [ $this, 'add_css_class_in_product_tr' ], 10, 3 );
|
45 |
+
|
46 |
+
add_action( 'woocommerce_checkout_cart_item_quantity', '__return_null', 10, 3 );
|
47 |
+
|
48 |
+
// Quentity Increment / Decrement
|
49 |
+
// add_action( 'woocommerce_checkout_cart_item_quantity', [$this, 'quentity_field' ], 10, 3 );
|
50 |
+
// if ( !is_user_logged_in() ){
|
51 |
+
// add_action( 'wp_ajax_nopriv_update_order_review', [ $this, 'update_order_review' ] );
|
52 |
+
// } else{
|
53 |
+
// add_action( 'wp_ajax_update_order_review', [ $this, 'update_order_review' ] );
|
54 |
+
// }
|
55 |
+
|
56 |
+
}
|
57 |
+
|
58 |
+
// Update Order Overview
|
59 |
+
public function update_order_review() {
|
60 |
+
$data = array();
|
61 |
+
parse_str( $_POST['post_data'], $data );
|
62 |
+
|
63 |
+
$cart = $data['cart'];
|
64 |
+
foreach ( $cart as $cart_item_key => $cart_value ){
|
65 |
+
WC()->cart->set_quantity( $cart_key, $cart_value['qty'], false );
|
66 |
+
WC()->cart->calculate_totals();
|
67 |
+
woocommerce_cart_totals();
|
68 |
+
}
|
69 |
+
|
70 |
+
wp_die();
|
71 |
+
}
|
72 |
+
|
73 |
+
/*
|
74 |
+
* Table Row CSS class add in checkout page order overview table row
|
75 |
+
*/
|
76 |
+
public function add_css_class_in_product_tr( $css_class , $cart_item, $cart_item_key ){
|
77 |
+
if ( ! is_checkout() ) return $css_class;
|
78 |
+
return $css_class.' woolentor-order-review-product';
|
79 |
+
}
|
80 |
+
|
81 |
+
/*
|
82 |
+
* Add Product image to checkout page order overview table
|
83 |
+
*/
|
84 |
+
public function add_product_thumbnail( $product_name, $cart_item, $cart_item_key ){
|
85 |
+
if ( ! is_checkout() ) return $product_name;
|
86 |
+
|
87 |
+
$_product = $cart_item['data'];
|
88 |
+
|
89 |
+
//$remove_icon = sprintf( '<a href="%s" class="remove" title="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), __( 'Delete', 'woolentor' ), esc_attr( $cart_item['product_id'] ), esc_attr( $_product->get_sku() ));
|
90 |
+
|
91 |
+
$thumbnail = sprintf('<span class="product-thumbnail">%s</span>', $_product->get_image('thumbnail') );
|
92 |
+
$title = sprintf('<span class="product-title">%s <strong class="product-quantity">× %s</strong></span>', $product_name, $cart_item['quantity'] );
|
93 |
+
|
94 |
+
return sprintf( '<span class="woolentor-order-item-title">%s %s</span>', $thumbnail, $title );
|
95 |
+
|
96 |
+
}
|
97 |
+
|
98 |
+
// Add Quentity Field in order over view table
|
99 |
+
public function quentity_field( $html, $cart_item, $cart_item_key ){
|
100 |
+
|
101 |
+
$_product = $cart_item['data'];
|
102 |
+
|
103 |
+
if ( $_product->is_sold_individually() ) {
|
104 |
+
$html = sprintf( ' <input type="hidden" name="cart[%s][qty]" value="1" />', $cart_item_key );
|
105 |
+
} else {
|
106 |
+
$html = woocommerce_quantity_input( array(
|
107 |
+
'input_name' => "cart[{$cart_item_key}][qty]",
|
108 |
+
'input_value' => $cart_item['quantity'],
|
109 |
+
'max_value' => $_product->backorders_allowed() ? '' : $_product->get_stock_quantity(),
|
110 |
+
'min_value' => '1'
|
111 |
+
|
112 |
+
), $_product, false
|
113 |
+
);
|
114 |
+
}
|
115 |
+
|
116 |
+
return $html;
|
117 |
+
}
|
118 |
+
|
119 |
+
|
120 |
+
}
|
includes/addons/wb_product_add_to_cart.php
CHANGED
@@ -184,8 +184,8 @@ class WL_Product_Add_To_Cart_Element extends Widget_Base {
|
|
184 |
global $product;
|
185 |
$product = wc_get_product();
|
186 |
if ( Plugin::instance()->editor->is_edit_mode() ) {
|
187 |
-
|
188 |
-
echo '<div class="add-to-cart-button">'.$cart_btn.'</div>';
|
189 |
}else{
|
190 |
if ( empty( $product ) ) { return; }
|
191 |
?>
|
184 |
global $product;
|
185 |
$product = wc_get_product();
|
186 |
if ( Plugin::instance()->editor->is_edit_mode() ) {
|
187 |
+
echo \WooLentor_Default_Data::instance()->default( $this->get_name() );
|
188 |
+
// echo '<div class="add-to-cart-button">'.$cart_btn.'</div>';
|
189 |
}else{
|
190 |
if ( empty( $product ) ) { return; }
|
191 |
?>
|
includes/admin/admin-init.php
CHANGED
@@ -81,7 +81,7 @@ class Woolentor_Admin_Init{
|
|
81 |
|
82 |
global $submenu;
|
83 |
|
84 |
-
self::$parent_menu_hook = add_menu_page(
|
85 |
esc_html__( 'WooLentor', 'woolentor' ),
|
86 |
esc_html__( 'WooLentor', 'woolentor' ),
|
87 |
self::MENU_CAPABILITY,
|
@@ -186,8 +186,6 @@ class Woolentor_Admin_Init{
|
|
186 |
<?php self::load_template('welcome'); ?>
|
187 |
<?php self::load_template('settings'); ?>
|
188 |
<?php self::load_template('element'); ?>
|
189 |
-
<?php self::load_template('renamelabel'); ?>
|
190 |
-
<?php self::load_template('sales-notification'); ?>
|
191 |
<?php self::load_template('style'); ?>
|
192 |
<?php self::load_template('module'); ?>
|
193 |
<?php self::load_template('extension'); ?>
|
81 |
|
82 |
global $submenu;
|
83 |
|
84 |
+
self::$parent_menu_hook = add_menu_page(
|
85 |
esc_html__( 'WooLentor', 'woolentor' ),
|
86 |
esc_html__( 'WooLentor', 'woolentor' ),
|
87 |
self::MENU_CAPABILITY,
|
186 |
<?php self::load_template('welcome'); ?>
|
187 |
<?php self::load_template('settings'); ?>
|
188 |
<?php self::load_template('element'); ?>
|
|
|
|
|
189 |
<?php self::load_template('style'); ?>
|
190 |
<?php self::load_template('module'); ?>
|
191 |
<?php self::load_template('extension'); ?>
|
includes/admin/assets/css/template_edit_manager.css
ADDED
@@ -0,0 +1,865 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* Template List Table*/
|
2 |
+
.post-type-woolentor-template #woolentor-template-tabs-wrapper{
|
3 |
+
margin-bottom: 20px;
|
4 |
+
padding-top: 20px;
|
5 |
+
}
|
6 |
+
|
7 |
+
.woolentor-menu-area{
|
8 |
+
float: left;
|
9 |
+
}
|
10 |
+
/* Sub Menu Tabs start */
|
11 |
+
.woolentor-template-subtabs{
|
12 |
+
margin-bottom: 10px;
|
13 |
+
}
|
14 |
+
.woolentor-template-subtabs ul {
|
15 |
+
margin: 0;
|
16 |
+
padding: 3px;
|
17 |
+
list-style: none;
|
18 |
+
display: inline-block;
|
19 |
+
background: #E7E7E7;
|
20 |
+
border-radius: 5px;
|
21 |
+
}
|
22 |
+
.woolentor-template-subtabs ul li{
|
23 |
+
display: inline-block;
|
24 |
+
margin: 0 5px;
|
25 |
+
}
|
26 |
+
.woolentor-template-subtabs ul li:first-child{
|
27 |
+
margin-left: 0;
|
28 |
+
}
|
29 |
+
.woolentor-template-subtabs ul li:last-child{
|
30 |
+
margin-right: 0;
|
31 |
+
}
|
32 |
+
.woolentor-template-subtabs ul li a {
|
33 |
+
padding: 6px 15px;
|
34 |
+
display: block;
|
35 |
+
text-decoration: none;
|
36 |
+
color: #2271b1;
|
37 |
+
position: relative;
|
38 |
+
}
|
39 |
+
.woolentor-template-subtabs ul li a.woolentor-sub-tab-active, .woolentor-template-subtabs ul li a:hover{
|
40 |
+
background: #FFFFFF;
|
41 |
+
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.15);
|
42 |
+
border-radius: 5px;
|
43 |
+
color: #000000;
|
44 |
+
}
|
45 |
+
.woolentor-template-subtabs ul li a:after {
|
46 |
+
content: "";
|
47 |
+
background: #FFFFFF;
|
48 |
+
width: 1px;
|
49 |
+
height: 15px;
|
50 |
+
position: absolute;
|
51 |
+
right: 0;
|
52 |
+
}
|
53 |
+
.woolentor-template-subtabs ul li:last-child a::after{
|
54 |
+
display: none;
|
55 |
+
}
|
56 |
+
/* Sub Menu Tabs end*/
|
57 |
+
|
58 |
+
/* Import Button */
|
59 |
+
.woolentor-template-importer{
|
60 |
+
float: right;
|
61 |
+
}
|
62 |
+
.woolentor-template-importer button.updating-message .dashicons-download{
|
63 |
+
display: none;
|
64 |
+
}
|
65 |
+
.woolentor-template-importer button.update-comlete .dashicons-download::before{
|
66 |
+
content: "\f15e";
|
67 |
+
}
|
68 |
+
.woolentor-template-importer .button.button-primary {
|
69 |
+
display: flex;
|
70 |
+
padding: 2px 10px;
|
71 |
+
align-items: center;
|
72 |
+
background-color: #007EFF;
|
73 |
+
border: none;
|
74 |
+
}
|
75 |
+
.woolentor-template-importer .button.button-primary:focus{
|
76 |
+
box-shadow: none;
|
77 |
+
}
|
78 |
+
.woolentor-template-importer-btn-text{
|
79 |
+
margin-left: 5px;
|
80 |
+
}
|
81 |
+
.post-type-woolentor-template .swal2-html-container{
|
82 |
+
line-height: 28px;
|
83 |
+
font-size: 17px;
|
84 |
+
}
|
85 |
+
|
86 |
+
/* Normal desktop :992px. */
|
87 |
+
@media (min-width: 992px) and (max-width: 1198px) {
|
88 |
+
div#woolentor-template-tabs-wrapper {
|
89 |
+
display: flex;
|
90 |
+
flex-flow: row wrap;
|
91 |
+
}
|
92 |
+
.woolentor-menu-area {
|
93 |
+
float: left;
|
94 |
+
order: 2;
|
95 |
+
}
|
96 |
+
.woolentor-template-importer {
|
97 |
+
float: right;
|
98 |
+
order: 1;
|
99 |
+
margin-bottom: 8px;
|
100 |
+
}
|
101 |
+
}
|
102 |
+
|
103 |
+
/* Tablet desktop :768px. */
|
104 |
+
@media (min-width: 768px) and (max-width: 991px) {
|
105 |
+
div#woolentor-template-tabs-wrapper {
|
106 |
+
display: flex;
|
107 |
+
flex-flow: row wrap;
|
108 |
+
}
|
109 |
+
.woolentor-menu-area {
|
110 |
+
float: left;
|
111 |
+
order: 2;
|
112 |
+
}
|
113 |
+
.woolentor-template-importer {
|
114 |
+
float: right;
|
115 |
+
order: 1;
|
116 |
+
margin-bottom: 8px;
|
117 |
+
}
|
118 |
+
}
|
119 |
+
|
120 |
+
/* small mobile :320px. */
|
121 |
+
@media (max-width: 767px) {
|
122 |
+
div#woolentor-template-tabs-wrapper {
|
123 |
+
display: flex;
|
124 |
+
flex-flow: row wrap;
|
125 |
+
}
|
126 |
+
.woolentor-menu-area {
|
127 |
+
float: left;
|
128 |
+
order: 2;
|
129 |
+
}
|
130 |
+
.woolentor-template-importer {
|
131 |
+
float: right;
|
132 |
+
order: 1;
|
133 |
+
margin-bottom: 8px;
|
134 |
+
}
|
135 |
+
}
|
136 |
+
|
137 |
+
/**
|
138 |
+
* Template status switcher
|
139 |
+
*/
|
140 |
+
.post-type-woolentor-template .column-setdefault{
|
141 |
+
vertical-align: middle;
|
142 |
+
}
|
143 |
+
.woolentor-default-tmp-status-switch span span {
|
144 |
+
display: none;
|
145 |
+
}
|
146 |
+
.woolentor-default-tmp-status-switch {
|
147 |
+
display: inline-block;
|
148 |
+
height: 18px;
|
149 |
+
position: relative;
|
150 |
+
overflow: visible;
|
151 |
+
padding: 0;
|
152 |
+
cursor: pointer;
|
153 |
+
width: 40px
|
154 |
+
}
|
155 |
+
.woolentor-default-tmp-status-switch * {
|
156 |
+
-webkit-box-sizing: border-box;
|
157 |
+
-moz-box-sizing: border-box;
|
158 |
+
box-sizing: border-box;
|
159 |
+
}
|
160 |
+
.woolentor-default-tmp-status-switch label,
|
161 |
+
.woolentor-default-tmp-status-switch > span {
|
162 |
+
line-height: 20px;
|
163 |
+
height: 20px;
|
164 |
+
vertical-align: middle;
|
165 |
+
}
|
166 |
+
.woolentor-default-tmp-status-switch input:focus ~ a,
|
167 |
+
.woolentor-default-tmp-status-switch input:focus + label {
|
168 |
+
outline: none;
|
169 |
+
}
|
170 |
+
.woolentor-default-tmp-status-switch label {
|
171 |
+
position: relative;
|
172 |
+
z-index: 3;
|
173 |
+
display: block;
|
174 |
+
width: 100%;
|
175 |
+
}
|
176 |
+
.woolentor-default-tmp-status-switch input {
|
177 |
+
position: absolute;
|
178 |
+
opacity: 0;
|
179 |
+
z-index: 5;
|
180 |
+
}
|
181 |
+
.woolentor-default-tmp-status-switch > span {
|
182 |
+
position: absolute;
|
183 |
+
left: -50px;
|
184 |
+
width: 100%;
|
185 |
+
margin: 0;
|
186 |
+
padding-right: 50px;
|
187 |
+
text-align: left;
|
188 |
+
white-space: nowrap;
|
189 |
+
}
|
190 |
+
.woolentor-default-tmp-status-switch > span span {
|
191 |
+
position: absolute;
|
192 |
+
top: 0;
|
193 |
+
left: 0;
|
194 |
+
z-index: 5;
|
195 |
+
display: block;
|
196 |
+
width: 50%;
|
197 |
+
margin-left: 50px;
|
198 |
+
text-align: left;
|
199 |
+
font-size: 0.9em;
|
200 |
+
width: 100%;
|
201 |
+
left: 15%;
|
202 |
+
top: -1px;
|
203 |
+
opacity: 0;
|
204 |
+
}
|
205 |
+
.woolentor-default-tmp-status-switch a {
|
206 |
+
position: absolute;
|
207 |
+
right: 50%;
|
208 |
+
z-index: 4;
|
209 |
+
display: block;
|
210 |
+
height: 100%;
|
211 |
+
padding: 0;
|
212 |
+
left: 2px;
|
213 |
+
width: 18px;
|
214 |
+
background-color: #fff;
|
215 |
+
border: 1px solid #CCC;
|
216 |
+
border-radius: 100%;
|
217 |
+
-webkit-transition: all 0.2s ease-out;
|
218 |
+
-moz-transition: all 0.2s ease-out;
|
219 |
+
transition: all 0.2s ease-out;
|
220 |
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
221 |
+
}
|
222 |
+
.woolentor-default-tmp-status-switch > span span:first-of-type {
|
223 |
+
color: #ccc;
|
224 |
+
opacity: 1;
|
225 |
+
left: 45%;
|
226 |
+
}
|
227 |
+
.woolentor-default-tmp-status-switch > span:before {
|
228 |
+
content: '';
|
229 |
+
display: block;
|
230 |
+
width: 100%;
|
231 |
+
height: 100%;
|
232 |
+
position: absolute;
|
233 |
+
left: 50px;
|
234 |
+
top: -2px;
|
235 |
+
background-color: #fafafa;
|
236 |
+
border: 1px solid #ccc;
|
237 |
+
border-radius: 30px;
|
238 |
+
-webkit-transition: all 0.2s ease-out;
|
239 |
+
-moz-transition: all 0.2s ease-out;
|
240 |
+
transition: all 0.2s ease-out;
|
241 |
+
}
|
242 |
+
.woolentor-default-tmp-status-switch input:checked ~ a {
|
243 |
+
border-color: #fff;
|
244 |
+
left: 100%;
|
245 |
+
margin-left: -8px;
|
246 |
+
}
|
247 |
+
.woolentor-default-tmp-status-switch input:checked ~ span:before {
|
248 |
+
border-color: #0097D1;
|
249 |
+
box-shadow: inset 0 0 0 30px #0097D1;
|
250 |
+
}
|
251 |
+
.woolentor-default-tmp-status-switch input:checked ~ span span:first-of-type {
|
252 |
+
opacity: 0;
|
253 |
+
}
|
254 |
+
.woolentor-default-tmp-status-switch input:checked ~ span span:last-of-type {
|
255 |
+
opacity: 1;
|
256 |
+
color: #fff;
|
257 |
+
}
|
258 |
+
|
259 |
+
.woolentor-default-tmp-status-switch.woolentor-loading a:after {
|
260 |
+
content: "";
|
261 |
+
border: 2px solid transparent;
|
262 |
+
border-radius: 100%;
|
263 |
+
width: 80%;
|
264 |
+
height: 80%;
|
265 |
+
left: 0;
|
266 |
+
position: absolute;
|
267 |
+
top: 0;
|
268 |
+
border-left-color:#ccc;
|
269 |
+
animation: statusload 1800ms ease-in-out 5 forwards;
|
270 |
+
}
|
271 |
+
@keyframes statusload {
|
272 |
+
to {
|
273 |
+
transform: rotate(1turn);
|
274 |
+
}
|
275 |
+
}
|
276 |
+
/* End Toggle Switch */
|
277 |
+
|
278 |
+
/* Popup Style */
|
279 |
+
body.post-type-woolentor-template.open-editor{
|
280 |
+
overflow-y: hidden;
|
281 |
+
}
|
282 |
+
.woolentor-body-overlay{
|
283 |
+
position: absolute;
|
284 |
+
top: 0;
|
285 |
+
left: 0;
|
286 |
+
width: 100%;
|
287 |
+
height: 100%;
|
288 |
+
background-color: transparent;
|
289 |
+
opacity: 0;
|
290 |
+
visibility: hidden;
|
291 |
+
}
|
292 |
+
.open-editor .woolentor-body-overlay{
|
293 |
+
opacity: 1;
|
294 |
+
visibility: visible;
|
295 |
+
}
|
296 |
+
|
297 |
+
.woolentor-template-edit-popup-area {
|
298 |
+
position: fixed;
|
299 |
+
z-index: 9999;
|
300 |
+
top: 0;
|
301 |
+
left: 0;
|
302 |
+
display: -webkit-box;
|
303 |
+
display: -webkit-flex;
|
304 |
+
display: -ms-flexbox;
|
305 |
+
display: flex;
|
306 |
+
visibility: hidden;
|
307 |
+
-webkit-box-align: center;
|
308 |
+
-webkit-align-items: center;
|
309 |
+
-ms-flex-align: center;
|
310 |
+
align-items: center;
|
311 |
+
-webkit-box-pack: center;
|
312 |
+
-webkit-justify-content: center;
|
313 |
+
-ms-flex-pack: center;
|
314 |
+
justify-content: center;
|
315 |
+
width: 100%;
|
316 |
+
height: 100%;
|
317 |
+
padding: 20px;
|
318 |
+
-webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
|
319 |
+
-o-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
|
320 |
+
transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
|
321 |
+
-webkit-transform: scale(1.1);
|
322 |
+
-ms-transform: scale(1.1);
|
323 |
+
transform: scale(1.1);
|
324 |
+
opacity: 0;
|
325 |
+
background-color: rgba(0, 0, 0, 0.8);
|
326 |
+
}
|
327 |
+
.open-editor .woolentor-template-edit-popup-area {
|
328 |
+
visibility: visible;
|
329 |
+
-webkit-transform: scale(1);
|
330 |
+
-ms-transform: scale(1);
|
331 |
+
transform: scale(1);
|
332 |
+
opacity: 1;
|
333 |
+
}
|
334 |
+
.woolentor-template-edit-popup{
|
335 |
+
position: relative;
|
336 |
+
z-index: 9;
|
337 |
+
width: 100%;
|
338 |
+
max-width: 645px;
|
339 |
+
border-radius: 5px;
|
340 |
+
background-color: #FFFFFF;
|
341 |
+
}
|
342 |
+
|
343 |
+
.woolentor-template-edit-header {
|
344 |
+
display: -webkit-box;
|
345 |
+
display: -webkit-flex;
|
346 |
+
display: -ms-flexbox;
|
347 |
+
display: flex;
|
348 |
+
-webkit-box-pack: justify;
|
349 |
+
-webkit-justify-content: space-between;
|
350 |
+
-ms-flex-pack: justify;
|
351 |
+
justify-content: space-between;
|
352 |
+
padding: 18px 50px;
|
353 |
+
border-bottom: 1px solid #dfe7f1;
|
354 |
+
}
|
355 |
+
@media only screen and (max-width: 767px) {
|
356 |
+
.woolentor-template-edit-header {
|
357 |
+
padding: 18px 30px;
|
358 |
+
}
|
359 |
+
}
|
360 |
+
|
361 |
+
.woolentor-template-edit-setting-title {
|
362 |
+
margin: 0;
|
363 |
+
display: -webkit-box;
|
364 |
+
display: -webkit-flex;
|
365 |
+
display: -ms-flexbox;
|
366 |
+
display: flex;
|
367 |
+
-webkit-box-align: center;
|
368 |
+
-webkit-align-items: center;
|
369 |
+
-ms-flex-align: center;
|
370 |
+
align-items: center;
|
371 |
+
}
|
372 |
+
.woolentor-template-edit-setting-image {
|
373 |
+
height: 40px;
|
374 |
+
width: 40px;
|
375 |
+
line-height: 40px;
|
376 |
+
background-color: #eaf3ff;
|
377 |
+
text-align: center;
|
378 |
+
border-radius: 100%;
|
379 |
+
margin-right: 10px;
|
380 |
+
color: #2d84fb;
|
381 |
+
}
|
382 |
+
.woolentor-template-edit-cross {
|
383 |
+
cursor: pointer;
|
384 |
+
color: #999999;
|
385 |
+
transition: 0.4s;
|
386 |
+
}
|
387 |
+
.woolentor-template-edit-cross svg *{
|
388 |
+
fill: currentColor;
|
389 |
+
}
|
390 |
+
.woolentor-template-edit-cross:hover{
|
391 |
+
color: rgb(255, 0, 0);
|
392 |
+
}
|
393 |
+
|
394 |
+
.woolenor-help-tip {
|
395 |
+
color: #666;
|
396 |
+
display: inline-block;
|
397 |
+
height: 16px;
|
398 |
+
line-height: 16px;
|
399 |
+
position: relative;
|
400 |
+
width: 16px;
|
401 |
+
font-size: 20px;
|
402 |
+
top: 1px;
|
403 |
+
}
|
404 |
+
.woolenor-help-tip::after {
|
405 |
+
font-family: Dashicons;
|
406 |
+
font-weight: 400;
|
407 |
+
text-transform: none;
|
408 |
+
line-height: 1;
|
409 |
+
-webkit-font-smoothing: antialiased;
|
410 |
+
text-indent: 0px;
|
411 |
+
position: absolute;
|
412 |
+
top: 0px;
|
413 |
+
left: 0px;
|
414 |
+
width: 100%;
|
415 |
+
height: 100%;
|
416 |
+
text-align: center;
|
417 |
+
content: "";
|
418 |
+
cursor: help;
|
419 |
+
font-variant: normal;
|
420 |
+
margin: 0px;
|
421 |
+
}
|
422 |
+
span.woolenor-help-text {
|
423 |
+
opacity: 0;
|
424 |
+
visibility: hidden;
|
425 |
+
position: absolute;
|
426 |
+
top: -53px;
|
427 |
+
line-height: 14px;
|
428 |
+
background: #333;
|
429 |
+
color: #fff;
|
430 |
+
padding: 5px 5px;
|
431 |
+
font-size: 11px;
|
432 |
+
font-weight: 400;
|
433 |
+
text-align: center;
|
434 |
+
border-radius: 3px;
|
435 |
+
left: 50%;
|
436 |
+
transition: 0.4s;
|
437 |
+
width: 200px;
|
438 |
+
margin-left: -100px;
|
439 |
+
}
|
440 |
+
.woolenor-help-tip:hover span.woolenor-help-text{
|
441 |
+
opacity: 1;
|
442 |
+
visibility: visible;
|
443 |
+
}
|
444 |
+
|
445 |
+
.woolentor-template-edit-body {
|
446 |
+
padding: 15px 50px;
|
447 |
+
}
|
448 |
+
@media only screen and (max-width: 767px) {
|
449 |
+
.woolentor-template-edit-body {
|
450 |
+
padding: 15px 30px;
|
451 |
+
}
|
452 |
+
}
|
453 |
+
.woolentor-template-edit-field {
|
454 |
+
margin-bottom: 20px;
|
455 |
+
}
|
456 |
+
.woolentor-template-edit-label {
|
457 |
+
font-size: 14px;
|
458 |
+
display: block;
|
459 |
+
margin-bottom: 10px;
|
460 |
+
font-weight: 600;
|
461 |
+
}
|
462 |
+
.woolentor-template-edit-input {
|
463 |
+
border: 1px solid #d3dbe7 !important;
|
464 |
+
width: 100% !important;
|
465 |
+
max-width: 100% !important;
|
466 |
+
padding: 15px 20px !important;
|
467 |
+
border-radius: 5px !important;
|
468 |
+
background-color: #f8fbff !important;
|
469 |
+
font-size: 15px !important;
|
470 |
+
color: #656565 !important;
|
471 |
+
min-height: inherit !important;
|
472 |
+
line-height: inherit !important;
|
473 |
+
}
|
474 |
+
.woolentor-template-edit-input:focus {
|
475 |
+
border: 1px solid #d3dbe7 !important;
|
476 |
+
outline: none !important;
|
477 |
+
}
|
478 |
+
.woolentor-template-edit-input::-webkit-input-placeholder {
|
479 |
+
color: #656565 !important;
|
480 |
+
}
|
481 |
+
.woolentor-template-edit-input::-moz-placeholder {
|
482 |
+
color: #656565 !important;
|
483 |
+
}
|
484 |
+
.woolentor-template-edit-input:-ms-input-placeholder {
|
485 |
+
color: #656565 !important;
|
486 |
+
}
|
487 |
+
.woolentor-template-edit-input::-ms-input-placeholder {
|
488 |
+
color: #656565 !important;
|
489 |
+
}
|
490 |
+
.woolentor-template-edit-input::placeholder {
|
491 |
+
color: #656565 !important;
|
492 |
+
}
|
493 |
+
|
494 |
+
.woolentor-template-edit-set-default-field {
|
495 |
+
font-size: 14px;
|
496 |
+
font-weight: 600;
|
497 |
+
}
|
498 |
+
.woolentor-template-edit-bottom-box {
|
499 |
+
display: -webkit-box;
|
500 |
+
display: -webkit-flex;
|
501 |
+
display: -ms-flexbox;
|
502 |
+
display: flex;
|
503 |
+
-webkit-box-pack: justify;
|
504 |
+
-webkit-justify-content: space-between;
|
505 |
+
-ms-flex-pack: justify;
|
506 |
+
justify-content: space-between;
|
507 |
+
}
|
508 |
+
|
509 |
+
.woolentor-template-edit-demo-design-show-wrap {
|
510 |
+
display: none;
|
511 |
+
}
|
512 |
+
.woolentor-template-edit-demo-design-show {
|
513 |
+
display: -webkit-box;
|
514 |
+
display: -webkit-flex;
|
515 |
+
display: -ms-flexbox;
|
516 |
+
display: flex;
|
517 |
+
-webkit-flex-wrap: wrap;
|
518 |
+
-ms-flex-wrap: wrap;
|
519 |
+
flex-wrap: wrap;
|
520 |
+
-webkit-box-pack: center;
|
521 |
+
-webkit-justify-content: center;
|
522 |
+
-ms-flex-pack: center;
|
523 |
+
justify-content: center;
|
524 |
+
margin-left: -5px;
|
525 |
+
margin-right: -5px;
|
526 |
+
margin-top: 30px;
|
527 |
+
}
|
528 |
+
.woolentor-template-edit-set-checkbox .woolentor-template-edit-set-checkbox-input {
|
529 |
+
padding: 0;
|
530 |
+
height: initial;
|
531 |
+
width: initial;
|
532 |
+
margin-bottom: 0;
|
533 |
+
display: none;
|
534 |
+
cursor: pointer;
|
535 |
+
}
|
536 |
+
.woolentor-template-edit-set-checkbox .woolentor-template-edit-set-checkbox-input:checked + label:after {
|
537 |
+
content: '';
|
538 |
+
display: block;
|
539 |
+
position: absolute;
|
540 |
+
top: 4px;
|
541 |
+
left: 5px;
|
542 |
+
width: 3px;
|
543 |
+
height: 6px;
|
544 |
+
border: solid #2a91f8;
|
545 |
+
border-width: 0 2px 2px 0;
|
546 |
+
-webkit-transform: rotate(45deg);
|
547 |
+
-ms-transform: rotate(45deg);
|
548 |
+
transform: rotate(45deg);
|
549 |
+
}
|
550 |
+
.woolentor-template-edit-set-checkbox .woolentor-template-edit-set-checkbox-lable {
|
551 |
+
position: relative;
|
552 |
+
cursor: pointer;
|
553 |
+
}
|
554 |
+
.woolentor-template-edit-set-checkbox .woolentor-template-edit-set-checkbox-lable:before {
|
555 |
+
content: '';
|
556 |
+
-webkit-appearance: none;
|
557 |
+
background-color: transparent;
|
558 |
+
border: 1px solid #d3dbe7;
|
559 |
+
padding: 6px;
|
560 |
+
display: inline-block;
|
561 |
+
position: relative;
|
562 |
+
vertical-align: middle;
|
563 |
+
cursor: pointer;
|
564 |
+
margin-right: 8px;
|
565 |
+
border-radius: 3px;
|
566 |
+
top: -2px;
|
567 |
+
}
|
568 |
+
.woolentor-template-edit-set-design {
|
569 |
+
cursor: pointer;
|
570 |
+
}
|
571 |
+
.woolentor-template-edit-eye-icon {
|
572 |
+
border: 1px solid #d3dbe7;
|
573 |
+
border-radius: 3px;
|
574 |
+
height: 16px;
|
575 |
+
width: 18px;
|
576 |
+
line-height: 16px;
|
577 |
+
display: inline-block;
|
578 |
+
text-align: center;
|
579 |
+
margin-left: 6px;
|
580 |
+
font-size: 14px;
|
581 |
+
color: #2d84fb;
|
582 |
+
}
|
583 |
+
.woolentor-template-edit-set-design.active .woolentor-template-edit-eye-icon {
|
584 |
+
background-color: #2d84fb;
|
585 |
+
border: 1px solid #2d84fb;
|
586 |
+
color: #FFFFFF;
|
587 |
+
}
|
588 |
+
.woolentor-template-edit-demo-plan {
|
589 |
+
-webkit-box-flex: 1;
|
590 |
+
-webkit-flex: 1 0 33.333%;
|
591 |
+
-ms-flex: 1 0 33.333%;
|
592 |
+
flex: 1 0 33.333%;
|
593 |
+
max-width: 33.333%;
|
594 |
+
margin-bottom: 20px;
|
595 |
+
border-radius: 10px;
|
596 |
+
position: relative;
|
597 |
+
}
|
598 |
+
@media only screen and (max-width: 575px) {
|
599 |
+
.woolentor-template-edit-demo-plan {
|
600 |
+
-webkit-box-flex: 1;
|
601 |
+
-webkit-flex: 1 0 50%;
|
602 |
+
-ms-flex: 1 0 50%;
|
603 |
+
flex: 1 0 50%;
|
604 |
+
max-width: 50%;
|
605 |
+
}
|
606 |
+
}
|
607 |
+
.woolentor-template-edit-demo-plan input[type="radio"] {
|
608 |
+
position: absolute;
|
609 |
+
opacity: 0;
|
610 |
+
}
|
611 |
+
.woolentor-template-edit-demo-plan input[type="radio"]:checked
|
612 |
+
+ .woolentor-template-edit-demo-content {
|
613 |
+
border: 1px solid #2a91f8;
|
614 |
+
background: #eaf1fe;
|
615 |
+
-webkit-transition: ease-in 0.3s;
|
616 |
+
-o-transition: ease-in 0.3s;
|
617 |
+
transition: ease-in 0.3s;
|
618 |
+
border-radius: 10px;
|
619 |
+
}
|
620 |
+
.woolentor-template-edit-demo-plan input[type="radio"]:checked
|
621 |
+
+ .woolentor-template-edit-demo-content:after {
|
622 |
+
content: "";
|
623 |
+
position: absolute;
|
624 |
+
height: 6px;
|
625 |
+
width: 6px;
|
626 |
+
background: #2a91f8;
|
627 |
+
right: 10px;
|
628 |
+
top: 5px;
|
629 |
+
border-radius: 100%;
|
630 |
+
border: 2px solid #fff;
|
631 |
+
-webkit-box-shadow: 0px 0px 0px 1px #2a91f8;
|
632 |
+
box-shadow: 0px 0px 0px 1px #2a91f8;
|
633 |
+
}
|
634 |
+
.woolentor-template-edit-demo-content {
|
635 |
+
border: 1px solid #d3dbe7;
|
636 |
+
border-radius: 10px;
|
637 |
+
cursor: pointer;
|
638 |
+
margin: 0 5px;
|
639 |
+
display: block;
|
640 |
+
}
|
641 |
+
.woolentor-template-edit-demo-image{
|
642 |
+
height: 230px;
|
643 |
+
overflow:hidden;
|
644 |
+
}
|
645 |
+
.woolentor-template-edit-demo-image img {
|
646 |
+
height: 230px;
|
647 |
+
-o-object-fit: cover;
|
648 |
+
object-fit: cover;
|
649 |
+
-o-object-position: top;
|
650 |
+
object-position: top;
|
651 |
+
width: 100%;
|
652 |
+
vertical-align: middle;
|
653 |
+
border-radius: 10px;
|
654 |
+
}
|
655 |
+
.woolentor-template-edit-demo-name {
|
656 |
+
position: absolute;
|
657 |
+
top: 10px;
|
658 |
+
left: 10px;
|
659 |
+
border-radius: 3px;
|
660 |
+
background: #2d84fb;
|
661 |
+
z-index: 3;
|
662 |
+
color: #fff;
|
663 |
+
font-size: 11px;
|
664 |
+
padding: 2px 10px;
|
665 |
+
line-height: 14px;
|
666 |
+
}
|
667 |
+
span.woolentor-template-edit-demo-name.tmp-pro {
|
668 |
+
left: auto;
|
669 |
+
right: 10px;
|
670 |
+
}
|
671 |
+
.woolentor-template-edit-demo-eye {
|
672 |
+
position: absolute;
|
673 |
+
top: 50%;
|
674 |
+
text-align: center;
|
675 |
+
left: 50%;
|
676 |
+
-webkit-transform: translate(-50%, -50%);
|
677 |
+
-ms-transform: translate(-50%, -50%);
|
678 |
+
transform: translate(-50%, -50%);
|
679 |
+
background: #fff;
|
680 |
+
height: 40px;
|
681 |
+
width: 40px;
|
682 |
+
border: 1px solid #ddd;
|
683 |
+
line-height: 40px;
|
684 |
+
border-radius: 50%;
|
685 |
+
color: #222;
|
686 |
+
text-decoration: none;
|
687 |
+
}
|
688 |
+
.woolentor-template-edit-demo-eye span.dashicons{
|
689 |
+
line-height: inherit;
|
690 |
+
}
|
691 |
+
.woolentor-template-edit-demo-eye:hover{
|
692 |
+
background:#2d84fb;
|
693 |
+
color: #fff;
|
694 |
+
border-color: #2d84fb;
|
695 |
+
}
|
696 |
+
.woolentor-template-edit-demo-design-show-wrap button.slick-arrow{
|
697 |
+
position: absolute;
|
698 |
+
top: 50%;
|
699 |
+
transform: translateY(-50%);
|
700 |
+
left: -5px;
|
701 |
+
right: auto;
|
702 |
+
z-index: 2;
|
703 |
+
cursor: pointer;
|
704 |
+
height: 30px;
|
705 |
+
width: 30px;
|
706 |
+
border: none;
|
707 |
+
border-radius: 3px;
|
708 |
+
color: #333;
|
709 |
+
border: 1px solid #d3dbe7;
|
710 |
+
background-color: #fff;
|
711 |
+
line-height: 30px;
|
712 |
+
text-align: center;
|
713 |
+
visibility: hidden;
|
714 |
+
opacity: 0;
|
715 |
+
transition: all 0.3s ease-in-out;
|
716 |
+
padding: 0;
|
717 |
+
}
|
718 |
+
.woolentor-template-edit-demo-design-show-wrap button.slick-arrow i {
|
719 |
+
line-height: inherit;
|
720 |
+
width: unset;
|
721 |
+
height: unset;
|
722 |
+
font-size: 16px;
|
723 |
+
}
|
724 |
+
|
725 |
+
.woolentor-template-edit-demo-design-show-wrap .woolentor-template-edit-demo-next {
|
726 |
+
left: auto;
|
727 |
+
right: -5px;
|
728 |
+
}
|
729 |
+
.woolentor-template-edit-demo-design-show-wrap button.slick-arrow:hover {
|
730 |
+
background-color: #2d84fb;
|
731 |
+
border: 1px solid #2d84fb;
|
732 |
+
color: #fff;
|
733 |
+
}
|
734 |
+
.woolentor-template-edit-demo-design-show:hover button.slick-arrow {
|
735 |
+
visibility: visible;
|
736 |
+
opacity: 1;
|
737 |
+
left: -10px;
|
738 |
+
}
|
739 |
+
.woolentor-template-edit-demo-design-show:hover button.slick-arrow.woolentor-template-edit-demo-next {
|
740 |
+
right: -10px;
|
741 |
+
left: auto;
|
742 |
+
}
|
743 |
+
|
744 |
+
.woolentor-template-edit-demo-plan.slick-slide{
|
745 |
+
max-width: 100%;
|
746 |
+
}
|
747 |
+
label.woolentor-template-edit-demo-plan.woolentor-tmp-pro.slick-slide .woolentor-template-edit-demo-content {
|
748 |
+
position: relative;
|
749 |
+
}
|
750 |
+
label.woolentor-template-edit-demo-plan.woolentor-tmp-pro.slick-slide .woolentor-template-edit-demo-content:before {
|
751 |
+
content: "";
|
752 |
+
position: absolute;
|
753 |
+
top: 0;
|
754 |
+
left: 0;
|
755 |
+
width: 100%;
|
756 |
+
height: 100%;
|
757 |
+
background: rgba(0, 0, 0, 0.2);
|
758 |
+
border-radius: 10px;
|
759 |
+
}
|
760 |
+
.woolentor-template-edit-demo-design-slider:not(.demo-show){
|
761 |
+
display: none !important;
|
762 |
+
}
|
763 |
+
|
764 |
+
.woolentor-template-edit-footer {
|
765 |
+
padding: 15px 50px;
|
766 |
+
}
|
767 |
+
@media only screen and (max-width: 767px) {
|
768 |
+
.woolentor-template-edit-footer {
|
769 |
+
padding: 15px 30px;
|
770 |
+
}
|
771 |
+
}
|
772 |
+
.woolentor-template-button-group {
|
773 |
+
display: -webkit-box;
|
774 |
+
display: -webkit-flex;
|
775 |
+
display: -ms-flexbox;
|
776 |
+
display: flex;
|
777 |
+
-webkit-flex-wrap: wrap;
|
778 |
+
-ms-flex-wrap: wrap;
|
779 |
+
flex-wrap: wrap;
|
780 |
+
-webkit-box-pack: center;
|
781 |
+
-webkit-justify-content: center;
|
782 |
+
-ms-flex-pack: center;
|
783 |
+
justify-content: center;
|
784 |
+
margin-left: -5px;
|
785 |
+
margin-right: -5px;
|
786 |
+
}
|
787 |
+
.woolentor-template-button-item {
|
788 |
+
-webkit-box-flex: 1;
|
789 |
+
-webkit-flex-grow: 1;
|
790 |
+
-ms-flex-positive: 1;
|
791 |
+
flex-grow: 1;
|
792 |
+
-webkit-flex-basis: 0;
|
793 |
+
-ms-flex-preferred-size: 0;
|
794 |
+
flex-basis: 0;
|
795 |
+
margin: 0 5px;
|
796 |
+
margin-bottom: 20px;
|
797 |
+
}
|
798 |
+
.woolentor-template-button-item button {
|
799 |
+
height: 48px;
|
800 |
+
padding: 0 10px;
|
801 |
+
font-size: 14px;
|
802 |
+
font-weight: 500;
|
803 |
+
border: none;
|
804 |
+
border-radius: 5px;
|
805 |
+
text-align: center;
|
806 |
+
display: block;
|
807 |
+
width: 100%;
|
808 |
+
cursor: pointer;
|
809 |
+
color: #fff;
|
810 |
+
border-radius: 8px !important;
|
811 |
+
border: none !important;
|
812 |
+
transition: 0.4s;
|
813 |
+
}
|
814 |
+
.woolentor-template-button-item button.woolentor-tmp-elementor {
|
815 |
+
background-color: #ff5c58;
|
816 |
+
}
|
817 |
+
.woolentor-template-button-item button.woolentor-tmp-elementor:hover{
|
818 |
+
background-color: #c12c2a;
|
819 |
+
}
|
820 |
+
.woolentor-template-button-item button.woolentor-tmp-gutenberg {
|
821 |
+
background-color: #2d84fb;
|
822 |
+
}
|
823 |
+
.woolentor-template-button-item button.woolentor-tmp-gutenberg:hover {
|
824 |
+
background-color: #146ce5;
|
825 |
+
}
|
826 |
+
.woolentor-template-button-item button.woolentor-tmp-save {
|
827 |
+
background-color: #25b865 !important;
|
828 |
+
box-shadow: none !important;
|
829 |
+
}
|
830 |
+
.woolentor-template-button-item button.woolentor-tmp-save:not(.disabled):hover{
|
831 |
+
background-color: #19934e !important;
|
832 |
+
}
|
833 |
+
|
834 |
+
/* Loader */
|
835 |
+
.woolentor-template-loading{
|
836 |
+
position: relative;
|
837 |
+
}
|
838 |
+
.woolentor-template-loading::after {
|
839 |
+
position: absolute;
|
840 |
+
content: "";
|
841 |
+
width: 100%;
|
842 |
+
height: 95%;
|
843 |
+
top: 0;
|
844 |
+
left: 0;
|
845 |
+
background: rgba(0, 0, 0, 0.01);
|
846 |
+
}
|
847 |
+
.woolentor-template-loading::before {
|
848 |
+
position: absolute;
|
849 |
+
content: "";
|
850 |
+
border: 10px solid #f3f3f3;
|
851 |
+
border-top: 10px solid #3498db;
|
852 |
+
border-radius: 50%;
|
853 |
+
width: 50px;
|
854 |
+
height: 50px;
|
855 |
+
animation: woolentorloaderspin 2s linear infinite;
|
856 |
+
top: 50%;
|
857 |
+
margin: 0 auto;
|
858 |
+
left: 50%;
|
859 |
+
margin-top: -25px;
|
860 |
+
margin-left: -25px;
|
861 |
+
}
|
862 |
+
@keyframes woolentorloaderspin {
|
863 |
+
0% { transform: rotate(0deg); }
|
864 |
+
100% { transform: rotate(360deg); }
|
865 |
+
}
|
includes/admin/assets/css/woolentor-admin.css
CHANGED
@@ -170,12 +170,13 @@
|
|
170 |
position: absolute;
|
171 |
top: 0;
|
172 |
left: 0;
|
173 |
-
visibility: hidden;
|
174 |
overflow: hidden;
|
175 |
-
width:
|
176 |
-
height:
|
177 |
-
opacity: 0;
|
178 |
-
|
|
|
|
|
179 |
.woolentor-admin-switch input:checked + label {
|
180 |
background-color: #007EFF;
|
181 |
}
|
@@ -233,8 +234,19 @@
|
|
233 |
background: #FFFFFF;
|
234 |
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
|
235 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
236 |
|
237 |
-
/*
|
238 |
.woolentor-admin-number {
|
239 |
position: relative;
|
240 |
display: flex;
|
@@ -342,11 +354,11 @@
|
|
342 |
.woolentor-admin-radio input[type=radio] {
|
343 |
position: absolute;
|
344 |
left: 0;
|
345 |
-
|
346 |
-
|
347 |
-
height: 0;
|
348 |
margin: 0;
|
349 |
opacity: 0;
|
|
|
350 |
}
|
351 |
.woolentor-admin-radio input[type=radio]:checked + label::after {
|
352 |
transform: scale(0.444);
|
@@ -385,6 +397,18 @@
|
|
385 |
width: 100%;
|
386 |
}
|
387 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
388 |
/* Dimensions Field */
|
389 |
.woolentor_dimensions li {
|
390 |
float: left;
|
@@ -1761,7 +1785,7 @@
|
|
1761 |
width: 100%;
|
1762 |
}
|
1763 |
.woolentor-module-setting-popup-content .woolentor-admin-option{
|
1764 |
-
padding: 20px 0;
|
1765 |
}
|
1766 |
.woolentor-module-setting-popup-content .woolentor-admin-option:not(.woolentor-action-field-left){
|
1767 |
display: block;
|
@@ -1769,6 +1793,9 @@
|
|
1769 |
.woolentor-module-setting-popup-content .woolentor-admin-option-title{
|
1770 |
margin-top: 0;
|
1771 |
}
|
|
|
|
|
|
|
1772 |
.woolentor-module-setting-popup-content .woolentor-admin-option-content,.woolentor-module-setting-popup-content .woolentor-admin-option-action{
|
1773 |
text-align: left;
|
1774 |
}
|
170 |
position: absolute;
|
171 |
top: 0;
|
172 |
left: 0;
|
|
|
173 |
overflow: hidden;
|
174 |
+
width: 100%;
|
175 |
+
height: 100%;
|
176 |
+
opacity: 0 !important;
|
177 |
+
margin: 0;
|
178 |
+
z-index: 99;
|
179 |
+
}
|
180 |
.woolentor-admin-switch input:checked + label {
|
181 |
background-color: #007EFF;
|
182 |
}
|
234 |
background: #FFFFFF;
|
235 |
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
|
236 |
}
|
237 |
+
|
238 |
+
/* For Module */
|
239 |
+
.woolentor-module-field .woolentor-admin-switch-block-setting {
|
240 |
+
color: #222;
|
241 |
+
}
|
242 |
+
.woolentor-module-field.woolentor-module-enable .woolentor-admin-switch-block-setting{
|
243 |
+
color:#007EFF;
|
244 |
+
}
|
245 |
+
.woolentor-module-field .woolentor-admin-switch-block-setting i{
|
246 |
+
font-size: 16px;
|
247 |
+
}
|
248 |
|
249 |
+
/* For Number */
|
250 |
.woolentor-admin-number {
|
251 |
position: relative;
|
252 |
display: flex;
|
354 |
.woolentor-admin-radio input[type=radio] {
|
355 |
position: absolute;
|
356 |
left: 0;
|
357 |
+
width: 100%;
|
358 |
+
height: 100%;
|
|
|
359 |
margin: 0;
|
360 |
opacity: 0;
|
361 |
+
z-index: 99;
|
362 |
}
|
363 |
.woolentor-admin-radio input[type=radio]:checked + label::after {
|
364 |
transform: scale(0.444);
|
397 |
width: 100%;
|
398 |
}
|
399 |
|
400 |
+
/* Form Media Uploader */
|
401 |
+
.woolentor_display {
|
402 |
+
max-width: 150px;
|
403 |
+
}
|
404 |
+
.woolentor_display img {
|
405 |
+
width: 100%;
|
406 |
+
margin-bottom: 5px;
|
407 |
+
}
|
408 |
+
.woolentor-remove{
|
409 |
+
margin-left: 10px !important;
|
410 |
+
}
|
411 |
+
|
412 |
/* Dimensions Field */
|
413 |
.woolentor_dimensions li {
|
414 |
float: left;
|
1785 |
width: 100%;
|
1786 |
}
|
1787 |
.woolentor-module-setting-popup-content .woolentor-admin-option{
|
1788 |
+
padding: 20px 5px 20px 0;
|
1789 |
}
|
1790 |
.woolentor-module-setting-popup-content .woolentor-admin-option:not(.woolentor-action-field-left){
|
1791 |
display: block;
|
1793 |
.woolentor-module-setting-popup-content .woolentor-admin-option-title{
|
1794 |
margin-top: 0;
|
1795 |
}
|
1796 |
+
.woolentor-module-setting-popup-content .woolentor-admin-option-heading-title{
|
1797 |
+
text-align: left;
|
1798 |
+
}
|
1799 |
.woolentor-module-setting-popup-content .woolentor-admin-option-content,.woolentor-module-setting-popup-content .woolentor-admin-option-action{
|
1800 |
text-align: left;
|
1801 |
}
|
includes/admin/assets/js/template_edit_manager.js
ADDED
@@ -0,0 +1,395 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
;(function($){
|
2 |
+
"use strict";
|
3 |
+
|
4 |
+
var woolentorTemplateAdmin = {
|
5 |
+
|
6 |
+
instance: [],
|
7 |
+
templateId: 0,
|
8 |
+
|
9 |
+
init: function() {
|
10 |
+
this.renderPopup();
|
11 |
+
this.slickSlider();
|
12 |
+
|
13 |
+
$('#woolentor-template-type').on('change', function() {
|
14 |
+
woolentorTemplateAdmin.showSampleDemoTypeWise( this.value );
|
15 |
+
});
|
16 |
+
|
17 |
+
$( 'body.post-type-woolentor-template #wpcontent' )
|
18 |
+
.on( 'click.woolentorTemplateAdmin', '.page-title-action, .row-title, .row-actions [class*="edit"] a', this.openPopup );
|
19 |
+
|
20 |
+
$( document )
|
21 |
+
.on( 'click.woolentorTemplateAdmin', '.woolentor-body-overlay,.woolentor-template-edit-cross', this.closePopup )
|
22 |
+
.on( 'click.woolentorTemplateAdmin', ".woolentor-tmp-save:not('.disabled')", this.dataStore )
|
23 |
+
.on( 'click.woolentorTemplateAdmin', '.woolentor-tmp-gutenberg,.woolentor-tmp-elementor', this.redirectEditPage )
|
24 |
+
.on( 'click.woolentorTemplateAdmin', '.woolentor-template-edit-set-design', this.showSampleDemo )
|
25 |
+
.on( 'click.woolentorTemplateAdmin', '.woolentor-template-edit-body input,.woolentor-template-edit-body select', this.activeSaveButton )
|
26 |
+
.on( 'keyup.woolentorTemplateAdmin', '.woolentor-template-edit-body input', this.activeSaveButton )
|
27 |
+
.on( 'click.woolentorTemplateAdmin', '.woolentor-default-tmp-status-switch input', this.setDefaultTmpStatus )
|
28 |
+
.on( 'click.woolentorTemplateAdmin', '.woolentor-template-importer button', this.templateImporter );
|
29 |
+
},
|
30 |
+
|
31 |
+
// Render Popup HTML
|
32 |
+
renderPopup: function( event ){
|
33 |
+
var popupTmp = wp.template( 'woolentorctppopup' ),
|
34 |
+
content = null;
|
35 |
+
|
36 |
+
content = popupTmp( {
|
37 |
+
templatetype: WLTMCPT.templatetype,
|
38 |
+
heading: WLTMCPT.labels,
|
39 |
+
templatelist: WLTMCPT.templatelist,
|
40 |
+
} );
|
41 |
+
|
42 |
+
$( 'body' ).append( content );
|
43 |
+
|
44 |
+
},
|
45 |
+
|
46 |
+
// Slick Slider activation
|
47 |
+
slickSlider: function(){
|
48 |
+
$('.woolentor-template-edit-demo-design-slider').slick({
|
49 |
+
infinite: false,
|
50 |
+
slidesToShow: 3,
|
51 |
+
slidesToScroll: 3,
|
52 |
+
prevArrow: '<button type="button" class="woolentor-template-edit-demo-prev"> <i class="dashicons dashicons-arrow-left-alt2"></i> </button>',
|
53 |
+
nextArrow: '<button type="button" class="woolentor-template-edit-demo-next"><i class=" dashicons dashicons-arrow-right-alt2"></i></button>',
|
54 |
+
});
|
55 |
+
},
|
56 |
+
|
57 |
+
// Hide/Show Sample demo
|
58 |
+
showSampleDemo: function( event ){
|
59 |
+
$(".woolentor-template-edit-set-design").toggleClass("active");
|
60 |
+
$(".woolentor-template-edit-demo-design-show-wrap").slideToggle().find('.slick-slider').slick('refresh');
|
61 |
+
},
|
62 |
+
|
63 |
+
// Show Demo template
|
64 |
+
showSampleDemoTypeWise: function( tmpType ){
|
65 |
+
|
66 |
+
// Sample design showing button hide/show
|
67 |
+
if( $('.woolentor-template-edit-demo-design-show-wrap').find('.woolentor-template-edit-demo-design-slider.demo-'+tmpType).length == 0 ){
|
68 |
+
$('.woolentor-template-edit-set-design').hide();
|
69 |
+
}else{
|
70 |
+
$('.woolentor-template-edit-set-design').show();
|
71 |
+
}
|
72 |
+
|
73 |
+
$('.woolentor-template-edit-demo-design-slider').removeClass('demo-show');
|
74 |
+
$('.woolentor-template-edit-demo-design-slider.demo-'+tmpType).addClass('demo-show').slick('refresh');
|
75 |
+
|
76 |
+
},
|
77 |
+
|
78 |
+
// Active Save Button
|
79 |
+
activeSaveButton: function( event ){
|
80 |
+
$(".woolentor-tmp-save").removeClass("disabled");
|
81 |
+
$(".woolentor-tmp-save").removeAttr("disabled");
|
82 |
+
$(".woolentor-tmp-save").text(WLTMCPT.labels.buttons.save.label);
|
83 |
+
},
|
84 |
+
|
85 |
+
// Enable/Disable Editor Buttons
|
86 |
+
enableDisableEditorButton: function( enable = 'no' ){
|
87 |
+
if( enable === 'yes' ){
|
88 |
+
$('.woolentor-template-edit-popup').find('.woolentor-tmp-gutenberg').removeClass( 'button disabled' ).removeAttr('disabled');
|
89 |
+
$('.woolentor-template-edit-popup').find('.woolentor-tmp-elementor').removeClass( 'button disabled').removeAttr('disabled');
|
90 |
+
}else{
|
91 |
+
$('.woolentor-template-edit-popup').find('.woolentor-tmp-gutenberg').addClass( 'button disabled' ).attr('disabled','disabled');
|
92 |
+
$('.woolentor-template-edit-popup').find('.woolentor-tmp-elementor').addClass( 'button disabled').attr('disabled','disabled');
|
93 |
+
}
|
94 |
+
},
|
95 |
+
|
96 |
+
// Redirect Edit Page
|
97 |
+
redirectEditPage: function( event ){
|
98 |
+
event.preventDefault();
|
99 |
+
|
100 |
+
var $this = $( this ),
|
101 |
+
link = $this.data( 'link' ) ? $this.data( 'link' ) : '',
|
102 |
+
tmpId = $this.data('tmpid') ? $this.data('tmpid') : '';
|
103 |
+
|
104 |
+
if( tmpId != '' && !$('body.post-type-woolentor-template').hasClass('woolentor-tmp-new-add') ){ woolentorTemplateAdmin.dataStore( event ); }
|
105 |
+
|
106 |
+
window.location.replace( WLTMCPT.adminURL + link );
|
107 |
+
|
108 |
+
},
|
109 |
+
|
110 |
+
// Edit PopUp
|
111 |
+
openPopup: function( event ) {
|
112 |
+
event.preventDefault();
|
113 |
+
|
114 |
+
var rowId = $(this).closest('tr').attr('id'),
|
115 |
+
tmpId = null,
|
116 |
+
editLink = null,
|
117 |
+
elementorEditlink = null;
|
118 |
+
|
119 |
+
if ( rowId ) {
|
120 |
+
tmpId = rowId.replace( 'post-', '' );
|
121 |
+
editLink = 'post.php?post='+tmpId+'&action=edit';
|
122 |
+
elementorEditlink = 'post.php?post='+tmpId+'&action=elementor';
|
123 |
+
}
|
124 |
+
$('.woolentor-tmp-save').attr( 'data-tmpid', tmpId );
|
125 |
+
$('.woolentor-tmp-gutenberg').attr( { 'data-link': editLink, 'data-tmpid': tmpId } );
|
126 |
+
$('.woolentor-tmp-elementor').attr( { 'data-link': elementorEditlink, 'data-tmpid': tmpId } );
|
127 |
+
|
128 |
+
if( tmpId ){
|
129 |
+
$.ajax({
|
130 |
+
url: WLTMCPT.ajaxurl,
|
131 |
+
data: {
|
132 |
+
'action': 'woolentor_get_template',
|
133 |
+
'nonce' : WLTMCPT.nonce,
|
134 |
+
'tmpId' : tmpId,
|
135 |
+
},
|
136 |
+
type: 'POST',
|
137 |
+
|
138 |
+
beforeSend: function(){
|
139 |
+
$('.woolentor-template-edit-body').addClass('woolentor-template-loading');
|
140 |
+
},
|
141 |
+
|
142 |
+
success:function( response ) {
|
143 |
+
|
144 |
+
if( document.querySelector("#woolentor-template-type option[value='"+response.data.tmpType+"']") ){
|
145 |
+
document.querySelector("#woolentor-template-type option[value='"+response.data.tmpType+"']").selected = "true";
|
146 |
+
}
|
147 |
+
$("#woolentor-template-type").attr("disabled","true");
|
148 |
+
|
149 |
+
$('#woolentor-template-title').attr( 'value', response.data.tmpTitle );
|
150 |
+
if( tmpId == response.data.setDefault ){
|
151 |
+
$('#woolentor-template-default').prop('checked', true);
|
152 |
+
}else{
|
153 |
+
$('#woolentor-template-default').prop('checked', false);
|
154 |
+
}
|
155 |
+
|
156 |
+
// Enable edit button
|
157 |
+
woolentorTemplateAdmin.enableDisableEditorButton('yes');
|
158 |
+
|
159 |
+
// Show Demo Design
|
160 |
+
woolentorTemplateAdmin.showSampleDemoTypeWise( response.data.tmpType );
|
161 |
+
|
162 |
+
},
|
163 |
+
|
164 |
+
complete:function( response ){
|
165 |
+
$('.woolentor-template-edit-body').removeClass('woolentor-template-loading');
|
166 |
+
},
|
167 |
+
|
168 |
+
error: function( errorThrown ){
|
169 |
+
console.log( errorThrown );
|
170 |
+
}
|
171 |
+
|
172 |
+
});
|
173 |
+
|
174 |
+
// Remove class if template eidit mode
|
175 |
+
$('body.post-type-woolentor-template').removeClass('woolentor-tmp-new-add');
|
176 |
+
|
177 |
+
}else{
|
178 |
+
$('#woolentor-template-title').attr( 'value', '' );
|
179 |
+
$("#woolentor-template-type").removeAttr('disabled');
|
180 |
+
document.querySelector("#woolentor-template-type option[value='single']").selected = "true";
|
181 |
+
$('#woolentor-template-default').prop('checked', false);
|
182 |
+
|
183 |
+
// Disabled Button
|
184 |
+
woolentorTemplateAdmin.enableDisableEditorButton();
|
185 |
+
|
186 |
+
// Show Demo Design
|
187 |
+
woolentorTemplateAdmin.showSampleDemoTypeWise('single');
|
188 |
+
|
189 |
+
}
|
190 |
+
|
191 |
+
$('body.post-type-woolentor-template').addClass('open-editor');
|
192 |
+
|
193 |
+
},
|
194 |
+
|
195 |
+
// Close Popup
|
196 |
+
closePopup: function( event ) {
|
197 |
+
$('body.post-type-woolentor-template').removeClass('open-editor');
|
198 |
+
|
199 |
+
// Page refresh for new add
|
200 |
+
if( $('body.post-type-woolentor-template').hasClass('woolentor-tmp-new-add') ){
|
201 |
+
window.location.reload();
|
202 |
+
}
|
203 |
+
|
204 |
+
},
|
205 |
+
|
206 |
+
// Data Store
|
207 |
+
dataStore: function( event ) {
|
208 |
+
var $this = $( this ),
|
209 |
+
tmpId = event.target.dataset.tmpid ? event.target.dataset.tmpid : '',
|
210 |
+
title = $('#woolentor-template-title').val(),
|
211 |
+
setdefault = $('#woolentor-template-default').is(":checked") ? 'yes' : 'no',
|
212 |
+
tmpType = $('#woolentor-template-type').val(),
|
213 |
+
sampleDemoId = '',
|
214 |
+
sampleDemoBuilder = '';
|
215 |
+
|
216 |
+
if( $('.woolentor-template-edit-demo-plan input[name="woolentor-template-edit-demo-plan"]').is(":checked") ){
|
217 |
+
sampleDemoId = $('.woolentor-template-edit-demo-plan input[name="woolentor-template-edit-demo-plan"]:checked').val();
|
218 |
+
sampleDemoBuilder = $('.woolentor-template-edit-demo-plan input[name="woolentor-template-edit-demo-plan"]:checked').data('builder');
|
219 |
+
}
|
220 |
+
|
221 |
+
$.ajax({
|
222 |
+
url: WLTMCPT.ajaxurl,
|
223 |
+
data: {
|
224 |
+
'action': 'woolentor_template_store',
|
225 |
+
'nonce' : WLTMCPT.nonce,
|
226 |
+
'tmpId' : tmpId,
|
227 |
+
'title' : title,
|
228 |
+
'tmpType' : tmpType,
|
229 |
+
'setDefault' : setdefault,
|
230 |
+
'sampleTmpID' : sampleDemoId,
|
231 |
+
'sampleTmpBuilder' : sampleDemoBuilder,
|
232 |
+
},
|
233 |
+
type: 'POST',
|
234 |
+
|
235 |
+
beforeSend: function(){
|
236 |
+
$('body.post-type-woolentor-template').addClass('wlloading');
|
237 |
+
$this.text(WLTMCPT.labels.buttons.save.saving);
|
238 |
+
$this.addClass('updating-message');
|
239 |
+
},
|
240 |
+
|
241 |
+
success: function(data) {
|
242 |
+
if( tmpId == '' ){
|
243 |
+
|
244 |
+
if ( data.data.id ) {
|
245 |
+
var editLink = 'post.php?post='+data.data.id+'&action=edit',
|
246 |
+
elementorEditlink = 'post.php?post='+data.data.id+'&action=elementor';
|
247 |
+
}
|
248 |
+
$('.woolentor-tmp-save').attr( 'data-tmpid', data.data.id );
|
249 |
+
$('.woolentor-tmp-gutenberg').attr( { 'data-link': editLink, 'data-tmpid': data.data.id } );
|
250 |
+
$('.woolentor-tmp-elementor').attr( { 'data-link': elementorEditlink, 'data-tmpid': data.data.id } );
|
251 |
+
|
252 |
+
// Enable edit Button
|
253 |
+
woolentorTemplateAdmin.enableDisableEditorButton('yes');
|
254 |
+
|
255 |
+
// If insert new then add class to body
|
256 |
+
$('body.post-type-woolentor-template').addClass('woolentor-tmp-new-add');
|
257 |
+
|
258 |
+
}else{
|
259 |
+
$( '#post-'+tmpId ).find('.row-title').text( title );
|
260 |
+
$( '#post-'+tmpId ).find('.column-tmptype').text( WLTMCPT.templatetype[tmpType].label );
|
261 |
+
|
262 |
+
var $set_status = $( '#post-'+tmpId+' .woolentor-default-tmp-status-switch' ).find('.woolentor-status-'+tmpType);
|
263 |
+
|
264 |
+
if( setdefault == 'yes' ){
|
265 |
+
$('.type-woolentor-template:not(#post-'+tmpId+') .column-setdefault').find( '.woolentor-status-'+tmpType ).prop('checked',false);
|
266 |
+
$set_status.prop("checked", true);
|
267 |
+
}else{
|
268 |
+
$set_status.prop("checked", false);
|
269 |
+
}
|
270 |
+
|
271 |
+
}
|
272 |
+
},
|
273 |
+
|
274 |
+
complete: function(data){
|
275 |
+
$('body.post-type-woolentor-template').removeClass('wlloading');
|
276 |
+
$this.removeClass('updating-message');
|
277 |
+
$this.addClass('disabled');
|
278 |
+
$this.attr('disabled','disabled');
|
279 |
+
$this.text(WLTMCPT.labels.buttons.save.saved);
|
280 |
+
},
|
281 |
+
|
282 |
+
error: function( errorThrown ){
|
283 |
+
console.log( errorThrown );
|
284 |
+
}
|
285 |
+
|
286 |
+
});
|
287 |
+
|
288 |
+
},
|
289 |
+
|
290 |
+
// Set Default Template From Switcher
|
291 |
+
setDefaultTmpStatus: function( event ){
|
292 |
+
|
293 |
+
var $this = $(this),
|
294 |
+
tmpId = $this.is(":checked") ? $this.val(): '0',
|
295 |
+
checkboxClass = $this.attr('class'),
|
296 |
+
tmpType = checkboxClass.replace( 'woolentor-status-', '' );
|
297 |
+
|
298 |
+
$.ajax({
|
299 |
+
url: WLTMCPT.ajaxurl,
|
300 |
+
type: 'POST',
|
301 |
+
data: {
|
302 |
+
'action' : 'woolentor_manage_default_template',
|
303 |
+
'nonce' : WLTMCPT.nonce,
|
304 |
+
'tmpId' : tmpId,
|
305 |
+
'tmpType' : tmpType,
|
306 |
+
},
|
307 |
+
|
308 |
+
beforeSend: function(){
|
309 |
+
$this.closest('label').addClass('woolentor-loading');
|
310 |
+
},
|
311 |
+
|
312 |
+
success:function( response ) {
|
313 |
+
var $set_status = $( '#post-'+tmpId+' .woolentor-default-tmp-status-switch' ).find('.woolentor-status-'+tmpType);
|
314 |
+
if( response.data.id != '0' ){
|
315 |
+
$('.type-woolentor-template:not(#post-'+tmpId+') .column-setdefault').find( '.woolentor-status-'+tmpType ).prop('checked',false);
|
316 |
+
$set_status.prop("checked", true);
|
317 |
+
}else{
|
318 |
+
$set_status.prop("checked", false);
|
319 |
+
}
|
320 |
+
},
|
321 |
+
|
322 |
+
complete:function( response ){
|
323 |
+
$this.closest('label').removeClass('woolentor-loading');
|
324 |
+
},
|
325 |
+
|
326 |
+
error: function( errorThrown ){
|
327 |
+
console.log( errorThrown );
|
328 |
+
}
|
329 |
+
|
330 |
+
});
|
331 |
+
|
332 |
+
},
|
333 |
+
|
334 |
+
// Template Importer
|
335 |
+
templateImporter : function( event ){
|
336 |
+
event.preventDefault();
|
337 |
+
|
338 |
+
var $importBtn = $(this),
|
339 |
+
$button_text = $importBtn.find('.woolentor-template-importer-btn-text');
|
340 |
+
|
341 |
+
Swal.fire({
|
342 |
+
title: WLTMCPT.labels.importer.message.title,
|
343 |
+
text: WLTMCPT.labels.importer.message.message,
|
344 |
+
icon: 'warning',
|
345 |
+
showCancelButton: true,
|
346 |
+
confirmButtonColor: '#3085d6',
|
347 |
+
cancelButtonColor: '#d33',
|
348 |
+
confirmButtonText: WLTMCPT.labels.importer.message.yesbtn,
|
349 |
+
cancelButtonText: WLTMCPT.labels.importer.message.cancelbtn,
|
350 |
+
}).then((result) => {
|
351 |
+
if ( result.isConfirmed ) {
|
352 |
+
|
353 |
+
$.ajax( {
|
354 |
+
url: WLTMCPT.ajaxurl,
|
355 |
+
type: 'POST',
|
356 |
+
data: {
|
357 |
+
nonce : WLTMCPT.nonce,
|
358 |
+
action : 'woolentor_import_template',
|
359 |
+
},
|
360 |
+
|
361 |
+
beforeSend: function(){
|
362 |
+
$importBtn.removeClass('update-comlete').addClass('updating-message');
|
363 |
+
$button_text.text( WLTMCPT.labels.importer.button.importing );
|
364 |
+
},
|
365 |
+
|
366 |
+
success: function( response ) {
|
367 |
+
$importBtn.removeClass('updating-message').addClass('update-comlete');
|
368 |
+
$button_text.text( WLTMCPT.labels.importer.button.imported );
|
369 |
+
},
|
370 |
+
|
371 |
+
complete: function( response ) {
|
372 |
+
$importBtn.removeClass('updating-message').addClass('update-comlete');
|
373 |
+
$button_text.text( WLTMCPT.labels.importer.button.imported );
|
374 |
+
window.location.reload();
|
375 |
+
},
|
376 |
+
|
377 |
+
error: function(errorThrown){
|
378 |
+
console.log(errorThrown);
|
379 |
+
}
|
380 |
+
|
381 |
+
});
|
382 |
+
|
383 |
+
|
384 |
+
}
|
385 |
+
})
|
386 |
+
|
387 |
+
}
|
388 |
+
|
389 |
+
|
390 |
+
};
|
391 |
+
|
392 |
+
woolentorTemplateAdmin.init();
|
393 |
+
|
394 |
+
|
395 |
+
})(jQuery);
|
includes/admin/assets/js/woolentor-admin.js
CHANGED
@@ -37,7 +37,8 @@
|
|
37 |
})
|
38 |
$($wlActiveTab).addClass('wlactive').show().siblings().removeClass('wlactive').hide()
|
39 |
} else {
|
40 |
-
|
|
|
41 |
$target = $firstTab.hash
|
42 |
$firstTab.classList.add('wlactive')
|
43 |
$($target).addClass('wlactive').show().siblings().removeClass('wlactive').hide()
|
@@ -120,7 +121,7 @@
|
|
120 |
/**
|
121 |
* Admin Module additional setting button
|
122 |
*/
|
123 |
-
$('.woolentor-admin-switch
|
124 |
var actionBtn = $(this).closest('.woolentor-admin-switch-block-actions').find('.woolentor-admin-switch-block-setting');
|
125 |
if( actionBtn.hasClass('woolentor-visibility-none') ){
|
126 |
actionBtn.removeClass('woolentor-visibility-none');
|
@@ -170,6 +171,10 @@
|
|
170 |
$(this).closest('.woolentor-admin-main-tab-pane').find('.woolentor-admin-btn-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
171 |
});
|
172 |
|
|
|
|
|
|
|
|
|
173 |
$('.woolentor-admin-header-actions .woolentor-admin-btn').on('click', function(){
|
174 |
$(this).closest('.woolentor-admin-main-tab-pane').find('.woolentor-admin-btn-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
175 |
});
|
@@ -264,6 +269,40 @@
|
|
264 |
$(this).closest('.woolentor-module-setting-popup-content').find('.woolentor-admin-module-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
265 |
});
|
266 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
// Module additional setting save
|
268 |
$('.woolentor-admin-module-save').on('click',function(event){
|
269 |
event.preventDefault();
|
@@ -305,6 +344,10 @@
|
|
305 |
$(this).closest('.woolentor-module-setting-popup-content').find('.woolentor-admin-module-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
306 |
});
|
307 |
|
|
|
|
|
|
|
|
|
308 |
$('.woolentor-module-setting-popup-content .woolentor-module-setting-data').on('change', 'select', function() {
|
309 |
$(this).closest('.woolentor-module-setting-popup-content').find('.woolentor-admin-module-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
310 |
});
|
@@ -316,25 +359,27 @@
|
|
316 |
$popup.removeClass('open')
|
317 |
});
|
318 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
319 |
}
|
320 |
|
321 |
// Extension Tabs
|
322 |
woolentor_admin_tabs( $(".woolentor-admin-tabs"), '.woolentor-admin-tab-pane' );
|
323 |
|
324 |
// Check Save data wise
|
325 |
-
WooLentorConditionField( WOOLENTOR_ADMIN.option_data['contenttype'], 'fakes', '.notification_fake' );
|
326 |
-
WooLentorConditionField( WOOLENTOR_ADMIN.option_data['contenttype'], 'actual', '.notification_real' );
|
327 |
-
WooLentorConditionField( WOOLENTOR_ADMIN.option_data['side_mini_cart'], 'on', '.side_mini_cart_field' );
|
328 |
WooLentorConditionField( WOOLENTOR_ADMIN.option_data['enablecustomlayout'], 'on', '.depend_enable_custom_layout' );
|
329 |
-
WooLentorConditionField( WOOLENTOR_ADMIN.option_data['enablerenamelabel'], 'on', '.depend_enable_rename_label' );
|
330 |
|
331 |
// After On change
|
332 |
-
WooLentorOnChangeField('.notification_content_type .radio', 'radio', '.notification_fake', 'fakes' );
|
333 |
-
WooLentorOnChangeField('.notification_content_type .radio', 'radio', '.notification_real', 'actual' );
|
334 |
-
WooLentorOnChangeField('.side_mini_cart .checkbox', 'radio', '.side_mini_cart_field', 'on' );
|
335 |
WooLentorOnChangeField('.enablecustomlayout .checkbox', 'radio', '.depend_enable_custom_layout', 'on' );
|
336 |
-
WooLentorOnChangeField('.enablerenamelabel .checkbox', 'radio', '.depend_enable_rename_label', 'on' );
|
337 |
|
|
|
|
|
338 |
function WooLentorOnChangeField( field, type = 'select', selector, condition_value ){
|
339 |
$(field).on('change',function(){
|
340 |
var change_value = '';
|
37 |
})
|
38 |
$($wlActiveTab).addClass('wlactive').show().siblings().removeClass('wlactive').hide()
|
39 |
} else {
|
40 |
+
var $defaultIndex = $('.woolentor-admin-main-nav-btn').length-1;
|
41 |
+
const $firstTab = $('.woolentor-admin-main-nav-btn')[$defaultIndex],
|
42 |
$target = $firstTab.hash
|
43 |
$firstTab.classList.add('wlactive')
|
44 |
$($target).addClass('wlactive').show().siblings().removeClass('wlactive').hide()
|
121 |
/**
|
122 |
* Admin Module additional setting button
|
123 |
*/
|
124 |
+
$('.woolentor-admin-switch .checkbox').on('click',function(e){
|
125 |
var actionBtn = $(this).closest('.woolentor-admin-switch-block-actions').find('.woolentor-admin-switch-block-setting');
|
126 |
if( actionBtn.hasClass('woolentor-visibility-none') ){
|
127 |
actionBtn.removeClass('woolentor-visibility-none');
|
171 |
$(this).closest('.woolentor-admin-main-tab-pane').find('.woolentor-admin-btn-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
172 |
});
|
173 |
|
174 |
+
$('.woolentor-admin-main-tab-pane .woolentor-dashboard').on( 'keyup', 'input' , function() {
|
175 |
+
$(this).closest('.woolentor-admin-main-tab-pane').find('.woolentor-admin-btn-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
176 |
+
});
|
177 |
+
|
178 |
$('.woolentor-admin-header-actions .woolentor-admin-btn').on('click', function(){
|
179 |
$(this).closest('.woolentor-admin-main-tab-pane').find('.woolentor-admin-btn-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
180 |
});
|
269 |
$(this).closest('.woolentor-module-setting-popup-content').find('.woolentor-admin-module-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
270 |
});
|
271 |
|
272 |
+
// Media Uploader
|
273 |
+
$('.woolentor-browse').on('click', function (event) {
|
274 |
+
event.preventDefault();
|
275 |
+
|
276 |
+
var self = $(this);
|
277 |
+
|
278 |
+
// Create the media frame.
|
279 |
+
var file_frame = wp.media.frames.file_frame = wp.media({
|
280 |
+
title: self.data('uploader_title'),
|
281 |
+
button: {
|
282 |
+
text: self.data('uploader_button_text'),
|
283 |
+
},
|
284 |
+
multiple: false
|
285 |
+
});
|
286 |
+
|
287 |
+
file_frame.on('select', function () {
|
288 |
+
var attachment = file_frame.state().get('selection').first().toJSON();
|
289 |
+
self.prev('.woolentor-url').val(attachment.url).change();
|
290 |
+
self.siblings('.woolentor_display').html('<img src="'+attachment.url+'" alt="'+attachment.title+'" />');
|
291 |
+
});
|
292 |
+
|
293 |
+
// Finally, open the modal
|
294 |
+
file_frame.open();
|
295 |
+
|
296 |
+
});
|
297 |
+
|
298 |
+
// Remove Media Button
|
299 |
+
$('.woolentor-remove').on('click', function (event) {
|
300 |
+
event.preventDefault();
|
301 |
+
var self = $(this);
|
302 |
+
self.siblings('.woolentor-url').val('').change();
|
303 |
+
self.siblings('.woolentor_display').html('');
|
304 |
+
});
|
305 |
+
|
306 |
// Module additional setting save
|
307 |
$('.woolentor-admin-module-save').on('click',function(event){
|
308 |
event.preventDefault();
|
344 |
$(this).closest('.woolentor-module-setting-popup-content').find('.woolentor-admin-module-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
345 |
});
|
346 |
|
347 |
+
$('.woolentor-module-setting-popup-content .woolentor-module-setting-data').on( 'keyup', 'input' , function() {
|
348 |
+
$(this).closest('.woolentor-module-setting-popup-content').find('.woolentor-admin-module-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
349 |
+
});
|
350 |
+
|
351 |
$('.woolentor-module-setting-popup-content .woolentor-module-setting-data').on('change', 'select', function() {
|
352 |
$(this).closest('.woolentor-module-setting-popup-content').find('.woolentor-admin-module-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
353 |
});
|
359 |
$popup.removeClass('open')
|
360 |
});
|
361 |
|
362 |
+
// Check Save data wise
|
363 |
+
WooLentorConditionField( WOOLENTOR_ADMIN.option_data['contenttype'], 'fakes', '.notification_fake' );
|
364 |
+
WooLentorConditionField( WOOLENTOR_ADMIN.option_data['contenttype'], 'actual', '.notification_real' );
|
365 |
+
|
366 |
+
// After On change
|
367 |
+
WooLentorOnChangeField('.woolentor-module-setting-popup-content .radio', 'radio', '.notification_fake', 'fakes' );
|
368 |
+
WooLentorOnChangeField('.woolentor-module-setting-popup-content .radio', 'radio', '.notification_real', 'actual' );
|
369 |
+
|
370 |
}
|
371 |
|
372 |
// Extension Tabs
|
373 |
woolentor_admin_tabs( $(".woolentor-admin-tabs"), '.woolentor-admin-tab-pane' );
|
374 |
|
375 |
// Check Save data wise
|
|
|
|
|
|
|
376 |
WooLentorConditionField( WOOLENTOR_ADMIN.option_data['enablecustomlayout'], 'on', '.depend_enable_custom_layout' );
|
|
|
377 |
|
378 |
// After On change
|
|
|
|
|
|
|
379 |
WooLentorOnChangeField('.enablecustomlayout .checkbox', 'radio', '.depend_enable_custom_layout', 'on' );
|
|
|
380 |
|
381 |
+
|
382 |
+
// Manage Conditional Fields
|
383 |
function WooLentorOnChangeField( field, type = 'select', selector, condition_value ){
|
384 |
$(field).on('change',function(){
|
385 |
var change_value = '';
|
includes/admin/assets/lib/css/sweetalert2.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4!important;grid-row:1/4!important;grid-template-columns:1fr 99fr 1fr;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto);grid-template-rows:minmax(min-content,auto) minmax(min-content,auto) minmax(min-content,auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-bottom-start,.swal2-container.swal2-center-start,.swal2-container.swal2-top-start{grid-template-columns:minmax(0,1fr) auto auto}.swal2-container.swal2-bottom,.swal2-container.swal2-center,.swal2-container.swal2-top{grid-template-columns:auto minmax(0,1fr) auto}.swal2-container.swal2-bottom-end,.swal2-container.swal2-center-end,.swal2-container.swal2-top-end{grid-template-columns:auto auto minmax(0,1fr)}.swal2-container.swal2-top-start>.swal2-popup{align-self:start}.swal2-container.swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end>.swal2-popup,.swal2-container.swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-left>.swal2-popup,.swal2-container.swal2-center-start>.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end>.swal2-popup,.swal2-container.swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-left>.swal2-popup,.swal2-container.swal2-bottom-start>.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end>.swal2-popup,.swal2-container.swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-fullscreen>.swal2-popup,.swal2-container.swal2-grow-row>.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none!important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0,100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 transparent #2778c4 transparent}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px transparent;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7367f0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(115,103,240,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#ea5455;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(234,84,85,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7d88;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,125,136,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:0}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto!important;height:.25em;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:0 0;color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close:focus{outline:0;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em 2em 0}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px transparent;color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 0;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:.25em solid transparent;border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{background-color:transparent!important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:transparent;pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}
|
includes/admin/assets/lib/js/sweetalert2.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Sweetalert2=t()}(this,function(){"use strict";const l=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),t="SweetAlert2:",o=e=>e.charAt(0).toUpperCase()+e.slice(1),a=e=>Array.prototype.slice.call(e),s=e=>{console.warn("".concat(t," ").concat("object"==typeof e?e.join(" "):e))},r=e=>{console.error("".concat(t," ").concat(e))},n=[],i=(e,t)=>{t='"'.concat(e,'" is deprecated and will be removed in the next major release. Please use "').concat(t,'" instead.'),n.includes(t)||(n.push(t),s(t))},c=e=>"function"==typeof e?e():e,u=e=>e&&"function"==typeof e.toPromise,d=e=>u(e)?e.toPromise():Promise.resolve(e),p=e=>e&&Promise.resolve(e)===e,m=e=>e instanceof Element||(e=>"object"==typeof e&&e.jquery)(e);var e=e=>{const t={};for(const n in e)t[e[n]]="swal2-"+e[n];return t};const h=e(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),g=e(["success","warning","info","question","error"]),b=()=>document.body.querySelector(".".concat(h.container)),f=e=>{const t=b();return t?t.querySelector(e):null},y=e=>f(".".concat(e)),v=()=>y(h.popup),w=()=>y(h.icon),C=()=>y(h.title),k=()=>y(h["html-container"]),A=()=>y(h.image),B=()=>y(h["progress-steps"]),x=()=>y(h["validation-message"]),P=()=>f(".".concat(h.actions," .").concat(h.confirm)),E=()=>f(".".concat(h.actions," .").concat(h.deny));const S=()=>f(".".concat(h.loader)),T=()=>f(".".concat(h.actions," .").concat(h.cancel)),L=()=>y(h.actions),O=()=>y(h.footer),j=()=>y(h["timer-progress-bar"]),D=()=>y(h.close),I=()=>{const e=a(v().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((e,t)=>(e=parseInt(e.getAttribute("tabindex")),(t=parseInt(t.getAttribute("tabindex")))<e?1:e<t?-1:0));var t=a(v().querySelectorAll('\n a[href],\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n [tabindex="0"],\n [contenteditable],\n audio[controls],\n video[controls],\n summary\n')).filter(e=>"-1"!==e.getAttribute("tabindex"));return(t=>{const n=[];for(let e=0;e<t.length;e++)-1===n.indexOf(t[e])&&n.push(t[e]);return n})(e.concat(t)).filter(e=>G(e))},M=()=>!H()&&!document.body.classList.contains(h["no-backdrop"]),H=()=>document.body.classList.contains(h["toast-shown"]);const q={previousBodyPadding:null},V=(t,e)=>{if(t.textContent="",e){const n=new DOMParser,o=n.parseFromString(e,"text/html");a(o.querySelector("head").childNodes).forEach(e=>{t.appendChild(e)}),a(o.querySelector("body").childNodes).forEach(e=>{t.appendChild(e)})}},N=(t,e)=>{if(!e)return!1;var n=e.split(/\s+/);for(let e=0;e<n.length;e++)if(!t.classList.contains(n[e]))return!1;return!0},U=(e,t,n)=>{var o,i;if(o=e,i=t,a(o.classList).forEach(e=>{Object.values(h).includes(e)||Object.values(g).includes(e)||Object.values(i.showClass).includes(e)||o.classList.remove(e)}),t.customClass&&t.customClass[n]){if("string"!=typeof t.customClass[n]&&!t.customClass[n].forEach)return s("Invalid type of customClass.".concat(n,'! Expected string or iterable object, got "').concat(typeof t.customClass[n],'"'));W(e,t.customClass[n])}},F=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return K(e,h[t]);case"checkbox":return e.querySelector(".".concat(h.checkbox," input"));case"radio":return e.querySelector(".".concat(h.radio," input:checked"))||e.querySelector(".".concat(h.radio," input:first-child"));case"range":return e.querySelector(".".concat(h.range," input"));default:return K(e,h.input)}},R=e=>{var t;e.focus(),"file"!==e.type&&(t=e.value,e.value="",e.value=t)},z=(e,t,n)=>{e&&t&&(t="string"==typeof t?t.split(/\s+/).filter(Boolean):t).forEach(t=>{e.forEach?e.forEach(e=>{n?e.classList.add(t):e.classList.remove(t)}):n?e.classList.add(t):e.classList.remove(t)})},W=(e,t)=>{z(e,t,!0)},_=(e,t)=>{z(e,t,!1)},K=(t,n)=>{for(let e=0;e<t.childNodes.length;e++)if(N(t.childNodes[e],n))return t.childNodes[e]},Y=(e,t,n)=>{(n=n==="".concat(parseInt(n))?parseInt(n):n)||0===parseInt(n)?e.style[t]="number"==typeof n?"".concat(n,"px"):n:e.style.removeProperty(t)},Z=(e,t="flex")=>{e.style.display=t},J=e=>{e.style.display="none"},X=(e,t,n,o)=>{const i=e.querySelector(t);i&&(i.style[n]=o)},$=(e,t,n)=>{t?Z(e,n):J(e)},G=e=>!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),Q=()=>!G(P())&&!G(E())&&!G(T()),ee=e=>!!(e.scrollHeight>e.clientHeight),te=e=>{const t=window.getComputedStyle(e);var n=parseFloat(t.getPropertyValue("animation-duration")||"0"),e=parseFloat(t.getPropertyValue("transition-duration")||"0");return 0<n||0<e},ne=(e,t=!1)=>{const n=j();G(n)&&(t&&(n.style.transition="none",n.style.width="100%"),setTimeout(()=>{n.style.transition="width ".concat(e/1e3,"s linear"),n.style.width="0%"},10))},oe=()=>"undefined"==typeof window||"undefined"==typeof document,ie='\n <div aria-labelledby="'.concat(h.title,'" aria-describedby="').concat(h["html-container"],'" class="').concat(h.popup,'" tabindex="-1">\n <button type="button" class="').concat(h.close,'"></button>\n <ul class="').concat(h["progress-steps"],'"></ul>\n <div class="').concat(h.icon,'"></div>\n <img class="').concat(h.image,'" />\n <h2 class="').concat(h.title,'" id="').concat(h.title,'"></h2>\n <div class="').concat(h["html-container"],'" id="').concat(h["html-container"],'"></div>\n <input class="').concat(h.input,'" />\n <input type="file" class="').concat(h.file,'" />\n <div class="').concat(h.range,'">\n <input type="range" />\n <output></output>\n </div>\n <select class="').concat(h.select,'"></select>\n <div class="').concat(h.radio,'"></div>\n <label for="').concat(h.checkbox,'" class="').concat(h.checkbox,'">\n <input type="checkbox" />\n <span class="').concat(h.label,'"></span>\n </label>\n <textarea class="').concat(h.textarea,'"></textarea>\n <div class="').concat(h["validation-message"],'" id="').concat(h["validation-message"],'"></div>\n <div class="').concat(h.actions,'">\n <div class="').concat(h.loader,'"></div>\n <button type="button" class="').concat(h.confirm,'"></button>\n <button type="button" class="').concat(h.deny,'"></button>\n <button type="button" class="').concat(h.cancel,'"></button>\n </div>\n <div class="').concat(h.footer,'"></div>\n <div class="').concat(h["timer-progress-bar-container"],'">\n <div class="').concat(h["timer-progress-bar"],'"></div>\n </div>\n </div>\n').replace(/(^|\n)\s*/g,""),ae=()=>{ln.isVisible()&&ln.resetValidationMessage()},se=e=>{var t=(()=>{const e=b();return!!e&&(e.remove(),_([document.documentElement,document.body],[h["no-backdrop"],h["toast-shown"],h["has-column"]]),!0)})();if(oe())r("SweetAlert2 requires document to initialize");else{const n=document.createElement("div");n.className=h.container,t&&W(n,h["no-transition"]),V(n,ie);const o="string"==typeof(t=e.target)?document.querySelector(t):t;o.appendChild(n),(e=>{const t=v();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")})(e),e=o,"rtl"===window.getComputedStyle(e).direction&&W(b(),h.rtl),(()=>{const e=v(),t=K(e,h.input),n=K(e,h.file),o=e.querySelector(".".concat(h.range," input")),i=e.querySelector(".".concat(h.range," output")),a=K(e,h.select),s=e.querySelector(".".concat(h.checkbox," input")),r=K(e,h.textarea);t.oninput=ae,n.onchange=ae,a.onchange=ae,s.onchange=ae,r.oninput=ae,o.oninput=()=>{ae(),i.value=o.value},o.onchange=()=>{ae(),o.nextSibling.value=o.value}})()}},re=(e,t)=>{e instanceof HTMLElement?t.appendChild(e):"object"==typeof e?ce(e,t):e&&V(t,e)},ce=(e,t)=>{e.jquery?le(t,e):V(t,e.toString())},le=(t,n)=>{if(t.textContent="",0 in n)for(let e=0;e in n;e++)t.appendChild(n[e].cloneNode(!0));else t.appendChild(n.cloneNode(!0))},ue=(()=>{if(oe())return!1;var e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&void 0!==e.style[n])return t[n];return!1})(),de=(e,t)=>{const n=L();var o=S(),i=P(),a=E(),s=T();(t.showConfirmButton||t.showDenyButton||t.showCancelButton?Z:J)(n),U(n,t,"actions"),pe(i,"confirm",t),pe(a,"deny",t),pe(s,"cancel",t),function(e,t,n,o){if(!o.buttonsStyling)return _([e,t,n],h.styled);W([e,t,n],h.styled),o.confirmButtonColor&&(e.style.backgroundColor=o.confirmButtonColor,W(e,h["default-outline"]));o.denyButtonColor&&(t.style.backgroundColor=o.denyButtonColor,W(t,h["default-outline"]));o.cancelButtonColor&&(n.style.backgroundColor=o.cancelButtonColor,W(n,h["default-outline"]))}(i,a,s,t),t.reverseButtons&&(n.insertBefore(s,o),n.insertBefore(a,o),n.insertBefore(i,o)),V(o,t.loaderHtml),U(o,t,"loader")};function pe(e,t,n){$(e,n["show".concat(o(t),"Button")],"inline-block"),V(e,n["".concat(t,"ButtonText")]),e.setAttribute("aria-label",n["".concat(t,"ButtonAriaLabel")]),e.className=h[t],U(e,n,"".concat(t,"Button")),W(e,n["".concat(t,"ButtonClass")])}const me=(e,t)=>{var n,o,i=b();i&&(o=i,"string"==typeof(n=t.backdrop)?o.style.background=n:n||W([document.documentElement,document.body],h["no-backdrop"]),o=i,(n=t.position)in h?W(o,h[n]):(s('The "position" parameter is not valid, defaulting to "center"'),W(o,h.center)),n=i,!(o=t.grow)||"string"!=typeof o||(o="grow-".concat(o))in h&&W(n,h[o]),U(i,t,"container"))};var he={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const ge=["input","file","range","select","radio","checkbox","textarea"],be=e=>{if(!ke[e.input])return r('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));var t=Ce(e.input);const n=ke[e.input](t,e);Z(n),setTimeout(()=>{R(n)})},fe=(e,t)=>{const n=F(v(),e);if(n){(t=>{for(let e=0;e<t.attributes.length;e++){var n=t.attributes[e].name;["type","value","style"].includes(n)||t.removeAttribute(n)}})(n);for(const o in t)n.setAttribute(o,t[o])}},ye=e=>{var t=Ce(e.input);e.customClass&&W(t,e.customClass.input)},ve=(e,t)=>{e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},we=(e,t,n)=>{if(n.inputLabel){e.id=h.input;const i=document.createElement("label");var o=h["input-label"];i.setAttribute("for",e.id),i.className=o,W(i,n.customClass.inputLabel),i.innerText=n.inputLabel,t.insertAdjacentElement("beforebegin",i)}},Ce=e=>{e=h[e]||h.input;return K(v(),e)},ke={};ke.text=ke.email=ke.password=ke.number=ke.tel=ke.url=(e,t)=>("string"==typeof t.inputValue||"number"==typeof t.inputValue?e.value=t.inputValue:p(t.inputValue)||s('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof t.inputValue,'"')),we(e,e,t),ve(e,t),e.type=t.input,e),ke.file=(e,t)=>(we(e,e,t),ve(e,t),e),ke.range=(e,t)=>{const n=e.querySelector("input"),o=e.querySelector("output");return n.value=t.inputValue,n.type=t.input,o.value=t.inputValue,we(n,e,t),e},ke.select=(e,t)=>{if(e.textContent="",t.inputPlaceholder){const n=document.createElement("option");V(n,t.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,e.appendChild(n)}return we(e,e,t),e},ke.radio=e=>(e.textContent="",e),ke.checkbox=(e,t)=>{const n=F(v(),"checkbox");n.value=1,n.id=h.checkbox,n.checked=Boolean(t.inputValue);var o=e.querySelector("span");return V(o,t.inputPlaceholder),e},ke.textarea=(n,e)=>{n.value=e.inputValue,ve(n,e),we(n,n,e);return setTimeout(()=>{if("MutationObserver"in window){const t=parseInt(window.getComputedStyle(v()).width);new MutationObserver(()=>{var e,e=n.offsetWidth+(e=n,parseInt(window.getComputedStyle(e).marginLeft)+parseInt(window.getComputedStyle(e).marginRight));e>t?v().style.width="".concat(e,"px"):v().style.width=null}).observe(n,{attributes:!0,attributeFilter:["style"]})}}),n};const Ae=(e,t)=>{const n=k();U(n,t,"htmlContainer"),t.html?(re(t.html,n),Z(n,"block")):t.text?(n.textContent=t.text,Z(n,"block")):J(n),((e,o)=>{const i=v();e=he.innerParams.get(e);const a=!e||o.input!==e.input;ge.forEach(e=>{var t=h[e];const n=K(i,t);fe(e,o.inputAttributes),n.className=t,a&&J(n)}),o.input&&(a&&be(o),ye(o))})(e,t)},Be=(e,t)=>{for(const n in g)t.icon!==n&&_(e,g[n]);W(e,g[t.icon]),Ee(e,t),xe(),U(e,t,"icon")},xe=()=>{const e=v();var t=window.getComputedStyle(e).getPropertyValue("background-color");const n=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let e=0;e<n.length;e++)n[e].style.backgroundColor=t},Pe=(e,t)=>{var n;e.textContent="",t.iconHtml?V(e,Se(t.iconHtml)):"success"===t.icon?V(e,'\n <div class="swal2-success-circular-line-left"></div>\n <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n <div class="swal2-success-circular-line-right"></div>\n '):"error"===t.icon?V(e,'\n <span class="swal2-x-mark">\n <span class="swal2-x-mark-line-left"></span>\n <span class="swal2-x-mark-line-right"></span>\n </span>\n '):(n={question:"?",warning:"!",info:"i"},V(e,Se(n[t.icon])))},Ee=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])X(e,n,"backgroundColor",t.iconColor);X(e,".swal2-success-ring","borderColor",t.iconColor)}},Se=e=>'<div class="'.concat(h["icon-content"],'">').concat(e,"</div>"),Te=(e,o)=>{const i=B();if(!o.progressSteps||0===o.progressSteps.length)return J(i);Z(i),i.textContent="",o.currentProgressStep>=o.progressSteps.length&&s("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),o.progressSteps.forEach((e,t)=>{var n,e=(n=e,e=document.createElement("li"),W(e,h["progress-step"]),V(e,n),e);i.appendChild(e),t===o.currentProgressStep&&W(e,h["active-progress-step"]),t!==o.progressSteps.length-1&&(t=(e=>{const t=document.createElement("li");return W(t,h["progress-step-line"]),e.progressStepsDistance&&(t.style.width=e.progressStepsDistance),t})(o),i.appendChild(t))})},Le=(e,t)=>{e.className="".concat(h.popup," ").concat(G(e)?t.showClass.popup:""),t.toast?(W([document.documentElement,document.body],h["toast-shown"]),W(e,h.toast)):W(e,h.modal),U(e,t,"popup"),"string"==typeof t.customClass&&W(e,t.customClass),t.icon&&W(e,h["icon-".concat(t.icon)])},Oe=(e,t)=>{var n,o,i;(e=>{var t=b();const n=v();e.toast?(Y(t,"width",e.width),n.style.width="100%",n.insertBefore(S(),w())):Y(n,"width",e.width),Y(n,"padding",e.padding),e.background&&(n.style.background=e.background),J(x()),Le(n,e)})(t),me(0,t),Te(0,t),i=e,n=t,o=he.innerParams.get(i),i=w(),o&&n.icon===o.icon?(Pe(i,n),Be(i,n)):n.icon||n.iconHtml?n.icon&&-1===Object.keys(g).indexOf(n.icon)?(r('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(n.icon,'"')),J(i)):(Z(i),Pe(i,n),Be(i,n),W(i,n.showClass.icon)):J(i),(e=>{const t=A();if(!e.imageUrl)return J(t);Z(t,""),t.setAttribute("src",e.imageUrl),t.setAttribute("alt",e.imageAlt),Y(t,"width",e.imageWidth),Y(t,"height",e.imageHeight),t.className=h.image,U(t,e,"image")})(t),(e=>{const t=C();$(t,e.title||e.titleText,"block"),e.title&&re(e.title,t),e.titleText&&(t.innerText=e.titleText),U(t,e,"title")})(t),(e=>{const t=D();V(t,e.closeButtonHtml),U(t,e,"closeButton"),$(t,e.showCloseButton),t.setAttribute("aria-label",e.closeButtonAriaLabel)})(t),Ae(e,t),de(0,t),i=t,e=O(),$(e,i.footer),i.footer&&re(i.footer,e),U(e,i,"footer"),"function"==typeof t.didRender&&t.didRender(v())};const je=()=>P()&&P().click();const De=e=>{let t=v();t||ln.fire(),t=v();var n=S();H()?J(w()):Ie(t,e),Z(n),t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},Ie=(e,t)=>{var n=L();const o=S();!t&&G(P())&&(t=P()),Z(n),t&&(J(t),o.setAttribute("data-button-to-replace",t.className)),o.parentNode.insertBefore(o,t),W([e,n],h.loading)},Me={},He=o=>new Promise(e=>{if(!o)return e();var t=window.scrollX,n=window.scrollY;Me.restoreFocusTimeout=setTimeout(()=>{Me.previousActiveElement&&Me.previousActiveElement.focus?(Me.previousActiveElement.focus(),Me.previousActiveElement=null):document.body&&document.body.focus(),e()},100),window.scrollTo(t,n)});const qe=()=>{if(Me.timeout)return(()=>{const e=j();var t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";var n=parseInt(window.getComputedStyle(e).width),n=parseInt(t/n*100);e.style.removeProperty("transition"),e.style.width="".concat(n,"%")})(),Me.timeout.stop()},Ve=()=>{if(Me.timeout){var e=Me.timeout.start();return ne(e),e}};let Ne=!1;const Ue={};const Fe=t=>{for(let e=t.target;e&&e!==document;e=e.parentNode)for(const o in Ue){var n=e.getAttribute(o);if(n)return void Ue[o].fire({template:n})}},Re={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},ze=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],We={},_e=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],Ke=e=>Object.prototype.hasOwnProperty.call(Re,e);const Ye=e=>We[e],Ze=e=>{!e.backdrop&&e.allowOutsideClick&&s('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const o in e)n=o,Ke(n)||s('Unknown parameter "'.concat(n,'"')),e.toast&&(t=o,_e.includes(t)&&s('The parameter "'.concat(t,'" is incompatible with toasts'))),t=o,Ye(t)&&i(t,Ye(t));var t,n};var Je=Object.freeze({isValidParameter:Ke,isUpdatableParameter:e=>-1!==ze.indexOf(e),isDeprecatedParameter:Ye,argsToParams:n=>{const o={};return"object"!=typeof n[0]||m(n[0])?["title","html","icon"].forEach((e,t)=>{t=n[t];"string"==typeof t||m(t)?o[e]=t:void 0!==t&&r("Unexpected type of ".concat(e,'! Expected "string" or "Element", got ').concat(typeof t))}):Object.assign(o,n[0]),o},isVisible:()=>G(v()),clickConfirm:je,clickDeny:()=>E()&&E().click(),clickCancel:()=>T()&&T().click(),getContainer:b,getPopup:v,getTitle:C,getHtmlContainer:k,getImage:A,getIcon:w,getInputLabel:()=>y(h["input-label"]),getCloseButton:D,getActions:L,getConfirmButton:P,getDenyButton:E,getCancelButton:T,getLoader:S,getFooter:O,getTimerProgressBar:j,getFocusableElements:I,getValidationMessage:x,isLoading:()=>v().hasAttribute("data-loading"),fire:function(...e){return new this(...e)},mixin:function(n){class e extends this{_main(e,t){return super._main(e,Object.assign({},n,t))}}return e},showLoading:De,enableLoading:De,getTimerLeft:()=>Me.timeout&&Me.timeout.getTimerLeft(),stopTimer:qe,resumeTimer:Ve,toggleTimer:()=>{var e=Me.timeout;return e&&(e.running?qe:Ve)()},increaseTimer:e=>{if(Me.timeout){e=Me.timeout.increase(e);return ne(e,!0),e}},isTimerRunning:()=>Me.timeout&&Me.timeout.isRunning(),bindClickHandler:function(e="data-swal-template"){Ue[e]=this,Ne||(document.body.addEventListener("click",Fe),Ne=!0)}});function Xe(){var e=he.innerParams.get(this);if(e){const t=he.domCache.get(this);J(t.loader),H()?e.icon&&Z(w()):(e=>{const t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));if(t.length)Z(t[0],"inline-block");else if(Q())J(e.actions)})(t),_([t.popup,t.actions],h.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1}}const $e=()=>{null===q.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(q.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(q.previousBodyPadding+(()=>{const e=document.createElement("div");e.className=h["scrollbar-measure"],document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t})(),"px"))},Ge=()=>{navigator.userAgent.match(/(CriOS|FxiOS|EdgiOS|YaBrowser|UCBrowser)/i)||v().scrollHeight>window.innerHeight-44&&(b().style.paddingBottom="".concat(44,"px"))},Qe=()=>{const e=b();let t;e.ontouchstart=e=>{t=et(e)},e.ontouchmove=e=>{t&&(e.preventDefault(),e.stopPropagation())}},et=e=>{var t=e.target,n=b();return!tt(e)&&!nt(e)&&(t===n||!(ee(n)||"INPUT"===t.tagName||"TEXTAREA"===t.tagName||ee(k())&&k().contains(t)))},tt=e=>e.touches&&e.touches.length&&"stylus"===e.touches[0].touchType,nt=e=>e.touches&&1<e.touches.length,ot=()=>{const e=a(document.body.children);e.forEach(e=>{e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")})};var it={swalPromiseResolve:new WeakMap};function at(e,t,n,o){H()?ct(e,o):(He(n).then(()=>ct(e,o)),Me.keydownTarget.removeEventListener("keydown",Me.keydownHandler,{capture:Me.keydownListenerCapture}),Me.keydownHandlerAdded=!1),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),M()&&(null!==q.previousBodyPadding&&(document.body.style.paddingRight="".concat(q.previousBodyPadding,"px"),q.previousBodyPadding=null),N(document.body,h.iosfix)&&(t=parseInt(document.body.style.top,10),_(document.body,h.iosfix),document.body.style.top="",document.body.scrollTop=-1*t),ot()),_([document.documentElement,document.body],[h.shown,h["height-auto"],h["no-backdrop"],h["toast-shown"]])}function st(e){var t=v();if(t){e=void 0!==(o=e)?Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},o):{isConfirmed:!1,isDenied:!1,isDismissed:!0};var n=he.innerParams.get(this);if(n&&!N(t,n.hideClass.popup)){const i=it.swalPromiseResolve.get(this);_(t,n.showClass.popup),W(t,n.hideClass.popup);var o=b();_(o,n.showClass.backdrop),W(o,n.hideClass.backdrop),((e,t,n)=>{const o=b(),i=ue&&te(t);if(typeof n.willClose==="function")n.willClose(t);if(i)rt(e,t,o,n.returnFocus,n.didClose);else at(e,o,n.returnFocus,n.didClose)})(this,t,n),i(e)}}}const rt=(e,t,n,o,i)=>{Me.swalCloseEventFinishedCallback=at.bind(null,e,n,o,i),t.addEventListener(ue,function(e){e.target===t&&(Me.swalCloseEventFinishedCallback(),delete Me.swalCloseEventFinishedCallback)})},ct=(e,t)=>{setTimeout(()=>{"function"==typeof t&&t.bind(e.params)(),e._destroy()})};function lt(e,t,n){const o=he.domCache.get(e);t.forEach(e=>{o[e].disabled=n})}function ut(e,t){if(!e)return!1;if("radio"===e.type){const n=e.parentNode.parentNode,o=n.querySelectorAll("input");for(let e=0;e<o.length;e++)o[e].disabled=t}else e.disabled=t}class dt{constructor(e,t){this.callback=e,this.remaining=t,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date-this.started),this.remaining}increase(e){var t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}var pt={email:(e,t)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),url:(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")};function mt(e){var t,n;(t=e).inputValidator||Object.keys(pt).forEach(e=>{t.input===e&&(t.inputValidator=pt[e])}),e.showLoaderOnConfirm&&!e.preConfirm&&s("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),(n=e).target&&("string"!=typeof n.target||document.querySelector(n.target))&&("string"==typeof n.target||n.target.appendChild)||(s('Target parameter is not valid, defaulting to "body"'),n.target="body"),"string"==typeof e.title&&(e.title=e.title.split("\n").join("<br />")),se(e)}const ht=["swal-title","swal-html","swal-footer"],gt=e=>{e="string"==typeof e.template?document.querySelector(e.template):e.template;if(!e)return{};e=e.content;return kt(e),Object.assign(bt(e),ft(e),yt(e),vt(e),wt(e),Ct(e,ht))},bt=e=>{const o={};return a(e.querySelectorAll("swal-param")).forEach(e=>{At(e,["name","value"]);var t=e.getAttribute("name");let n=e.getAttribute("value");"boolean"==typeof Re[t]&&"false"===n&&(n=!1),"object"==typeof Re[t]&&(n=JSON.parse(n)),o[t]=n}),o},ft=e=>{const n={};return a(e.querySelectorAll("swal-button")).forEach(e=>{At(e,["type","color","aria-label"]);var t=e.getAttribute("type");n["".concat(t,"ButtonText")]=e.innerHTML,n["show".concat(o(t),"Button")]=!0,e.hasAttribute("color")&&(n["".concat(t,"ButtonColor")]=e.getAttribute("color")),e.hasAttribute("aria-label")&&(n["".concat(t,"ButtonAriaLabel")]=e.getAttribute("aria-label"))}),n},yt=e=>{const t={},n=e.querySelector("swal-image");return n&&(At(n,["src","width","height","alt"]),n.hasAttribute("src")&&(t.imageUrl=n.getAttribute("src")),n.hasAttribute("width")&&(t.imageWidth=n.getAttribute("width")),n.hasAttribute("height")&&(t.imageHeight=n.getAttribute("height")),n.hasAttribute("alt")&&(t.imageAlt=n.getAttribute("alt"))),t},vt=e=>{const t={},n=e.querySelector("swal-icon");return n&&(At(n,["type","color"]),n.hasAttribute("type")&&(t.icon=n.getAttribute("type")),n.hasAttribute("color")&&(t.iconColor=n.getAttribute("color")),t.iconHtml=n.innerHTML),t},wt=e=>{const n={},t=e.querySelector("swal-input");t&&(At(t,["type","label","placeholder","value"]),n.input=t.getAttribute("type")||"text",t.hasAttribute("label")&&(n.inputLabel=t.getAttribute("label")),t.hasAttribute("placeholder")&&(n.inputPlaceholder=t.getAttribute("placeholder")),t.hasAttribute("value")&&(n.inputValue=t.getAttribute("value")));e=e.querySelectorAll("swal-input-option");return e.length&&(n.inputOptions={},a(e).forEach(e=>{At(e,["value"]);var t=e.getAttribute("value"),e=e.innerHTML;n.inputOptions[t]=e})),n},Ct=(e,t)=>{const n={};for(const o in t){const i=t[o],a=e.querySelector(i);a&&(At(a,[]),n[i.replace(/^swal-/,"")]=a.innerHTML.trim())}return n},kt=e=>{const t=ht.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);a(e.children).forEach(e=>{e=e.tagName.toLowerCase();-1===t.indexOf(e)&&s("Unrecognized element <".concat(e,">"))})},At=(t,n)=>{a(t.attributes).forEach(e=>{-1===n.indexOf(e.name)&&s(['Unrecognized attribute "'.concat(e.name,'" on <').concat(t.tagName.toLowerCase(),">."),"".concat(n.length?"Allowed attributes are: ".concat(n.join(", ")):"To set the value, use HTML within the element.")])})},Bt=e=>{const t=b(),n=v();"function"==typeof e.willOpen&&e.willOpen(n);var o=window.getComputedStyle(document.body).overflowY;St(t,n,e),setTimeout(()=>{Pt(t,n)},10),M()&&(Et(t,e.scrollbarPadding,o),(()=>{const e=a(document.body.children);e.forEach(e=>{e===b()||e.contains(b())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))})})()),H()||Me.previousActiveElement||(Me.previousActiveElement=document.activeElement),"function"==typeof e.didOpen&&setTimeout(()=>e.didOpen(n)),_(t,h["no-transition"])},xt=e=>{const t=v();if(e.target===t){const n=b();t.removeEventListener(ue,xt),n.style.overflowY="auto"}},Pt=(e,t)=>{ue&&te(t)?(e.style.overflowY="hidden",t.addEventListener(ue,xt)):e.style.overflowY="auto"},Et=(e,t,n)=>{var o;(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints)&&!N(document.body,h.iosfix)&&(o=document.body.scrollTop,document.body.style.top="".concat(-1*o,"px"),W(document.body,h.iosfix),Qe(),Ge()),t&&"hidden"!==n&&$e(),setTimeout(()=>{e.scrollTop=0})},St=(e,t,n)=>{W(e,n.showClass.backdrop),t.style.setProperty("opacity","0","important"),Z(t,"grid"),setTimeout(()=>{W(t,n.showClass.popup),t.style.removeProperty("opacity")},10),W([document.documentElement,document.body],h.shown),n.heightAuto&&n.backdrop&&!n.toast&&W([document.documentElement,document.body],h["height-auto"])},Tt=e=>e.checked?1:0,Lt=e=>e.checked?e.value:null,Ot=e=>e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null,jt=(t,n)=>{const o=v(),i=e=>It[n.input](o,Mt(e),n);u(n.inputOptions)||p(n.inputOptions)?(De(P()),d(n.inputOptions).then(e=>{t.hideLoading(),i(e)})):"object"==typeof n.inputOptions?i(n.inputOptions):r("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof n.inputOptions))},Dt=(t,n)=>{const o=t.getInput();J(o),d(n.inputValue).then(e=>{o.value="number"===n.input?parseFloat(e)||0:"".concat(e),Z(o),o.focus(),t.hideLoading()}).catch(e=>{r("Error in inputValue promise: ".concat(e)),o.value="",Z(o),o.focus(),t.hideLoading()})},It={select:(e,t,i)=>{const a=K(e,h.select),s=(e,t,n)=>{const o=document.createElement("option");o.value=n,V(o,t),o.selected=Ht(n,i.inputValue),e.appendChild(o)};t.forEach(e=>{var t=e[0];const n=e[1];if(Array.isArray(n)){const o=document.createElement("optgroup");o.label=t,o.disabled=!1,a.appendChild(o),n.forEach(e=>s(o,e[1],e[0]))}else s(a,n,t)}),a.focus()},radio:(e,t,a)=>{const s=K(e,h.radio);t.forEach(e=>{var t=e[0],e=e[1];const n=document.createElement("input"),o=document.createElement("label");n.type="radio",n.name=h.radio,n.value=t,Ht(t,a.inputValue)&&(n.checked=!0);const i=document.createElement("span");V(i,e),i.className=h.label,o.appendChild(n),o.appendChild(i),s.appendChild(o)});const n=s.querySelectorAll("input");n.length&&n[0].focus()}},Mt=n=>{const o=[];return"undefined"!=typeof Map&&n instanceof Map?n.forEach((e,t)=>{let n=e;"object"==typeof n&&(n=Mt(n)),o.push([t,n])}):Object.keys(n).forEach(e=>{let t=n[e];"object"==typeof t&&(t=Mt(t)),o.push([e,t])}),o},Ht=(e,t)=>t&&t.toString()===e.toString(),qt=(e,t)=>{var n=he.innerParams.get(e),o=((e,t)=>{const n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return Tt(n);case"radio":return Lt(n);case"file":return Ot(n);default:return t.inputAutoTrim?n.value.trim():n.value}})(e,n);n.inputValidator?Vt(e,o,t):e.getInput().checkValidity()?("deny"===t?Nt:Ft)(e,o):(e.enableButtons(),e.showValidationMessage(n.validationMessage))},Vt=(t,n,o)=>{const e=he.innerParams.get(t);t.disableInput();const i=Promise.resolve().then(()=>d(e.inputValidator(n,e.validationMessage)));i.then(e=>{t.enableButtons(),t.enableInput(),e?t.showValidationMessage(e):("deny"===o?Nt:Ft)(t,n)})},Nt=(t,n)=>{const e=he.innerParams.get(t||void 0);if(e.showLoaderOnDeny&&De(E()),e.preDeny){const o=Promise.resolve().then(()=>d(e.preDeny(n,e.validationMessage)));o.then(e=>{!1===e?t.hideLoading():t.closePopup({isDenied:!0,value:void 0===e?n:e})})}else t.closePopup({isDenied:!0,value:n})},Ut=(e,t)=>{e.closePopup({isConfirmed:!0,value:t})},Ft=(t,n)=>{const e=he.innerParams.get(t||void 0);if(e.showLoaderOnConfirm&&De(),e.preConfirm){t.resetValidationMessage();const o=Promise.resolve().then(()=>d(e.preConfirm(n,e.validationMessage)));o.then(e=>{G(x())||!1===e?t.hideLoading():Ut(t,void 0===e?n:e)})}else Ut(t,n)},Rt=(e,t,n)=>{const o=I();if(o.length)return(t+=n)===o.length?t=0:-1===t&&(t=o.length-1),o[t].focus();v().focus()},zt=["ArrowRight","ArrowDown"],Wt=["ArrowLeft","ArrowUp"],_t=(e,t,n)=>{var o=he.innerParams.get(e);o&&(o.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?Kt(e,t,o):"Tab"===t.key?Yt(t,o):[...zt,...Wt].includes(t.key)?Zt(t.key):"Escape"===t.key&&Jt(t,o,n))},Kt=(e,t,n)=>{t.isComposing||t.target&&e.getInput()&&t.target.outerHTML===e.getInput().outerHTML&&(["textarea","file"].includes(n.input)||(je(),t.preventDefault()))},Yt=(e,t)=>{var n=e.target,o=I();let i=-1;for(let e=0;e<o.length;e++)if(n===o[e]){i=e;break}e.shiftKey?Rt(0,i,-1):Rt(0,i,1),e.stopPropagation(),e.preventDefault()},Zt=e=>{const t=P(),n=E(),o=T();if([t,n,o].includes(document.activeElement)){e=zt.includes(e)?"nextElementSibling":"previousElementSibling";const i=document.activeElement[e];i&&i.focus()}},Jt=(e,t,n)=>{c(t.allowEscapeKey)&&(e.preventDefault(),n(l.esc))},Xt=(t,e,n)=>{e.popup.onclick=()=>{var e=he.innerParams.get(t);e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton||e.timer||e.input||n(l.close)}};let $t=!1;const Gt=t=>{t.popup.onmousedown=()=>{t.container.onmouseup=function(e){t.container.onmouseup=void 0,e.target===t.container&&($t=!0)}}},Qt=t=>{t.container.onmousedown=()=>{t.popup.onmouseup=function(e){t.popup.onmouseup=void 0,e.target!==t.popup&&!t.popup.contains(e.target)||($t=!0)}}},en=(n,o,i)=>{o.container.onclick=e=>{var t=he.innerParams.get(n);$t?$t=!1:e.target===o.container&&c(t.allowOutsideClick)&&i(l.backdrop)}};const tn=(e,t,n)=>{var o=j();J(o),t.timer&&(e.timeout=new dt(()=>{n("timer"),delete e.timeout},t.timer),t.timerProgressBar&&(Z(o),setTimeout(()=>{e.timeout&&e.timeout.running&&ne(t.timer)})))},nn=(e,t)=>{if(!t.toast)return c(t.allowEnterKey)?void(on(e,t)||Rt(0,-1,1)):an()},on=(e,t)=>t.focusDeny&&G(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&G(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!G(e.confirmButton))&&(e.confirmButton.focus(),!0),an=()=>{document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};const sn=e=>{for(const t in e)e[t]=new WeakMap};e=Object.freeze({hideLoading:Xe,disableLoading:Xe,getInput:function(e){var t=he.innerParams.get(e||this);return(e=he.domCache.get(e||this))?F(e.popup,t.input):null},close:st,closePopup:st,closeModal:st,closeToast:st,enableButtons:function(){lt(this,["confirmButton","denyButton","cancelButton"],!1)},disableButtons:function(){lt(this,["confirmButton","denyButton","cancelButton"],!0)},enableInput:function(){return ut(this.getInput(),!1)},disableInput:function(){return ut(this.getInput(),!0)},showValidationMessage:function(e){const t=he.domCache.get(this);var n=he.innerParams.get(this);V(t.validationMessage,e),t.validationMessage.className=h["validation-message"],n.customClass&&n.customClass.validationMessage&&W(t.validationMessage,n.customClass.validationMessage),Z(t.validationMessage);const o=this.getInput();o&&(o.setAttribute("aria-invalid",!0),o.setAttribute("aria-describedby",h["validation-message"]),R(o),W(o,h.inputerror))},resetValidationMessage:function(){var e=he.domCache.get(this);e.validationMessage&&J(e.validationMessage);const t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedby"),_(t,h.inputerror))},getProgressSteps:function(){return he.domCache.get(this).progressSteps},_main:function(e,t={}){Ze(Object.assign({},t,e)),Me.currentInstance&&(Me.currentInstance._destroy(),M()&&ot()),Me.currentInstance=this,mt(e=((e,t)=>{const n=gt(e),o=Object.assign({},Re,t,n,e);return o.showClass=Object.assign({},Re.showClass,o.showClass),o.hideClass=Object.assign({},Re.hideClass,o.hideClass),o})(e,t)),Object.freeze(e),Me.timeout&&(Me.timeout.stop(),delete Me.timeout),clearTimeout(Me.restoreFocusTimeout);var s,r,c,t=(e=>{const t={popup:v(),container:b(),actions:L(),confirmButton:P(),denyButton:E(),cancelButton:T(),loader:S(),closeButton:D(),validationMessage:x(),progressSteps:B()};return he.domCache.set(e,t),t})(this);return Oe(this,e),he.innerParams.set(this,e),s=this,r=t,c=e,new Promise(e=>{const t=e=>{s.closePopup({isDismissed:!0,dismiss:e})};var n,o,i,a;it.swalPromiseResolve.set(s,e),r.confirmButton.onclick=()=>(e=>{var t=he.innerParams.get(e);e.disableButtons(),t.input?qt(e,"confirm"):Ft(e,!0)})(s),r.denyButton.onclick=()=>(e=>{var t=he.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?qt(e,"deny"):Nt(e,!1)})(s),r.cancelButton.onclick=()=>((e,t)=>{e.disableButtons(),t(l.cancel)})(s,t),r.closeButton.onclick=()=>t(l.close),n=s,a=r,e=t,he.innerParams.get(n).toast?Xt(n,a,e):(Gt(a),Qt(a),en(n,a,e)),o=s,a=Me,e=c,i=t,a.keydownTarget&&a.keydownHandlerAdded&&(a.keydownTarget.removeEventListener("keydown",a.keydownHandler,{capture:a.keydownListenerCapture}),a.keydownHandlerAdded=!1),e.toast||(a.keydownHandler=e=>_t(o,e,i),a.keydownTarget=e.keydownListenerCapture?window:v(),a.keydownListenerCapture=e.keydownListenerCapture,a.keydownTarget.addEventListener("keydown",a.keydownHandler,{capture:a.keydownListenerCapture}),a.keydownHandlerAdded=!0),e=s,"select"===(a=c).input||"radio"===a.input?jt(e,a):["text","email","number","tel","textarea"].includes(a.input)&&(u(a.inputValue)||p(a.inputValue))&&(De(P()),Dt(e,a)),Bt(c),tn(Me,c,t),nn(r,c),setTimeout(()=>{r.container.scrollTop=0})})},update:function(t){var e=v(),n=he.innerParams.get(this);if(!e||N(e,n.hideClass.popup))return s("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const o={};Object.keys(t).forEach(e=>{ln.isUpdatableParameter(e)?o[e]=t[e]:s('Invalid parameter to update: "'.concat(e,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js\n\nIf you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md'))}),n=Object.assign({},n,o),Oe(this,n),he.innerParams.set(this,n),Object.defineProperties(this,{params:{value:Object.assign({},this.params,t),writable:!1,enumerable:!0}})},_destroy:function(){var e=he.domCache.get(this);const t=he.innerParams.get(this);t&&(e.popup&&Me.swalCloseEventFinishedCallback&&(Me.swalCloseEventFinishedCallback(),delete Me.swalCloseEventFinishedCallback),Me.deferDisposalTimer&&(clearTimeout(Me.deferDisposalTimer),delete Me.deferDisposalTimer),"function"==typeof t.didDestroy&&t.didDestroy(),delete this.params,delete Me.keydownHandler,delete Me.keydownTarget,sn(he),sn(it),delete Me.currentInstance)}});let rn;class cn{constructor(...e){"undefined"!=typeof window&&(rn=this,e=Object.freeze(this.constructor.argsToParams(e)),Object.defineProperties(this,{params:{value:e,writable:!1,enumerable:!0,configurable:!0}}),e=this._main(this.params),he.promise.set(this,e))}then(e){const t=he.promise.get(this);return t.then(e)}finally(e){const t=he.promise.get(this);return t.finally(e)}}Object.assign(cn.prototype,e),Object.assign(cn,Je),Object.keys(e).forEach(t=>{cn[t]=function(...e){if(rn)return rn[t](...e)}}),cn.DismissReason=l,cn.version="11.1.7";const ln=cn;return ln.default=ln,ln}),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2);
|
includes/admin/include/admin_field-manager.php
CHANGED
@@ -36,10 +36,11 @@ class Woolentor_Admin_Fields_Manager {
|
|
36 |
|
37 |
public function add_field( $option, $section ){
|
38 |
|
39 |
-
$name = $option['name'];
|
40 |
$type = isset( $option['type'] ) ? $option['type'] : 'text';
|
41 |
$label = isset( $option['label'] ) ? $option['label'] : '';
|
42 |
$preview = isset( $option['preview'] ) ? $option['preview'] : '';
|
|
|
43 |
$documentation = isset( $option['documentation'] ) ? $option['documentation'] : '';
|
44 |
$require_settings = isset( $option['require_settings'] ) ? $option['require_settings'] : '';
|
45 |
$setting_fields = isset( $option['setting_fields'] ) ? $option['setting_fields'] : '';
|
@@ -157,6 +158,88 @@ class Woolentor_Admin_Fields_Manager {
|
|
157 |
echo $html;
|
158 |
}
|
159 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
/**
|
161 |
* Displays a checkbox for a settings field
|
162 |
*
|
@@ -348,6 +431,52 @@ class Woolentor_Admin_Fields_Manager {
|
|
348 |
echo $html;
|
349 |
}
|
350 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
351 |
/**
|
352 |
* Displays a multiselect for a settings field
|
353 |
*
|
@@ -483,7 +612,7 @@ class Woolentor_Admin_Fields_Manager {
|
|
483 |
public function script() {
|
484 |
?>
|
485 |
<script>
|
486 |
-
jQuery(document).ready(function($) {
|
487 |
|
488 |
//Initiate Color Picker
|
489 |
$('.wp-color-picker-field').wpColorPicker({
|
@@ -512,6 +641,40 @@ class Woolentor_Admin_Fields_Manager {
|
|
512 |
$(this).closest('.woolentor-admin-main-tab-pane').find('.woolentor-admin-btn-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
513 |
});
|
514 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
515 |
});
|
516 |
</script>
|
517 |
<?php
|
36 |
|
37 |
public function add_field( $option, $section ){
|
38 |
|
39 |
+
$name = isset( $option['option_id'] ) ? $option['option_id'] : $option['name'];
|
40 |
$type = isset( $option['type'] ) ? $option['type'] : 'text';
|
41 |
$label = isset( $option['label'] ) ? $option['label'] : '';
|
42 |
$preview = isset( $option['preview'] ) ? $option['preview'] : '';
|
43 |
+
$section = isset( $option['section'] ) ? $option['section'] : $section;
|
44 |
$documentation = isset( $option['documentation'] ) ? $option['documentation'] : '';
|
45 |
$require_settings = isset( $option['require_settings'] ) ? $option['require_settings'] : '';
|
46 |
$setting_fields = isset( $option['setting_fields'] ) ? $option['setting_fields'] : '';
|
158 |
echo $html;
|
159 |
}
|
160 |
|
161 |
+
/**
|
162 |
+
* Displays a file upload field for a settings field
|
163 |
+
*
|
164 |
+
* @param array $args settings field args
|
165 |
+
*/
|
166 |
+
public function callback_image_upload( $args ) {
|
167 |
+
|
168 |
+
$value = esc_attr( $this->get_option( $args['id'], $args['section'], $args['std'] ) );
|
169 |
+
$size = isset( $args['size'] ) && !is_null( $args['size'] ) ? $args['size'] : 'regular';
|
170 |
+
$id = $args['section'] . '[' . $args['id'] . ']';
|
171 |
+
|
172 |
+
$data_atr = $disabled = '';
|
173 |
+
if( $args['additional_info']['is_pro'] === true ){
|
174 |
+
$disabled = esc_attr('disabled=true');
|
175 |
+
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
176 |
+
}
|
177 |
+
|
178 |
+
$label = isset( $args['options']['button_label'] ) ? $args['options']['button_label'] : __( 'Choose Image','woolentor' );
|
179 |
+
$remove_label = isset( $args['options']['button_remove_label'] ) ? $args['options']['button_remove_label'] : __( 'Remove' );
|
180 |
+
$save_file = ( $value != '' ) ? '<img src="'.esc_url( $value ).'" alt="'.esc_attr__( $label, 'woolentor' ).'">' : '';
|
181 |
+
|
182 |
+
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).'">';
|
183 |
+
$html .= '<div class="woolentor-admin-option-content">';
|
184 |
+
$html .= $this->get_field_title( $args );
|
185 |
+
$html .= $this->get_field_description( $args );
|
186 |
+
$html .= '</div>';
|
187 |
+
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
188 |
+
$html .= '<div class="woolentor-admin-media-upload">';
|
189 |
+
$html .= '<div class="woolentor_display">'.$save_file.'</div>';
|
190 |
+
$html .= sprintf( '<input type="hidden" class="%1$s-text woolentor-url" id="%2$s[%3$s]" name="%3$s" value="%4$s"/>', $size, $args['section'], $args['id'], $value );
|
191 |
+
$html .= '<input type="button" class="button woolentor-browse" value="' . $label . '" />';
|
192 |
+
$html .= '<input type="button" class="button woolentor-remove" value="' . $remove_label . '" />';
|
193 |
+
$html .= '</div>';
|
194 |
+
$html .= '</div>';
|
195 |
+
$html .= '</div>';
|
196 |
+
|
197 |
+
echo $html;
|
198 |
+
|
199 |
+
}
|
200 |
+
|
201 |
+
/**
|
202 |
+
* Displays a checkbox for a settings field
|
203 |
+
*
|
204 |
+
* @param array $args settings field args
|
205 |
+
*/
|
206 |
+
public function callback_module( $args ) {
|
207 |
+
|
208 |
+
$value = esc_attr( $this->get_option( $args['id'], $args['section'], $args['std'] ) );
|
209 |
+
|
210 |
+
$probadge = $data_atr = '';
|
211 |
+
if( $args['additional_info']['is_pro'] === true ){
|
212 |
+
$probadge = '<span class="woolentor-admin-switch-block-badge">'.esc_html__( 'Pro', 'woolentor' ).'</span>';
|
213 |
+
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
214 |
+
}
|
215 |
+
|
216 |
+
if( $value === 'on' ){
|
217 |
+
$args['class'] .= ' woolentor-module-enable';
|
218 |
+
}
|
219 |
+
|
220 |
+
$setting_fields = '';
|
221 |
+
if( !empty( $args['additional_info']['setting_fields'] ) ){
|
222 |
+
$setting_fields = wp_json_encode( $args['additional_info']['setting_fields'] );
|
223 |
+
}
|
224 |
+
|
225 |
+
$html = '<div class="woolentor-admin-switch-block woolentor-module-field '.esc_attr( $args['class'] ).'">';
|
226 |
+
$html .= '<div class="woolentor-admin-switch-block-content">';
|
227 |
+
$html .= sprintf('<h6 class="woolentor-admin-switch-block-title">%1$s</h6>', $args['name'] );
|
228 |
+
$html .= '<div class="woolentor-admin-switch-block-info">';
|
229 |
+
$html .= !empty( $args['additional_info']['preview'] ) ? '<a href="'.$args['additional_info']['preview'].'" data-woolentor-tooltip="'.esc_attr__('Preview','woolentor').'"><i class="wli wli-monitor"></i></a>' : '';
|
230 |
+
$html .= !empty( $args['additional_info']['documentation'] ) ? '<a href="'.$args['additional_info']['documentation'].'" data-woolentor-tooltip="'.esc_attr__('Documentation','woolentor').'"><i class="wli wli-question"></i></a>' : '';
|
231 |
+
$html .= $probadge;
|
232 |
+
$html .= '</div>';
|
233 |
+
$html .= '</div>';
|
234 |
+
$html .= '<div class="woolentor-admin-switch-block-actions" '.$data_atr.'>';
|
235 |
+
$html .= !empty( $args['additional_info']['require_settings'] ) ? '<a href="#" class="woolentor-admin-switch-block-setting" data-section="'.$args['section'].'" data-fields=\'' .$setting_fields. '\'><i class="wli wli-cog-light"></i></a>' : '';
|
236 |
+
$html .= '</div>';
|
237 |
+
$html .= '</div>';
|
238 |
+
|
239 |
+
echo $html;
|
240 |
+
|
241 |
+
}
|
242 |
+
|
243 |
/**
|
244 |
* Displays a checkbox for a settings field
|
245 |
*
|
431 |
echo $html;
|
432 |
}
|
433 |
|
434 |
+
/**
|
435 |
+
* Displays a selectgroup for a settings field
|
436 |
+
*
|
437 |
+
* @param array $args settings field args
|
438 |
+
*/
|
439 |
+
public function callback_selectgroup( $args ) {
|
440 |
+
|
441 |
+
$value = esc_attr( $this->get_option( $args['id'], $args['section'], $args['std'] ) );
|
442 |
+
$size = isset( $args['size'] ) && !is_null( $args['size'] ) ? $args['size'] : 'regular';
|
443 |
+
|
444 |
+
$data_atr = $disabled = '';
|
445 |
+
if( $args['additional_info']['is_pro'] === true ){
|
446 |
+
$disabled = esc_attr('disabled=true');
|
447 |
+
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
448 |
+
}
|
449 |
+
|
450 |
+
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).' ">';
|
451 |
+
$html .= '<div class="woolentor-admin-option-content">';
|
452 |
+
$html .= $this->get_field_title( $args );
|
453 |
+
$html .= $this->get_field_description( $args );
|
454 |
+
$html .= '</div>';
|
455 |
+
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
456 |
+
$html .= '<div class="woolentor-admin-select">';
|
457 |
+
$html .= sprintf( '<select class="%1$s" name="%3$s" id="%2$s[%3$s]" %4$s>', $size, $args['section'], $args['id'], $disabled );
|
458 |
+
|
459 |
+
foreach( $args['options']['group'] as $key => $label ){
|
460 |
+
|
461 |
+
if( !empty( $args['options']['group'][$key]['options'] ) ){
|
462 |
+
$html .= '<optgroup label="'.$args['options']['group'][$key]['label'].'">';
|
463 |
+
foreach ( $args['options']['group'][$key]['options'] as $optionkey => $optionlabel ) {
|
464 |
+
$html .= sprintf( '<option value="%s"%s>%s</option>', $optionkey, selected( $value, $optionkey, false ), $optionlabel );
|
465 |
+
}
|
466 |
+
$html .= '</optgroup>';
|
467 |
+
}
|
468 |
+
|
469 |
+
}
|
470 |
+
|
471 |
+
$html .= sprintf( '</select>' );
|
472 |
+
$html .= '</div>';
|
473 |
+
$html .= '</div>';
|
474 |
+
$html .= '</div>';
|
475 |
+
|
476 |
+
echo $html;
|
477 |
+
|
478 |
+
}
|
479 |
+
|
480 |
/**
|
481 |
* Displays a multiselect for a settings field
|
482 |
*
|
612 |
public function script() {
|
613 |
?>
|
614 |
<script>
|
615 |
+
;jQuery(document).ready(function($) {
|
616 |
|
617 |
//Initiate Color Picker
|
618 |
$('.wp-color-picker-field').wpColorPicker({
|
641 |
$(this).closest('.woolentor-admin-main-tab-pane').find('.woolentor-admin-btn-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
642 |
});
|
643 |
|
644 |
+
// Media Uploader
|
645 |
+
$('.woolentor-browse').on('click', function (event) {
|
646 |
+
event.preventDefault();
|
647 |
+
|
648 |
+
var self = $(this);
|
649 |
+
|
650 |
+
// Create the media frame.
|
651 |
+
var file_frame = wp.media.frames.file_frame = wp.media({
|
652 |
+
title: self.data('uploader_title'),
|
653 |
+
button: {
|
654 |
+
text: self.data('uploader_button_text'),
|
655 |
+
},
|
656 |
+
multiple: false
|
657 |
+
});
|
658 |
+
|
659 |
+
file_frame.on('select', function () {
|
660 |
+
var attachment = file_frame.state().get('selection').first().toJSON();
|
661 |
+
self.prev('.woolentor-url').val(attachment.url).change();
|
662 |
+
self.siblings('.woolentor_display').html('<img src="'+attachment.url+'" alt="'+attachment.title+'" />');
|
663 |
+
});
|
664 |
+
|
665 |
+
// Finally, open the modal
|
666 |
+
file_frame.open();
|
667 |
+
|
668 |
+
});
|
669 |
+
|
670 |
+
// Remove Media Button
|
671 |
+
$('.woolentor-remove').on('click', function (event) {
|
672 |
+
event.preventDefault();
|
673 |
+
var self = $(this);
|
674 |
+
self.siblings('.woolentor-url').val('').change();
|
675 |
+
self.siblings('.woolentor_display').html('');
|
676 |
+
});
|
677 |
+
|
678 |
});
|
679 |
</script>
|
680 |
<?php
|
includes/admin/include/admin_fields.php
CHANGED
@@ -25,6 +25,7 @@ class Woolentor_Admin_Fields {
|
|
25 |
* @return [array] section
|
26 |
*/
|
27 |
public function field_sections(){
|
|
|
28 |
$sections = array(
|
29 |
|
30 |
array(
|
@@ -46,15 +47,9 @@ class Woolentor_Admin_Fields {
|
|
46 |
),
|
47 |
|
48 |
array(
|
49 |
-
'id' => '
|
50 |
-
'title' => esc_html__( '
|
51 |
-
'icon' => 'wli-
|
52 |
-
),
|
53 |
-
|
54 |
-
array(
|
55 |
-
'id' => 'woolentor_sales_notification_tabs',
|
56 |
-
'title' => esc_html__( 'Sales Notification', 'woolentor' ),
|
57 |
-
'icon' => 'wli-bell'
|
58 |
),
|
59 |
|
60 |
array(
|
@@ -63,12 +58,6 @@ class Woolentor_Admin_Fields {
|
|
63 |
'icon' => 'wli-tag'
|
64 |
),
|
65 |
|
66 |
-
array(
|
67 |
-
'id' => 'woolentor_others_tabs',
|
68 |
-
'title' => esc_html__( 'Modules', 'woolentor' ),
|
69 |
-
'icon' => 'wli-grid'
|
70 |
-
),
|
71 |
-
|
72 |
array(
|
73 |
'id' => 'woolentor_extension_tabs',
|
74 |
'title' => esc_html__( 'Extensions', 'woolentor' ),
|
@@ -115,9 +104,20 @@ class Woolentor_Admin_Fields {
|
|
115 |
'name' => 'singleproductpage',
|
116 |
'label' => esc_html__( 'Single Product Template', 'woolentor' ),
|
117 |
'desc' => esc_html__( 'You can select a custom template for the product details page layout', 'woolentor' ),
|
118 |
-
'type' => '
|
119 |
'default' => '0',
|
120 |
-
'options' =>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
'class' => 'depend_enable_custom_layout',
|
122 |
),
|
123 |
|
@@ -125,9 +125,20 @@ class Woolentor_Admin_Fields {
|
|
125 |
'name' => 'productarchivepage',
|
126 |
'label' => esc_html__( 'Product Shop Page Template', 'woolentor' ),
|
127 |
'desc' => esc_html__( 'You can select a custom template for the Shop page layout', 'woolentor' ),
|
128 |
-
'type' => '
|
129 |
'default' => '0',
|
130 |
-
'options' =>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
'class' => 'depend_enable_custom_layout',
|
132 |
),
|
133 |
|
@@ -135,9 +146,20 @@ class Woolentor_Admin_Fields {
|
|
135 |
'name' => 'productallarchivepage',
|
136 |
'label' => esc_html__( 'Product Archive Page Template', 'woolentor' ),
|
137 |
'desc' => esc_html__( 'You can select a custom template for the Product Archive page layout', 'woolentor' ),
|
138 |
-
'type' => '
|
139 |
'default' => '0',
|
140 |
-
'options' =>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
'class' => 'depend_enable_custom_layout',
|
142 |
),
|
143 |
|
@@ -783,472 +805,546 @@ class Woolentor_Admin_Fields {
|
|
783 |
|
784 |
),
|
785 |
|
786 |
-
'
|
787 |
-
|
788 |
-
array(
|
789 |
-
'name' => 'enablerenamelabel',
|
790 |
-
'label' => esc_html__( 'Enable / Disable Rename Label', 'woolentor' ),
|
791 |
-
'desc' => esc_html__( 'You can enable / disable rename label from here.', 'woolentor' ),
|
792 |
-
'type' => 'checkbox',
|
793 |
-
'default' => 'off',
|
794 |
-
'class' =>'enablerenamelabel',
|
795 |
-
),
|
796 |
-
|
797 |
-
array(
|
798 |
-
'name' => 'shop_page_heading',
|
799 |
-
'headding' => esc_html__( 'Shop Page', 'woolentor' ),
|
800 |
-
'type' => 'title',
|
801 |
-
'class' => 'depend_enable_rename_label',
|
802 |
-
),
|
803 |
-
|
804 |
-
array(
|
805 |
-
'name' => 'wl_shop_add_to_cart_txt',
|
806 |
-
'label' => esc_html__( 'Add to Cart Button Text', 'woolentor' ),
|
807 |
-
'desc' => esc_html__( 'Change the Add to Cart button text for the Shop page.', 'woolentor' ),
|
808 |
-
'type' => 'text',
|
809 |
-
'placeholder' => esc_html__( 'Add to Cart', 'woolentor' ),
|
810 |
-
'class' => 'depend_enable_rename_label',
|
811 |
-
),
|
812 |
-
|
813 |
-
array(
|
814 |
-
'name' => 'product_details_page_heading',
|
815 |
-
'headding' => esc_html__( 'Product Details Page', 'woolentor' ),
|
816 |
-
'type' => 'title',
|
817 |
-
'class' => 'depend_enable_rename_label',
|
818 |
-
),
|
819 |
-
|
820 |
-
array(
|
821 |
-
'name' => 'wl_add_to_cart_txt',
|
822 |
-
'label' => esc_html__( 'Add to Cart Button Text', 'woolentor' ),
|
823 |
-
'desc' => esc_html__( 'Change the Add to Cart button text for the Product details page.', 'woolentor' ),
|
824 |
-
'type' => 'text',
|
825 |
-
'placeholder' => esc_html__( 'Add to Cart', 'woolentor' ),
|
826 |
-
'class' => 'depend_enable_rename_label',
|
827 |
-
),
|
828 |
-
|
829 |
-
array(
|
830 |
-
'name' => 'wl_description_tab_menu_title',
|
831 |
-
'label' => esc_html__( 'Description', 'woolentor' ),
|
832 |
-
'desc' => esc_html__( 'Change the tab title for the product description.', 'woolentor' ),
|
833 |
-
'type' => 'text',
|
834 |
-
'placeholder' => esc_html__( 'Description', 'woolentor' ),
|
835 |
-
'class' => 'depend_enable_rename_label',
|
836 |
-
),
|
837 |
-
|
838 |
-
array(
|
839 |
-
'name' => 'wl_additional_information_tab_menu_title',
|
840 |
-
'label' => esc_html__( 'Additional Information', 'woolentor' ),
|
841 |
-
'desc' => esc_html__( 'Change the tab title for the product additional information', 'woolentor' ),
|
842 |
-
'type' => 'text',
|
843 |
-
'placeholder' => esc_html__( 'Additional information', 'woolentor' ),
|
844 |
-
'class' => 'depend_enable_rename_label',
|
845 |
-
),
|
846 |
-
|
847 |
-
array(
|
848 |
-
'name' => 'wl_reviews_tab_menu_title',
|
849 |
-
'label' => esc_html__( 'Reviews', 'woolentor' ),
|
850 |
-
'desc' => esc_html__( 'Change the tab title for the product review', 'woolentor' ),
|
851 |
-
'type' => 'text',
|
852 |
-
'placeholder' => __( 'Reviews', 'woolentor' ),
|
853 |
-
'class' =>'depend_enable_rename_label',
|
854 |
-
),
|
855 |
-
|
856 |
-
array(
|
857 |
-
'name' => 'checkout_page_heading',
|
858 |
-
'headding' => esc_html__( 'Checkout Page', 'woolentor' ),
|
859 |
-
'type' => 'title',
|
860 |
-
'class' => 'depend_enable_rename_label',
|
861 |
-
),
|
862 |
|
863 |
-
array(
|
864 |
-
'name' => 'wl_checkout_placeorder_btn_txt',
|
865 |
-
'label' => esc_html__( 'Place order', 'woolentor' ),
|
866 |
-
'desc' => esc_html__( 'Change the label for the Place order field.', 'woolentor' ),
|
867 |
-
'type' => 'text',
|
868 |
-
'placeholder' => esc_html__( 'Place order', 'woolentor' ),
|
869 |
-
'class' => 'depend_enable_rename_label',
|
870 |
-
),
|
871 |
|
872 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
873 |
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
|
882 |
-
|
883 |
-
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
-
|
890 |
-
|
891 |
-
|
892 |
-
|
893 |
-
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
-
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
|
912 |
-
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
|
925 |
-
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
939 |
-
|
940 |
-
|
941 |
-
|
942 |
-
|
943 |
-
|
944 |
-
|
945 |
-
|
946 |
-
|
947 |
-
|
948 |
-
|
949 |
-
|
950 |
-
'4' => esc_html__( '4 seconds','woolentor' ),
|
951 |
-
'5' => esc_html__( '5 seconds','woolentor' ),
|
952 |
-
'6' => esc_html__( '6 seconds','woolentor' ),
|
953 |
-
'7' => esc_html__( '7 seconds','woolentor' ),
|
954 |
-
'8' => esc_html__( '8 seconds','woolentor' ),
|
955 |
-
'9' => esc_html__( '9 seconds','woolentor' ),
|
956 |
-
'10' => esc_html__( '10 seconds','woolentor' ),
|
957 |
-
'20' => esc_html__( '20 seconds','woolentor' ),
|
958 |
-
'30' => esc_html__( '30 seconds','woolentor' ),
|
959 |
-
'40' => esc_html__( '40 seconds','woolentor' ),
|
960 |
-
'50' => esc_html__( '50 seconds','woolentor' ),
|
961 |
-
'60' => esc_html__( '1 minute','woolentor' ),
|
962 |
-
'90' => esc_html__( '1.5 minutes','woolentor' ),
|
963 |
-
'120' => esc_html__( '2 minutes','woolentor' ),
|
964 |
-
),
|
965 |
-
),
|
966 |
-
|
967 |
-
array(
|
968 |
-
'name' => 'notification_time_showing',
|
969 |
-
'label' => esc_html__( 'Notification showing time', 'woolentor' ),
|
970 |
-
'desc' => esc_html__( 'How long to keep the notification.', 'woolentor' ),
|
971 |
-
'type' => 'select',
|
972 |
-
'default' => '4',
|
973 |
-
'options' => array(
|
974 |
-
'2' => esc_html__( '2 seconds','woolentor' ),
|
975 |
-
'4' => esc_html__( '4 seconds','woolentor' ),
|
976 |
-
'5' => esc_html__( '5 seconds','woolentor' ),
|
977 |
-
'6' => esc_html__( '6 seconds','woolentor' ),
|
978 |
-
'7' => esc_html__( '7 seconds','woolentor' ),
|
979 |
-
'8' => esc_html__( '8 seconds','woolentor' ),
|
980 |
-
'9' => esc_html__( '9 seconds','woolentor' ),
|
981 |
-
'10' => esc_html__( '10 seconds','woolentor' ),
|
982 |
-
'20' => esc_html__( '20 seconds','woolentor' ),
|
983 |
-
'30' => esc_html__( '30 seconds','woolentor' ),
|
984 |
-
'40' => esc_html__( '40 seconds','woolentor' ),
|
985 |
-
'50' => esc_html__( '50 seconds','woolentor' ),
|
986 |
-
'60' => esc_html__( '1 minute','woolentor' ),
|
987 |
-
'90' => esc_html__( '1.5 minutes','woolentor' ),
|
988 |
-
'120' => esc_html__( '2 minutes','woolentor' ),
|
989 |
-
),
|
990 |
-
),
|
991 |
-
|
992 |
-
array(
|
993 |
-
'name' => 'notification_time_int',
|
994 |
-
'label' => esc_html__( 'Time Interval', 'woolentor' ),
|
995 |
-
'desc' => esc_html__( 'Set the interval time between notifications.', 'woolentor' ),
|
996 |
-
'type' => 'select',
|
997 |
-
'default' => '4',
|
998 |
-
'options' => array(
|
999 |
-
'2' => esc_html__( '2 seconds','woolentor' ),
|
1000 |
-
'4' => esc_html__( '4 seconds','woolentor' ),
|
1001 |
-
'5' => esc_html__( '5 seconds','woolentor' ),
|
1002 |
-
'6' => esc_html__( '6 seconds','woolentor' ),
|
1003 |
-
'7' => esc_html__( '7 seconds','woolentor' ),
|
1004 |
-
'8' => esc_html__( '8 seconds','woolentor' ),
|
1005 |
-
'9' => esc_html__( '9 seconds','woolentor' ),
|
1006 |
-
'10' => esc_html__( '10 seconds','woolentor' ),
|
1007 |
-
'20' => esc_html__( '20 seconds','woolentor' ),
|
1008 |
-
'30' => esc_html__( '30 seconds','woolentor' ),
|
1009 |
-
'40' => esc_html__( '40 seconds','woolentor' ),
|
1010 |
-
'50' => esc_html__( '50 seconds','woolentor' ),
|
1011 |
-
'60' => esc_html__( '1 minute','woolentor' ),
|
1012 |
-
'90' => esc_html__( '1.5 minutes','woolentor' ),
|
1013 |
-
'120' => esc_html__( '2 minutes','woolentor' ),
|
1014 |
),
|
1015 |
-
),
|
1016 |
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
-
|
1021 |
-
|
1022 |
-
|
1023 |
-
|
1024 |
-
|
1025 |
-
|
1026 |
-
|
1027 |
-
|
1028 |
-
|
1029 |
-
|
1030 |
-
|
1031 |
-
|
1032 |
-
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
|
1039 |
-
|
1040 |
-
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
|
1045 |
-
|
1046 |
-
|
1047 |
-
|
1048 |
-
|
1049 |
-
|
1050 |
-
|
1051 |
-
|
1052 |
-
|
1053 |
-
|
1054 |
-
|
1055 |
-
|
1056 |
-
|
1057 |
-
|
1058 |
-
|
1059 |
-
|
1060 |
-
|
1061 |
-
|
1062 |
-
|
1063 |
-
|
1064 |
-
|
1065 |
-
|
1066 |
-
|
1067 |
-
|
1068 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1069 |
),
|
1070 |
-
'class' => 'notification_real',
|
1071 |
-
),
|
1072 |
|
1073 |
-
|
1074 |
-
|
1075 |
-
|
1076 |
-
|
1077 |
-
|
1078 |
-
|
1079 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1080 |
|
1081 |
-
array(
|
1082 |
-
'name' => 'notification_inanimation',
|
1083 |
-
'label' => esc_html__( 'Animation In', 'woolentor' ),
|
1084 |
-
'desc' => esc_html__( 'Choose entrance animation.', 'woolentor' ),
|
1085 |
-
'type' => 'select',
|
1086 |
-
'default' => 'fadeInLeft',
|
1087 |
-
'options' => array(
|
1088 |
-
'bounce' => esc_html__( 'bounce','woolentor' ),
|
1089 |
-
'flash' => esc_html__( 'flash','woolentor' ),
|
1090 |
-
'pulse' => esc_html__( 'pulse','woolentor' ),
|
1091 |
-
'rubberBand' => esc_html__( 'rubberBand','woolentor' ),
|
1092 |
-
'shake' => esc_html__( 'shake','woolentor' ),
|
1093 |
-
'swing' => esc_html__( 'swing','woolentor' ),
|
1094 |
-
'tada' => esc_html__( 'tada','woolentor' ),
|
1095 |
-
'wobble' => esc_html__( 'wobble','woolentor' ),
|
1096 |
-
'jello' => esc_html__( 'jello','woolentor' ),
|
1097 |
-
'heartBeat' => esc_html__( 'heartBeat','woolentor' ),
|
1098 |
-
'bounceIn' => esc_html__( 'bounceIn','woolentor' ),
|
1099 |
-
'bounceInDown' => esc_html__( 'bounceInDown','woolentor' ),
|
1100 |
-
'bounceInLeft' => esc_html__( 'bounceInLeft','woolentor' ),
|
1101 |
-
'bounceInRight' => esc_html__( 'bounceInRight','woolentor' ),
|
1102 |
-
'bounceInUp' => esc_html__( 'bounceInUp','woolentor' ),
|
1103 |
-
'fadeIn' => esc_html__( 'fadeIn','woolentor' ),
|
1104 |
-
'fadeInDown' => esc_html__( 'fadeInDown','woolentor' ),
|
1105 |
-
'fadeInDownBig' => esc_html__( 'fadeInDownBig','woolentor' ),
|
1106 |
-
'fadeInLeft' => esc_html__( 'fadeInLeft','woolentor' ),
|
1107 |
-
'fadeInLeftBig' => esc_html__( 'fadeInLeftBig','woolentor' ),
|
1108 |
-
'fadeInRight' => esc_html__( 'fadeInRight','woolentor' ),
|
1109 |
-
'fadeInRightBig' => esc_html__( 'fadeInRightBig','woolentor' ),
|
1110 |
-
'fadeInUp' => esc_html__( 'fadeInUp','woolentor' ),
|
1111 |
-
'fadeInUpBig' => esc_html__( 'fadeInUpBig','woolentor' ),
|
1112 |
-
'flip' => esc_html__( 'flip','woolentor' ),
|
1113 |
-
'flipInX' => esc_html__( 'flipInX','woolentor' ),
|
1114 |
-
'flipInY' => esc_html__( 'flipInY','woolentor' ),
|
1115 |
-
'lightSpeedIn' => esc_html__( 'lightSpeedIn','woolentor' ),
|
1116 |
-
'rotateIn' => esc_html__( 'rotateIn','woolentor' ),
|
1117 |
-
'rotateInDownLeft' => esc_html__( 'rotateInDownLeft','woolentor' ),
|
1118 |
-
'rotateInDownRight' => esc_html__( 'rotateInDownRight','woolentor' ),
|
1119 |
-
'rotateInUpLeft' => esc_html__( 'rotateInUpLeft','woolentor' ),
|
1120 |
-
'rotateInUpRight' => esc_html__( 'rotateInUpRight','woolentor' ),
|
1121 |
-
'slideInUp' => esc_html__( 'slideInUp','woolentor' ),
|
1122 |
-
'slideInDown' => esc_html__( 'slideInDown','woolentor' ),
|
1123 |
-
'slideInLeft' => esc_html__( 'slideInLeft','woolentor' ),
|
1124 |
-
'slideInRight' => esc_html__( 'slideInRight','woolentor' ),
|
1125 |
-
'zoomIn' => esc_html__( 'zoomIn','woolentor' ),
|
1126 |
-
'zoomInDown' => esc_html__( 'zoomInDown','woolentor' ),
|
1127 |
-
'zoomInLeft' => esc_html__( 'zoomInLeft','woolentor' ),
|
1128 |
-
'zoomInRight' => esc_html__( 'zoomInRight','woolentor' ),
|
1129 |
-
'zoomInUp' => esc_html__( 'zoomInUp','woolentor' ),
|
1130 |
-
'hinge' => esc_html__( 'hinge','woolentor' ),
|
1131 |
-
'jackInTheBox' => esc_html__( 'jackInTheBox','woolentor' ),
|
1132 |
-
'rollIn' => esc_html__( 'rollIn','woolentor' ),
|
1133 |
-
'rollOut' => esc_html__( 'rollOut','woolentor' ),
|
1134 |
),
|
1135 |
-
),
|
1136 |
-
|
1137 |
-
array(
|
1138 |
-
'name' => 'notification_outanimation',
|
1139 |
-
'label' => esc_html__( 'Animation Out', 'woolentor' ),
|
1140 |
-
'desc' => esc_html__( 'Choose exit animation.', 'woolentor' ),
|
1141 |
-
'type' => 'select',
|
1142 |
-
'default' => 'fadeOutRight',
|
1143 |
-
'options' => array(
|
1144 |
-
'bounce' => esc_html__( 'bounce','woolentor' ),
|
1145 |
-
'flash' => esc_html__( 'flash','woolentor' ),
|
1146 |
-
'pulse' => esc_html__( 'pulse','woolentor' ),
|
1147 |
-
'rubberBand' => esc_html__( 'rubberBand','woolentor' ),
|
1148 |
-
'shake' => esc_html__( 'shake','woolentor' ),
|
1149 |
-
'swing' => esc_html__( 'swing','woolentor' ),
|
1150 |
-
'tada' => esc_html__( 'tada','woolentor' ),
|
1151 |
-
'wobble' => esc_html__( 'wobble','woolentor' ),
|
1152 |
-
'jello' => esc_html__( 'jello','woolentor' ),
|
1153 |
-
'heartBeat' => esc_html__( 'heartBeat','woolentor' ),
|
1154 |
-
'bounceOut' => esc_html__( 'bounceOut','woolentor' ),
|
1155 |
-
'bounceOutDown' => esc_html__( 'bounceOutDown','woolentor' ),
|
1156 |
-
'bounceOutLeft' => esc_html__( 'bounceOutLeft','woolentor' ),
|
1157 |
-
'bounceOutRight' => esc_html__( 'bounceOutRight','woolentor' ),
|
1158 |
-
'bounceOutUp' => esc_html__( 'bounceOutUp','woolentor' ),
|
1159 |
-
'fadeOut' => esc_html__( 'fadeOut','woolentor' ),
|
1160 |
-
'fadeOutDown' => esc_html__( 'fadeOutDown','woolentor' ),
|
1161 |
-
'fadeOutDownBig' => esc_html__( 'fadeOutDownBig','woolentor' ),
|
1162 |
-
'fadeOutLeft' => esc_html__( 'fadeOutLeft','woolentor' ),
|
1163 |
-
'fadeOutLeftBig' => esc_html__( 'fadeOutLeftBig','woolentor' ),
|
1164 |
-
'fadeOutRight' => esc_html__( 'fadeOutRight','woolentor' ),
|
1165 |
-
'fadeOutRightBig' => esc_html__( 'fadeOutRightBig','woolentor' ),
|
1166 |
-
'fadeOutUp' => esc_html__( 'fadeOutUp','woolentor' ),
|
1167 |
-
'fadeOutUpBig' => esc_html__( 'fadeOutUpBig','woolentor' ),
|
1168 |
-
'flip' => esc_html__( 'flip','woolentor' ),
|
1169 |
-
'flipOutX' => esc_html__( 'flipOutX','woolentor' ),
|
1170 |
-
'flipOutY' => esc_html__( 'flipOutY','woolentor' ),
|
1171 |
-
'lightSpeedOut' => esc_html__( 'lightSpeedOut','woolentor' ),
|
1172 |
-
'rotateOut' => esc_html__( 'rotateOut','woolentor' ),
|
1173 |
-
'rotateOutDownLeft' => esc_html__( 'rotateOutDownLeft','woolentor' ),
|
1174 |
-
'rotateOutDownRight' => esc_html__( 'rotateOutDownRight','woolentor' ),
|
1175 |
-
'rotateOutUpLeft' => esc_html__( 'rotateOutUpLeft','woolentor' ),
|
1176 |
-
'rotateOutUpRight' => esc_html__( 'rotateOutUpRight','woolentor' ),
|
1177 |
-
'slideOutUp' => esc_html__( 'slideOutUp','woolentor' ),
|
1178 |
-
'slideOutDown' => esc_html__( 'slideOutDown','woolentor' ),
|
1179 |
-
'slideOutLeft' => esc_html__( 'slideOutLeft','woolentor' ),
|
1180 |
-
'slideOutRight' => esc_html__( 'slideOutRight','woolentor' ),
|
1181 |
-
'zoomOut' => esc_html__( 'zoomOut','woolentor' ),
|
1182 |
-
'zoomOutDown' => esc_html__( 'zoomOutDown','woolentor' ),
|
1183 |
-
'zoomOutLeft' => esc_html__( 'zoomOutLeft','woolentor' ),
|
1184 |
-
'zoomOutRight' => esc_html__( 'zoomOutRight','woolentor' ),
|
1185 |
-
'zoomOutUp' => esc_html__( 'zoomOutUp','woolentor' ),
|
1186 |
-
'hinge' => esc_html__( 'hinge','woolentor' ),
|
1187 |
-
),
|
1188 |
-
),
|
1189 |
-
|
1190 |
-
array(
|
1191 |
-
'name' => 'notification_style_area_title',
|
1192 |
-
'headding'=> esc_html__( 'Style', 'woolentor' ),
|
1193 |
-
'type' => 'title',
|
1194 |
-
'size' => 'margin_0 regular',
|
1195 |
-
'class' => 'element_section_title_area',
|
1196 |
-
),
|
1197 |
-
|
1198 |
-
array(
|
1199 |
-
'name' => 'notification_width',
|
1200 |
-
'label' => esc_html__( 'Width', 'woolentor' ),
|
1201 |
-
'desc' => esc_html__( 'You can handle the notificaton width.', 'woolentor' ),
|
1202 |
-
'type' => 'text',
|
1203 |
-
'default' => esc_html__( '550px', 'woolentor' ),
|
1204 |
-
'placeholder' => esc_html__( '550px', 'woolentor' ),
|
1205 |
-
),
|
1206 |
-
|
1207 |
-
array(
|
1208 |
-
'name' => 'notification_mobile_width',
|
1209 |
-
'label' => esc_html__( 'Width for mobile', 'woolentor' ),
|
1210 |
-
'desc' => esc_html__( 'You can handle the notificaton width.', 'woolentor' ),
|
1211 |
-
'type' => 'text',
|
1212 |
-
'default' => esc_html__( '90%', 'woolentor' ),
|
1213 |
-
'placeholder' => esc_html__( '90%', 'woolentor' ),
|
1214 |
-
),
|
1215 |
-
|
1216 |
-
array(
|
1217 |
-
'name' => 'background_color',
|
1218 |
-
'label' => esc_html__( 'Background Color', 'woolentor' ),
|
1219 |
-
'desc' => esc_html__( 'Set the background color of the notification.', 'woolentor' ),
|
1220 |
-
'type' => 'color',
|
1221 |
-
'class' => 'notification_real',
|
1222 |
-
),
|
1223 |
-
|
1224 |
-
array(
|
1225 |
-
'name' => 'heading_color',
|
1226 |
-
'label' => esc_html__( 'Heading Color', 'woolentor' ),
|
1227 |
-
'desc' => esc_html__( 'Set the heading color of the notification.', 'woolentor' ),
|
1228 |
-
'type' => 'color',
|
1229 |
-
'class' => 'notification_real',
|
1230 |
-
),
|
1231 |
-
|
1232 |
-
array(
|
1233 |
-
'name' => 'content_color',
|
1234 |
-
'label' => esc_html__( 'Content Color', 'woolentor' ),
|
1235 |
-
'desc' => esc_html__( 'Set the content color of the notification.', 'woolentor' ),
|
1236 |
-
'type' => 'color',
|
1237 |
-
'class' => 'notification_real',
|
1238 |
-
),
|
1239 |
-
|
1240 |
-
array(
|
1241 |
-
'name' => 'cross_color',
|
1242 |
-
'label' => esc_html__( 'Cross Icon Color', 'woolentor' ),
|
1243 |
-
'desc' => esc_html__( 'Set the cross icon color of the notification.', 'woolentor' ),
|
1244 |
-
'type' => 'color'
|
1245 |
-
),
|
1246 |
-
|
1247 |
-
),
|
1248 |
-
|
1249 |
-
'woolentor_others_tabs' => array(
|
1250 |
-
|
1251 |
-
'modules' => array(
|
1252 |
|
1253 |
array(
|
1254 |
'name' => 'ajaxsearch',
|
@@ -1282,6 +1378,14 @@ class Woolentor_Admin_Fields {
|
|
1282 |
'default'=> 'off',
|
1283 |
'is_pro' => true
|
1284 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1285 |
|
1286 |
array(
|
1287 |
'name' => 'multi_step_checkoutp',
|
25 |
* @return [array] section
|
26 |
*/
|
27 |
public function field_sections(){
|
28 |
+
|
29 |
$sections = array(
|
30 |
|
31 |
array(
|
47 |
),
|
48 |
|
49 |
array(
|
50 |
+
'id' => 'woolentor_others_tabs',
|
51 |
+
'title' => esc_html__( 'Modules', 'woolentor' ),
|
52 |
+
'icon' => 'wli-grid'
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
),
|
54 |
|
55 |
array(
|
58 |
'icon' => 'wli-tag'
|
59 |
),
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
array(
|
62 |
'id' => 'woolentor_extension_tabs',
|
63 |
'title' => esc_html__( 'Extensions', 'woolentor' ),
|
104 |
'name' => 'singleproductpage',
|
105 |
'label' => esc_html__( 'Single Product Template', 'woolentor' ),
|
106 |
'desc' => esc_html__( 'You can select a custom template for the product details page layout', 'woolentor' ),
|
107 |
+
'type' => 'selectgroup',
|
108 |
'default' => '0',
|
109 |
+
'options' => [
|
110 |
+
'group'=>[
|
111 |
+
'woolentor' => [
|
112 |
+
'label' => __( 'WooLentor', 'woolentor' ),
|
113 |
+
'options' => woolentor_wltemplate_list( array('single') )
|
114 |
+
],
|
115 |
+
'elementor' => [
|
116 |
+
'label' => __( 'Elementor', 'woolentor' ),
|
117 |
+
'options' => woolentor_elementor_template()
|
118 |
+
]
|
119 |
+
]
|
120 |
+
],
|
121 |
'class' => 'depend_enable_custom_layout',
|
122 |
),
|
123 |
|
125 |
'name' => 'productarchivepage',
|
126 |
'label' => esc_html__( 'Product Shop Page Template', 'woolentor' ),
|
127 |
'desc' => esc_html__( 'You can select a custom template for the Shop page layout', 'woolentor' ),
|
128 |
+
'type' => 'selectgroup',
|
129 |
'default' => '0',
|
130 |
+
'options' => [
|
131 |
+
'group'=>[
|
132 |
+
'woolentor' => [
|
133 |
+
'label' => __( 'WooLentor', 'woolentor' ),
|
134 |
+
'options' => woolentor_wltemplate_list( array('shop','archive') )
|
135 |
+
],
|
136 |
+
'elementor' => [
|
137 |
+
'label' => __( 'Elementor', 'woolentor' ),
|
138 |
+
'options' => woolentor_elementor_template()
|
139 |
+
]
|
140 |
+
]
|
141 |
+
],
|
142 |
'class' => 'depend_enable_custom_layout',
|
143 |
),
|
144 |
|
146 |
'name' => 'productallarchivepage',
|
147 |
'label' => esc_html__( 'Product Archive Page Template', 'woolentor' ),
|
148 |
'desc' => esc_html__( 'You can select a custom template for the Product Archive page layout', 'woolentor' ),
|
149 |
+
'type' => 'selectgroup',
|
150 |
'default' => '0',
|
151 |
+
'options' => [
|
152 |
+
'group'=>[
|
153 |
+
'woolentor' => [
|
154 |
+
'label' => __( 'WooLentor', 'woolentor' ),
|
155 |
+
'options' => woolentor_wltemplate_list( array('shop','archive') )
|
156 |
+
],
|
157 |
+
'elementor' => [
|
158 |
+
'label' => __( 'Elementor', 'woolentor' ),
|
159 |
+
'options' => woolentor_elementor_template()
|
160 |
+
]
|
161 |
+
]
|
162 |
+
],
|
163 |
'class' => 'depend_enable_custom_layout',
|
164 |
),
|
165 |
|
805 |
|
806 |
),
|
807 |
|
808 |
+
'woolentor_others_tabs' => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
809 |
|
810 |
+
'modules' => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
811 |
|
812 |
+
array(
|
813 |
+
'name' => 'rename_label_settings',
|
814 |
+
'label' => esc_html__( 'Rename Label', 'woolentor' ),
|
815 |
+
'type' => 'module',
|
816 |
+
'default' => 'off',
|
817 |
+
'section' => 'woolentor_rename_label_tabs',
|
818 |
+
'option_id'=> 'enablerenamelabel',
|
819 |
+
'require_settings'=> true,
|
820 |
+
'setting_fields' => array(
|
821 |
+
|
822 |
+
array(
|
823 |
+
'name' => 'enablerenamelabel',
|
824 |
+
'label' => esc_html__( 'Enable / Disable', 'woolentor' ),
|
825 |
+
'desc' => esc_html__( 'You can enable / disable rename label from here.', 'woolentor' ),
|
826 |
+
'type' => 'checkbox',
|
827 |
+
'default' => 'off',
|
828 |
+
'class' =>'enablerenamelabel woolentor-action-field-left',
|
829 |
+
),
|
830 |
|
831 |
+
array(
|
832 |
+
'name' => 'shop_page_heading',
|
833 |
+
'headding' => esc_html__( 'Shop Page', 'woolentor' ),
|
834 |
+
'type' => 'title',
|
835 |
+
'class' => 'depend_enable_rename_label',
|
836 |
+
),
|
837 |
+
|
838 |
+
array(
|
839 |
+
'name' => 'wl_shop_add_to_cart_txt',
|
840 |
+
'label' => esc_html__( 'Add to Cart Button Text', 'woolentor' ),
|
841 |
+
'desc' => esc_html__( 'Change the Add to Cart button text for the Shop page.', 'woolentor' ),
|
842 |
+
'type' => 'text',
|
843 |
+
'placeholder' => esc_html__( 'Add to Cart', 'woolentor' ),
|
844 |
+
'class' => 'depend_enable_rename_label woolentor-action-field-left',
|
845 |
+
),
|
846 |
+
|
847 |
+
array(
|
848 |
+
'name' => 'product_details_page_heading',
|
849 |
+
'headding' => esc_html__( 'Product Details Page', 'woolentor' ),
|
850 |
+
'type' => 'title',
|
851 |
+
'class' => 'depend_enable_rename_label',
|
852 |
+
),
|
853 |
+
|
854 |
+
array(
|
855 |
+
'name' => 'wl_add_to_cart_txt',
|
856 |
+
'label' => esc_html__( 'Add to Cart Button Text', 'woolentor' ),
|
857 |
+
'desc' => esc_html__( 'Change the Add to Cart button text for the Product details page.', 'woolentor' ),
|
858 |
+
'type' => 'text',
|
859 |
+
'placeholder' => esc_html__( 'Add to Cart', 'woolentor' ),
|
860 |
+
'class' => 'depend_enable_rename_label woolentor-action-field-left',
|
861 |
+
),
|
862 |
+
|
863 |
+
array(
|
864 |
+
'name' => 'wl_description_tab_menu_title',
|
865 |
+
'label' => esc_html__( 'Description', 'woolentor' ),
|
866 |
+
'desc' => esc_html__( 'Change the tab title for the product description.', 'woolentor' ),
|
867 |
+
'type' => 'text',
|
868 |
+
'placeholder' => esc_html__( 'Description', 'woolentor' ),
|
869 |
+
'class' => 'depend_enable_rename_label woolentor-action-field-left',
|
870 |
+
),
|
871 |
+
|
872 |
+
array(
|
873 |
+
'name' => 'wl_additional_information_tab_menu_title',
|
874 |
+
'label' => esc_html__( 'Additional Information', 'woolentor' ),
|
875 |
+
'desc' => esc_html__( 'Change the tab title for the product additional information', 'woolentor' ),
|
876 |
+
'type' => 'text',
|
877 |
+
'placeholder' => esc_html__( 'Additional information', 'woolentor' ),
|
878 |
+
'class' => 'depend_enable_rename_label woolentor-action-field-left',
|
879 |
+
),
|
880 |
+
|
881 |
+
array(
|
882 |
+
'name' => 'wl_reviews_tab_menu_title',
|
883 |
+
'label' => esc_html__( 'Reviews', 'woolentor' ),
|
884 |
+
'desc' => esc_html__( 'Change the tab title for the product review', 'woolentor' ),
|
885 |
+
'type' => 'text',
|
886 |
+
'placeholder' => __( 'Reviews', 'woolentor' ),
|
887 |
+
'class' =>'depend_enable_rename_label woolentor-action-field-left',
|
888 |
+
),
|
889 |
+
|
890 |
+
array(
|
891 |
+
'name' => 'checkout_page_heading',
|
892 |
+
'headding' => esc_html__( 'Checkout Page', 'woolentor' ),
|
893 |
+
'type' => 'title',
|
894 |
+
'class' => 'depend_enable_rename_label',
|
895 |
+
),
|
896 |
+
|
897 |
+
array(
|
898 |
+
'name' => 'wl_checkout_placeorder_btn_txt',
|
899 |
+
'label' => esc_html__( 'Place order', 'woolentor' ),
|
900 |
+
'desc' => esc_html__( 'Change the label for the Place order field.', 'woolentor' ),
|
901 |
+
'type' => 'text',
|
902 |
+
'placeholder' => esc_html__( 'Place order', 'woolentor' ),
|
903 |
+
'class' => 'depend_enable_rename_label woolentor-action-field-left',
|
904 |
+
),
|
905 |
+
|
906 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
907 |
),
|
|
|
908 |
|
909 |
+
array(
|
910 |
+
'name' => 'sales_notification_settings',
|
911 |
+
'label' => esc_html__( 'Sales Notification', 'woolentor' ),
|
912 |
+
'type' => 'module',
|
913 |
+
'default' => 'off',
|
914 |
+
'section' => 'woolentor_sales_notification_tabs',
|
915 |
+
'option_id'=> 'enableresalenotification',
|
916 |
+
'require_settings' => true,
|
917 |
+
'setting_fields' => array(
|
918 |
+
|
919 |
+
array(
|
920 |
+
'name' => 'enableresalenotification',
|
921 |
+
'label' => esc_html__( 'Enable / Disable', 'woolentor' ),
|
922 |
+
'desc' => esc_html__( 'You can enable / disable sales notification from here.', 'woolentor' ),
|
923 |
+
'type' => 'checkbox',
|
924 |
+
'default' => 'off',
|
925 |
+
'class' => 'woolentor-action-field-left'
|
926 |
+
),
|
927 |
+
|
928 |
+
array(
|
929 |
+
'name' => 'notification_content_type',
|
930 |
+
'label' => esc_html__( 'Notification Content Type', 'woolentor' ),
|
931 |
+
'desc' => esc_html__( 'Select Content Type', 'woolentor' ),
|
932 |
+
'type' => 'radio',
|
933 |
+
'default' => 'actual',
|
934 |
+
'options' => array(
|
935 |
+
'actual' => esc_html__('Real','woolentor'),
|
936 |
+
'fakes' => esc_html__('Manual','woolentor'),
|
937 |
+
),
|
938 |
+
'class' => 'woolentor-action-field-left'
|
939 |
+
),
|
940 |
+
|
941 |
+
array(
|
942 |
+
'name' => 'noification_fake_data',
|
943 |
+
'label' => esc_html__( 'Choose Template', 'woolentor' ),
|
944 |
+
'desc' => esc_html__( 'Choose template for manual notification.', 'woolentor' ),
|
945 |
+
'type' => 'multiselect',
|
946 |
+
'default' => '',
|
947 |
+
'options' => woolentor_elementor_template(),
|
948 |
+
'class' => 'notification_fake',
|
949 |
+
),
|
950 |
+
|
951 |
+
array(
|
952 |
+
'name' => 'notification_pos',
|
953 |
+
'label' => esc_html__( 'Position', 'woolentor' ),
|
954 |
+
'desc' => esc_html__( 'Set the position of the Sales Notification Position on frontend.', 'woolentor' ),
|
955 |
+
'type' => 'select',
|
956 |
+
'default' => 'bottomleft',
|
957 |
+
'options' => array(
|
958 |
+
'topleft' => esc_html__( 'Top Left','woolentor' ),
|
959 |
+
'topright' => esc_html__( 'Top Right','woolentor' ),
|
960 |
+
'bottomleft' => esc_html__( 'Bottom Left','woolentor' ),
|
961 |
+
'bottomright' => esc_html__( 'Bottom Right','woolentor' ),
|
962 |
+
),
|
963 |
+
'class' => 'woolentor-action-field-left'
|
964 |
+
),
|
965 |
+
|
966 |
+
array(
|
967 |
+
'name' => 'notification_layout',
|
968 |
+
'label' => esc_html__( 'Image Position', 'woolentor' ),
|
969 |
+
'desc' => esc_html__( 'Set the image position of the notification.', 'woolentor' ),
|
970 |
+
'type' => 'select',
|
971 |
+
'default' => 'imageleft',
|
972 |
+
'options' => array(
|
973 |
+
'imageleft' => esc_html__( 'Image Left','woolentor' ),
|
974 |
+
'imageright' => esc_html__( 'Image Right','woolentor' ),
|
975 |
+
),
|
976 |
+
'class' => 'notification_real woolentor-action-field-left'
|
977 |
+
),
|
978 |
+
|
979 |
+
array(
|
980 |
+
'name' => 'notification_timing_area_title',
|
981 |
+
'headding'=> esc_html__( 'Notification Timing', 'woolentor' ),
|
982 |
+
'type' => 'title',
|
983 |
+
'size' => 'margin_0 regular',
|
984 |
+
'class' => 'element_section_title_area',
|
985 |
+
),
|
986 |
+
|
987 |
+
array(
|
988 |
+
'name' => 'notification_loadduration',
|
989 |
+
'label' => esc_html__( 'First loading time', 'woolentor' ),
|
990 |
+
'desc' => esc_html__( 'When to start notification load duration.', 'woolentor' ),
|
991 |
+
'type' => 'select',
|
992 |
+
'default' => '3',
|
993 |
+
'options' => array(
|
994 |
+
'2' => esc_html__( '2 seconds','woolentor' ),
|
995 |
+
'3' => esc_html__( '3 seconds','woolentor' ),
|
996 |
+
'4' => esc_html__( '4 seconds','woolentor' ),
|
997 |
+
'5' => esc_html__( '5 seconds','woolentor' ),
|
998 |
+
'6' => esc_html__( '6 seconds','woolentor' ),
|
999 |
+
'7' => esc_html__( '7 seconds','woolentor' ),
|
1000 |
+
'8' => esc_html__( '8 seconds','woolentor' ),
|
1001 |
+
'9' => esc_html__( '9 seconds','woolentor' ),
|
1002 |
+
'10' => esc_html__( '10 seconds','woolentor' ),
|
1003 |
+
'20' => esc_html__( '20 seconds','woolentor' ),
|
1004 |
+
'30' => esc_html__( '30 seconds','woolentor' ),
|
1005 |
+
'40' => esc_html__( '40 seconds','woolentor' ),
|
1006 |
+
'50' => esc_html__( '50 seconds','woolentor' ),
|
1007 |
+
'60' => esc_html__( '1 minute','woolentor' ),
|
1008 |
+
'90' => esc_html__( '1.5 minutes','woolentor' ),
|
1009 |
+
'120' => esc_html__( '2 minutes','woolentor' ),
|
1010 |
+
),
|
1011 |
+
'class' => 'woolentor-action-field-left'
|
1012 |
+
),
|
1013 |
+
|
1014 |
+
array(
|
1015 |
+
'name' => 'notification_time_showing',
|
1016 |
+
'label' => esc_html__( 'Notification showing time', 'woolentor' ),
|
1017 |
+
'desc' => esc_html__( 'How long to keep the notification.', 'woolentor' ),
|
1018 |
+
'type' => 'select',
|
1019 |
+
'default' => '4',
|
1020 |
+
'options' => array(
|
1021 |
+
'2' => esc_html__( '2 seconds','woolentor' ),
|
1022 |
+
'4' => esc_html__( '4 seconds','woolentor' ),
|
1023 |
+
'5' => esc_html__( '5 seconds','woolentor' ),
|
1024 |
+
'6' => esc_html__( '6 seconds','woolentor' ),
|
1025 |
+
'7' => esc_html__( '7 seconds','woolentor' ),
|
1026 |
+
'8' => esc_html__( '8 seconds','woolentor' ),
|
1027 |
+
'9' => esc_html__( '9 seconds','woolentor' ),
|
1028 |
+
'10' => esc_html__( '10 seconds','woolentor' ),
|
1029 |
+
'20' => esc_html__( '20 seconds','woolentor' ),
|
1030 |
+
'30' => esc_html__( '30 seconds','woolentor' ),
|
1031 |
+
'40' => esc_html__( '40 seconds','woolentor' ),
|
1032 |
+
'50' => esc_html__( '50 seconds','woolentor' ),
|
1033 |
+
'60' => esc_html__( '1 minute','woolentor' ),
|
1034 |
+
'90' => esc_html__( '1.5 minutes','woolentor' ),
|
1035 |
+
'120' => esc_html__( '2 minutes','woolentor' ),
|
1036 |
+
),
|
1037 |
+
'class' => 'woolentor-action-field-left'
|
1038 |
+
),
|
1039 |
+
|
1040 |
+
array(
|
1041 |
+
'name' => 'notification_time_int',
|
1042 |
+
'label' => esc_html__( 'Time Interval', 'woolentor' ),
|
1043 |
+
'desc' => esc_html__( 'Set the interval time between notifications.', 'woolentor' ),
|
1044 |
+
'type' => 'select',
|
1045 |
+
'default' => '4',
|
1046 |
+
'options' => array(
|
1047 |
+
'2' => esc_html__( '2 seconds','woolentor' ),
|
1048 |
+
'4' => esc_html__( '4 seconds','woolentor' ),
|
1049 |
+
'5' => esc_html__( '5 seconds','woolentor' ),
|
1050 |
+
'6' => esc_html__( '6 seconds','woolentor' ),
|
1051 |
+
'7' => esc_html__( '7 seconds','woolentor' ),
|
1052 |
+
'8' => esc_html__( '8 seconds','woolentor' ),
|
1053 |
+
'9' => esc_html__( '9 seconds','woolentor' ),
|
1054 |
+
'10' => esc_html__( '10 seconds','woolentor' ),
|
1055 |
+
'20' => esc_html__( '20 seconds','woolentor' ),
|
1056 |
+
'30' => esc_html__( '30 seconds','woolentor' ),
|
1057 |
+
'40' => esc_html__( '40 seconds','woolentor' ),
|
1058 |
+
'50' => esc_html__( '50 seconds','woolentor' ),
|
1059 |
+
'60' => esc_html__( '1 minute','woolentor' ),
|
1060 |
+
'90' => esc_html__( '1.5 minutes','woolentor' ),
|
1061 |
+
'120' => esc_html__( '2 minutes','woolentor' ),
|
1062 |
+
),
|
1063 |
+
'class' => 'woolentor-action-field-left'
|
1064 |
+
),
|
1065 |
+
|
1066 |
+
array(
|
1067 |
+
'name' => 'notification_product_display_option_title',
|
1068 |
+
'headding'=> esc_html__( 'Product Query Option', 'woolentor' ),
|
1069 |
+
'type' => 'title',
|
1070 |
+
'size' => 'margin_0 regular',
|
1071 |
+
'class' => 'element_section_title_area notification_real',
|
1072 |
+
),
|
1073 |
+
|
1074 |
+
array(
|
1075 |
+
'name' => 'notification_limit',
|
1076 |
+
'label' => esc_html__( 'Limit', 'woolentor' ),
|
1077 |
+
'desc' => esc_html__( 'Set the number of notifications to display.', 'woolentor' ),
|
1078 |
+
'min' => 1,
|
1079 |
+
'max' => 100,
|
1080 |
+
'default' => '5',
|
1081 |
+
'step' => '1',
|
1082 |
+
'type' => 'number',
|
1083 |
+
'sanitize_callback' => 'number',
|
1084 |
+
'class' => 'notification_real woolentor-action-field-left',
|
1085 |
+
),
|
1086 |
+
|
1087 |
+
array(
|
1088 |
+
'name' => 'showallproduct',
|
1089 |
+
'label' => esc_html__( 'Show/Display all products from each order', 'woolentor' ),
|
1090 |
+
'desc' => esc_html__( 'Manage show all product from each order.', 'woolentor' ),
|
1091 |
+
'type' => 'checkbox',
|
1092 |
+
'default' => 'off',
|
1093 |
+
'class' => 'notification_real woolentor-action-field-left',
|
1094 |
+
),
|
1095 |
+
|
1096 |
+
array(
|
1097 |
+
'name' => 'notification_uptodate',
|
1098 |
+
'label' => esc_html__( 'Order Upto', 'woolentor' ),
|
1099 |
+
'desc' => esc_html__( 'Do not show purchases older than.', 'woolentor' ),
|
1100 |
+
'type' => 'select',
|
1101 |
+
'default' => '7',
|
1102 |
+
'options' => array(
|
1103 |
+
'1' => esc_html__( '1 day','woolentor' ),
|
1104 |
+
'2' => esc_html__( '2 days','woolentor' ),
|
1105 |
+
'3' => esc_html__( '3 days','woolentor' ),
|
1106 |
+
'4' => esc_html__( '4 days','woolentor' ),
|
1107 |
+
'5' => esc_html__( '5 days','woolentor' ),
|
1108 |
+
'6' => esc_html__( '6 days','woolentor' ),
|
1109 |
+
'7' => esc_html__( '1 week','woolentor' ),
|
1110 |
+
'10' => esc_html__( '10 days','woolentor' ),
|
1111 |
+
'14' => esc_html__( '2 weeks','woolentor' ),
|
1112 |
+
'21' => esc_html__( '3 weeks','woolentor' ),
|
1113 |
+
'28' => esc_html__( '4 weeks','woolentor' ),
|
1114 |
+
'35' => esc_html__( '5 weeks','woolentor' ),
|
1115 |
+
'42' => esc_html__( '6 weeks','woolentor' ),
|
1116 |
+
'49' => esc_html__( '7 weeks','woolentor' ),
|
1117 |
+
'56' => esc_html__( '8 weeks','woolentor' ),
|
1118 |
+
),
|
1119 |
+
'class' => 'notification_real woolentor-action-field-left',
|
1120 |
+
),
|
1121 |
+
|
1122 |
+
array(
|
1123 |
+
'name' => 'notification_animation_area_title',
|
1124 |
+
'headding'=> esc_html__( 'Animation', 'woolentor' ),
|
1125 |
+
'type' => 'title',
|
1126 |
+
'size' => 'margin_0 regular',
|
1127 |
+
'class' => 'element_section_title_area',
|
1128 |
+
),
|
1129 |
+
|
1130 |
+
array(
|
1131 |
+
'name' => 'notification_inanimation',
|
1132 |
+
'label' => esc_html__( 'Animation In', 'woolentor' ),
|
1133 |
+
'desc' => esc_html__( 'Choose entrance animation.', 'woolentor' ),
|
1134 |
+
'type' => 'select',
|
1135 |
+
'default' => 'fadeInLeft',
|
1136 |
+
'options' => array(
|
1137 |
+
'bounce' => esc_html__( 'bounce','woolentor' ),
|
1138 |
+
'flash' => esc_html__( 'flash','woolentor' ),
|
1139 |
+
'pulse' => esc_html__( 'pulse','woolentor' ),
|
1140 |
+
'rubberBand' => esc_html__( 'rubberBand','woolentor' ),
|
1141 |
+
'shake' => esc_html__( 'shake','woolentor' ),
|
1142 |
+
'swing' => esc_html__( 'swing','woolentor' ),
|
1143 |
+
'tada' => esc_html__( 'tada','woolentor' ),
|
1144 |
+
'wobble' => esc_html__( 'wobble','woolentor' ),
|
1145 |
+
'jello' => esc_html__( 'jello','woolentor' ),
|
1146 |
+
'heartBeat' => esc_html__( 'heartBeat','woolentor' ),
|
1147 |
+
'bounceIn' => esc_html__( 'bounceIn','woolentor' ),
|
1148 |
+
'bounceInDown' => esc_html__( 'bounceInDown','woolentor' ),
|
1149 |
+
'bounceInLeft' => esc_html__( 'bounceInLeft','woolentor' ),
|
1150 |
+
'bounceInRight' => esc_html__( 'bounceInRight','woolentor' ),
|
1151 |
+
'bounceInUp' => esc_html__( 'bounceInUp','woolentor' ),
|
1152 |
+
'fadeIn' => esc_html__( 'fadeIn','woolentor' ),
|
1153 |
+
'fadeInDown' => esc_html__( 'fadeInDown','woolentor' ),
|
1154 |
+
'fadeInDownBig' => esc_html__( 'fadeInDownBig','woolentor' ),
|
1155 |
+
'fadeInLeft' => esc_html__( 'fadeInLeft','woolentor' ),
|
1156 |
+
'fadeInLeftBig' => esc_html__( 'fadeInLeftBig','woolentor' ),
|
1157 |
+
'fadeInRight' => esc_html__( 'fadeInRight','woolentor' ),
|
1158 |
+
'fadeInRightBig' => esc_html__( 'fadeInRightBig','woolentor' ),
|
1159 |
+
'fadeInUp' => esc_html__( 'fadeInUp','woolentor' ),
|
1160 |
+
'fadeInUpBig' => esc_html__( 'fadeInUpBig','woolentor' ),
|
1161 |
+
'flip' => esc_html__( 'flip','woolentor' ),
|
1162 |
+
'flipInX' => esc_html__( 'flipInX','woolentor' ),
|
1163 |
+
'flipInY' => esc_html__( 'flipInY','woolentor' ),
|
1164 |
+
'lightSpeedIn' => esc_html__( 'lightSpeedIn','woolentor' ),
|
1165 |
+
'rotateIn' => esc_html__( 'rotateIn','woolentor' ),
|
1166 |
+
'rotateInDownLeft' => esc_html__( 'rotateInDownLeft','woolentor' ),
|
1167 |
+
'rotateInDownRight' => esc_html__( 'rotateInDownRight','woolentor' ),
|
1168 |
+
'rotateInUpLeft' => esc_html__( 'rotateInUpLeft','woolentor' ),
|
1169 |
+
'rotateInUpRight' => esc_html__( 'rotateInUpRight','woolentor' ),
|
1170 |
+
'slideInUp' => esc_html__( 'slideInUp','woolentor' ),
|
1171 |
+
'slideInDown' => esc_html__( 'slideInDown','woolentor' ),
|
1172 |
+
'slideInLeft' => esc_html__( 'slideInLeft','woolentor' ),
|
1173 |
+
'slideInRight' => esc_html__( 'slideInRight','woolentor' ),
|
1174 |
+
'zoomIn' => esc_html__( 'zoomIn','woolentor' ),
|
1175 |
+
'zoomInDown' => esc_html__( 'zoomInDown','woolentor' ),
|
1176 |
+
'zoomInLeft' => esc_html__( 'zoomInLeft','woolentor' ),
|
1177 |
+
'zoomInRight' => esc_html__( 'zoomInRight','woolentor' ),
|
1178 |
+
'zoomInUp' => esc_html__( 'zoomInUp','woolentor' ),
|
1179 |
+
'hinge' => esc_html__( 'hinge','woolentor' ),
|
1180 |
+
'jackInTheBox' => esc_html__( 'jackInTheBox','woolentor' ),
|
1181 |
+
'rollIn' => esc_html__( 'rollIn','woolentor' ),
|
1182 |
+
'rollOut' => esc_html__( 'rollOut','woolentor' ),
|
1183 |
+
),
|
1184 |
+
'class' => 'woolentor-action-field-left'
|
1185 |
+
),
|
1186 |
+
|
1187 |
+
array(
|
1188 |
+
'name' => 'notification_outanimation',
|
1189 |
+
'label' => esc_html__( 'Animation Out', 'woolentor' ),
|
1190 |
+
'desc' => esc_html__( 'Choose exit animation.', 'woolentor' ),
|
1191 |
+
'type' => 'select',
|
1192 |
+
'default' => 'fadeOutRight',
|
1193 |
+
'options' => array(
|
1194 |
+
'bounce' => esc_html__( 'bounce','woolentor' ),
|
1195 |
+
'flash' => esc_html__( 'flash','woolentor' ),
|
1196 |
+
'pulse' => esc_html__( 'pulse','woolentor' ),
|
1197 |
+
'rubberBand' => esc_html__( 'rubberBand','woolentor' ),
|
1198 |
+
'shake' => esc_html__( 'shake','woolentor' ),
|
1199 |
+
'swing' => esc_html__( 'swing','woolentor' ),
|
1200 |
+
'tada' => esc_html__( 'tada','woolentor' ),
|
1201 |
+
'wobble' => esc_html__( 'wobble','woolentor' ),
|
1202 |
+
'jello' => esc_html__( 'jello','woolentor' ),
|
1203 |
+
'heartBeat' => esc_html__( 'heartBeat','woolentor' ),
|
1204 |
+
'bounceOut' => esc_html__( 'bounceOut','woolentor' ),
|
1205 |
+
'bounceOutDown' => esc_html__( 'bounceOutDown','woolentor' ),
|
1206 |
+
'bounceOutLeft' => esc_html__( 'bounceOutLeft','woolentor' ),
|
1207 |
+
'bounceOutRight' => esc_html__( 'bounceOutRight','woolentor' ),
|
1208 |
+
'bounceOutUp' => esc_html__( 'bounceOutUp','woolentor' ),
|
1209 |
+
'fadeOut' => esc_html__( 'fadeOut','woolentor' ),
|
1210 |
+
'fadeOutDown' => esc_html__( 'fadeOutDown','woolentor' ),
|
1211 |
+
'fadeOutDownBig' => esc_html__( 'fadeOutDownBig','woolentor' ),
|
1212 |
+
'fadeOutLeft' => esc_html__( 'fadeOutLeft','woolentor' ),
|
1213 |
+
'fadeOutLeftBig' => esc_html__( 'fadeOutLeftBig','woolentor' ),
|
1214 |
+
'fadeOutRight' => esc_html__( 'fadeOutRight','woolentor' ),
|
1215 |
+
'fadeOutRightBig' => esc_html__( 'fadeOutRightBig','woolentor' ),
|
1216 |
+
'fadeOutUp' => esc_html__( 'fadeOutUp','woolentor' ),
|
1217 |
+
'fadeOutUpBig' => esc_html__( 'fadeOutUpBig','woolentor' ),
|
1218 |
+
'flip' => esc_html__( 'flip','woolentor' ),
|
1219 |
+
'flipOutX' => esc_html__( 'flipOutX','woolentor' ),
|
1220 |
+
'flipOutY' => esc_html__( 'flipOutY','woolentor' ),
|
1221 |
+
'lightSpeedOut' => esc_html__( 'lightSpeedOut','woolentor' ),
|
1222 |
+
'rotateOut' => esc_html__( 'rotateOut','woolentor' ),
|
1223 |
+
'rotateOutDownLeft' => esc_html__( 'rotateOutDownLeft','woolentor' ),
|
1224 |
+
'rotateOutDownRight' => esc_html__( 'rotateOutDownRight','woolentor' ),
|
1225 |
+
'rotateOutUpLeft' => esc_html__( 'rotateOutUpLeft','woolentor' ),
|
1226 |
+
'rotateOutUpRight' => esc_html__( 'rotateOutUpRight','woolentor' ),
|
1227 |
+
'slideOutUp' => esc_html__( 'slideOutUp','woolentor' ),
|
1228 |
+
'slideOutDown' => esc_html__( 'slideOutDown','woolentor' ),
|
1229 |
+
'slideOutLeft' => esc_html__( 'slideOutLeft','woolentor' ),
|
1230 |
+
'slideOutRight' => esc_html__( 'slideOutRight','woolentor' ),
|
1231 |
+
'zoomOut' => esc_html__( 'zoomOut','woolentor' ),
|
1232 |
+
'zoomOutDown' => esc_html__( 'zoomOutDown','woolentor' ),
|
1233 |
+
'zoomOutLeft' => esc_html__( 'zoomOutLeft','woolentor' ),
|
1234 |
+
'zoomOutRight' => esc_html__( 'zoomOutRight','woolentor' ),
|
1235 |
+
'zoomOutUp' => esc_html__( 'zoomOutUp','woolentor' ),
|
1236 |
+
'hinge' => esc_html__( 'hinge','woolentor' ),
|
1237 |
+
),
|
1238 |
+
'class' => 'woolentor-action-field-left'
|
1239 |
+
),
|
1240 |
+
|
1241 |
+
array(
|
1242 |
+
'name' => 'notification_style_area_title',
|
1243 |
+
'headding'=> esc_html__( 'Style', 'woolentor' ),
|
1244 |
+
'type' => 'title',
|
1245 |
+
'size' => 'margin_0 regular',
|
1246 |
+
'class' => 'element_section_title_area',
|
1247 |
+
),
|
1248 |
+
|
1249 |
+
array(
|
1250 |
+
'name' => 'notification_width',
|
1251 |
+
'label' => esc_html__( 'Width', 'woolentor' ),
|
1252 |
+
'desc' => esc_html__( 'You can handle the notificaton width.', 'woolentor' ),
|
1253 |
+
'type' => 'text',
|
1254 |
+
'default' => esc_html__( '550px', 'woolentor' ),
|
1255 |
+
'placeholder' => esc_html__( '550px', 'woolentor' ),
|
1256 |
+
'class' => 'woolentor-action-field-left'
|
1257 |
+
),
|
1258 |
+
|
1259 |
+
array(
|
1260 |
+
'name' => 'notification_mobile_width',
|
1261 |
+
'label' => esc_html__( 'Width for mobile', 'woolentor' ),
|
1262 |
+
'desc' => esc_html__( 'You can handle the notificaton width.', 'woolentor' ),
|
1263 |
+
'type' => 'text',
|
1264 |
+
'default' => esc_html__( '90%', 'woolentor' ),
|
1265 |
+
'placeholder' => esc_html__( '90%', 'woolentor' ),
|
1266 |
+
'class' => 'woolentor-action-field-left'
|
1267 |
+
),
|
1268 |
+
|
1269 |
+
array(
|
1270 |
+
'name' => 'background_color',
|
1271 |
+
'label' => esc_html__( 'Background Color', 'woolentor' ),
|
1272 |
+
'desc' => esc_html__( 'Set the background color of the notification.', 'woolentor' ),
|
1273 |
+
'type' => 'color',
|
1274 |
+
'class' => 'notification_real woolentor-action-field-left',
|
1275 |
+
),
|
1276 |
+
|
1277 |
+
array(
|
1278 |
+
'name' => 'heading_color',
|
1279 |
+
'label' => esc_html__( 'Heading Color', 'woolentor' ),
|
1280 |
+
'desc' => esc_html__( 'Set the heading color of the notification.', 'woolentor' ),
|
1281 |
+
'type' => 'color',
|
1282 |
+
'class' => 'notification_real woolentor-action-field-left',
|
1283 |
+
),
|
1284 |
+
|
1285 |
+
array(
|
1286 |
+
'name' => 'content_color',
|
1287 |
+
'label' => esc_html__( 'Content Color', 'woolentor' ),
|
1288 |
+
'desc' => esc_html__( 'Set the content color of the notification.', 'woolentor' ),
|
1289 |
+
'type' => 'color',
|
1290 |
+
'class' => 'notification_real woolentor-action-field-left',
|
1291 |
+
),
|
1292 |
+
|
1293 |
+
array(
|
1294 |
+
'name' => 'cross_color',
|
1295 |
+
'label' => esc_html__( 'Cross Icon Color', 'woolentor' ),
|
1296 |
+
'desc' => esc_html__( 'Set the cross icon color of the notification.', 'woolentor' ),
|
1297 |
+
'type' => 'color',
|
1298 |
+
'class' => 'woolentor-action-field-left'
|
1299 |
+
),
|
1300 |
+
|
1301 |
+
)
|
1302 |
),
|
|
|
|
|
1303 |
|
1304 |
+
array(
|
1305 |
+
'name' => 'shopify_checkout_settings',
|
1306 |
+
'label' => esc_html__( 'Shopify Style Checkout', 'woolentor' ),
|
1307 |
+
'type' => 'module',
|
1308 |
+
'default' => 'off',
|
1309 |
+
'section' => 'woolentor_shopify_checkout_settings',
|
1310 |
+
'option_id'=> 'enable',
|
1311 |
+
'require_settings' => true,
|
1312 |
+
'setting_fields' => array(
|
1313 |
+
|
1314 |
+
array(
|
1315 |
+
'name' => 'enable',
|
1316 |
+
'label' => esc_html__( 'Enable / Disable', 'woolentor' ),
|
1317 |
+
'desc' => esc_html__( 'You can enable / disable shopify style checkout page from here.', 'woolentor' ),
|
1318 |
+
'type' => 'checkbox',
|
1319 |
+
'default' => 'off',
|
1320 |
+
'class' => 'woolentor-action-field-left'
|
1321 |
+
),
|
1322 |
+
|
1323 |
+
array(
|
1324 |
+
'name' => 'logo',
|
1325 |
+
'label' => esc_html__( 'Logo', 'woolentor' ),
|
1326 |
+
'desc' => esc_html__( 'You can upload your logo for shopify style checkout page from here.', 'woolentor' ),
|
1327 |
+
'type' => 'image_upload',
|
1328 |
+
'options' => [
|
1329 |
+
'button_label' => esc_html__( 'Upload', 'woolentor' ),
|
1330 |
+
'button_remove_label' => esc_html__( 'Remove', 'woolentor' ),
|
1331 |
+
],
|
1332 |
+
'class' => 'woolentor-action-field-left'
|
1333 |
+
),
|
1334 |
+
|
1335 |
+
array(
|
1336 |
+
'name' => 'custommenu',
|
1337 |
+
'label' => esc_html__( 'Bottom Menu', 'woolentor' ),
|
1338 |
+
'desc' => esc_html__( 'You can choose menu for shopify style checkout page.', 'woolentor' ),
|
1339 |
+
'type' => 'select',
|
1340 |
+
'default' => '0',
|
1341 |
+
'options' => array( '0'=> esc_html__('Select Menu','woolentor') ) + woolentor_get_all_create_menus(),
|
1342 |
+
'class' => 'woolentor-action-field-left'
|
1343 |
+
),
|
1344 |
+
|
1345 |
+
)
|
1346 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1347 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1348 |
|
1349 |
array(
|
1350 |
'name' => 'ajaxsearch',
|
1378 |
'default'=> 'off',
|
1379 |
'is_pro' => true
|
1380 |
),
|
1381 |
+
|
1382 |
+
array(
|
1383 |
+
'name' => 'redirect_add_to_cartp',
|
1384 |
+
'label' => esc_html__( 'Redirect to Checkout', 'woolentor-pro' ),
|
1385 |
+
'type' => 'element',
|
1386 |
+
'default'=> 'off',
|
1387 |
+
'is_pro' => true
|
1388 |
+
),
|
1389 |
|
1390 |
array(
|
1391 |
'name' => 'multi_step_checkoutp',
|
includes/admin/include/class.extension-manager.php
CHANGED
@@ -69,6 +69,11 @@ class Woolentor_Extension_Manager{
|
|
69 |
'slug' => 'ever-compare',
|
70 |
'location' => 'ever-compare.php',
|
71 |
'name' => esc_html__( 'EverCompare', 'woolentor' )
|
|
|
|
|
|
|
|
|
|
|
72 |
),
|
73 |
array(
|
74 |
'slug' => 'whols',
|
69 |
'slug' => 'ever-compare',
|
70 |
'location' => 'ever-compare.php',
|
71 |
'name' => esc_html__( 'EverCompare', 'woolentor' )
|
72 |
+
),
|
73 |
+
array(
|
74 |
+
'slug' => 'swatchly',
|
75 |
+
'location' => 'swatchly.php',
|
76 |
+
'name' => esc_html__( 'Swatchly', 'woolentor' )
|
77 |
),
|
78 |
array(
|
79 |
'slug' => 'whols',
|
includes/admin/include/class.template-manager.php
ADDED
@@ -0,0 +1,677 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
3 |
+
require( WOOLENTOR_ADDONS_PL_PATH. 'includes/admin/include/class.template_cpt.php' );
|
4 |
+
require( WOOLENTOR_ADDONS_PL_PATH. 'includes/admin/include/template-library/manager.php' );
|
5 |
+
|
6 |
+
class Woolentor_Template_Manager{
|
7 |
+
|
8 |
+
const CPTTYPE = 'woolentor-template';
|
9 |
+
const CPT_META = 'woolentor_template_meta';
|
10 |
+
|
11 |
+
private static $_instance = null;
|
12 |
+
public static function instance(){
|
13 |
+
if( is_null( self::$_instance ) ){
|
14 |
+
self::$_instance = new self();
|
15 |
+
}
|
16 |
+
return self::$_instance;
|
17 |
+
}
|
18 |
+
|
19 |
+
function __construct(){
|
20 |
+
Woolentor_Template_CPT::instance();
|
21 |
+
|
22 |
+
//Add Menu
|
23 |
+
add_action( 'admin_menu', [ $this, 'admin_menu' ], 225 );
|
24 |
+
|
25 |
+
// Load Scripts
|
26 |
+
add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_scripts' ] );
|
27 |
+
|
28 |
+
// Print template edit popup.
|
29 |
+
add_action( 'admin_footer', [ $this, 'print_popup' ] );
|
30 |
+
|
31 |
+
// Template type column.
|
32 |
+
add_action( 'manage_' . self::CPTTYPE . '_posts_columns', [ $this, 'manage_columns' ] );
|
33 |
+
add_action( 'manage_' . self::CPTTYPE . '_posts_custom_column', [ $this, 'columns_content' ], 10, 2 );
|
34 |
+
|
35 |
+
// Print template tabs.
|
36 |
+
add_filter( 'views_edit-' . self::CPTTYPE, [ $this, 'print_tabs' ] );
|
37 |
+
|
38 |
+
// query filter
|
39 |
+
add_filter( 'parse_query', [ $this, 'query_filter' ] );
|
40 |
+
|
41 |
+
// Template store ajax action
|
42 |
+
add_action( 'wp_ajax_woolentor_template_store', [ $this, 'template_store_request' ] );
|
43 |
+
|
44 |
+
// Get template data Ajax action
|
45 |
+
add_action( 'wp_ajax_woolentor_get_template', [ $this, 'get_post_By_id' ] );
|
46 |
+
|
47 |
+
// Manage Template Default Status
|
48 |
+
add_action( 'wp_ajax_woolentor_manage_default_template', [ $this, 'manage_template_status' ] );
|
49 |
+
|
50 |
+
// Template Import
|
51 |
+
add_action( 'wp_ajax_woolentor_import_template', [ $this, 'template_import' ] );
|
52 |
+
|
53 |
+
}
|
54 |
+
|
55 |
+
/**
|
56 |
+
* [admin_menu] Add Post type Submenu
|
57 |
+
*
|
58 |
+
* @return void
|
59 |
+
*/
|
60 |
+
public function admin_menu(){
|
61 |
+
$link_custom_post = 'edit.php?post_type=' . self::CPTTYPE;
|
62 |
+
add_submenu_page(
|
63 |
+
'woolentor_page',
|
64 |
+
esc_html__('Template Builder', 'woolentor'),
|
65 |
+
esc_html__('Template Builder', 'woolentor'),
|
66 |
+
'manage_options',
|
67 |
+
$link_custom_post,
|
68 |
+
NULL
|
69 |
+
);
|
70 |
+
}
|
71 |
+
|
72 |
+
/**
|
73 |
+
* Manage Post Table columns
|
74 |
+
*
|
75 |
+
* @param [array] $columns
|
76 |
+
* @return array
|
77 |
+
*/
|
78 |
+
public function manage_columns( $columns ) {
|
79 |
+
|
80 |
+
$column_author = $columns['author'];
|
81 |
+
$column_date = $columns['date'];
|
82 |
+
|
83 |
+
unset( $columns['date'] );
|
84 |
+
unset( $columns['author'] );
|
85 |
+
|
86 |
+
$columns['type'] = esc_html__('Type', 'woolentor');
|
87 |
+
$columns['setdefault'] = esc_html__('Default', 'woolentor');
|
88 |
+
$columns['author'] = esc_html( $column_author );
|
89 |
+
$columns['date'] = esc_html( $column_date );
|
90 |
+
|
91 |
+
return $columns;
|
92 |
+
}
|
93 |
+
|
94 |
+
/**
|
95 |
+
* Manage Custom column content
|
96 |
+
*
|
97 |
+
* @param [string] $column_name
|
98 |
+
* @param [int] $post_id
|
99 |
+
* @return void
|
100 |
+
*/
|
101 |
+
public function columns_content( $column_name, $post_id ) {
|
102 |
+
$tmpType = get_post_meta( $post_id, 'woolentor_template_meta_type', true );
|
103 |
+
|
104 |
+
if( !array_key_exists( $tmpType, self::get_template_type() ) ){
|
105 |
+
return;
|
106 |
+
}
|
107 |
+
|
108 |
+
// Tabs Group
|
109 |
+
if( strpos( $tmpType, 'cart' ) !== false ){
|
110 |
+
$tmpTypeGroup = 'cart';
|
111 |
+
}else if( strpos( $tmpType, 'myaccount' ) !== false ){
|
112 |
+
$tmpTypeGroup = 'myaccount';
|
113 |
+
}else if( strpos( $tmpType, 'checkout' ) !== false ){
|
114 |
+
$tmpTypeGroup = 'checkout';
|
115 |
+
}else{
|
116 |
+
$tmpTypeGroup = $tmpType;
|
117 |
+
}
|
118 |
+
|
119 |
+
if( $column_name === 'type' ){
|
120 |
+
$tabs = '';
|
121 |
+
echo isset( self::get_template_type()[$tmpType] ) ? '<a class="column-tmptype" href="edit.php?post_type='.self::CPTTYPE.'&template_type='.$tmpType.'&tabs='.$tmpTypeGroup.'">'.self::get_template_type()[$tmpType]['label'].'</a>' : '-';
|
122 |
+
}elseif( $column_name === 'setdefault' ){
|
123 |
+
|
124 |
+
$value = woolentor_get_option( self::get_template_type()[$tmpType]['optionkey'], 'woolentor_woo_template_tabs', '0' );
|
125 |
+
$checked = checked( $value, $post_id, false );
|
126 |
+
|
127 |
+
echo '<label class="woolentor-default-tmp-status-switch" id="woolentor-default-tmp-status-'.esc_attr( $tmpType ).'-'.esc_attr( $post_id ).'"><input class="woolentor-status-'.esc_attr( $tmpType ).'" id="woolentor-default-tmp-status-'.esc_attr( $tmpType ).'-'.esc_attr( $post_id ).'" type="checkbox" value="'.esc_attr( $post_id ).'" '.$checked.'/><span><span>'.esc_html__('NO','woolentor').'</span><span>'.esc_html__('YES','woolentor').'</span></span><a> </a></label>';
|
128 |
+
|
129 |
+
}
|
130 |
+
|
131 |
+
}
|
132 |
+
|
133 |
+
/**
|
134 |
+
* Check WooLentor template screen
|
135 |
+
*
|
136 |
+
* @return boolean
|
137 |
+
*/
|
138 |
+
private function is_current_screen() {
|
139 |
+
global $pagenow, $typenow;
|
140 |
+
return 'edit.php' === $pagenow && self::CPTTYPE === $typenow;
|
141 |
+
}
|
142 |
+
|
143 |
+
/**
|
144 |
+
* Manage Template filter by template type
|
145 |
+
*
|
146 |
+
* @param \WP_Query $query
|
147 |
+
* @return void
|
148 |
+
*/
|
149 |
+
public function query_filter( \WP_Query $query ) {
|
150 |
+
|
151 |
+
if ( ! is_admin() || ! $this->is_current_screen() || ! empty( $query->query_vars['meta_key'] ) ) {
|
152 |
+
return;
|
153 |
+
}
|
154 |
+
if( isset( $_GET['template_type'] ) && $_GET['template_type'] != '' && $_GET['template_type'] != 'all') {
|
155 |
+
$type = isset( $_GET['template_type'] ) ? sanitize_key( $_GET['template_type'] ) : '';
|
156 |
+
$query->query_vars['meta_key'] = self::CPT_META . '_type';
|
157 |
+
$query->query_vars['meta_value'] = $type;
|
158 |
+
$query->query_vars['meta_compare'] = '=';
|
159 |
+
}
|
160 |
+
|
161 |
+
}
|
162 |
+
|
163 |
+
/**
|
164 |
+
* Get Template Menu Tabs
|
165 |
+
*
|
166 |
+
* @return array
|
167 |
+
*/
|
168 |
+
public static function get_tabs(){
|
169 |
+
|
170 |
+
$tabs = [
|
171 |
+
'shop' => [
|
172 |
+
'label' =>__('Shop','woolentor')
|
173 |
+
],
|
174 |
+
'archive' => [
|
175 |
+
'label' =>__('Archive','woolentor')
|
176 |
+
],
|
177 |
+
'single' => [
|
178 |
+
'label' => __('Single','woolentor')
|
179 |
+
],
|
180 |
+
];
|
181 |
+
|
182 |
+
return apply_filters( 'woolentor_template_menu_tabs', $tabs );
|
183 |
+
|
184 |
+
}
|
185 |
+
|
186 |
+
/**
|
187 |
+
* Get Template Type
|
188 |
+
*
|
189 |
+
* @return array
|
190 |
+
*/
|
191 |
+
public static function get_template_type(){
|
192 |
+
|
193 |
+
$template_type = [
|
194 |
+
'shop' => [
|
195 |
+
'label' =>__('Shop','woolentor'),
|
196 |
+
'optionkey' => 'productarchivepage'
|
197 |
+
],
|
198 |
+
'archive' => [
|
199 |
+
'label' =>__('Archive','woolentor'),
|
200 |
+
'optionkey' =>'productallarchivepage'
|
201 |
+
],
|
202 |
+
'single' => [
|
203 |
+
'label' => __('Single','woolentor'),
|
204 |
+
'optionkey' => 'singleproductpage'
|
205 |
+
],
|
206 |
+
];
|
207 |
+
|
208 |
+
return apply_filters( 'woolentor_template_types', $template_type );
|
209 |
+
|
210 |
+
}
|
211 |
+
|
212 |
+
/**
|
213 |
+
* Get sample design from library
|
214 |
+
*
|
215 |
+
* @return array
|
216 |
+
*/
|
217 |
+
public function get_template_library(){
|
218 |
+
|
219 |
+
// Delete transient data
|
220 |
+
if ( get_option( 'woolentor_do_activation_library_cache', FALSE ) ) {
|
221 |
+
delete_transient( 'woolentor_template_info' );
|
222 |
+
delete_option('woolentor_do_activation_library_cache');
|
223 |
+
}
|
224 |
+
|
225 |
+
$get_data = get_transient( 'woolentor_template_info' ) ? get_transient( 'woolentor_template_info' ) : Woolentor_Template_Library_Manager::get_templates_info( true );
|
226 |
+
$data = [];
|
227 |
+
|
228 |
+
if( !empty( $get_data['templates'] ) ){
|
229 |
+
foreach( $get_data['templates'] as $template ){
|
230 |
+
|
231 |
+
if( $template['shareId'] == 'Shop'){
|
232 |
+
$data['shop'][] = $template;
|
233 |
+
$data['archive'][] = $template;
|
234 |
+
}else if($template['shareId'] == 'Product Details'){
|
235 |
+
$data['single'][] = $template;
|
236 |
+
}else if($template['shareId'] == 'Cart'){
|
237 |
+
$data['cart'][] = $template;
|
238 |
+
}else if( $template['shareId'] == 'Checkout Page' ){
|
239 |
+
$data['checkout'][] = $template;
|
240 |
+
}
|
241 |
+
else if( $template['shareId'] == 'My Account' ){
|
242 |
+
$data['myaccount'][] = $template;
|
243 |
+
}
|
244 |
+
|
245 |
+
}
|
246 |
+
}
|
247 |
+
|
248 |
+
return $data;
|
249 |
+
|
250 |
+
}
|
251 |
+
|
252 |
+
/**
|
253 |
+
* Print Template edit popup
|
254 |
+
*
|
255 |
+
* @return void
|
256 |
+
*/
|
257 |
+
public function print_popup() {
|
258 |
+
if( isset( $_GET['post_type'] ) && $_GET['post_type'] == 'woolentor-template' ){
|
259 |
+
include_once( WOOLENTOR_ADDONS_PL_PATH. 'includes/admin/templates/template_edit_popup.php' );
|
260 |
+
}
|
261 |
+
}
|
262 |
+
|
263 |
+
/**
|
264 |
+
* Print Admin Tab
|
265 |
+
*
|
266 |
+
* @param [array] $views
|
267 |
+
* @return array
|
268 |
+
*/
|
269 |
+
public function print_tabs( $views ) {
|
270 |
+
$active_class = 'nav-tab-active';
|
271 |
+
$current_type = '';
|
272 |
+
if( isset( $_GET['tabs'] ) ){
|
273 |
+
$active_class = '';
|
274 |
+
$current_type = sanitize_key( $_GET['tabs'] );
|
275 |
+
}
|
276 |
+
?>
|
277 |
+
<div id="woolentor-template-tabs-wrapper" class="nav-tab-wrapper">
|
278 |
+
<div class="woolentor-menu-area">
|
279 |
+
<a class="nav-tab <?php echo $active_class; ?>" href="edit.php?post_type=<?php echo self::CPTTYPE; ?>"><?php echo __('All','woolentor');?></a>
|
280 |
+
<?php
|
281 |
+
foreach( self::get_tabs() as $tabkey => $tab ){
|
282 |
+
$active_class = ( $current_type == $tabkey ? 'nav-tab-active' : '' );
|
283 |
+
echo '<a class="nav-tab '.$active_class.'" href="edit.php?post_type='.self::CPTTYPE.'&template_type='.$tabkey.'&tabs='.$tabkey.'">'.$tab['label'].'</a>';
|
284 |
+
}
|
285 |
+
?>
|
286 |
+
</div>
|
287 |
+
<div class="woolentor-template-importer">
|
288 |
+
<button type="button" class="button button-primary">
|
289 |
+
<span class="dashicons dashicons-download"></span>
|
290 |
+
<span class="woolentor-template-importer-btn-text"><?php esc_html_e('Import Previously Assigned Templates','woolentor');?></span>
|
291 |
+
</button>
|
292 |
+
</div>
|
293 |
+
</div>
|
294 |
+
<?php
|
295 |
+
if( !empty( $current_type ) && isset( self::get_tabs()[$current_type]['submenu'] ) ){
|
296 |
+
|
297 |
+
$sub_tab_active_class = 'woolentor-sub-tab-active';
|
298 |
+
$current_sub_tab = '';
|
299 |
+
if( isset( $_GET['tab'] ) ){
|
300 |
+
$sub_tab_active_class = '';
|
301 |
+
$current_sub_tab = sanitize_key( $_GET['tab'] );
|
302 |
+
}
|
303 |
+
|
304 |
+
echo '<div class="woolentor-template-subtabs"><ul>';
|
305 |
+
echo '<li><a class="woolentor-sub-tab '.$sub_tab_active_class.'" href="edit.php?post_type='.self::CPTTYPE.'&template_type='.$current_type.'&tabs='.$current_type.'">'.self::get_tabs()[$current_type]['label'].'</a></li>';
|
306 |
+
|
307 |
+
foreach( self::get_tabs()[$current_type]['submenu'] as $subtabkey => $subtab ){
|
308 |
+
$sub_tab_active_class = ( $current_sub_tab == $subtabkey ? 'woolentor-sub-tab-active' : '' );
|
309 |
+
echo '<li><a class="woolentor-sub-tab '.$sub_tab_active_class.'" href="edit.php?post_type='.self::CPTTYPE.'&template_type='.$subtabkey.'&tabs='.$current_type.'&tab='.$subtabkey.'">'.$subtab['label'].'</a></li>';
|
310 |
+
}
|
311 |
+
|
312 |
+
echo '</ul></div>';
|
313 |
+
|
314 |
+
}
|
315 |
+
?>
|
316 |
+
<?php
|
317 |
+
return $views;
|
318 |
+
}
|
319 |
+
|
320 |
+
/**
|
321 |
+
* Manage Scripts
|
322 |
+
*
|
323 |
+
* @param [string] $hook
|
324 |
+
* @return void
|
325 |
+
*/
|
326 |
+
public function enqueue_scripts( $hook ){
|
327 |
+
|
328 |
+
if( isset( $_GET['post_type'] ) && $_GET['post_type'] == 'woolentor-template' ){
|
329 |
+
wp_enqueue_style( 'woolentor-template-edit-manager', WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/css/template_edit_manager.css' );
|
330 |
+
|
331 |
+
wp_enqueue_style('woolentor-sweetalert', WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/css/sweetalert2.min.css');
|
332 |
+
wp_enqueue_style('slick', WOOLENTOR_ADDONS_PL_URL . 'assets/css/slick.css' );
|
333 |
+
wp_enqueue_script('slick', WOOLENTOR_ADDONS_PL_URL . 'assets/js/slick.min.js', array('jquery'), WOOLENTOR_VERSION, true );
|
334 |
+
|
335 |
+
wp_enqueue_script( 'woolentor-sweetalert', WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/js/sweetalert2.min.js', WOOLENTOR_VERSION, true );
|
336 |
+
|
337 |
+
wp_enqueue_script( 'woolentor-template-edit-manager', WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/js/template_edit_manager.js', array('jquery', 'wp-util'), WOOLENTOR_VERSION, true );
|
338 |
+
|
339 |
+
$localize_data = [
|
340 |
+
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
341 |
+
'nonce' => wp_create_nonce('woolentor_tmp_nonce'),
|
342 |
+
'templatetype' => self::get_template_type(),
|
343 |
+
'templatelist' => $this->get_template_library(),
|
344 |
+
'adminURL' => admin_url(),
|
345 |
+
'labels' => [
|
346 |
+
'fields'=>[
|
347 |
+
'name' => [
|
348 |
+
'title' => __('Name','woolentor'),
|
349 |
+
'placeholder' => __('Enter a template name','woolentor')
|
350 |
+
],
|
351 |
+
'type' => __('Type','woolentor'),
|
352 |
+
'setdefault' => __('Set Default','woolentor'),
|
353 |
+
],
|
354 |
+
'head' => __('Template Settings','woolentor'),
|
355 |
+
'buttons' => [
|
356 |
+
'elementor' => [
|
357 |
+
'label' => __('Edit With Elementor','woolentor'),
|
358 |
+
'link' => '#'
|
359 |
+
],
|
360 |
+
'gutenberg' => [
|
361 |
+
'label' => __('Edit With Gutenberg','woolentor'),
|
362 |
+
'link' => '#'
|
363 |
+
],
|
364 |
+
'save' => [
|
365 |
+
'label' => __('Save Settings','woolentor'),
|
366 |
+
'saving' => __('Saving...','woolentor'),
|
367 |
+
'saved' => __('All Data Saved','woolentor'),
|
368 |
+
'link' => '#'
|
369 |
+
]
|
370 |
+
],
|
371 |
+
'sampledata' => [
|
372 |
+
'visibility' => __('Sample Design','woolentor'),
|
373 |
+
'elementor' => __('Elementor','woolentor'),
|
374 |
+
'pro' => __('Pro','woolentor'),
|
375 |
+
],
|
376 |
+
'importer' =>[
|
377 |
+
'button' => [
|
378 |
+
'importing' => __('Assigned Template Importing..','woolentor'),
|
379 |
+
'imported' => __('All Assigned Template has been imported','woolentor'),
|
380 |
+
],
|
381 |
+
'message' =>[
|
382 |
+
'title' => __( 'Are you sure?','woolentor' ),
|
383 |
+
'message' => __( 'It will import those templates that were created from the "Templates" menu of Elementor and assigned to corresponding WooCommerce pages.','woolentor' ) ,
|
384 |
+
'yesbtn' => __('Yes','woolentor'),
|
385 |
+
'cancelbtn' => __('Cancel','woolentor')
|
386 |
+
]
|
387 |
+
]
|
388 |
+
]
|
389 |
+
];
|
390 |
+
wp_localize_script( 'woolentor-template-edit-manager', 'WLTMCPT', $localize_data );
|
391 |
+
|
392 |
+
}
|
393 |
+
|
394 |
+
}
|
395 |
+
|
396 |
+
/**
|
397 |
+
* Store Template
|
398 |
+
*
|
399 |
+
* @return int || JSON Data
|
400 |
+
*/
|
401 |
+
public function template_store_request(){
|
402 |
+
if ( isset( $_POST ) ) {
|
403 |
+
|
404 |
+
$nonce = $_POST['nonce'];
|
405 |
+
if ( ! wp_verify_nonce( $nonce, 'woolentor_tmp_nonce' ) ) {
|
406 |
+
$errormessage = array(
|
407 |
+
'message' => __('Nonce Varification Faild !','woolentor')
|
408 |
+
);
|
409 |
+
wp_send_json_error( $errormessage );
|
410 |
+
}
|
411 |
+
|
412 |
+
$title = !empty( $_POST['title'] ) ? sanitize_text_field( $_POST['title'] ) : esc_html__( 'WooLentor template '.time(), 'woolentor' );
|
413 |
+
$tmpid = !empty( $_POST['tmpId'] ) ? sanitize_text_field( $_POST['tmpId'] ) : '';
|
414 |
+
$tmpType = !empty( $_POST['tmpType'] ) ? sanitize_text_field( $_POST['tmpType'] ) : 'single';
|
415 |
+
$setDefault = !empty( $_POST['setDefault'] ) ? sanitize_text_field( $_POST['setDefault'] ) : 'no';
|
416 |
+
$sampleTmpID = !empty( $_POST['sampleTmpID'] ) ? sanitize_text_field( $_POST['sampleTmpID'] ) : '';
|
417 |
+
$sampleTmpBuilder = !empty( $_POST['sampleTmpBuilder'] ) ? sanitize_text_field( $_POST['sampleTmpBuilder'] ) : '';
|
418 |
+
|
419 |
+
$data = [
|
420 |
+
'title' => $title,
|
421 |
+
'id' => $tmpid,
|
422 |
+
'tmptype' => $tmpType,
|
423 |
+
'setdefaullt' => $setDefault,
|
424 |
+
'sampletmpid' => $sampleTmpID,
|
425 |
+
'sampletmpbuilder' => $sampleTmpBuilder
|
426 |
+
];
|
427 |
+
|
428 |
+
if( $tmpid ){
|
429 |
+
$this->update( $data );
|
430 |
+
}else{
|
431 |
+
$this->insert( $data );
|
432 |
+
}
|
433 |
+
|
434 |
+
}else{
|
435 |
+
$errormessage = array(
|
436 |
+
'message' => __('Post request dose not found','woolentor')
|
437 |
+
);
|
438 |
+
wp_send_json_error( $errormessage );
|
439 |
+
}
|
440 |
+
|
441 |
+
}
|
442 |
+
|
443 |
+
/**
|
444 |
+
* Template Insert
|
445 |
+
*
|
446 |
+
* @param [array] $data
|
447 |
+
* @return JSON
|
448 |
+
*/
|
449 |
+
public function insert( $data ){
|
450 |
+
|
451 |
+
$args = [
|
452 |
+
'post_type' => self::CPTTYPE,
|
453 |
+
'post_status' => 'publish',
|
454 |
+
'post_title' => $data['title'],
|
455 |
+
];
|
456 |
+
$new_post_id = wp_insert_post( $args );
|
457 |
+
|
458 |
+
if( $new_post_id ){
|
459 |
+
$return = array(
|
460 |
+
'message' => __('Template has been inserted','woolentor'),
|
461 |
+
'id' => $new_post_id,
|
462 |
+
);
|
463 |
+
|
464 |
+
// Meta data
|
465 |
+
update_post_meta( $new_post_id, self::CPT_META . '_type', $data['tmptype'] );
|
466 |
+
update_post_meta( $new_post_id, '_wp_page_template', 'elementor_header_footer' );
|
467 |
+
|
468 |
+
// Sample data import
|
469 |
+
if( !empty( $data['sampletmpid'] ) && $data['sampletmpbuilder'] == 'elementor' ){
|
470 |
+
$templateurl = sprintf( Woolentor_Template_Library_Manager::get_api_templateapi(), $data['sampletmpid'] );
|
471 |
+
$response_data = Woolentor_Template_Library_Manager::get_content_remote_request( $templateurl );
|
472 |
+
update_post_meta( $new_post_id, '_elementor_data', $response_data['content']['content'] );
|
473 |
+
update_post_meta( $new_post_id, '_elementor_edit_mode', 'builder' );
|
474 |
+
}
|
475 |
+
|
476 |
+
if( $data['setdefaullt'] == 'yes' ) {
|
477 |
+
$this->update_option( 'woolentor_woo_template_tabs' , self::get_template_type()[$data['tmptype']]['optionkey'], $new_post_id );
|
478 |
+
}
|
479 |
+
|
480 |
+
wp_send_json_success( $return );
|
481 |
+
|
482 |
+
}else{
|
483 |
+
$errormessage = array(
|
484 |
+
'message' => __('Some thing is worng !','woolentor')
|
485 |
+
);
|
486 |
+
wp_send_json_error( $errormessage );
|
487 |
+
}
|
488 |
+
|
489 |
+
}
|
490 |
+
|
491 |
+
/**
|
492 |
+
* Template Update
|
493 |
+
*
|
494 |
+
* @param [array] $data
|
495 |
+
* @return JSON
|
496 |
+
*/
|
497 |
+
public function update( $data ){
|
498 |
+
|
499 |
+
$update_post_args = array(
|
500 |
+
'ID' => $data['id'],
|
501 |
+
'post_title' => $data['title'],
|
502 |
+
);
|
503 |
+
wp_update_post( $update_post_args );
|
504 |
+
|
505 |
+
// Update Meta data
|
506 |
+
update_post_meta( $data['id'], self::CPT_META . '_type', $data['tmptype'] );
|
507 |
+
update_post_meta( $data['id'], '_wp_page_template', 'elementor_header_footer' );
|
508 |
+
|
509 |
+
// Sample data import
|
510 |
+
if( !empty( $data['sampletmpid'] ) && $data['sampletmpbuilder'] == 'elementor' ){
|
511 |
+
$templateurl = sprintf( Woolentor_Template_Library_Manager::get_api_templateapi(), $data['sampletmpid'] );
|
512 |
+
$response_data = Woolentor_Template_Library_Manager::get_content_remote_request( $templateurl );
|
513 |
+
update_post_meta( $data['id'], '_elementor_data', $response_data['content']['content'] );
|
514 |
+
update_post_meta( $data['id'], '_elementor_edit_mode', 'builder' );
|
515 |
+
}
|
516 |
+
|
517 |
+
if( $data['setdefaullt'] == 'yes' ) {
|
518 |
+
$this->update_option( 'woolentor_woo_template_tabs', self::get_template_type()[$data['tmptype']]['optionkey'], $data['id'] );
|
519 |
+
}else{
|
520 |
+
$this->update_option( 'woolentor_woo_template_tabs', self::get_template_type()[$data['tmptype']]['optionkey'], '0' );
|
521 |
+
}
|
522 |
+
|
523 |
+
$return = array(
|
524 |
+
'message' => __('Template has been updated','woolentor'),
|
525 |
+
'id' => $data['id']
|
526 |
+
);
|
527 |
+
wp_send_json_success( $return );
|
528 |
+
|
529 |
+
}
|
530 |
+
|
531 |
+
/**
|
532 |
+
* Get Template data by id
|
533 |
+
*
|
534 |
+
* @return JSON
|
535 |
+
*/
|
536 |
+
public function get_post_By_id(){
|
537 |
+
if ( isset( $_POST ) ) {
|
538 |
+
|
539 |
+
$nonce = $_POST['nonce'];
|
540 |
+
if ( ! wp_verify_nonce( $nonce, 'woolentor_tmp_nonce' ) ) {
|
541 |
+
$errormessage = array(
|
542 |
+
'message' => __('Nonce Varification Faild !','woolentor')
|
543 |
+
);
|
544 |
+
wp_send_json_error( $errormessage );
|
545 |
+
}
|
546 |
+
|
547 |
+
$tmpid = !empty( $_POST['tmpId'] ) ? sanitize_text_field( $_POST['tmpId'] ) : '';
|
548 |
+
$postdata = get_post( $tmpid );
|
549 |
+
$tmpType = !empty( get_post_meta( $tmpid, self::CPT_META . '_type', true ) ) ? get_post_meta( $tmpid, self::CPT_META . '_type', true ) : 'single';
|
550 |
+
$data = [
|
551 |
+
'tmpTitle' => $postdata->post_title,
|
552 |
+
'tmpType' => $tmpType,
|
553 |
+
'setDefault' => isset( self::get_template_type()[$tmpType]['optionkey'] ) ? woolentor_get_option( self::get_template_type()[$tmpType]['optionkey'], 'woolentor_woo_template_tabs', '0' ) : '0',
|
554 |
+
];
|
555 |
+
wp_send_json_success( $data );
|
556 |
+
|
557 |
+
}else{
|
558 |
+
$errormessage = array(
|
559 |
+
'message' => __('Some thing is worng !','woolentor')
|
560 |
+
);
|
561 |
+
wp_send_json_error( $errormessage );
|
562 |
+
}
|
563 |
+
|
564 |
+
}
|
565 |
+
|
566 |
+
/**
|
567 |
+
* set_default_template_type function
|
568 |
+
*
|
569 |
+
* @return void
|
570 |
+
*/
|
571 |
+
public function manage_template_status(){
|
572 |
+
|
573 |
+
if ( isset( $_POST ) ) {
|
574 |
+
|
575 |
+
$nonce = $_POST['nonce'];
|
576 |
+
if ( ! wp_verify_nonce( $nonce, 'woolentor_tmp_nonce' ) ) {
|
577 |
+
$errormessage = array(
|
578 |
+
'message' => __('Nonce Varification Faild !','woolentor')
|
579 |
+
);
|
580 |
+
wp_send_json_error( $errormessage );
|
581 |
+
}
|
582 |
+
|
583 |
+
$tmpid = !empty( $_POST['tmpId'] ) ? sanitize_text_field( $_POST['tmpId'] ) : '0';
|
584 |
+
$tmpType = !empty( $_POST['tmpType'] ) ? sanitize_text_field( $_POST['tmpType'] ) : 'single';
|
585 |
+
|
586 |
+
$this->update_option( 'woolentor_woo_template_tabs', self::get_template_type()[$tmpType]['optionkey'], $tmpid );
|
587 |
+
|
588 |
+
$return = array(
|
589 |
+
'message' => __('Template has been updated','woolentor'),
|
590 |
+
'id' => $tmpid
|
591 |
+
);
|
592 |
+
|
593 |
+
wp_send_json_success( $return );
|
594 |
+
|
595 |
+
}else{
|
596 |
+
$errormessage = array(
|
597 |
+
'message' => __('Some thing is worng !','woolentor')
|
598 |
+
);
|
599 |
+
wp_send_json_error( $errormessage );
|
600 |
+
}
|
601 |
+
|
602 |
+
}
|
603 |
+
|
604 |
+
/**
|
605 |
+
* update_option
|
606 |
+
*
|
607 |
+
* @return void
|
608 |
+
*/
|
609 |
+
public function update_option( $section, $option_key, $new_value ){
|
610 |
+
if( $new_value === Null ){ $new_value = ''; }
|
611 |
+
$options_datad = is_array( get_option( $section ) ) ? get_option( $section ) : array();
|
612 |
+
$options_datad[$option_key] = $new_value;
|
613 |
+
update_option( $section, $options_datad );
|
614 |
+
}
|
615 |
+
|
616 |
+
/**
|
617 |
+
* Template Importer
|
618 |
+
*
|
619 |
+
* @return void
|
620 |
+
*/
|
621 |
+
public function template_import(){
|
622 |
+
if ( isset( $_POST ) ) {
|
623 |
+
|
624 |
+
$nonce = $_POST['nonce'];
|
625 |
+
if ( ! wp_verify_nonce( $nonce, 'woolentor_tmp_nonce' ) ) {
|
626 |
+
$errormessage = array(
|
627 |
+
'message' => __('Nonce Varification Faild !','woolentor')
|
628 |
+
);
|
629 |
+
wp_send_json_error( $errormessage );
|
630 |
+
}
|
631 |
+
|
632 |
+
foreach( self::get_template_type() as $key => $template_type ){
|
633 |
+
|
634 |
+
$tmp_id = woolentor_get_option( $template_type['optionkey'], 'woolentor_woo_template_tabs', '0' );
|
635 |
+
|
636 |
+
$get_args = array(
|
637 |
+
'p' => $tmp_id,
|
638 |
+
'post_type' => 'elementor_library'
|
639 |
+
);
|
640 |
+
$templates_query = new \WP_Query( $get_args );
|
641 |
+
wp_reset_query();
|
642 |
+
|
643 |
+
if ( $templates_query->have_posts() ) {
|
644 |
+
|
645 |
+
$args = array(
|
646 |
+
'ID' => $tmp_id,
|
647 |
+
'post_type' => self::CPTTYPE,
|
648 |
+
);
|
649 |
+
$update_id = wp_update_post( $args );
|
650 |
+
|
651 |
+
if( ! is_wp_error( $update_id ) ){
|
652 |
+
update_post_meta( $update_id, self::CPT_META . '_type', $key );
|
653 |
+
}
|
654 |
+
|
655 |
+
}
|
656 |
+
|
657 |
+
}
|
658 |
+
|
659 |
+
$return = array(
|
660 |
+
'message' => __('Template has been imported','woolentor'),
|
661 |
+
);
|
662 |
+
|
663 |
+
wp_send_json_success( $return );
|
664 |
+
|
665 |
+
}else{
|
666 |
+
$errormessage = array(
|
667 |
+
'message' => __('Some thing is worng !','woolentor')
|
668 |
+
);
|
669 |
+
wp_send_json_error( $errormessage );
|
670 |
+
}
|
671 |
+
|
672 |
+
}
|
673 |
+
|
674 |
+
|
675 |
+
}
|
676 |
+
|
677 |
+
Woolentor_Template_Manager::instance();
|
includes/admin/include/class.template_cpt.php
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
3 |
+
|
4 |
+
class Woolentor_Template_CPT{
|
5 |
+
|
6 |
+
const CPTTYPE = 'woolentor-template';
|
7 |
+
|
8 |
+
private static $_instance = null;
|
9 |
+
public static function instance(){
|
10 |
+
if( is_null( self::$_instance ) ){
|
11 |
+
self::$_instance = new self();
|
12 |
+
}
|
13 |
+
return self::$_instance;
|
14 |
+
}
|
15 |
+
|
16 |
+
function __construct(){
|
17 |
+
add_action( 'init', [ $this, 'register_custom_post_type' ] );
|
18 |
+
}
|
19 |
+
|
20 |
+
public function register_custom_post_type() {
|
21 |
+
|
22 |
+
$labels = array(
|
23 |
+
'name' => esc_html_x('Template Builder', 'Post Type General Name', 'woolentor'),
|
24 |
+
'singular_name' => esc_html_x('Template Builder', 'Post Type Singular Name', 'woolentor'),
|
25 |
+
'menu_name' => esc_html__('Template', 'woolentor'),
|
26 |
+
'name_admin_bar' => esc_html__('Template', 'woolentor'),
|
27 |
+
'archives' => esc_html__('Template Archives', 'woolentor'),
|
28 |
+
'attributes' => esc_html__('Template Attributes', 'woolentor'),
|
29 |
+
'parent_item_colon' => esc_html__('Parent Item:', 'woolentor'),
|
30 |
+
'all_items' => esc_html__('Templates', 'woolentor'),
|
31 |
+
'add_new_item' => esc_html__('Add New Template', 'woolentor'),
|
32 |
+
'add_new' => esc_html__('Add New', 'woolentor'),
|
33 |
+
'new_item' => esc_html__('New Template', 'woolentor'),
|
34 |
+
'edit_item' => esc_html__('Edit Template', 'woolentor'),
|
35 |
+
'update_item' => esc_html__('Update Template', 'woolentor'),
|
36 |
+
'view_item' => esc_html__('View Template', 'woolentor'),
|
37 |
+
'view_items' => esc_html__('View Templates', 'woolentor'),
|
38 |
+
'search_items' => esc_html__('Search Templates', 'woolentor'),
|
39 |
+
'not_found' => esc_html__('Not found', 'woolentor'),
|
40 |
+
'not_found_in_trash' => esc_html__('Not found in Trash', 'woolentor'),
|
41 |
+
'featured_image' => esc_html__('Featured Image', 'woolentor'),
|
42 |
+
'set_featured_image' => esc_html__('Set featured image', 'woolentor'),
|
43 |
+
'remove_featured_image' => esc_html__('Remove featured image', 'woolentor'),
|
44 |
+
'use_featured_image' => esc_html__('Use as featured image', 'woolentor'),
|
45 |
+
'insert_into_item' => esc_html__('Insert into Template', 'woolentor'),
|
46 |
+
'uploaded_to_this_item' => esc_html__('Uploaded to this Template', 'woolentor'),
|
47 |
+
'items_list' => esc_html__('Templates list', 'woolentor'),
|
48 |
+
'items_list_navigation' => esc_html__('Templates list navigation', 'woolentor'),
|
49 |
+
'filter_items_list' => esc_html__('Filter from list', 'woolentor'),
|
50 |
+
);
|
51 |
+
|
52 |
+
$args = array(
|
53 |
+
'label' => esc_html__('Template Builder', 'woolentor'),
|
54 |
+
'description' => esc_html__('WooLentor Template', 'woolentor'),
|
55 |
+
'labels' => $labels,
|
56 |
+
'supports' => array('title', 'editor', 'elementor', 'author', 'permalink'),
|
57 |
+
'hierarchical' => false,
|
58 |
+
'public' => true,
|
59 |
+
'show_ui' => true,
|
60 |
+
'show_in_menu' => false,
|
61 |
+
'show_in_admin_bar' => false,
|
62 |
+
'show_in_nav_menus' => false,
|
63 |
+
'can_export' => true,
|
64 |
+
'has_archive' => false,
|
65 |
+
'rewrite' => array(
|
66 |
+
'slug' => 'woolentor-template',
|
67 |
+
'pages' => false,
|
68 |
+
'with_front' => true,
|
69 |
+
'feeds' => false,
|
70 |
+
),
|
71 |
+
'query_var' => true,
|
72 |
+
'exclude_from_search' => true,
|
73 |
+
'publicly_queryable' => true,
|
74 |
+
'capability_type' => 'page',
|
75 |
+
'show_in_rest' => true,
|
76 |
+
'rest_base' => self::CPTTYPE,
|
77 |
+
);
|
78 |
+
|
79 |
+
register_post_type( self::CPTTYPE, $args );
|
80 |
+
|
81 |
+
// Flash rewrite rules
|
82 |
+
$this->flush_rewrite_rules();
|
83 |
+
|
84 |
+
}
|
85 |
+
|
86 |
+
/**
|
87 |
+
* [flush_rewrite_rules] Flash rewrite rules
|
88 |
+
* @return [void]
|
89 |
+
*/
|
90 |
+
public function flush_rewrite_rules() {
|
91 |
+
if( get_option('woolentor_plugin_permalinks_flushed', TRUE ) !== 'yes' ) {
|
92 |
+
flush_rewrite_rules();
|
93 |
+
update_option( 'woolentor_plugin_permalinks_flushed', 'yes' );
|
94 |
+
}
|
95 |
+
}
|
96 |
+
|
97 |
+
|
98 |
+
}
|
includes/admin/include/template-library/manager.php
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
3 |
+
|
4 |
+
class Woolentor_Template_Library_Manager{
|
5 |
+
|
6 |
+
const TRANSIENT_KEY = 'woolentor_template_info';
|
7 |
+
|
8 |
+
public static $endpoint = 'https://woolentor.com/library/wp-json/woolentor/v1/templates';
|
9 |
+
public static $templateapi = 'https://woolentor.com/library/wp-json/woolentor/v1/templates/%s';
|
10 |
+
|
11 |
+
private static $_instance = null;
|
12 |
+
public static function instance(){
|
13 |
+
if( is_null( self::$_instance ) ){
|
14 |
+
self::$_instance = new self();
|
15 |
+
}
|
16 |
+
return self::$_instance;
|
17 |
+
}
|
18 |
+
|
19 |
+
// Get Endpoint
|
20 |
+
public static function get_api_endpoint(){
|
21 |
+
if( is_plugin_active('woolentor-addons-pro/woolentor_addons_pro.php') && function_exists('woolentor_pro_template_endpoint') ){
|
22 |
+
self::$endpoint = woolentor_pro_template_endpoint();
|
23 |
+
}
|
24 |
+
return self::$endpoint;
|
25 |
+
}
|
26 |
+
|
27 |
+
// Get Template API
|
28 |
+
public static function get_api_templateapi(){
|
29 |
+
if( is_plugin_active('woolentor-addons-pro/woolentor_addons_pro.php') && function_exists('woolentor_pro_template_url') ){
|
30 |
+
self::$templateapi = woolentor_pro_template_url();
|
31 |
+
}
|
32 |
+
return self::$templateapi;
|
33 |
+
}
|
34 |
+
|
35 |
+
// Set data to transient
|
36 |
+
public static function set_templates_info( $url = '', $force_update = false ) {
|
37 |
+
$transient = get_transient( self::TRANSIENT_KEY );
|
38 |
+
if ( ! $transient || $force_update ) {
|
39 |
+
$info = self::get_content_remote_request( $url );
|
40 |
+
set_transient( self::TRANSIENT_KEY, $info, DAY_IN_SECONDS );
|
41 |
+
}
|
42 |
+
}
|
43 |
+
|
44 |
+
// Get Template data
|
45 |
+
public static function get_templates_info( $force_update = false ) {
|
46 |
+
if ( !get_transient( self::TRANSIENT_KEY ) || $force_update ) {
|
47 |
+
self::set_templates_info( self::get_api_endpoint(), true );
|
48 |
+
}
|
49 |
+
return get_transient( self::TRANSIENT_KEY );
|
50 |
+
}
|
51 |
+
|
52 |
+
// Request remote data
|
53 |
+
public static function get_content_remote_request( $request_url ){
|
54 |
+
global $wp_version;
|
55 |
+
|
56 |
+
$response = wp_remote_get(
|
57 |
+
$request_url,
|
58 |
+
array(
|
59 |
+
'timeout' => 25,
|
60 |
+
'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url()
|
61 |
+
)
|
62 |
+
);
|
63 |
+
|
64 |
+
if ( is_wp_error( $response ) || 200 !== (int) wp_remote_retrieve_response_code( $response ) ) {
|
65 |
+
return [];
|
66 |
+
}
|
67 |
+
|
68 |
+
$result = json_decode( wp_remote_retrieve_body( $response ), true );
|
69 |
+
return $result;
|
70 |
+
|
71 |
+
}
|
72 |
+
|
73 |
+
|
74 |
+
}
|
includes/admin/templates/dashboard-renamelabel.php
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
3 |
-
|
4 |
-
$element_fields = Woolentor_Admin_Fields::instance()->fields()['woolentor_rename_label_tabs'];
|
5 |
-
$element_keys = array_column( $element_fields, 'name' );
|
6 |
-
|
7 |
-
?>
|
8 |
-
<div id="woolentor_rename_label_tabs" class="woolentor-admin-main-tab-pane">
|
9 |
-
<div class="woolentor-admin-main-tab-pane-inner">
|
10 |
-
<form class="woolentor-dashboard" id="woolentor-dashboard-renamelabel-form" action="#" method="post" data-section="woolentor_rename_label_tabs" data-fields='<?php echo wp_json_encode( $element_keys ); ?>'>
|
11 |
-
<div class="woolentor-admin-options">
|
12 |
-
|
13 |
-
<?php
|
14 |
-
foreach( $element_fields as $key => $field ){
|
15 |
-
Woolentor_Admin_Fields_Manager::instance()->add_field( $field, 'woolentor_rename_label_tabs' );
|
16 |
-
}
|
17 |
-
?>
|
18 |
-
|
19 |
-
<div class="woolentor-admin-option">
|
20 |
-
<button class="woolentor-admin-btn-save woolentor-admin-btn woolentor-admin-btn-primary hover-effect-1" style="margin-left:auto;" disabled="disabled"><?php echo esc_html__('Save Changes','woolentor');?></button>
|
21 |
-
</div>
|
22 |
-
|
23 |
-
</div>
|
24 |
-
</form>
|
25 |
-
</div>
|
26 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/admin/templates/dashboard-sales-notification.php
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
3 |
-
|
4 |
-
$element_fields = Woolentor_Admin_Fields::instance()->fields()['woolentor_sales_notification_tabs'];
|
5 |
-
$element_keys = array_column( $element_fields, 'name' );
|
6 |
-
|
7 |
-
?>
|
8 |
-
<div id="woolentor_sales_notification_tabs" class="woolentor-admin-main-tab-pane">
|
9 |
-
<div class="woolentor-admin-main-tab-pane-inner">
|
10 |
-
<form class="woolentor-dashboard" id="woolentor-dashboard-sales-notification-form" action="#" method="post" data-section="woolentor_sales_notification_tabs" data-fields='<?php echo wp_json_encode( $element_keys ); ?>'>
|
11 |
-
<div class="woolentor-admin-options">
|
12 |
-
|
13 |
-
<?php
|
14 |
-
foreach( $element_fields as $key => $field ){
|
15 |
-
Woolentor_Admin_Fields_Manager::instance()->add_field( $field, 'woolentor_sales_notification_tabs' );
|
16 |
-
}
|
17 |
-
?>
|
18 |
-
|
19 |
-
<div class="woolentor-admin-option">
|
20 |
-
<button class="woolentor-admin-btn-save woolentor-admin-btn woolentor-admin-btn-primary hover-effect-1" style="margin-left: auto;" disabled="disabled"><?php echo esc_html__('Save Changes','woolentor');?></button>
|
21 |
-
</div>
|
22 |
-
|
23 |
-
</div>
|
24 |
-
</form>
|
25 |
-
</div>
|
26 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/admin/templates/template_edit_popup.php
ADDED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Template CTP
|
4 |
+
*/
|
5 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
6 |
+
?>
|
7 |
+
|
8 |
+
<script type="text/template" id="tmpl-woolentorctppopup">
|
9 |
+
|
10 |
+
|
11 |
+
<div class="woolentor-template-edit-popup-area">
|
12 |
+
<div class="woolentor-body-overlay"></div>
|
13 |
+
<div class="woolentor-template-edit-popup">
|
14 |
+
|
15 |
+
<div class="woolentor-template-edit-header">
|
16 |
+
<h3 class="woolentor-template-edit-setting-title">
|
17 |
+
<span class="woolentor-template-edit-setting-image dashicons dashicons-admin-generic"></span>
|
18 |
+
{{{data.heading.head}}}
|
19 |
+
</h3>
|
20 |
+
<span class="woolentor-template-edit-cross">
|
21 |
+
<svg version="1.1" width="18" height="28" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 496.096 496.096" style="enable-background:new 0 0 496.096 496.096;" xml:space="preserve">
|
22 |
+
<path d="M259.41,247.998L493.754,13.654c3.123-3.124,3.123-8.188,0-11.312c-3.124-3.123-8.188-3.123-11.312,0L248.098,236.686 L13.754,2.342C10.576-0.727,5.512-0.639,2.442,2.539c-2.994,3.1-2.994,8.015,0,11.115l234.344,234.344L2.442,482.342 c-3.178,3.07-3.266,8.134-0.196,11.312s8.134,3.266,11.312,0.196c0.067-0.064,0.132-0.13,0.196-0.196L248.098,259.31 l234.344,234.344c3.178,3.07,8.242,2.982,11.312-0.196c2.995-3.1,2.995-8.016,0-11.116L259.41,247.998z" fill="#ddd" data-original="#000000"/></svg>
|
23 |
+
</span>
|
24 |
+
</div>
|
25 |
+
|
26 |
+
<div class="woolentor-template-edit-body">
|
27 |
+
|
28 |
+
<div class="woolentor-template-edit-field">
|
29 |
+
<label class="woolentor-template-edit-label">{{{ data.heading.fields.name.title }}}</label>
|
30 |
+
<input class="woolentor-template-edit-input" id="woolentor-template-title" type="text" name="woolentor-template-title" placeholder="{{ data.heading.fields.name.placeholder }}">
|
31 |
+
</div>
|
32 |
+
|
33 |
+
<div class="woolentor-template-edit-field">
|
34 |
+
<label class="woolentor-template-edit-label">{{{data.heading.fields.type}}}</label>
|
35 |
+
<select class="woolentor-template-edit-input" name="woolentor-template-type" id="woolentor-template-type">
|
36 |
+
<#
|
37 |
+
_.each( data.templatetype, function( item, key ) {
|
38 |
+
|
39 |
+
#><option value="{{ key }}">{{{ item.label }}}</option><#
|
40 |
+
|
41 |
+
} );
|
42 |
+
#>
|
43 |
+
</select>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<div class="woolentor-template-edit-bottom-box">
|
47 |
+
|
48 |
+
<div class="woolentor-template-edit-set-default-field woolentor-template-edit-set-checkbox">
|
49 |
+
<input class="woolentor-template-edit-set-checkbox-input" type="checkbox" name="woolentor-template-default" id="woolentor-template-default">
|
50 |
+
<label class="woolentor-template-edit-set-checkbox-lable" for="woolentor-template-default">
|
51 |
+
{{{data.heading.fields.setdefault}}}
|
52 |
+
<span class="woolenor-help-tip">
|
53 |
+
<span class="woolenor-help-text">It will override the WooCommerce default template with the template type you selected above.</span>
|
54 |
+
</span>
|
55 |
+
</label>
|
56 |
+
</div>
|
57 |
+
|
58 |
+
<div class="woolentor-template-edit-set-default-field woolentor-template-edit-set-design">
|
59 |
+
<label>{{{data.heading.sampledata.visibility}}}</label>
|
60 |
+
<span class="woolentor-template-edit-eye-icon dashicons dashicons-visibility"></span>
|
61 |
+
</div>
|
62 |
+
|
63 |
+
</div>
|
64 |
+
|
65 |
+
<div class="woolentor-template-edit-demo-design-show-wrap">
|
66 |
+
|
67 |
+
<# _.each( data.templatelist, function( itemgroup, groupkey ) { #>
|
68 |
+
<div class="woolentor-template-edit-demo-design-show woolentor-template-edit-demo-design-slider demo-{{groupkey}}">
|
69 |
+
<#
|
70 |
+
_.each( itemgroup, function( item, itemkey ) {
|
71 |
+
var protmp = item.isPro === 1 ? 'tmp-pro' : '';
|
72 |
+
#>
|
73 |
+
<label class="woolentor-template-edit-demo-plan woolentor-{{ protmp }}" for="woolentor-template-edit-demo-plan-{{groupkey}}-{{item.id}}">
|
74 |
+
<# if( item.isPro !== 1 ){ #>
|
75 |
+
<input type="radio" data-builder="elementor" name="woolentor-template-edit-demo-plan" id="woolentor-template-edit-demo-plan-{{groupkey}}-{{item.id}}" value="{{item.id}}" />
|
76 |
+
<# } #>
|
77 |
+
<span class="woolentor-template-edit-demo-content">
|
78 |
+
<span class="woolentor-template-edit-demo-image">
|
79 |
+
<img src="{{item.thumbnail}}" alt="{{ item.title }}">
|
80 |
+
</span>
|
81 |
+
<span class="woolentor-template-edit-demo-name">{{{data.heading.sampledata.elementor}}}</span>
|
82 |
+
<# if( item.isPro === 1 ){ #>
|
83 |
+
<span class="woolentor-template-edit-demo-name tmp-pro">{{{data.heading.sampledata.pro}}}</span>
|
84 |
+
<# } #>
|
85 |
+
<a class="woolentor-template-edit-demo-eye" href="{{ item.url }}" target="_blank"><span class="dashicons dashicons-admin-links"></span></a>
|
86 |
+
</span>
|
87 |
+
</label>
|
88 |
+
<#
|
89 |
+
});
|
90 |
+
|
91 |
+
#>
|
92 |
+
</div>
|
93 |
+
<# } ); #>
|
94 |
+
|
95 |
+
</div>
|
96 |
+
|
97 |
+
</div>
|
98 |
+
|
99 |
+
<div class="woolentor-template-edit-footer">
|
100 |
+
|
101 |
+
<div class="woolentor-template-button-group">
|
102 |
+
<div class="woolentor-template-button-item">
|
103 |
+
<button class="woolentor-tmp-elementor">{{{ data.heading.buttons.elementor.label }}}</button>
|
104 |
+
</div>
|
105 |
+
<!-- <div class="woolentor-template-button-item">
|
106 |
+
<button class="woolentor-tmp-gutenberg">//{{{ data.heading.buttons.gutenberg.label }}}</button>
|
107 |
+
</div> -->
|
108 |
+
<div class="woolentor-template-button-item">
|
109 |
+
<button class="woolentor-tmp-save button button-primary disabled" disabled="disabled">{{{ data.heading.buttons.save.label }}}</button>
|
110 |
+
</div>
|
111 |
+
</div>
|
112 |
+
|
113 |
+
</div>
|
114 |
+
|
115 |
+
</div>
|
116 |
+
</div>
|
117 |
+
|
118 |
+
</script>
|
includes/base.php
CHANGED
@@ -10,7 +10,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
10 |
final class Base {
|
11 |
|
12 |
const MINIMUM_PHP_VERSION = '5.4';
|
13 |
-
const MINIMUM_ELEMENTOR_VERSION = '
|
14 |
|
15 |
/**
|
16 |
* [$template_info]
|
@@ -44,6 +44,9 @@ final class Base {
|
|
44 |
add_action( 'init', [ $this, 'i18n' ] );
|
45 |
add_action( 'plugins_loaded', [ $this, 'init' ] );
|
46 |
|
|
|
|
|
|
|
47 |
// Register Plugin Active Hook
|
48 |
register_activation_hook( WOOLENTOR_ADDONS_PL_ROOT, [ $this, 'plugin_activate_hook' ] );
|
49 |
|
@@ -118,7 +121,10 @@ final class Base {
|
|
118 |
// Elementor Preview Action
|
119 |
if ( ! empty( $_REQUEST['action'] ) && 'elementor' === $_REQUEST['action'] && is_admin() ) {
|
120 |
add_action( 'admin_action_elementor', [ $this, 'wc_fontend_includes' ], 5 );
|
121 |
-
}
|
|
|
|
|
|
|
122 |
|
123 |
}
|
124 |
|
@@ -407,6 +413,12 @@ final class Base {
|
|
407 |
}
|
408 |
}
|
409 |
|
|
|
|
|
|
|
|
|
|
|
|
|
410 |
|
411 |
}
|
412 |
|
10 |
final class Base {
|
11 |
|
12 |
const MINIMUM_PHP_VERSION = '5.4';
|
13 |
+
const MINIMUM_ELEMENTOR_VERSION = '3.0.0';
|
14 |
|
15 |
/**
|
16 |
* [$template_info]
|
44 |
add_action( 'init', [ $this, 'i18n' ] );
|
45 |
add_action( 'plugins_loaded', [ $this, 'init' ] );
|
46 |
|
47 |
+
// WooLentor Template CPT Manager
|
48 |
+
require( WOOLENTOR_ADDONS_PL_PATH. 'includes/admin/include/class.template-manager.php' );
|
49 |
+
|
50 |
// Register Plugin Active Hook
|
51 |
register_activation_hook( WOOLENTOR_ADDONS_PL_ROOT, [ $this, 'plugin_activate_hook' ] );
|
52 |
|
121 |
// Elementor Preview Action
|
122 |
if ( ! empty( $_REQUEST['action'] ) && 'elementor' === $_REQUEST['action'] && is_admin() ) {
|
123 |
add_action( 'admin_action_elementor', [ $this, 'wc_fontend_includes' ], 5 );
|
124 |
+
}
|
125 |
+
|
126 |
+
// Manage Page Action
|
127 |
+
\WooLentor_Page_Action::instance()->init();
|
128 |
|
129 |
}
|
130 |
|
413 |
}
|
414 |
}
|
415 |
|
416 |
+
// Page Action
|
417 |
+
require( WOOLENTOR_ADDONS_PL_PATH. 'classes/class.page_action.php' );
|
418 |
+
|
419 |
+
// Modules Manager
|
420 |
+
require( WOOLENTOR_ADDONS_PL_PATH. 'includes/modules/class.module-manager.php' );
|
421 |
+
|
422 |
|
423 |
}
|
424 |
|
includes/helper-function.php
CHANGED
@@ -195,6 +195,20 @@ function woolentor_product_query( $query_args = [] ){
|
|
195 |
|
196 |
}
|
197 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
/**
|
199 |
* Taxonomy List
|
200 |
* @return array
|
@@ -275,6 +289,39 @@ function woolentor_elementor_template() {
|
|
275 |
return $template_lists;
|
276 |
}
|
277 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
/*
|
279 |
* Plugisn Options value
|
280 |
* return on/off
|
@@ -885,4 +932,35 @@ function woolentor_add_to_wishlist_button( $normalicon = '<i class="fa fa-heart-
|
|
885 |
}
|
886 |
|
887 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
888 |
}
|
195 |
|
196 |
}
|
197 |
|
198 |
+
/**
|
199 |
+
* Get all menu list
|
200 |
+
* return array
|
201 |
+
*/
|
202 |
+
function woolentor_get_all_create_menus() {
|
203 |
+
$raw_menus = wp_get_nav_menus();
|
204 |
+
$menus = wp_list_pluck( $raw_menus, 'name', 'term_id' );
|
205 |
+
$parent = isset( $_GET['parent_menu'] ) ? absint( $_GET['parent_menu'] ) : 0;
|
206 |
+
if ( 0 < $parent && isset( $menus[ $parent ] ) ) {
|
207 |
+
unset( $menus[ $parent ] );
|
208 |
+
}
|
209 |
+
return $menus;
|
210 |
+
}
|
211 |
+
|
212 |
/**
|
213 |
* Taxonomy List
|
214 |
* @return array
|
289 |
return $template_lists;
|
290 |
}
|
291 |
|
292 |
+
/*
|
293 |
+
* Woolentor Templates List
|
294 |
+
* return array
|
295 |
+
*/
|
296 |
+
function woolentor_wltemplate_list( $type = [] ){
|
297 |
+
$template_lists = [];
|
298 |
+
|
299 |
+
$args = array(
|
300 |
+
'post_type' => 'woolentor-template',
|
301 |
+
'post_status' => 'publish',
|
302 |
+
'ignore_sticky_posts' => 1,
|
303 |
+
'posts_per_page' => -1,
|
304 |
+
);
|
305 |
+
|
306 |
+
if( is_array( $type ) && count( $type ) > 0 ){
|
307 |
+
$args['meta_key'] = 'woolentor_template_meta_type';
|
308 |
+
$args['meta_value'] = $type;
|
309 |
+
$args['meta_compare'] = 'IN';
|
310 |
+
}
|
311 |
+
|
312 |
+
$templates = new WP_Query( $args );
|
313 |
+
|
314 |
+
if( $templates->have_posts() ){
|
315 |
+
while( $templates->have_posts() ): $templates->the_post();
|
316 |
+
$template_lists[ get_the_ID() ] = get_the_title();
|
317 |
+
endwhile;
|
318 |
+
}
|
319 |
+
wp_reset_query(); wp_reset_postdata();
|
320 |
+
|
321 |
+
return $template_lists;
|
322 |
+
|
323 |
+
}
|
324 |
+
|
325 |
/*
|
326 |
* Plugisn Options value
|
327 |
* return on/off
|
932 |
}
|
933 |
|
934 |
|
935 |
+
}
|
936 |
+
|
937 |
+
/*
|
938 |
+
* Ajax login Action
|
939 |
+
*/
|
940 |
+
global $user;
|
941 |
+
if ( empty( $user->ID ) ) {
|
942 |
+
add_action('init', 'woolentor_ajax_login_init' );
|
943 |
+
}
|
944 |
+
|
945 |
+
function woolentor_ajax_login_init() {
|
946 |
+
add_action( 'wp_ajax_nopriv_woolentor_ajax_login', 'woolentor_ajax_login' );
|
947 |
+
}
|
948 |
+
|
949 |
+
/*
|
950 |
+
* ajax login
|
951 |
+
*/
|
952 |
+
function woolentor_ajax_login(){
|
953 |
+
|
954 |
+
// $message = WC_Form_Handler::process_login();
|
955 |
+
|
956 |
+
$all_notices = wc_print_notices( true );
|
957 |
+
|
958 |
+
wp_send_json_success(
|
959 |
+
array(
|
960 |
+
'notices' => $all_notices,
|
961 |
+
)
|
962 |
+
);
|
963 |
+
|
964 |
+
wp_die();
|
965 |
+
|
966 |
}
|
includes/modules/class.module-manager.php
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
3 |
+
|
4 |
+
class Woolentor_Module_Manager{
|
5 |
+
|
6 |
+
private static $_instance = null;
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Instance
|
10 |
+
*/
|
11 |
+
public static function instance(){
|
12 |
+
if( is_null( self::$_instance ) ){
|
13 |
+
self::$_instance = new self();
|
14 |
+
}
|
15 |
+
return self::$_instance;
|
16 |
+
}
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Constructor
|
20 |
+
*/
|
21 |
+
public function __construct(){
|
22 |
+
$this->include_file();
|
23 |
+
}
|
24 |
+
|
25 |
+
/**
|
26 |
+
* [include_file] Nessary File Required
|
27 |
+
* @return [void]
|
28 |
+
*/
|
29 |
+
public function include_file(){
|
30 |
+
|
31 |
+
// Shopify Style Checkout page
|
32 |
+
if( woolentor_get_option( 'enable', 'woolentor_shopify_checkout_settings', 'off' ) == 'on' ){
|
33 |
+
require( WOOLENTOR_ADDONS_PL_PATH .'includes/modules/shopify-like-checkout/class.shopify-like-checkout.php' );
|
34 |
+
}
|
35 |
+
|
36 |
+
}
|
37 |
+
|
38 |
+
|
39 |
+
}
|
40 |
+
|
41 |
+
Woolentor_Module_Manager::instance();
|
includes/modules/shopify-like-checkout/assets/shopify-like-checkout.css
ADDED
@@ -0,0 +1,1390 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.woolentor-checkout__box {
|
2 |
+
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
|
3 |
+
margin: 0;
|
4 |
+
padding: 0;
|
5 |
+
}
|
6 |
+
.woolentor-checkout__box table{
|
7 |
+
width: 100%;
|
8 |
+
max-width: 100%;
|
9 |
+
}
|
10 |
+
|
11 |
+
.woolentor-checkout__box * {
|
12 |
+
box-sizing: border-box;
|
13 |
+
text-decoration: none;
|
14 |
+
}
|
15 |
+
|
16 |
+
.woolentor-checkout__container {
|
17 |
+
max-width: 1200px;
|
18 |
+
margin: 0 auto;
|
19 |
+
display: -webkit-box;
|
20 |
+
display: -ms-flexbox;
|
21 |
+
display: flex;
|
22 |
+
-webkit-box-flex: 1;
|
23 |
+
-ms-flex: 1 0 auto;
|
24 |
+
flex: 1 0 auto;
|
25 |
+
}
|
26 |
+
|
27 |
+
@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (max-width: 767px) {
|
28 |
+
.woolentor-checkout__container {
|
29 |
+
-webkit-box-orient: vertical;
|
30 |
+
-webkit-box-direction: normal;
|
31 |
+
-ms-flex-direction: column;
|
32 |
+
flex-direction: column;
|
33 |
+
-ms-flex-direction: column-reverse;
|
34 |
+
flex-direction: column-reverse;
|
35 |
+
}
|
36 |
+
}
|
37 |
+
|
38 |
+
.woolentor-checkout__left-sidebar {
|
39 |
+
width: 57%;
|
40 |
+
margin-top: 50px;
|
41 |
+
bottom: 30px;
|
42 |
+
padding: 0 60px 0 40px;
|
43 |
+
}
|
44 |
+
|
45 |
+
@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (max-width: 767px) {
|
46 |
+
.woolentor-checkout__left-sidebar {
|
47 |
+
width: 100%;
|
48 |
+
}
|
49 |
+
}
|
50 |
+
|
51 |
+
@media only screen and (max-width: 767px) {
|
52 |
+
.woolentor-checkout__left-sidebar {
|
53 |
+
padding: 0 15px;
|
54 |
+
}
|
55 |
+
}
|
56 |
+
|
57 |
+
.woolentor-checkout__right-sidebar {
|
58 |
+
position: relative;
|
59 |
+
width: 43%;
|
60 |
+
padding: 0 40px;
|
61 |
+
padding-top: 50px;
|
62 |
+
}
|
63 |
+
|
64 |
+
@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (max-width: 767px) {
|
65 |
+
.woolentor-checkout__right-sidebar {
|
66 |
+
width: 100%;
|
67 |
+
height: auto;
|
68 |
+
}
|
69 |
+
|
70 |
+
.woolentor-checkout__right-sidebar:after {
|
71 |
+
box-shadow: none;
|
72 |
+
}
|
73 |
+
}
|
74 |
+
|
75 |
+
@media only screen and (max-width: 575px) {
|
76 |
+
.woolentor-checkout__right-sidebar {
|
77 |
+
height: auto;
|
78 |
+
}
|
79 |
+
|
80 |
+
.woolentor-checkout__right-sidebar:after {
|
81 |
+
box-shadow: none;
|
82 |
+
}
|
83 |
+
}
|
84 |
+
|
85 |
+
.woolentor-checkout__right-sidebar:after {
|
86 |
+
content: "";
|
87 |
+
display: block;
|
88 |
+
width: 100%;
|
89 |
+
position: absolute;
|
90 |
+
top: 0;
|
91 |
+
left: -100%;
|
92 |
+
bottom: 0;
|
93 |
+
background: #fafafa;
|
94 |
+
z-index: -1;
|
95 |
+
box-shadow: 0 -1px 0 #e1e1e1 inset;
|
96 |
+
left: 0;
|
97 |
+
background-position: left top;
|
98 |
+
box-shadow: 1px 0 0 #e1e1e1 inset;
|
99 |
+
}
|
100 |
+
|
101 |
+
.woolentor-checkout__logo {
|
102 |
+
margin-bottom: 20px;
|
103 |
+
max-width: 100%;
|
104 |
+
}
|
105 |
+
|
106 |
+
.woolentor-checkout__logo img{
|
107 |
+
width: 100%;
|
108 |
+
}
|
109 |
+
|
110 |
+
.woolentor-checkout__breadcrumb {
|
111 |
+
margin-bottom: 40px;
|
112 |
+
margin-left: 0;
|
113 |
+
padding: 0;
|
114 |
+
list-style: none;
|
115 |
+
display: -webkit-box;
|
116 |
+
display: -ms-flexbox;
|
117 |
+
display: flex;
|
118 |
+
-ms-flex-wrap: wrap;
|
119 |
+
flex-wrap: wrap;
|
120 |
+
font-size: 14px;
|
121 |
+
}
|
122 |
+
|
123 |
+
.woolentor-checkout__breadcrumb-item {
|
124 |
+
margin-right: 25px;
|
125 |
+
position: relative;
|
126 |
+
cursor: pointer;
|
127 |
+
color: #00000091;
|
128 |
+
}
|
129 |
+
|
130 |
+
.woolentor-checkout__breadcrumb-item:last-child {
|
131 |
+
margin-right: 0;
|
132 |
+
}
|
133 |
+
|
134 |
+
.woolentor-checkout__breadcrumb-item:last-child:before {
|
135 |
+
display: none;
|
136 |
+
}
|
137 |
+
|
138 |
+
.woolentor-checkout__breadcrumb-item:before {
|
139 |
+
--woolentor-css-icon-height: 4px;
|
140 |
+
border-bottom: 2px solid #222;
|
141 |
+
border-right: 2px solid #222;
|
142 |
+
content: '';
|
143 |
+
display: block;
|
144 |
+
height: var(--woolentor-css-icon-height);
|
145 |
+
pointer-events: none;
|
146 |
+
position: absolute;
|
147 |
+
top: 50%;
|
148 |
+
-webkit-transition: all 0.15s ease-in-out;
|
149 |
+
transition: all 0.15s ease-in-out;
|
150 |
+
width: var(--woolentor-css-icon-height);
|
151 |
+
-webkit-transform: rotate(-45deg) translateY(-50%);
|
152 |
+
transform: rotate(-45deg) translateY(-50%);
|
153 |
+
z-index: 1;
|
154 |
+
right: -13px;
|
155 |
+
left: auto;
|
156 |
+
}
|
157 |
+
|
158 |
+
.woolentor-checkout__breadcrumb-item.active {
|
159 |
+
text-decoration: none;
|
160 |
+
color: #000;
|
161 |
+
}
|
162 |
+
|
163 |
+
.woolentor-checkout__header{
|
164 |
+
margin-bottom: 30px;
|
165 |
+
}
|
166 |
+
.woolentor-checkout__section {
|
167 |
+
clear: both;
|
168 |
+
}
|
169 |
+
|
170 |
+
.woolentor-checkout__section-header {
|
171 |
+
display: -webkit-box;
|
172 |
+
display: -ms-flexbox;
|
173 |
+
display: flex;
|
174 |
+
-webkit-box-pack: justify;
|
175 |
+
-ms-flex-pack: justify;
|
176 |
+
justify-content: space-between;
|
177 |
+
-webkit-box-align: center;
|
178 |
+
-ms-flex-align: center;
|
179 |
+
align-items: center;
|
180 |
+
-ms-flex-wrap: wrap;
|
181 |
+
flex-wrap: wrap;
|
182 |
+
margin-bottom: 15px;
|
183 |
+
}
|
184 |
+
|
185 |
+
.woolentor-checkout__section-title,
|
186 |
+
.woolentor-checkout__box #ship-to-different-address {
|
187 |
+
font-size: 17px;
|
188 |
+
font-weight: normal;
|
189 |
+
margin-bottom: 0;
|
190 |
+
}
|
191 |
+
.woolentor-checkout__box #ship-to-different-address{
|
192 |
+
margin-bottom: 15px;
|
193 |
+
position: relative;
|
194 |
+
margin-right: 0;
|
195 |
+
}
|
196 |
+
|
197 |
+
.woolentor-checkout__item-col {
|
198 |
+
font-size: 14px;
|
199 |
+
color: #545454;
|
200 |
+
margin-bottom: 0;
|
201 |
+
}
|
202 |
+
|
203 |
+
.woolentor-checkout__item-col a {
|
204 |
+
text-decoration: none;
|
205 |
+
color: #0170b9;
|
206 |
+
}
|
207 |
+
|
208 |
+
.woolentor-checkout__row {
|
209 |
+
display: -webkit-box;
|
210 |
+
display: -ms-flexbox;
|
211 |
+
display: flex;
|
212 |
+
-ms-flex-wrap: wrap;
|
213 |
+
flex-wrap: wrap;
|
214 |
+
margin-right: -6px;
|
215 |
+
margin-left: -6px;
|
216 |
+
}
|
217 |
+
|
218 |
+
.woolentor-checkout__row > * {
|
219 |
+
width: 100%;
|
220 |
+
max-width: 100%;
|
221 |
+
padding-right: 6px;
|
222 |
+
padding-left: 6px;
|
223 |
+
}
|
224 |
+
|
225 |
+
.woolentor-checkout__field-half {
|
226 |
+
-webkit-box-flex: 1;
|
227 |
+
-ms-flex: 1 0 50%;
|
228 |
+
flex: 1 0 50%;
|
229 |
+
width: 50%;
|
230 |
+
}
|
231 |
+
|
232 |
+
.woolentor-checkout__field-full {
|
233 |
+
-webkit-box-flex: 0;
|
234 |
+
-ms-flex: 0 0 auto;
|
235 |
+
flex: 0 0 auto;
|
236 |
+
width: 100%;
|
237 |
+
}
|
238 |
+
|
239 |
+
.woolentor-checkout__field {
|
240 |
+
position: relative;
|
241 |
+
display: -webkit-box;
|
242 |
+
display: -ms-flexbox;
|
243 |
+
display: flex;
|
244 |
+
-webkit-box-orient: vertical;
|
245 |
+
-webkit-box-direction: reverse;
|
246 |
+
-ms-flex-direction: column-reverse;
|
247 |
+
flex-direction: column-reverse;
|
248 |
+
width: 100%;
|
249 |
+
}
|
250 |
+
.woolentor-checkout__box .form-row{
|
251 |
+
position: relative;
|
252 |
+
}
|
253 |
+
.woolentor-checkout__box .form-row label,
|
254 |
+
.woolentor-checkout__box .checkout_coupon label {
|
255 |
+
position: absolute;
|
256 |
+
left: 22px;
|
257 |
+
background: transparent;
|
258 |
+
padding: 0px 0px;
|
259 |
+
font-size: 15px;
|
260 |
+
-webkit-transition: all 0.2s;
|
261 |
+
transition: all 0.2s;
|
262 |
+
-ms-touch-action: manipulation;
|
263 |
+
touch-action: manipulation;
|
264 |
+
-webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
|
265 |
+
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
|
266 |
+
}
|
267 |
+
|
268 |
+
.woolentor-checkout__box .checkout_coupon label {
|
269 |
+
left: 15px;
|
270 |
+
}
|
271 |
+
|
272 |
+
.woolentor-checkout__box .input-text {
|
273 |
+
color: #333333;
|
274 |
+
border: 1px solid #d9d9d9;
|
275 |
+
background-clip: padding-box;
|
276 |
+
border-radius: 5px;
|
277 |
+
display: block;
|
278 |
+
box-sizing: border-box;
|
279 |
+
width: 100%;
|
280 |
+
padding: 26px 15px 8px 15px;
|
281 |
+
word-break: normal;
|
282 |
+
line-height: inherit;
|
283 |
+
font-size: 15px;
|
284 |
+
-webkit-transition: all 0.2s;
|
285 |
+
transition: all 0.2s;
|
286 |
+
-ms-touch-action: manipulation;
|
287 |
+
touch-action: manipulation;
|
288 |
+
background: #fff;
|
289 |
+
box-shadow: none;
|
290 |
+
line-height: 1;
|
291 |
+
}
|
292 |
+
|
293 |
+
.woolentor-checkout__box .input-text::-webkit-input-placeholder {
|
294 |
+
opacity: 0;
|
295 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
296 |
+
-webkit-transition: inherit;
|
297 |
+
transition: inherit;
|
298 |
+
}
|
299 |
+
|
300 |
+
.woolentor-checkout__box .input-text:focus::-webkit-input-placeholder {
|
301 |
+
opacity: 1;
|
302 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
303 |
+
}
|
304 |
+
|
305 |
+
.woolentor-checkout__field-select {
|
306 |
+
color: #333333;
|
307 |
+
border: 1px solid #d9d9d9;
|
308 |
+
width: 100%;
|
309 |
+
font-size: 15px;
|
310 |
+
padding: 24px 15px 5px 15px;
|
311 |
+
position: relative;
|
312 |
+
background-clip: padding-box;
|
313 |
+
border-radius: 5px;
|
314 |
+
display: block;
|
315 |
+
box-sizing: border-box;
|
316 |
+
width: 100%;
|
317 |
+
padding: 24px 25px 5px 15px;
|
318 |
+
word-break: normal;
|
319 |
+
line-height: inherit;
|
320 |
+
-webkit-transition: all 0.2s;
|
321 |
+
transition: all 0.2s;
|
322 |
+
-ms-touch-action: manipulation;
|
323 |
+
touch-action: manipulation;
|
324 |
+
background: #fff url(../images/icons/selector-icon.webp) no-repeat center right 14px;
|
325 |
+
background-color: #fff;
|
326 |
+
-moz-appearance: none;
|
327 |
+
-webkit-appearance: none;
|
328 |
+
}
|
329 |
+
|
330 |
+
.woolentor-checkout__select-label {
|
331 |
+
position: absolute;
|
332 |
+
left: 15px;
|
333 |
+
top: 5px;
|
334 |
+
background: transparent;
|
335 |
+
padding: 0px 0px;
|
336 |
+
font-size: 14px;
|
337 |
+
-webkit-transition: all 0.2s;
|
338 |
+
transition: all 0.2s;
|
339 |
+
-ms-touch-action: manipulation;
|
340 |
+
touch-action: manipulation;
|
341 |
+
-webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
|
342 |
+
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
|
343 |
+
}
|
344 |
+
|
345 |
+
.woolentor-checkout__field-select-wrapper .woocommerce-input-wrapper::after {
|
346 |
+
color: #000;
|
347 |
+
right: 11px;
|
348 |
+
top: 50%;
|
349 |
+
height: 34px;
|
350 |
+
padding: 15px 0px 0px 8px;
|
351 |
+
position: absolute;
|
352 |
+
pointer-events: none;
|
353 |
+
transform: translateY(-50%);
|
354 |
+
content: "\f347";
|
355 |
+
font-family: dashicons;
|
356 |
+
font-size: 20px;
|
357 |
+
line-height: 1;
|
358 |
+
width: 30px;
|
359 |
+
}
|
360 |
+
.woolentor-checkout__checkbox-wrapper label {
|
361 |
+
font-size: 15px;
|
362 |
+
}
|
363 |
+
|
364 |
+
.woolentor-checkout__shipping-method {
|
365 |
+
border: 1px solid #d9d9d9;
|
366 |
+
border-radius: 5px;
|
367 |
+
color: #545454;
|
368 |
+
}
|
369 |
+
|
370 |
+
.woolentor-checkout__shipping-text {
|
371 |
+
font-size: 14px;
|
372 |
+
font-weight: 600;
|
373 |
+
}
|
374 |
+
|
375 |
+
.woolentor-checkout__error-text {
|
376 |
+
display: none;
|
377 |
+
color: red;
|
378 |
+
}
|
379 |
+
|
380 |
+
.woolentor-checkout__error .woolentor-checkout__error-text {
|
381 |
+
display: block;
|
382 |
+
position: absolute;
|
383 |
+
bottom: -20px;
|
384 |
+
font-size: 14px;
|
385 |
+
}
|
386 |
+
|
387 |
+
.woolentor-checkout__error .woolentor-checkout__input {
|
388 |
+
border: 2px solid red;
|
389 |
+
}
|
390 |
+
|
391 |
+
.woolentor-checkout__delivery-method {
|
392 |
+
border: 1px solid #d9d9d9;
|
393 |
+
border-radius: 5px;
|
394 |
+
color: #545454;
|
395 |
+
}
|
396 |
+
|
397 |
+
.woolentor-checkout__radio {
|
398 |
+
padding: 15px;
|
399 |
+
display: -webkit-box;
|
400 |
+
display: -ms-flexbox;
|
401 |
+
display: flex;
|
402 |
+
border-bottom: 1px solid #d9d9d9;
|
403 |
+
}
|
404 |
+
|
405 |
+
.woolentor-checkout__radio:last-child {
|
406 |
+
border-bottom: none;
|
407 |
+
}
|
408 |
+
|
409 |
+
.woolentor-checkout__radio label,
|
410 |
+
.woolentor-checkout__shipping-method label,
|
411 |
+
.woolentor-checkout__box ul.payment_methods label {
|
412 |
+
width: 100%;
|
413 |
+
padding-left: 13px;
|
414 |
+
margin-left: 0;
|
415 |
+
font-size: 14px;
|
416 |
+
cursor: pointer;
|
417 |
+
}
|
418 |
+
|
419 |
+
.woolentor-checkout__button {
|
420 |
+
cursor: pointer;
|
421 |
+
display: inline-block;
|
422 |
+
background-color: #000;
|
423 |
+
background-clip: border-box;
|
424 |
+
box-sizing: border-box;
|
425 |
+
border: 0px solid transparent;
|
426 |
+
border-radius: 5px;
|
427 |
+
color: white;
|
428 |
+
font-weight: 500;
|
429 |
+
text-align: center;
|
430 |
+
position: relative;
|
431 |
+
font-size: 15px;
|
432 |
+
padding: 17px 25px;
|
433 |
+
line-height: 1;
|
434 |
+
outline: none;
|
435 |
+
}
|
436 |
+
|
437 |
+
.woolentor-checkout__box .checkout_coupon .woolentor-checkout__button{
|
438 |
+
min-width: 100px;
|
439 |
+
height: 100%;
|
440 |
+
}
|
441 |
+
|
442 |
+
.woolentor-checkout__button:hover {
|
443 |
+
background-color: #000;
|
444 |
+
color: #fff;
|
445 |
+
}
|
446 |
+
|
447 |
+
.woolentor-checkout__left-sidebar .woolentor-checkout__button {
|
448 |
+
background-color: #000;
|
449 |
+
padding: 17px 25px;
|
450 |
+
min-width: 180px;
|
451 |
+
color: #fff;
|
452 |
+
}
|
453 |
+
|
454 |
+
.woolentor-checkout__left-sidebar .woolentor-checkout__button:hover {
|
455 |
+
border-color: transparent;
|
456 |
+
}
|
457 |
+
|
458 |
+
.woolentor-checkout__text-link {
|
459 |
+
text-decoration: none;
|
460 |
+
color: #000;
|
461 |
+
}
|
462 |
+
|
463 |
+
.woolentor-checkout__breadcrumb-link {
|
464 |
+
color: inherit;
|
465 |
+
}
|
466 |
+
|
467 |
+
.woolentor-checkout__step-footer {
|
468 |
+
margin-top: 30px;
|
469 |
+
display: -webkit-box;
|
470 |
+
display: -ms-flexbox;
|
471 |
+
display: flex;
|
472 |
+
-webkit-box-align: center;
|
473 |
+
-ms-flex-align: center;
|
474 |
+
align-items: center;
|
475 |
+
}
|
476 |
+
|
477 |
+
.woolentor-checkout__step-footer .woolentor-checkout__text-link {
|
478 |
+
margin-left: 30px;
|
479 |
+
font-size: 15px;
|
480 |
+
}
|
481 |
+
.woolentor-checkout__step-footer .woolentor-checkout__text-link:hover{
|
482 |
+
color: #000;
|
483 |
+
}
|
484 |
+
|
485 |
+
.woolentor-checkout__footer {
|
486 |
+
margin-top: 40px;
|
487 |
+
border-top: 1px solid #e6e6e6;
|
488 |
+
}
|
489 |
+
|
490 |
+
.woolentor-checkout__policy-list {
|
491 |
+
padding: 0;
|
492 |
+
list-style-type: none;
|
493 |
+
margin-left: 0;
|
494 |
+
}
|
495 |
+
|
496 |
+
.woolentor-checkout__policy-list li {
|
497 |
+
display: inline-block;
|
498 |
+
margin-right: 10px;
|
499 |
+
}
|
500 |
+
|
501 |
+
.woolentor-checkout__policy-list li:last-child {
|
502 |
+
margin-right: 0;
|
503 |
+
}
|
504 |
+
|
505 |
+
.woolentor-checkout__policy-list li a {
|
506 |
+
text-decoration: none;
|
507 |
+
font-size: 12px;
|
508 |
+
color: #545454;
|
509 |
+
padding: 20px 0;
|
510 |
+
display: block;
|
511 |
+
}
|
512 |
+
|
513 |
+
.woolentor-checkout__policy-list li a:hover {
|
514 |
+
color: #000;
|
515 |
+
}
|
516 |
+
|
517 |
+
.woolentor-checkout__box .input-text[type=number]::-webkit-inner-spin-button {
|
518 |
+
-webkit-appearance: none;
|
519 |
+
}
|
520 |
+
|
521 |
+
.woolentor-checkout__box .input-text[type="date"] {
|
522 |
+
width: 100%;
|
523 |
+
}
|
524 |
+
|
525 |
+
.woolentor-checkout__box .input-text[type="date"]::-webkit-inner-spin-button, .woolentor-checkout__box .input-text[type="date"]::-webkit-calendar-picker-indicator {
|
526 |
+
-webkit-appearance: none;
|
527 |
+
position: absolute;
|
528 |
+
right: 0;
|
529 |
+
opacity: 0;
|
530 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
531 |
+
}
|
532 |
+
|
533 |
+
.woocommerce-input-wrapper .input-text:placeholder-shown + label{
|
534 |
+
white-space: nowrap;
|
535 |
+
overflow: hidden;
|
536 |
+
text-overflow: ellipsis;
|
537 |
+
top: 16px;
|
538 |
+
color: #737373;
|
539 |
+
}
|
540 |
+
.woolentor-checkout__box .input-text:-moz-placeholder-shown + label {
|
541 |
+
white-space: nowrap;
|
542 |
+
overflow: hidden;
|
543 |
+
text-overflow: ellipsis;
|
544 |
+
top: 16px;
|
545 |
+
color: #737373;
|
546 |
+
}
|
547 |
+
|
548 |
+
.woolentor-checkout__box .input-text:-ms-input-placeholder + label {
|
549 |
+
white-space: nowrap;
|
550 |
+
overflow: hidden;
|
551 |
+
text-overflow: ellipsis;
|
552 |
+
top: 16px;
|
553 |
+
color: #737373;
|
554 |
+
}
|
555 |
+
|
556 |
+
.woolentor-checkout__box .input-text:placeholder-shown + label {
|
557 |
+
white-space: nowrap;
|
558 |
+
overflow: hidden;
|
559 |
+
text-overflow: ellipsis;
|
560 |
+
top: 20px;
|
561 |
+
color: #737373;
|
562 |
+
line-height: 1;
|
563 |
+
}
|
564 |
+
|
565 |
+
.woolentor-checkout__box .input-text:not(:-moz-placeholder-shown) + label {
|
566 |
+
top: 5px;
|
567 |
+
cursor: pointer;
|
568 |
+
}
|
569 |
+
|
570 |
+
.woolentor-checkout__box .input-text:not(:-ms-input-placeholder) + label {
|
571 |
+
top: 5px;
|
572 |
+
cursor: pointer;
|
573 |
+
}
|
574 |
+
|
575 |
+
.woolentor-checkout__box .input-text:not(:placeholder-shown) + label,
|
576 |
+
.woolentor-checkout__box .input-text:focus + label {
|
577 |
+
top: 5px;
|
578 |
+
cursor: pointer;
|
579 |
+
line-height: 1.5;
|
580 |
+
color: #333;
|
581 |
+
font-size: 14px;
|
582 |
+
}
|
583 |
+
|
584 |
+
.woolentor-checkout__box .input-text::-webkit-input-placeholder{
|
585 |
+
opacity: 0;
|
586 |
+
-webkit-transition: inherit;
|
587 |
+
transition: inherit;
|
588 |
+
color: #737373;
|
589 |
+
}
|
590 |
+
.woolentor-checkout__box .input-text::-moz-placeholder{
|
591 |
+
opacity: 0;
|
592 |
+
-webkit-transition: inherit;
|
593 |
+
transition: inherit;
|
594 |
+
color: #737373;
|
595 |
+
}
|
596 |
+
.woolentor-checkout__box .input-text:-ms-input-placeholder{
|
597 |
+
opacity: 0;
|
598 |
+
-webkit-transition: inherit;
|
599 |
+
transition: inherit;
|
600 |
+
color: #737373;
|
601 |
+
}
|
602 |
+
.woolentor-checkout__box .input-text:-moz-placeholder{
|
603 |
+
opacity: 0;
|
604 |
+
-webkit-transition: inherit;
|
605 |
+
transition: inherit;
|
606 |
+
color: #737373;
|
607 |
+
}
|
608 |
+
.woolentor-checkout__box .input-text:focus::-webkit-input-placeholder {
|
609 |
+
opacity: 1;
|
610 |
+
}
|
611 |
+
.woolentor-checkout__box .input-text:focus::-moz-placeholder {
|
612 |
+
opacity: 1;
|
613 |
+
}
|
614 |
+
.woolentor-checkout__box .input-text:focus:-ms-input-placeholder {
|
615 |
+
opacity: 1;
|
616 |
+
}
|
617 |
+
.woolentor-checkout__box .input-text:focus:-moz-placeholder {
|
618 |
+
opacity: 1;
|
619 |
+
}
|
620 |
+
|
621 |
+
.woocommerce-form__input-checkbox[type='checkbox'],
|
622 |
+
.woolentor-checkout__input-radio[type='radio'],
|
623 |
+
.woolentor-checkout__box ul li .shipping_method,
|
624 |
+
.woolentor-checkout__box #payment .payment_methods li.wc_payment_method>input[type=radio]:first-child,
|
625 |
+
.woolentor-checkout__box .woolentor-footer--3 .wc-terms-and-conditions input[type="checkbox"] {
|
626 |
+
-webkit-appearance: none;
|
627 |
+
-moz-appearance: none;
|
628 |
+
}
|
629 |
+
|
630 |
+
.woolentor-checkout__box .woocommerce-form__input-checkbox:checked,
|
631 |
+
.woolentor-checkout__box .woolentor-checkout__input-radio:checked,
|
632 |
+
.woolentor-checkout__box ul li .shipping_method:checked,
|
633 |
+
.woolentor-checkout__box #payment .payment_methods li.wc_payment_method>input[type=radio]:first-child:checked,
|
634 |
+
.woolentor-checkout__box .woolentor-footer--3 .wc-terms-and-conditions input[type="checkbox"]:checked,
|
635 |
+
.woolentor-checkout__box .woocommerce-form__input-checkbox:focus{
|
636 |
+
border-color: #000000 !important;
|
637 |
+
}
|
638 |
+
|
639 |
+
.woocommerce-form__input-checkbox,
|
640 |
+
.woolentor-checkout__box .woolentor-footer--3 .wc-terms-and-conditions input[type="checkbox"] {
|
641 |
+
border-radius: 4px;
|
642 |
+
font-size: 14px;
|
643 |
+
}
|
644 |
+
|
645 |
+
.woolentor-checkout__input-radio,
|
646 |
+
.woolentor-checkout__box ul li .shipping_method {
|
647 |
+
border-radius: 500px;
|
648 |
+
}
|
649 |
+
|
650 |
+
.woocommerce-form__input-checkbox,
|
651 |
+
.woolentor-checkout__input-radio,
|
652 |
+
.woolentor-checkout__box ul li .shipping_method,
|
653 |
+
.woolentor-checkout__box #payment .payment_methods li.wc_payment_method>input[type=radio]:first-child,
|
654 |
+
.woolentor-checkout__box .woolentor-footer--3 .wc-terms-and-conditions input[type="checkbox"]{
|
655 |
+
min-width: 18px;
|
656 |
+
height: 18px;
|
657 |
+
-webkit-transition: all 0.2s ease-in-out;
|
658 |
+
transition: all 0.2s ease-in-out;
|
659 |
+
position: relative;
|
660 |
+
cursor: pointer;
|
661 |
+
vertical-align: -4px;
|
662 |
+
border: 1px solid;
|
663 |
+
margin-left: 0;
|
664 |
+
}
|
665 |
+
|
666 |
+
.woocommerce-form__input-checkbox:after,
|
667 |
+
.woolentor-checkout__box .woolentor-footer--3 .wc-terms-and-conditions input[type="checkbox"]:after {
|
668 |
+
content: "";
|
669 |
+
display: block;
|
670 |
+
position: absolute;
|
671 |
+
top: 50%;
|
672 |
+
left: 50%;
|
673 |
+
-webkit-transform: scale(0.2);
|
674 |
+
transform: scale(0.2);
|
675 |
+
-webkit-transition: all 0.2s ease-in-out;
|
676 |
+
transition: all 0.2s ease-in-out;
|
677 |
+
opacity: 0;
|
678 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
679 |
+
width: 10px;
|
680 |
+
height: 8px;
|
681 |
+
margin-left: -5px;
|
682 |
+
margin-top: -4px;
|
683 |
+
background-color: #0170b9;
|
684 |
+
}
|
685 |
+
|
686 |
+
.woocommerce-form__input-checkbox:checked:after {
|
687 |
+
-webkit-transform: scale(1);
|
688 |
+
transform: scale(1);
|
689 |
+
-webkit-transition-delay: 0.1s;
|
690 |
+
transition-delay: 0.1s;
|
691 |
+
opacity: 1;
|
692 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
693 |
+
}
|
694 |
+
|
695 |
+
.woocommerce-form__input-checkbox:checked,
|
696 |
+
.woolentor-checkout__box .woolentor-footer--3 .wc-terms-and-conditions input[type="checkbox"]:checked {
|
697 |
+
border-width: 9px;
|
698 |
+
}
|
699 |
+
|
700 |
+
.woolentor-checkout__input-radio:checked,
|
701 |
+
.woolentor-checkout__box ul li .shipping_method:checked,
|
702 |
+
.woolentor-checkout__box #payment .payment_methods li.wc_payment_method>input[type=radio]:first-child:checked {
|
703 |
+
border-width: 7px;
|
704 |
+
}
|
705 |
+
|
706 |
+
.woolentor-checkout__product-left {
|
707 |
+
display: -webkit-box;
|
708 |
+
display: -ms-flexbox;
|
709 |
+
display: flex;
|
710 |
+
-webkit-box-align: center;
|
711 |
+
-ms-flex-align: center;
|
712 |
+
align-items: center;
|
713 |
+
}
|
714 |
+
|
715 |
+
.woolentor-checkout__product {
|
716 |
+
display: -webkit-box;
|
717 |
+
display: -ms-flexbox;
|
718 |
+
display: flex;
|
719 |
+
-webkit-box-align: center;
|
720 |
+
-ms-flex-align: center;
|
721 |
+
align-items: center;
|
722 |
+
-webkit-box-pack: justify;
|
723 |
+
-ms-flex-pack: justify;
|
724 |
+
justify-content: space-between;
|
725 |
+
margin-bottom: 20px;
|
726 |
+
}
|
727 |
+
|
728 |
+
.woolentor-checkout__product:last-child {
|
729 |
+
margin-bottom: 0;
|
730 |
+
}
|
731 |
+
|
732 |
+
.woolentor-checkout__product-image {
|
733 |
+
border: 1px solid #ddd;
|
734 |
+
border-radius: 8px;
|
735 |
+
background: #fff;
|
736 |
+
position: relative;
|
737 |
+
width: 60px;
|
738 |
+
height: 60px;
|
739 |
+
-webkit-box-flex: 1;
|
740 |
+
-ms-flex: 1 0 60px;
|
741 |
+
flex: 1 0 60px;
|
742 |
+
}
|
743 |
+
|
744 |
+
.woolentor-checkout__product-thumbnail img {
|
745 |
+
width: 100%;
|
746 |
+
border-radius: 8px;
|
747 |
+
height: auto;
|
748 |
+
}
|
749 |
+
|
750 |
+
.woolentor-checkout__product-quantity {
|
751 |
+
font-size: 0.8571428571em;
|
752 |
+
font-weight: 500;
|
753 |
+
line-height: 1.75em;
|
754 |
+
white-space: nowrap;
|
755 |
+
text-align: center;
|
756 |
+
border-radius: 1.75em;
|
757 |
+
background-color: rgba(114, 114, 114, 0.9);
|
758 |
+
color: #fff;
|
759 |
+
box-sizing: border-box;
|
760 |
+
min-width: 20px;
|
761 |
+
height: 20px;
|
762 |
+
line-height: 20px;
|
763 |
+
position: absolute;
|
764 |
+
right: -0.75em;
|
765 |
+
top: -0.75em;
|
766 |
+
z-index: 3;
|
767 |
+
}
|
768 |
+
|
769 |
+
.woolentor-checkout__product-description {
|
770 |
+
margin-left: 20px;
|
771 |
+
}
|
772 |
+
|
773 |
+
.woolentor-checkout__product-name {
|
774 |
+
font-weight: 600;
|
775 |
+
font-size: 14px;
|
776 |
+
}
|
777 |
+
|
778 |
+
.woolentor-checkout__product-price {
|
779 |
+
color: #000;
|
780 |
+
font-weight: 600;
|
781 |
+
margin-left: 20px;
|
782 |
+
}
|
783 |
+
|
784 |
+
.woolentor-checkout__prduct-box {
|
785 |
+
margin-top: 0.75em;
|
786 |
+
margin-bottom: 1.5em;
|
787 |
+
position: relative;
|
788 |
+
z-index: 1;
|
789 |
+
}
|
790 |
+
|
791 |
+
.woolentor-checkout__order-summary-section {
|
792 |
+
border-top: 1px solid rgba(175, 175, 175, 0.34);
|
793 |
+
padding-top: 1.5em;
|
794 |
+
padding-bottom: 1.5em;
|
795 |
+
}
|
796 |
+
|
797 |
+
.woolentor-checkout__gift-card {
|
798 |
+
display: -webkit-box;
|
799 |
+
display: -ms-flexbox;
|
800 |
+
display: flex;
|
801 |
+
-webkit-box-pack: justify;
|
802 |
+
-ms-flex-pack: justify;
|
803 |
+
justify-content: space-between;
|
804 |
+
}
|
805 |
+
|
806 |
+
.woolentor-checkout__apply-button-box {
|
807 |
+
margin-left: 10px;
|
808 |
+
}
|
809 |
+
|
810 |
+
.woolentor-checkout__subtotal, .woolentor-checkout__due-total-footer {
|
811 |
+
padding-top: 1.5em;
|
812 |
+
padding-bottom: 1.5em;
|
813 |
+
border-top: 1px solid rgba(175, 175, 175, 0.34);
|
814 |
+
}
|
815 |
+
|
816 |
+
.woolentor-checkout__subtotal-wrap {
|
817 |
+
display: -webkit-box;
|
818 |
+
display: -ms-flexbox;
|
819 |
+
display: flex;
|
820 |
+
-webkit-box-pack: justify;
|
821 |
+
-ms-flex-pack: justify;
|
822 |
+
justify-content: space-between;
|
823 |
+
margin-bottom: 6px;
|
824 |
+
color: #717171;
|
825 |
+
font-size: 14px;
|
826 |
+
}
|
827 |
+
|
828 |
+
.woolentor-checkout__subtotal-wrap:last-child {
|
829 |
+
margin-bottom: 0;
|
830 |
+
}
|
831 |
+
|
832 |
+
.woolentor-checkout__due-subtotal-price {
|
833 |
+
color: #323232;
|
834 |
+
font-weight: 600;
|
835 |
+
}
|
836 |
+
|
837 |
+
.woolentor-checkout__due-total-footer {
|
838 |
+
display: -webkit-box;
|
839 |
+
display: -ms-flexbox;
|
840 |
+
display: flex;
|
841 |
+
-webkit-box-pack: justify;
|
842 |
+
-ms-flex-pack: justify;
|
843 |
+
justify-content: space-between;
|
844 |
+
margin-bottom: 6px;
|
845 |
+
color: #323232;
|
846 |
+
}
|
847 |
+
|
848 |
+
.woolentor-checkout__payment-due-currency {
|
849 |
+
color: #717171;
|
850 |
+
font-size: 14px;
|
851 |
+
}
|
852 |
+
|
853 |
+
.woolentor-checkout__payment-due-price {
|
854 |
+
font-size: 18px;
|
855 |
+
font-weight: 500;
|
856 |
+
letter-spacing: -0.04em;
|
857 |
+
line-height: 1em;
|
858 |
+
}
|
859 |
+
|
860 |
+
.woocommerce-checkout-review-order-table {
|
861 |
+
border-collapse: collapse;
|
862 |
+
margin-bottom: 0;
|
863 |
+
}
|
864 |
+
|
865 |
+
.woocommerce-checkout-review-order-table th,
|
866 |
+
.woocommerce-checkout-review-order-table td {
|
867 |
+
padding: 0;
|
868 |
+
}
|
869 |
+
.woocommerce-checkout-review-order-table th{
|
870 |
+
text-align: left;
|
871 |
+
}
|
872 |
+
.woocommerce-checkout-review-order-table td {
|
873 |
+
text-align: right;
|
874 |
+
}
|
875 |
+
|
876 |
+
.woolentor-checkout__box .woocommerce-checkout-review-order-table .cart-subtotal,
|
877 |
+
.woolentor-checkout__box .woocommerce-checkout-review-order-table .order-total {
|
878 |
+
border-top: 1px solid rgba(175, 175, 175, 0.34);
|
879 |
+
}
|
880 |
+
|
881 |
+
.woocommerce-checkout-review-order-table .cart-subtotal th,
|
882 |
+
.woocommerce-checkout-review-order-table .cart-subtotal td {
|
883 |
+
padding-top: 1.5em;
|
884 |
+
padding-bottom: 3px;
|
885 |
+
}
|
886 |
+
.woocommerce-checkout-review-order-table .cart-subtotal th{
|
887 |
+
text-align: left;
|
888 |
+
}
|
889 |
+
.woocommerce-checkout-review-order-table .cart-subtotal tr{
|
890 |
+
text-align: right;
|
891 |
+
}
|
892 |
+
|
893 |
+
.woolentor-shipping-status--no .cart-subtotal td{
|
894 |
+
padding-bottom: 1.5em;
|
895 |
+
}
|
896 |
+
|
897 |
+
.woolentor-checkout__left-sidebar .wc_payment_methods li.woocommerce-notice.woocommerce-notice--info {
|
898 |
+
padding: 0;
|
899 |
+
list-style: none;
|
900 |
+
border-left: 3px solid #e2401c;
|
901 |
+
margin: 15px;
|
902 |
+
padding-left: 15px;
|
903 |
+
position: relative;
|
904 |
+
}
|
905 |
+
.woolentor-checkout__left-sidebar .wc_payment_methods li.woocommerce-notice.woocommerce-notice--info::after {
|
906 |
+
content: "";
|
907 |
+
width: auto;
|
908 |
+
position: absolute;
|
909 |
+
z-index: 1;
|
910 |
+
height: 1px;
|
911 |
+
background: #d9d9d9;
|
912 |
+
bottom: 0;
|
913 |
+
border-radius: 3px;
|
914 |
+
left: -15px;
|
915 |
+
right: -15px;
|
916 |
+
bottom: -15px;
|
917 |
+
}
|
918 |
+
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals {
|
919 |
+
border-bottom: 1px solid rgba(175, 175, 175, 0.34);
|
920 |
+
}
|
921 |
+
|
922 |
+
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals th,
|
923 |
+
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td {
|
924 |
+
padding-bottom: 1.5em;
|
925 |
+
}
|
926 |
+
|
927 |
+
.woocommerce-checkout-review-order-table .order-total th,
|
928 |
+
.woocommerce-checkout-review-order-table .order-total td {
|
929 |
+
padding-top: 1.5em;
|
930 |
+
padding-bottom: 1.5em;
|
931 |
+
}
|
932 |
+
|
933 |
+
.woocommerce-checkout-review-order-table .order-total th,
|
934 |
+
.woocommerce-checkout-review-order-table th {
|
935 |
+
color: #717171;
|
936 |
+
font-size: 14px;
|
937 |
+
font-weight: 400;
|
938 |
+
}
|
939 |
+
|
940 |
+
.woocommerce-checkout-review-order-table .order-total th {
|
941 |
+
font-size: inherit;
|
942 |
+
color: #000;
|
943 |
+
}
|
944 |
+
|
945 |
+
.woocommerce-checkout-review-order-table .order-total td strong {
|
946 |
+
font-size: 18px;
|
947 |
+
font-weight: 500;
|
948 |
+
letter-spacing: -0.04em;
|
949 |
+
line-height: 1em;
|
950 |
+
color: #323232;
|
951 |
+
}
|
952 |
+
|
953 |
+
.woocommerce-checkout-review-order-table .woolentor-shipping-cost th,
|
954 |
+
.woocommerce-checkout-review-order-table .woolentor-shipping-cost td {
|
955 |
+
padding-bottom: 1.5em;
|
956 |
+
}
|
957 |
+
|
958 |
+
.woolentor-checkout__box ul.wc_payment_methods {
|
959 |
+
list-style: none;
|
960 |
+
border: 1px solid #d9d9d9;
|
961 |
+
border-radius: 5px;
|
962 |
+
overflow: hidden;
|
963 |
+
border-bottom: none;
|
964 |
+
}
|
965 |
+
|
966 |
+
.woolentor-checkout__payment-item-box {
|
967 |
+
padding: 15px;
|
968 |
+
background: #FAFAFA;
|
969 |
+
border-bottom: 1px solid #d9d9d9;
|
970 |
+
}
|
971 |
+
.woolentor-checkout__box .woolentor-step--info a:focus,
|
972 |
+
.woocommerce-form__input-checkbox:focus,
|
973 |
+
.woolentor-checkout__box .woolentor-step--info .input-text:focus,
|
974 |
+
.woolentor-checkout__box .woolentor-step--info input:focus,
|
975 |
+
.woolentor-checkout__box .woolentor-step--info .form-row.woocommerce-invalid input.input-checkbox,
|
976 |
+
.woolentor-checkout__box form input:focus {
|
977 |
+
border-color: #005fcc;
|
978 |
+
-webkit-transition: none;
|
979 |
+
transition: none;
|
980 |
+
font-family: inherit;
|
981 |
+
}
|
982 |
+
|
983 |
+
.woolentor-checkout__box .form-row {
|
984 |
+
margin-bottom: 20px;
|
985 |
+
}
|
986 |
+
|
987 |
+
.woolentor-checkout__shipping-method th {
|
988 |
+
display: none;
|
989 |
+
}
|
990 |
+
|
991 |
+
.woolentor-checkout__shipping-method td {
|
992 |
+
padding: 0;
|
993 |
+
border-radius: 5px;
|
994 |
+
}
|
995 |
+
|
996 |
+
.woolentor-checkout__shipping-method ul#shipping_method li {
|
997 |
+
padding: 15px;
|
998 |
+
margin: 0;
|
999 |
+
border-bottom: 1px solid #d9d9d9;
|
1000 |
+
}
|
1001 |
+
|
1002 |
+
.woolentor-checkout__shipping-method ul#shipping_method li:last-child {
|
1003 |
+
border-bottom: 0;
|
1004 |
+
}
|
1005 |
+
|
1006 |
+
.woolentor-checkout__box #payment .payment_methods li.wc_payment_method>input[type=radio]:first-child {
|
1007 |
+
border: 1px solid;
|
1008 |
+
clip: unset;
|
1009 |
+
-webkit-clip-path: unset;
|
1010 |
+
clip-path: none;
|
1011 |
+
position: unset;
|
1012 |
+
display: inline-block;
|
1013 |
+
height: 18px;
|
1014 |
+
width: 18px;
|
1015 |
+
border-radius: 500px;
|
1016 |
+
}
|
1017 |
+
|
1018 |
+
.woolentor-checkout__box #payment .payment_methods li.wc_payment_method {
|
1019 |
+
border-bottom: 1px solid #d9d9d9;
|
1020 |
+
}
|
1021 |
+
|
1022 |
+
.woolentor-checkout__box #payment .payment_methods li.wc_payment_method>input[type=radio]:checked+label:before {
|
1023 |
+
display: none;
|
1024 |
+
}
|
1025 |
+
|
1026 |
+
.woolentor-checkout__box #payment .payment_methods>.wc_payment_method>label {
|
1027 |
+
display: inline-block;
|
1028 |
+
padding: 0;
|
1029 |
+
width: auto;
|
1030 |
+
padding-top: 15px;
|
1031 |
+
padding-bottom: 15px;
|
1032 |
+
padding-left: 10px;
|
1033 |
+
}
|
1034 |
+
|
1035 |
+
.woolentor-checkout__box #payment .payment_methods>.wc_payment_method>label:before {
|
1036 |
+
display: none;
|
1037 |
+
}
|
1038 |
+
|
1039 |
+
#payment .payment_methods > li .payment_box {
|
1040 |
+
border-top: 1px solid #d9d9d9;
|
1041 |
+
}
|
1042 |
+
|
1043 |
+
.woolentor-checkout__box #payment .payment_methods li.wc_payment_method>input[type=radio]:first-child {
|
1044 |
+
margin-left: 15px;
|
1045 |
+
;
|
1046 |
+
}
|
1047 |
+
|
1048 |
+
.woolentor-checkout__box #payment .payment_methods li.wc_payment_method,
|
1049 |
+
.woolentor-checkout__box #payment .payment_methods > li:not(.woocommerce-notice):hover {
|
1050 |
+
background: #fff;
|
1051 |
+
}
|
1052 |
+
|
1053 |
+
.woolentor-checkout__box #payment .payment_methods > li .payment_box {
|
1054 |
+
background: #fafafa;
|
1055 |
+
}
|
1056 |
+
|
1057 |
+
.woolentor-checkout__box ul#shipping_method input {
|
1058 |
+
margin-left: 0;
|
1059 |
+
margin-right: 0;
|
1060 |
+
}
|
1061 |
+
|
1062 |
+
.woolentor-checkout__box ul#shipping_method input[type=radio]+label {
|
1063 |
+
margin-left: 0;
|
1064 |
+
margin-right: 0;
|
1065 |
+
}
|
1066 |
+
|
1067 |
+
.woolentor-step--info .woolentor-footer--2,
|
1068 |
+
.woolentor-step--info .woolentor-footer--3,
|
1069 |
+
.woolentor-step--shipping .woolentor-footer--1,
|
1070 |
+
.woolentor-step--shipping .woolentor-footer--3,
|
1071 |
+
.woolentor-step--payment .woolentor-footer--1,
|
1072 |
+
.woolentor-step--payment .woolentor-footer--2,
|
1073 |
+
.woolentor-checkout__section.woolentor-step--info,
|
1074 |
+
.woolentor-checkout__section.woolentor-step--shipping,
|
1075 |
+
.woolentor-checkout__section.woolentor-step--payment {
|
1076 |
+
display: none;
|
1077 |
+
}
|
1078 |
+
|
1079 |
+
.woolentor-step--info .woolentor-step--info,
|
1080 |
+
.woolentor-step--shipping .woolentor-step--shipping,
|
1081 |
+
.woolentor-step--payment .woolentor-step--payment {
|
1082 |
+
display: block;
|
1083 |
+
}
|
1084 |
+
|
1085 |
+
.woolentor-checkout__box a:focus, .woolentor-checkout__box input:focus, .woolentor-checkout__box textarea:focus, .woolentor-checkout__box button:focus {
|
1086 |
+
outline: none;
|
1087 |
+
}
|
1088 |
+
|
1089 |
+
.woolentor-footer--3 {
|
1090 |
+
-ms-flex-wrap: wrap;
|
1091 |
+
flex-wrap: wrap;
|
1092 |
+
}
|
1093 |
+
|
1094 |
+
.woolentor-footer--3 > div {
|
1095 |
+
-webkit-box-flex: 0;
|
1096 |
+
-ms-flex: 0 0 100%;
|
1097 |
+
flex: 0 0 100%;
|
1098 |
+
}
|
1099 |
+
|
1100 |
+
.woolentor-checkout__box .checkout_coupon {
|
1101 |
+
display: block !important;
|
1102 |
+
}
|
1103 |
+
|
1104 |
+
.woolentor-checkout__right-sidebar .woocommerce-message,
|
1105 |
+
.woolentor-checkout__right-sidebar .woocommerce-info,
|
1106 |
+
.woolentor-checkout__right-sidebar .woocommerce-error {
|
1107 |
+
margin: 0;
|
1108 |
+
margin-bottom: 1.5em;
|
1109 |
+
}
|
1110 |
+
|
1111 |
+
.woolentor-checkout__section.woolentor-step--info {
|
1112 |
+
margin-top: 0;
|
1113 |
+
}
|
1114 |
+
.woolentor-checkout__box label.screen-reader-text {
|
1115 |
+
width: auto;
|
1116 |
+
height: auto;
|
1117 |
+
margin: auto;
|
1118 |
+
clip: unset;
|
1119 |
+
-webkit-clip-path: unset;
|
1120 |
+
clip-path: unset;
|
1121 |
+
bottom: auto;
|
1122 |
+
}
|
1123 |
+
.woolentor-checkout__box .select2-container--default .select2-selection--single{
|
1124 |
+
border: 1px solid #d9d9d9;
|
1125 |
+
height: 55px;
|
1126 |
+
}
|
1127 |
+
.woolentor-checkout__box .select2-container--default .select2-selection--single[aria-expanded="true"] {
|
1128 |
+
outline: 1px solid #005fcc;
|
1129 |
+
border: 1px solid transparent;
|
1130 |
+
}
|
1131 |
+
.select2-container .select2-selection--single .select2-selection__rendered{
|
1132 |
+
line-height: 55px;
|
1133 |
+
}
|
1134 |
+
.woolentor-checkout__box .select2-container--default .select2-selection--single .select2-selection__arrow{
|
1135 |
+
height: 55px;
|
1136 |
+
}
|
1137 |
+
.select2-dropdown {
|
1138 |
+
outline: 1px solid #005FCB;
|
1139 |
+
border: none;
|
1140 |
+
}
|
1141 |
+
.woolentor-checkout__box #billing_country_field label,
|
1142 |
+
.woolentor-checkout__box #shipping_country_field label,
|
1143 |
+
.woolentor-checkout__box #billing_state_field label,
|
1144 |
+
.woolentor-checkout__box #shipping_state_field label{
|
1145 |
+
top: 5px;
|
1146 |
+
}
|
1147 |
+
.select2-container .select2-selection--single .select2-selection__rendered{
|
1148 |
+
padding-left: 15px;
|
1149 |
+
padding-top: 10px;
|
1150 |
+
font-size: 15px;
|
1151 |
+
}
|
1152 |
+
.select2-container--default .select2-search--dropdown .select2-search__field {
|
1153 |
+
border: 1px solid #d9d9d9;
|
1154 |
+
background: none;
|
1155 |
+
outline: none;
|
1156 |
+
}
|
1157 |
+
.woolentor-checkout__box .woolentor-one-third{
|
1158 |
+
width: 33.33%;
|
1159 |
+
float: left;
|
1160 |
+
clear: none;
|
1161 |
+
}
|
1162 |
+
.woolentor-checkout__box .form-row{
|
1163 |
+
padding: 0 8px;
|
1164 |
+
}
|
1165 |
+
.woolentor-checkout__box .woocommerce-billing-fields__field-wrapper,
|
1166 |
+
.woolentor-checkout__box .woocommerce-shipping-fields__field-wrapper,
|
1167 |
+
.woolentor-checkout__box .woocommerce-account-fields,
|
1168 |
+
.woolentor-checkout__box .woocommerce-form-login,
|
1169 |
+
.woolentor-checkout__box .woocommerce-additional-fields{
|
1170 |
+
margin-left: -7px;
|
1171 |
+
margin-right: -7px;
|
1172 |
+
}
|
1173 |
+
.woocommerce-checkout .woolentor-checkout__box .form-row-first,
|
1174 |
+
.woocommerce-checkout .woolentor-checkout__box .form-row-last{
|
1175 |
+
width: 50%;
|
1176 |
+
margin-right: 0;
|
1177 |
+
overflow: hidden;
|
1178 |
+
float: left;
|
1179 |
+
}
|
1180 |
+
.woolentor-checkout__box .form-row .woocommerce-form__label-for-checkbox{
|
1181 |
+
position: initial;
|
1182 |
+
}
|
1183 |
+
.woolentor-checkout__box .woocommerce-form-login__rememberme{
|
1184 |
+
margin-bottom: 20px;
|
1185 |
+
}
|
1186 |
+
.woolentor-checkout__box .woocommerce-billing-fields,
|
1187 |
+
.woolentor-checkout__box .woocommerce-shipping-fields,
|
1188 |
+
.woolentor-checkout__box .woocommerce-account-fields,
|
1189 |
+
.woolentor-checkout__box .woocommerce-additional-fields,
|
1190 |
+
.woolentor-checkout__box #billing_address_1_field,
|
1191 |
+
.woolentor-checkout__box #billing_address_1_field2,
|
1192 |
+
.woolentor-checkout__box #shipping_address_1_field,
|
1193 |
+
.woolentor-checkout__box #shipping_address_1_field2{
|
1194 |
+
clear: both;
|
1195 |
+
overflow: hidden;
|
1196 |
+
}
|
1197 |
+
|
1198 |
+
|
1199 |
+
@media (min-width: 768px){
|
1200 |
+
#ship-to-different-address {
|
1201 |
+
position: relative;
|
1202 |
+
margin-bottom: 20px;
|
1203 |
+
}
|
1204 |
+
}
|
1205 |
+
.woolentor-checkout__box #ship-to-different-address label {
|
1206 |
+
cursor: pointer;
|
1207 |
+
display: block;
|
1208 |
+
}
|
1209 |
+
.woolentor-checkout__box #ship-to-different-address .woocommerce-form__input-checkbox {
|
1210 |
+
position: absolute;
|
1211 |
+
top: 50%;
|
1212 |
+
right: 0;
|
1213 |
+
-webkit-transform: translateY(-50%);
|
1214 |
+
transform: translateY(-50%);
|
1215 |
+
margin-right: 0;
|
1216 |
+
margin: 0;
|
1217 |
+
}
|
1218 |
+
.woolentor-checkout__box .woocommerce-message{
|
1219 |
+
padding: 5px 0px 5px 10px;
|
1220 |
+
border-left: 3px solid #24AE4D;
|
1221 |
+
}
|
1222 |
+
.woolentor-checkout__box ul.woocommerce-error {
|
1223 |
+
margin: 0;
|
1224 |
+
padding: 0;
|
1225 |
+
list-style: none;
|
1226 |
+
margin-bottom: 20px;
|
1227 |
+
border-left: 3px solid #e2401c;
|
1228 |
+
}
|
1229 |
+
.woolentor-checkout__box ul.woocommerce-error li {
|
1230 |
+
padding: 5px 0px 5px 10px;
|
1231 |
+
line-height: 1;
|
1232 |
+
}
|
1233 |
+
.woolentor-checkout__box .woocommerce-remove-coupon{
|
1234 |
+
color: #e2401c
|
1235 |
+
}
|
1236 |
+
.woolentor-checkout__box .woocommerce-invalid .input-text{
|
1237 |
+
border-color: #e2401c;
|
1238 |
+
}
|
1239 |
+
.woolentor-checkout__right-sidebar table,
|
1240 |
+
.woolentor-checkout__right-sidebar th,
|
1241 |
+
.woolentor-checkout__right-sidebar td{
|
1242 |
+
border: none;
|
1243 |
+
}
|
1244 |
+
.woolentor-checkout__box ul{
|
1245 |
+
margin: 0;
|
1246 |
+
padding: 0;
|
1247 |
+
list-style: none;
|
1248 |
+
}
|
1249 |
+
.woolentor-checkout__shipping-method th,
|
1250 |
+
.woolentor-checkout__shipping-method td{
|
1251 |
+
border: none;
|
1252 |
+
}
|
1253 |
+
.woolentor-checkout__box #payment .payment_methods li .payment_box {
|
1254 |
+
padding: 1.41575em;
|
1255 |
+
}
|
1256 |
+
.woolentor-checkout__box p{
|
1257 |
+
margin: 0;
|
1258 |
+
line-height: 1.5;
|
1259 |
+
}
|
1260 |
+
.woolentor-checkout__box p + p {
|
1261 |
+
margin-bottom: 1.75em;
|
1262 |
+
}
|
1263 |
+
.woocommerce-privacy-policy-text{
|
1264 |
+
margin-bottom: 15px;
|
1265 |
+
}
|
1266 |
+
.woocommerce-terms-and-conditions-wrapper .form-row,
|
1267 |
+
.wc-gzd-checkbox-placeholder-legal .form-row.checkbox-legal{
|
1268 |
+
padding-left: 0;
|
1269 |
+
}
|
1270 |
+
.wc-gzd-checkbox-placeholder-legal .form-row.checkbox-legal{
|
1271 |
+
margin-top: 20px;
|
1272 |
+
margin-bottom: 0;
|
1273 |
+
}
|
1274 |
+
.wc-gzd-checkbox-placeholder-legal .form-row.checkbox-legal input{
|
1275 |
+
margin: 0;
|
1276 |
+
margin-right: 5px;
|
1277 |
+
}
|
1278 |
+
.woolentor-step--shipping .woolentor-contact-info,
|
1279 |
+
.woolentor-step--payment .woolentor-contact-info{
|
1280 |
+
display: none;
|
1281 |
+
}
|
1282 |
+
.woolentor-checkout__box p.wc-terms-and-conditions{
|
1283 |
+
padding-left: 0;
|
1284 |
+
display: -webkit-box;
|
1285 |
+
display: -ms-flexbox;
|
1286 |
+
display: flex;
|
1287 |
+
-webkit-box-align: center;
|
1288 |
+
-ms-flex-align: center;
|
1289 |
+
align-items: center;
|
1290 |
+
}
|
1291 |
+
.woolentor-checkout__box p.wc-terms-and-conditions input{
|
1292 |
+
margin-right: 5px;
|
1293 |
+
}
|
1294 |
+
.woolentor-checkout__box .woolentor-has-footer-menu--{
|
1295 |
+
margin-bottom: 30px;
|
1296 |
+
}
|
1297 |
+
.woolentor-checkout__box .woolentor-checkout__right-sidebar .shop_table {
|
1298 |
+
background-color: transparent;
|
1299 |
+
}
|
1300 |
+
.woolentor-step--payment #order_payment_heading {
|
1301 |
+
display: none !important;
|
1302 |
+
}
|
1303 |
+
|
1304 |
+
.clear{
|
1305 |
+
clear: both;
|
1306 |
+
}
|
1307 |
+
.woolentor-checkout__box .form-row .woocommerce-form__label-for-checkbox{
|
1308 |
+
display: block;
|
1309 |
+
}
|
1310 |
+
.woolentor-checkout__box .woocommerce-form-login__submit{
|
1311 |
+
cursor: pointer;
|
1312 |
+
display: inline-block;
|
1313 |
+
background-color: #000;
|
1314 |
+
background-clip: border-box;
|
1315 |
+
box-sizing: border-box;
|
1316 |
+
border: 0px solid transparent;
|
1317 |
+
border-radius: 5px;
|
1318 |
+
color: white;
|
1319 |
+
font-weight: 500;
|
1320 |
+
text-align: center;
|
1321 |
+
position: relative;
|
1322 |
+
font-size: 15px;
|
1323 |
+
padding: 17px 25px;
|
1324 |
+
line-height: 1;
|
1325 |
+
outline: none;
|
1326 |
+
}
|
1327 |
+
.woolentor-checkout__box .woocommerce-form-login{
|
1328 |
+
margin-bottom: 25px;
|
1329 |
+
}
|
1330 |
+
|
1331 |
+
/* Scripts Payment method field */
|
1332 |
+
.woolentor-checkout__body form.checkout #stripe-payment-data fieldset {
|
1333 |
+
border: none;
|
1334 |
+
padding: 0;
|
1335 |
+
margin-left: -10px;
|
1336 |
+
margin-right: -10px;
|
1337 |
+
}
|
1338 |
+
.woolentor-checkout__body form.checkout fieldset#wc-stripe-cc-form{
|
1339 |
+
margin-top: 10px;
|
1340 |
+
}
|
1341 |
+
.woolentor-checkout__body form.checkout #stripe-payment-data .form-row label {
|
1342 |
+
position: static;
|
1343 |
+
margin-left: 0;
|
1344 |
+
padding: 0;
|
1345 |
+
}
|
1346 |
+
.woolentor-checkout__body form.checkout .payment_method_stripe .wc-stripe-elements-field,.woolentor-checkout__body form.checkout .payment_method_stripe .wc-stripe-iban-element-field{
|
1347 |
+
padding: 10px;
|
1348 |
+
}
|
1349 |
+
.woolentor-checkout__body form.checkout .woocommerce-SavedPaymentMethods-saveNew{
|
1350 |
+
margin: 0;
|
1351 |
+
}
|
1352 |
+
|
1353 |
+
.woolentor_mini_cart_img img{
|
1354 |
+
max-width: 100%;
|
1355 |
+
height: auto;
|
1356 |
+
}
|
1357 |
+
|
1358 |
+
/*Small devices (normal/smart phone)*/
|
1359 |
+
@media (max-width: 767px) {
|
1360 |
+
.woolentor-checkout__box{
|
1361 |
+
margin-top: 15px;
|
1362 |
+
}
|
1363 |
+
.woolentor-checkout__left-sidebar{
|
1364 |
+
margin-top: 40px;
|
1365 |
+
}
|
1366 |
+
.woolentor-checkout__box .woocommerce-checkout{
|
1367 |
+
margin-bottom: 0;
|
1368 |
+
}
|
1369 |
+
.woolentor-checkout__policy-list{
|
1370 |
+
margin-bottom: 0;
|
1371 |
+
}
|
1372 |
+
.woolentor-checkout__right-sidebar{
|
1373 |
+
padding: 0 15px;
|
1374 |
+
}
|
1375 |
+
.woocommerce-checkout .woolentor-checkout__box .form-row-first,
|
1376 |
+
.woocommerce-checkout .woolentor-checkout__box .form-row-last{
|
1377 |
+
width: 100%;
|
1378 |
+
}
|
1379 |
+
.woolentor-checkout__box .woolentor-one-third{
|
1380 |
+
width: 100%;
|
1381 |
+
}
|
1382 |
+
.woolentor-checkout__right-sidebar:after{
|
1383 |
+
box-shadow: none;
|
1384 |
+
}
|
1385 |
+
}
|
1386 |
+
@media only screen and (min-width: 768px) and (max-width: 991px){
|
1387 |
+
.woolentor-checkout__left-sidebar{
|
1388 |
+
padding: 0 40px;
|
1389 |
+
}
|
1390 |
+
}
|
includes/modules/shopify-like-checkout/assets/shopify-like-checkout.js
ADDED
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
;(function($){
|
2 |
+
"use strict";
|
3 |
+
|
4 |
+
// Show login form
|
5 |
+
$(document).ready(function(){
|
6 |
+
$('.woolentor-checkout__box .showlogin').on('click', function(e){
|
7 |
+
e.preventDefault();
|
8 |
+
});
|
9 |
+
});
|
10 |
+
|
11 |
+
// Remove coupon notice from form top
|
12 |
+
$(document).on('removed_coupon_in_checkout', function(arg){
|
13 |
+
$('.woolentor-checkout__left-sidebar .woocommerce-message').remove();
|
14 |
+
});
|
15 |
+
|
16 |
+
// Validate and address fields & go to the next step
|
17 |
+
$('.woolentor-checkout__step-footer.woolentor-footer--1').on('click', '.woolentor-checkout__button', function(e){
|
18 |
+
e.preventDefault();
|
19 |
+
var step = 'step--shipping';
|
20 |
+
|
21 |
+
validate_address( step );
|
22 |
+
|
23 |
+
});
|
24 |
+
|
25 |
+
// Navigate to the next/prev steps from footer nav
|
26 |
+
$('.woolentor-checkout__step-footer').on('click', '.woolentor-checkout__button,.woolentor-checkout__text-link', function(e){
|
27 |
+
if( $(this).is('#place_order') || ($(this).is('.woolentor-checkout__button') && $(this).closest('.woolentor-footer--1').length) || ($(this).is('.woolentor-checkout__text-link') &&$(this).closest('.woolentor-footer--1').length) ){
|
28 |
+
return;
|
29 |
+
}
|
30 |
+
|
31 |
+
e.preventDefault();
|
32 |
+
var step = $(this).data('step');
|
33 |
+
var $checkout_box = $('woolentor-checkout__box');
|
34 |
+
|
35 |
+
$checkout_box.update_step_class( step );
|
36 |
+
});
|
37 |
+
|
38 |
+
|
39 |
+
// Update wrapper step class
|
40 |
+
$.fn.update_step_class = function( current_step ){
|
41 |
+
$('.woocommerce-NoticeGroup-checkout').remove();
|
42 |
+
|
43 |
+
localStorage.setItem("woolentorShopifyCheckoutStep", current_step );
|
44 |
+
|
45 |
+
$('.woolentor-checkout__breadcrumb-item').removeClass('active');
|
46 |
+
$('.woolentor-checkout__breadcrumb-item[data-step="'+ current_step +'"]').addClass('active');
|
47 |
+
|
48 |
+
var current_step_class = 'woolentor-' + current_step;
|
49 |
+
$('.woolentor-checkout__box').removeClass('woolentor-step--info woolentor-step--shipping woolentor-step--payment').addClass( current_step_class );
|
50 |
+
}
|
51 |
+
|
52 |
+
// Setup the tab
|
53 |
+
$('.woolentor-checkout__breadcrumb li').on('click', function(e){
|
54 |
+
var step = $(this).closest('.woolentor-checkout__breadcrumb-item').data('step'),
|
55 |
+
$checkout_box = $('woolentor-checkout__box')
|
56 |
+
|
57 |
+
if( step != 'step--info' ){
|
58 |
+
validate_address(step);
|
59 |
+
} else {
|
60 |
+
$checkout_box.update_step_class( step );
|
61 |
+
}
|
62 |
+
});
|
63 |
+
|
64 |
+
// Validate the address fields
|
65 |
+
function validate_address( step ){
|
66 |
+
var $checkout_box = $('woolentor-checkout__box'),
|
67 |
+
$checkout_form = $('.checkout.woocommerce-checkout');
|
68 |
+
|
69 |
+
$checkout_form.addClass( 'processing' ).block({
|
70 |
+
message: null,
|
71 |
+
overlayCSS: {
|
72 |
+
background: '#fff',
|
73 |
+
opacity: 0.6
|
74 |
+
}
|
75 |
+
});
|
76 |
+
|
77 |
+
$.ajax({
|
78 |
+
type : 'POST',
|
79 |
+
url : woolentor_slc_params.ajax_url,
|
80 |
+
data : {
|
81 |
+
'action': 'validate_1st_step',
|
82 |
+
'fields': $('.woolentor-checkout__section.woolentor-step--info').find(':input').serializeJSON({checkboxUncheckedValue: "0"}),
|
83 |
+
'nonce' : woolentor_slc_params.nonce
|
84 |
+
},
|
85 |
+
dataType: 'json',
|
86 |
+
success: function( result ) {
|
87 |
+
$checkout_form.removeClass( 'processing' ).unblock();
|
88 |
+
if( result.data.messages ){
|
89 |
+
submit_error( result.data.messages );
|
90 |
+
} else {
|
91 |
+
$checkout_box.update_step_class( step );
|
92 |
+
}
|
93 |
+
},
|
94 |
+
error: function( jqXHR, textStatus, errorThrown ) {
|
95 |
+
console.log(errorThrown);
|
96 |
+
}
|
97 |
+
});
|
98 |
+
}
|
99 |
+
|
100 |
+
// Render the notice
|
101 |
+
function submit_error( error_message ) {
|
102 |
+
var $checkout_form = $('.checkout.woocommerce-checkout');
|
103 |
+
|
104 |
+
$( '.woocommerce-NoticeGroup-checkout, .woocommerce-error, .woocommerce-message' ).remove();
|
105 |
+
$checkout_form.before( '<div class="woocommerce-NoticeGroup woocommerce-NoticeGroup-checkout">' + error_message + '</div>' ); // eslint-disable-line max-len
|
106 |
+
$checkout_form.removeClass( 'processing' ).unblock();
|
107 |
+
$checkout_form.find( '.input-text, select, input:checkbox' ).trigger( 'validate' ).trigger( 'blur' );
|
108 |
+
scroll_to_notices();
|
109 |
+
$( document.body ).trigger( 'checkout_error' , [ error_message ] );
|
110 |
+
}
|
111 |
+
|
112 |
+
// Scroll to the notice
|
113 |
+
function scroll_to_notices() {
|
114 |
+
var scrollElement = $( '.woocommerce-NoticeGroup-checkout' );
|
115 |
+
|
116 |
+
if ( ! scrollElement.length ) {
|
117 |
+
scrollElement = $( '.form.checkout' );
|
118 |
+
}
|
119 |
+
$.scroll_to_notices( scrollElement );
|
120 |
+
}
|
121 |
+
|
122 |
+
})(jQuery);
|
includes/modules/shopify-like-checkout/class.shopify-like-checkout.php
ADDED
@@ -0,0 +1,631 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
3 |
+
|
4 |
+
class Woolentor_Shopify_Like_Checkout extends \WC_Checkout{
|
5 |
+
|
6 |
+
private static $_instance = null;
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Get Instance
|
10 |
+
*/
|
11 |
+
public static function get_instance(){
|
12 |
+
if( is_null( self::$_instance ) ){
|
13 |
+
self::$_instance = new self();
|
14 |
+
}
|
15 |
+
return self::$_instance;
|
16 |
+
}
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Constructor
|
20 |
+
*/
|
21 |
+
function __construct(){
|
22 |
+
|
23 |
+
// Enqueue scripts
|
24 |
+
add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_scripts' ], 999 );
|
25 |
+
|
26 |
+
// Remove theme styling
|
27 |
+
add_filter( 'style_loader_tag', [ $this, 'style_loader_tag_filter' ], 10, 4 );
|
28 |
+
|
29 |
+
// Override wc templates
|
30 |
+
add_filter('wc_get_template', [ $this, 'wc_get_template_filter' ], 9999, 5);
|
31 |
+
|
32 |
+
// Override and set to canvas template
|
33 |
+
add_filter( 'template_include', [ $this, 'template_include_filter' ], 9999 );
|
34 |
+
|
35 |
+
// Reorder checkout fields
|
36 |
+
add_filter('woocommerce_checkout_fields', [ $this, 'woocommerce_checkout_fields_filter' ] );
|
37 |
+
add_filter('woocommerce_default_address_fields', [ $this, 'reorder_checkout_default_fields' ] ) ;
|
38 |
+
|
39 |
+
// Update order review fragments
|
40 |
+
add_filter( 'woocommerce_update_order_review_fragments', [ $this, 'woocommerce_update_order_review_fragments_filter' ], 99, 2 );
|
41 |
+
|
42 |
+
// Ajax actions
|
43 |
+
add_action('wp_ajax_validate_1st_step', [ $this, 'validate_1st_step' ] );
|
44 |
+
add_action('wp_ajax_nopriv_validate_1st_step', [ $this, 'validate_1st_step' ] );
|
45 |
+
|
46 |
+
add_filter('woocommerce_form_field_args', [ $this, 'woocommerce_form_field_args_filter' ], 10 , 3);
|
47 |
+
}
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Enqueue scripts
|
51 |
+
*/
|
52 |
+
public function enqueue_scripts(){
|
53 |
+
if( !$this->is_checkout() ){
|
54 |
+
return;
|
55 |
+
}
|
56 |
+
|
57 |
+
if ( apply_filters( 'wooLentor_wc_styles_dependency', true ) ) {
|
58 |
+
wp_deregister_style( 'woocommerce-layout' );
|
59 |
+
wp_deregister_style( 'woocommerce-smallscreen' );
|
60 |
+
wp_deregister_style( 'woocommerce-general' );
|
61 |
+
}
|
62 |
+
|
63 |
+
// Styles
|
64 |
+
wp_enqueue_style( 'woolentor-shopify-like-checkout', plugin_dir_url( __FILE__ ) . '/assets/shopify-like-checkout.css' ,'', WOOLENTOR_VERSION, 'all' );
|
65 |
+
|
66 |
+
// Scripts
|
67 |
+
$suffix = Automattic\Jetpack\Constants::is_true( 'SCRIPT_DEBUG' ) ? '' : '.min';
|
68 |
+
wp_enqueue_script( 'serializejson', WC()->plugin_url() . '/assets/js/jquery-serializejson/jquery.serializejson' . $suffix . '.js', array( 'jquery' ), '2.8.1' );
|
69 |
+
wp_enqueue_script( 'woolentor-shopify-like-checkout', plugin_dir_url( __FILE__ ) . '/assets/shopify-like-checkout.js', array('jquery', 'wc-checkout'), WOOLENTOR_VERSION, 'all' );
|
70 |
+
wp_localize_script( 'woolentor-shopify-like-checkout', 'woolentor_slc_params',
|
71 |
+
array(
|
72 |
+
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
73 |
+
'nonce' => wp_create_nonce('woolentor_slc_nonce') // Nonce for shopify like checkout
|
74 |
+
)
|
75 |
+
);
|
76 |
+
}
|
77 |
+
|
78 |
+
/**
|
79 |
+
* Check if the current page is checkout
|
80 |
+
*/
|
81 |
+
public function is_checkout(){
|
82 |
+
if( is_checkout() && !is_wc_endpoint_url() ){
|
83 |
+
return true;
|
84 |
+
}
|
85 |
+
|
86 |
+
return false;
|
87 |
+
}
|
88 |
+
|
89 |
+
/**
|
90 |
+
* Set canvas template file path for the checkout page
|
91 |
+
*/
|
92 |
+
public function template_include_filter( $template ){
|
93 |
+
if( !$this->is_checkout() ){
|
94 |
+
return $template;
|
95 |
+
}
|
96 |
+
|
97 |
+
// If checkout registration is disabled and not logged in, the user cannot checkout.
|
98 |
+
if ( ! WC()->Checkout()->is_registration_enabled() && WC()->Checkout()->is_registration_required() && ! is_user_logged_in() ) {
|
99 |
+
return $template;
|
100 |
+
}
|
101 |
+
|
102 |
+
if( is_checkout() && !is_wc_endpoint_url() ){
|
103 |
+
$template = __DIR__. '/templates/canvas.php';
|
104 |
+
}
|
105 |
+
|
106 |
+
return $template;
|
107 |
+
}
|
108 |
+
|
109 |
+
/**
|
110 |
+
* Override the woocommerce default template files
|
111 |
+
*/
|
112 |
+
public function wc_get_template_filter( $template, $template_name, $args, $template_path, $default_path ){
|
113 |
+
if( !$this->is_checkout() ){
|
114 |
+
return $template;
|
115 |
+
}
|
116 |
+
|
117 |
+
// If checkout registration is disabled and not logged in, the user cannot checkout.
|
118 |
+
if ( ! WC()->Checkout()->is_registration_enabled() && WC()->Checkout()->is_registration_required() && ! is_user_logged_in() ) {
|
119 |
+
return $template;
|
120 |
+
}
|
121 |
+
|
122 |
+
if($template_name == 'checkout/form-checkout.php'){
|
123 |
+
$template = __DIR__. '/templates/form-checkout.php';
|
124 |
+
}
|
125 |
+
|
126 |
+
if($template_name == 'checkout/form-billing.php'){
|
127 |
+
$template = __DIR__. '/templates/form-billing.php';
|
128 |
+
}
|
129 |
+
|
130 |
+
if($template_name == 'checkout/form-shipping.php'){
|
131 |
+
$template = __DIR__. '/templates/form-shipping.php';
|
132 |
+
}
|
133 |
+
|
134 |
+
if($template_name == 'cart/cart-shipping.php'){
|
135 |
+
$template = __DIR__. '/templates/cart-shipping.php';
|
136 |
+
}
|
137 |
+
|
138 |
+
if($template_name == 'checkout/payment.php'){
|
139 |
+
$template = __DIR__. '/templates/payment.php';
|
140 |
+
}
|
141 |
+
|
142 |
+
if($template_name == 'checkout/review-order.php'){
|
143 |
+
$template = __DIR__. '/templates/review-order.php';
|
144 |
+
}
|
145 |
+
|
146 |
+
if($template_name == 'checkout/form-coupon.php'){
|
147 |
+
$template = __DIR__. '/templates/form-coupon.php';
|
148 |
+
}
|
149 |
+
|
150 |
+
if(is_checkout() && $template_name == 'global/form-login.php'){
|
151 |
+
$template = __DIR__. '/templates/form-login.php';
|
152 |
+
}
|
153 |
+
|
154 |
+
return $template;
|
155 |
+
}
|
156 |
+
|
157 |
+
/**
|
158 |
+
* Reorder the checkout page address fields before render
|
159 |
+
*/
|
160 |
+
public function woocommerce_checkout_fields_filter( $fieldset ){
|
161 |
+
if( !$this->is_checkout() ){
|
162 |
+
return $fieldset;
|
163 |
+
}
|
164 |
+
|
165 |
+
// Remove fields
|
166 |
+
unset($fieldset['billing']['billing_company']);
|
167 |
+
unset($fieldset['billing']['billing_phone']);
|
168 |
+
|
169 |
+
|
170 |
+
$fieldset['billing']['billing_email']['priority'] = 1;
|
171 |
+
$fieldset['billing']['billing_email']['placeholder'] = $fieldset['billing']['billing_email']['label'];
|
172 |
+
|
173 |
+
// Set the order of the fields
|
174 |
+
$count = 0;
|
175 |
+
$priority = 10;
|
176 |
+
|
177 |
+
// Updating the 'priority' argument
|
178 |
+
foreach($this->get_address_fields('billing') as $field_name){
|
179 |
+
$count++;
|
180 |
+
$fieldset['billing'][$field_name]['priority'] = $count * $priority;
|
181 |
+
|
182 |
+
if( !isset($fieldset['billing'][$field_name]['placeholder']) ){
|
183 |
+
$fieldset['billing'][$field_name]['placeholder'] = $fieldset['billing'][$field_name]['label'];
|
184 |
+
}
|
185 |
+
}
|
186 |
+
|
187 |
+
foreach($this->get_address_fields('shipping') as $field_name){
|
188 |
+
if( !isset($fieldset['shipping'][$field_name]['placeholder']) ){
|
189 |
+
$fieldset['shipping'][$field_name]['placeholder'] = $fieldset['shipping'][$field_name]['label'];
|
190 |
+
}
|
191 |
+
}
|
192 |
+
|
193 |
+
// Customize classes
|
194 |
+
$fieldset['billing']['billing_country']['class'] = array('woolentor-one-third');
|
195 |
+
$fieldset['billing']['billing_state']['class'] = array('woolentor-one-third');
|
196 |
+
$fieldset['billing']['billing_postcode']['class'] = array('woolentor-one-third');
|
197 |
+
|
198 |
+
$fieldset['shipping']['shipping_country']['class'] = array('woolentor-one-third');
|
199 |
+
$fieldset['shipping']['shipping_state']['class'] = array('woolentor-one-third');
|
200 |
+
$fieldset['shipping']['shipping_postcode']['class'] = array('woolentor-one-third');
|
201 |
+
|
202 |
+
return $fieldset;
|
203 |
+
}
|
204 |
+
|
205 |
+
/**
|
206 |
+
* Reorder the checkout page address fields after JS rendered
|
207 |
+
*/
|
208 |
+
public function reorder_checkout_default_fields( $fields ){
|
209 |
+
if( !$this->is_checkout() ){
|
210 |
+
return $fields;
|
211 |
+
}
|
212 |
+
|
213 |
+
// remove fields
|
214 |
+
unset($fields['company']);
|
215 |
+
unset($fields['phone']);
|
216 |
+
|
217 |
+
$count = 0;
|
218 |
+
$priority = 10;
|
219 |
+
|
220 |
+
// Updating the 'priority' argument
|
221 |
+
foreach($this->get_address_fields() as $field_name){
|
222 |
+
$count++;
|
223 |
+
$fields[$field_name]['priority'] = $count * $priority;
|
224 |
+
}
|
225 |
+
|
226 |
+
return $fields;
|
227 |
+
}
|
228 |
+
|
229 |
+
/**
|
230 |
+
* Render only the specified fields into the address from
|
231 |
+
*/
|
232 |
+
public function get_address_fields( $group = '' ){
|
233 |
+
$fields = array(
|
234 |
+
'first_name',
|
235 |
+
'last_name',
|
236 |
+
'address_1',
|
237 |
+
'address_2',
|
238 |
+
'city',
|
239 |
+
'country',
|
240 |
+
'state',
|
241 |
+
'postcode',
|
242 |
+
);
|
243 |
+
|
244 |
+
if( $group ){
|
245 |
+
$fields = array(
|
246 |
+
$group. '_first_name',
|
247 |
+
$group. '_last_name',
|
248 |
+
$group. '_address_1',
|
249 |
+
$group. '_address_2',
|
250 |
+
$group. '_city',
|
251 |
+
$group. '_country',
|
252 |
+
$group. '_state',
|
253 |
+
$group. '_postcode',
|
254 |
+
);
|
255 |
+
}
|
256 |
+
|
257 |
+
return $fields;
|
258 |
+
}
|
259 |
+
|
260 |
+
/**
|
261 |
+
* Update fragments
|
262 |
+
*/
|
263 |
+
public function woocommerce_update_order_review_fragments_filter( $fragments ) {
|
264 |
+
ob_start();
|
265 |
+
woocommerce_order_review();
|
266 |
+
$fragments['.woocommerce-checkout-review-order-table'] = ob_get_clean();
|
267 |
+
|
268 |
+
ob_start();
|
269 |
+
if ( true === WC()->cart->needs_shipping_address() ){
|
270 |
+
wc_cart_totals_shipping_html();
|
271 |
+
} else {
|
272 |
+
?>
|
273 |
+
<tr class="woocommerce-shipping-totals shipping">
|
274 |
+
<th><?php echo esc_html('Shipping', 'woolentor') ?></th>
|
275 |
+
<td data-title="Shipping">
|
276 |
+
<ul id="shipping_method" class="woocommerce-shipping-methods">
|
277 |
+
<li>
|
278 |
+
<?php echo esc_html('Sorry, it seems that there are no available payment methods. Please contact us if you require assistance or wish to make alternate arrangements.', 'woolentor') ?>
|
279 |
+
</li>
|
280 |
+
</ul>
|
281 |
+
</td>
|
282 |
+
</tr>
|
283 |
+
<?php
|
284 |
+
}
|
285 |
+
$fragments['.woolentor-checkout__shipping-method'] = '<table class="woolentor-checkout__shipping-method"><tbody>'. ob_get_clean() .'</tbody></table>';
|
286 |
+
|
287 |
+
$fragments['.woolentor-order-reivew-shipping-cost'] = '<sapn class="woolentor-order-reivew-shipping-fee">'. wc_price( $this::get_cart_totals_shipping_cost() ) .'</span>';
|
288 |
+
|
289 |
+
return $fragments;
|
290 |
+
}
|
291 |
+
|
292 |
+
/**
|
293 |
+
* Return the total shipping cost
|
294 |
+
*/
|
295 |
+
public static function get_cart_totals_shipping_cost(){
|
296 |
+
$packages = WC()->shipping()->get_packages();
|
297 |
+
$method_cost = 0;
|
298 |
+
$package = array();
|
299 |
+
$chosen_method = '';
|
300 |
+
|
301 |
+
foreach ( $packages as $i => $package ) {
|
302 |
+
$chosen_method = isset( WC()->session->chosen_shipping_methods[ $i ] ) ? WC()->session->chosen_shipping_methods[ $i ] : '';
|
303 |
+
}
|
304 |
+
|
305 |
+
if( is_array($package) && !empty($package['rates']) ){
|
306 |
+
$method_obj = $package['rates'][$chosen_method];
|
307 |
+
$method_cost = $method_obj->get_cost();
|
308 |
+
}
|
309 |
+
|
310 |
+
return $method_cost;
|
311 |
+
}
|
312 |
+
|
313 |
+
/**
|
314 |
+
* Validate 1st step fields
|
315 |
+
*
|
316 |
+
* Attached with: wp_ajax_validate_1st_step action
|
317 |
+
*/
|
318 |
+
public function validate_1st_step(){
|
319 |
+
$post_data = wp_unslash($_POST);
|
320 |
+
|
321 |
+
// Verify nonce
|
322 |
+
$nonce = sanitize_text_field($_REQUEST['nonce']);
|
323 |
+
if ( !wp_verify_nonce( $nonce, 'woolentor_slc_nonce' ) ) {
|
324 |
+
wp_send_json_error(array(
|
325 |
+
'message' => esc_html__( 'No naughty business please!', 'woolentor' )
|
326 |
+
));
|
327 |
+
}
|
328 |
+
|
329 |
+
$posted_data = $post_data['fields'];
|
330 |
+
|
331 |
+
if( empty($posted_data['ship_to_different_address']) ){
|
332 |
+
$posted_data['ship_to_different_address'] = '';
|
333 |
+
}
|
334 |
+
|
335 |
+
if( empty($posted_data['billing_country']) ){
|
336 |
+
$posted_data['billing_country'] = '';
|
337 |
+
}
|
338 |
+
|
339 |
+
if( empty($posted_data['billing_country']) ){
|
340 |
+
$posted_data['billing_country'] = '';
|
341 |
+
}
|
342 |
+
|
343 |
+
$errors = new WP_Error();
|
344 |
+
|
345 |
+
$this->validate_posted_data( $posted_data, $errors );
|
346 |
+
|
347 |
+
foreach ( $errors->errors as $code => $messages ) {
|
348 |
+
$data = $errors->get_error_data( $code );
|
349 |
+
foreach ( $messages as $message ) {
|
350 |
+
wc_add_notice( $message, 'error', $data );
|
351 |
+
}
|
352 |
+
}
|
353 |
+
|
354 |
+
$messages_html = wc_print_notices( true );
|
355 |
+
wp_send_json_success( array( 'messages' => $messages_html ) );
|
356 |
+
}
|
357 |
+
|
358 |
+
/**
|
359 |
+
* Remove theme's styling
|
360 |
+
*/
|
361 |
+
public function style_loader_tag_filter( $tag, $handle, $href, $media ){
|
362 |
+
if( !$this->is_checkout() ){
|
363 |
+
return $tag;
|
364 |
+
}
|
365 |
+
|
366 |
+
if( strpos( $href, '/themes/' ) ){
|
367 |
+
return;
|
368 |
+
}
|
369 |
+
|
370 |
+
return $tag;
|
371 |
+
}
|
372 |
+
|
373 |
+
/**
|
374 |
+
* Filter through each fields
|
375 |
+
*/
|
376 |
+
public function woocommerce_form_field_args_filter($args, $key, $value){
|
377 |
+
if($args['type'] == 'select'){
|
378 |
+
array_push($args['class'], 'woolentor-checkout__field-select-wrapper');
|
379 |
+
array_push($args['input_class'], 'woolentor-checkout__field-select');
|
380 |
+
array_push($args['label_class'], 'woolentor-checkout__select-label');
|
381 |
+
}
|
382 |
+
|
383 |
+
return $args;
|
384 |
+
}
|
385 |
+
|
386 |
+
/**
|
387 |
+
* Outputs a checkout/address form field.
|
388 |
+
*
|
389 |
+
* @param string $key Key.
|
390 |
+
* @param mixed $args Arguments.
|
391 |
+
* @param string $value (default: null).
|
392 |
+
* @return string
|
393 |
+
*/
|
394 |
+
public static function woocommerce_form_field( $key, $args, $value = null ) {
|
395 |
+
$defaults = array(
|
396 |
+
'type' => 'text',
|
397 |
+
'label' => '',
|
398 |
+
'description' => '',
|
399 |
+
'placeholder' => '',
|
400 |
+
'maxlength' => false,
|
401 |
+
'required' => false,
|
402 |
+
'autocomplete' => false,
|
403 |
+
'id' => $key,
|
404 |
+
'class' => array(),
|
405 |
+
'label_class' => array(),
|
406 |
+
'input_class' => array(),
|
407 |
+
'return' => false,
|
408 |
+
'options' => array(),
|
409 |
+
'custom_attributes' => array(),
|
410 |
+
'validate' => array(),
|
411 |
+
'default' => '',
|
412 |
+
'autofocus' => '',
|
413 |
+
'priority' => '',
|
414 |
+
);
|
415 |
+
|
416 |
+
$args = wp_parse_args( $args, $defaults );
|
417 |
+
$args = apply_filters( 'woocommerce_form_field_args', $args, $key, $value );
|
418 |
+
|
419 |
+
if ( $args['required'] ) {
|
420 |
+
$args['class'][] = 'validate-required';
|
421 |
+
$required = ' <abbr class="required" title="' . esc_attr__( 'required', 'woocommerce' ) . '">*</abbr>';
|
422 |
+
} else {
|
423 |
+
$required = ' <span class="optional">(' . esc_html__( 'optional', 'woocommerce' ) . ')</span>';
|
424 |
+
}
|
425 |
+
|
426 |
+
if ( is_string( $args['label_class'] ) ) {
|
427 |
+
$args['label_class'] = array( $args['label_class'] );
|
428 |
+
}
|
429 |
+
|
430 |
+
if ( is_null( $value ) ) {
|
431 |
+
$value = $args['default'];
|
432 |
+
}
|
433 |
+
|
434 |
+
// Custom attribute handling.
|
435 |
+
$custom_attributes = array();
|
436 |
+
$args['custom_attributes'] = array_filter( (array) $args['custom_attributes'], 'strlen' );
|
437 |
+
|
438 |
+
if ( $args['maxlength'] ) {
|
439 |
+
$args['custom_attributes']['maxlength'] = absint( $args['maxlength'] );
|
440 |
+
}
|
441 |
+
|
442 |
+
if ( ! empty( $args['autocomplete'] ) ) {
|
443 |
+
$args['custom_attributes']['autocomplete'] = $args['autocomplete'];
|
444 |
+
}
|
445 |
+
|
446 |
+
if ( true === $args['autofocus'] ) {
|
447 |
+
$args['custom_attributes']['autofocus'] = 'autofocus';
|
448 |
+
}
|
449 |
+
|
450 |
+
if ( $args['description'] ) {
|
451 |
+
$args['custom_attributes']['aria-describedby'] = $args['id'] . '-description';
|
452 |
+
}
|
453 |
+
|
454 |
+
if ( ! empty( $args['custom_attributes'] ) && is_array( $args['custom_attributes'] ) ) {
|
455 |
+
foreach ( $args['custom_attributes'] as $attribute => $attribute_value ) {
|
456 |
+
$custom_attributes[] = esc_attr( $attribute ) . '="' . esc_attr( $attribute_value ) . '"';
|
457 |
+
}
|
458 |
+
}
|
459 |
+
|
460 |
+
if ( ! empty( $args['validate'] ) ) {
|
461 |
+
foreach ( $args['validate'] as $validate ) {
|
462 |
+
$args['class'][] = 'validate-' . $validate;
|
463 |
+
}
|
464 |
+
}
|
465 |
+
|
466 |
+
$field = '';
|
467 |
+
$label_id = $args['id'];
|
468 |
+
$sort = $args['priority'] ? $args['priority'] : '';
|
469 |
+
$field_container = '<p class="form-row %1$s" id="%2$s" data-priority="' . esc_attr( $sort ) . '">%3$s</p>';
|
470 |
+
|
471 |
+
switch ( $args['type'] ) {
|
472 |
+
case 'country':
|
473 |
+
$countries = 'shipping_country' === $key ? WC()->countries->get_shipping_countries() : WC()->countries->get_allowed_countries();
|
474 |
+
|
475 |
+
if ( 1 === count( $countries ) ) {
|
476 |
+
|
477 |
+
$field .= '<strong>' . current( array_values( $countries ) ) . '</strong>';
|
478 |
+
|
479 |
+
$field .= '<input type="hidden" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" value="' . current( array_keys( $countries ) ) . '" ' . implode( ' ', $custom_attributes ) . ' class="country_to_state" readonly="readonly" />';
|
480 |
+
|
481 |
+
} else {
|
482 |
+
$data_label = ! empty( $args['label'] ) ? 'data-label="' . esc_attr( $args['label'] ) . '"' : '';
|
483 |
+
|
484 |
+
$field = '<select name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" class="country_to_state country_select ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" ' . implode( ' ', $custom_attributes ) . ' data-placeholder="' . esc_attr( $args['placeholder'] ? $args['placeholder'] : esc_attr__( 'Select a country / region…', 'woocommerce' ) ) . '" ' . $data_label . '><option value="">' . esc_html__( 'Select a country / region…', 'woocommerce' ) . '</option>';
|
485 |
+
|
486 |
+
foreach ( $countries as $ckey => $cvalue ) {
|
487 |
+
$field .= '<option value="' . esc_attr( $ckey ) . '" ' . selected( $value, $ckey, false ) . '>' . esc_html( $cvalue ) . '</option>';
|
488 |
+
}
|
489 |
+
|
490 |
+
$field .= '</select>';
|
491 |
+
|
492 |
+
$field .= '<noscript><button type="submit" name="woocommerce_checkout_update_totals" value="' . esc_attr__( 'Update country / region', 'woocommerce' ) . '">' . esc_html__( 'Update country / region', 'woocommerce' ) . '</button></noscript>';
|
493 |
+
|
494 |
+
}
|
495 |
+
|
496 |
+
break;
|
497 |
+
case 'state':
|
498 |
+
/* Get country this state field is representing */
|
499 |
+
$for_country = isset( $args['country'] ) ? $args['country'] : WC()->checkout->get_value( 'billing_state' === $key ? 'billing_country' : 'shipping_country' );
|
500 |
+
$states = WC()->countries->get_states( $for_country );
|
501 |
+
|
502 |
+
if ( is_array( $states ) && empty( $states ) ) {
|
503 |
+
|
504 |
+
$field_container = '<p class="form-row %1$s" id="%2$s" style="display: none">%3$s</p>';
|
505 |
+
|
506 |
+
$field .= '<input type="hidden" class="hidden" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" value="" ' . implode( ' ', $custom_attributes ) . ' placeholder="' . esc_attr( $args['placeholder'] ) . '" readonly="readonly" data-input-classes="' . esc_attr( implode( ' ', $args['input_class'] ) ) . '"/>';
|
507 |
+
|
508 |
+
} elseif ( ! is_null( $for_country ) && is_array( $states ) ) {
|
509 |
+
$data_label = ! empty( $args['label'] ) ? 'data-label="' . esc_attr( $args['label'] ) . '"' : '';
|
510 |
+
|
511 |
+
$field .= '<select name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" class="state_select ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" ' . implode( ' ', $custom_attributes ) . ' data-placeholder="' . esc_attr( $args['placeholder'] ? $args['placeholder'] : esc_html__( 'Select an option…', 'woocommerce' ) ) . '" data-input-classes="' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" ' . $data_label . '>
|
512 |
+
<option value="">' . esc_html__( 'Select an option…', 'woocommerce' ) . '</option>';
|
513 |
+
|
514 |
+
foreach ( $states as $ckey => $cvalue ) {
|
515 |
+
$field .= '<option value="' . esc_attr( $ckey ) . '" ' . selected( $value, $ckey, false ) . '>' . esc_html( $cvalue ) . '</option>';
|
516 |
+
}
|
517 |
+
|
518 |
+
$field .= '</select>';
|
519 |
+
|
520 |
+
} else {
|
521 |
+
|
522 |
+
$field .= '<input type="text" class="input-text ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" value="' . esc_attr( $value ) . '" placeholder="' . esc_attr( $args['placeholder'] ) . '" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" ' . implode( ' ', $custom_attributes ) . ' data-input-classes="' . esc_attr( implode( ' ', $args['input_class'] ) ) . '"/>';
|
523 |
+
|
524 |
+
}
|
525 |
+
|
526 |
+
break;
|
527 |
+
case 'textarea':
|
528 |
+
$field .= '<textarea name="' . esc_attr( $key ) . '" class="input-text ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" id="' . esc_attr( $args['id'] ) . '" placeholder="' . esc_attr( $args['placeholder'] ) . '" ' . ( empty( $args['custom_attributes']['rows'] ) ? ' rows="2"' : '' ) . ( empty( $args['custom_attributes']['cols'] ) ? ' cols="5"' : '' ) . implode( ' ', $custom_attributes ) . '>' . esc_textarea( $value ) . '</textarea>';
|
529 |
+
|
530 |
+
break;
|
531 |
+
case 'checkbox':
|
532 |
+
$field = '<label class="checkbox ' . implode( ' ', $args['label_class'] ) . '" ' . implode( ' ', $custom_attributes ) . '>
|
533 |
+
<input type="' . esc_attr( $args['type'] ) . '" class="input-checkbox ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" value="1" ' . checked( $value, 1, false ) . ' /> ' . $args['label'] . $required . '</label>';
|
534 |
+
|
535 |
+
break;
|
536 |
+
case 'text':
|
537 |
+
case 'password':
|
538 |
+
case 'datetime':
|
539 |
+
case 'datetime-local':
|
540 |
+
case 'date':
|
541 |
+
case 'month':
|
542 |
+
case 'time':
|
543 |
+
case 'week':
|
544 |
+
case 'number':
|
545 |
+
case 'email':
|
546 |
+
case 'url':
|
547 |
+
case 'tel':
|
548 |
+
$field .= '<input type="' . esc_attr( $args['type'] ) . '" class="input-text ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" placeholder="' . esc_attr( $args['placeholder'] ) . '" value="' . esc_attr( $value ) . '" ' . implode( ' ', $custom_attributes ) . ' />';
|
549 |
+
|
550 |
+
break;
|
551 |
+
case 'hidden':
|
552 |
+
$field .= '<input type="' . esc_attr( $args['type'] ) . '" class="input-hidden ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" value="' . esc_attr( $value ) . '" ' . implode( ' ', $custom_attributes ) . ' />';
|
553 |
+
|
554 |
+
break;
|
555 |
+
case 'select':
|
556 |
+
$field = '';
|
557 |
+
$options = '';
|
558 |
+
|
559 |
+
if ( ! empty( $args['options'] ) ) {
|
560 |
+
foreach ( $args['options'] as $option_key => $option_text ) {
|
561 |
+
if ( '' === $option_key ) {
|
562 |
+
// If we have a blank option, select2 needs a placeholder.
|
563 |
+
if ( empty( $args['placeholder'] ) ) {
|
564 |
+
$args['placeholder'] = $option_text ? $option_text : __( 'Choose an option', 'woocommerce' );
|
565 |
+
}
|
566 |
+
$custom_attributes[] = 'data-allow_clear="true"';
|
567 |
+
}
|
568 |
+
$options .= '<option value="' . esc_attr( $option_key ) . '" ' . selected( $value, $option_key, false ) . '>' . esc_html( $option_text ) . '</option>';
|
569 |
+
}
|
570 |
+
|
571 |
+
$field .= '<select name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" class="select ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" ' . implode( ' ', $custom_attributes ) . ' data-placeholder="' . esc_attr( $args['placeholder'] ) . '">
|
572 |
+
' . $options . '
|
573 |
+
</select>';
|
574 |
+
}
|
575 |
+
|
576 |
+
break;
|
577 |
+
case 'radio':
|
578 |
+
$label_id .= '_' . current( array_keys( $args['options'] ) );
|
579 |
+
|
580 |
+
if ( ! empty( $args['options'] ) ) {
|
581 |
+
foreach ( $args['options'] as $option_key => $option_text ) {
|
582 |
+
$field .= '<input type="radio" class="input-radio ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" value="' . esc_attr( $option_key ) . '" name="' . esc_attr( $key ) . '" ' . implode( ' ', $custom_attributes ) . ' id="' . esc_attr( $args['id'] ) . '_' . esc_attr( $option_key ) . '"' . checked( $value, $option_key, false ) . ' />';
|
583 |
+
$field .= '<label for="' . esc_attr( $args['id'] ) . '_' . esc_attr( $option_key ) . '" class="radio ' . implode( ' ', $args['label_class'] ) . '">' . esc_html( $option_text ) . '</label>';
|
584 |
+
}
|
585 |
+
}
|
586 |
+
|
587 |
+
break;
|
588 |
+
}
|
589 |
+
|
590 |
+
if ( ! empty( $field ) ) {
|
591 |
+
$field_html = '';
|
592 |
+
|
593 |
+
$field_html .= '<span class="woocommerce-input-wrapper">' . $field;
|
594 |
+
|
595 |
+
if ( $args['description'] ) {
|
596 |
+
$field_html .= '<span class="description" id="' . esc_attr( $args['id'] ) . '-description" aria-hidden="true">' . wp_kses_post( $args['description'] ) . '</span>';
|
597 |
+
}
|
598 |
+
|
599 |
+
if ( $args['label'] && 'checkbox' !== $args['type'] ) {
|
600 |
+
$field_html .= '<label for="' . esc_attr( $label_id ) . '" class="' . esc_attr( implode( ' ', $args['label_class'] ) ) . '">' . wp_kses_post( $args['label'] ) . $required . '</label>';
|
601 |
+
}
|
602 |
+
|
603 |
+
$field_html .= '</span>';
|
604 |
+
|
605 |
+
$container_class = esc_attr( implode( ' ', $args['class'] ) );
|
606 |
+
$container_id = esc_attr( $args['id'] ) . '_field';
|
607 |
+
$field = sprintf( $field_container, $container_class, $container_id, $field_html );
|
608 |
+
}
|
609 |
+
|
610 |
+
/**
|
611 |
+
* Filter by type.
|
612 |
+
*/
|
613 |
+
$field = apply_filters( 'woocommerce_form_field_' . $args['type'], $field, $key, $args, $value );
|
614 |
+
|
615 |
+
/**
|
616 |
+
* General filter on form fields.
|
617 |
+
*
|
618 |
+
* @since 3.4.0
|
619 |
+
*/
|
620 |
+
$field = apply_filters( 'woocommerce_form_field', $field, $key, $args, $value );
|
621 |
+
|
622 |
+
if ( $args['return'] ) {
|
623 |
+
return $field;
|
624 |
+
} else {
|
625 |
+
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
626 |
+
echo $field;
|
627 |
+
}
|
628 |
+
}
|
629 |
+
}
|
630 |
+
|
631 |
+
Woolentor_Shopify_Like_Checkout::get_instance();
|
includes/modules/shopify-like-checkout/templates/canvas.php
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
+
exit; // Exit if accessed directly.
|
4 |
+
}
|
5 |
+
?>
|
6 |
+
<!DOCTYPE html>
|
7 |
+
<html <?php language_attributes(); ?>>
|
8 |
+
<head>
|
9 |
+
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
10 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
11 |
+
<?php if ( ! current_theme_supports( 'title-tag' ) ) : ?>
|
12 |
+
<title><?php echo wp_get_document_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></title>
|
13 |
+
<?php endif; ?>
|
14 |
+
<?php wp_head(); ?>
|
15 |
+
</head>
|
16 |
+
<body <?php body_class('woolentor-checkout__box'); ?>>
|
17 |
+
<?php
|
18 |
+
if( function_exists('wp_body_open') ){
|
19 |
+
wp_body_open();
|
20 |
+
}
|
21 |
+
|
22 |
+
// echo do_shortcode('[woocommerce_checkout]');
|
23 |
+
echo woolentor_do_shortcode( 'woocommerce_checkout' );
|
24 |
+
|
25 |
+
wp_footer();
|
26 |
+
?>
|
27 |
+
</body>
|
28 |
+
</html>
|
includes/modules/shopify-like-checkout/templates/cart-shipping.php
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Shipping Methods Display
|
4 |
+
*/
|
5 |
+
|
6 |
+
defined( 'ABSPATH' ) || exit;
|
7 |
+
|
8 |
+
$formatted_destination = isset( $formatted_destination ) ? $formatted_destination : WC()->countries->get_formatted_address( $package['destination'], ', ' );
|
9 |
+
$has_calculated_shipping = ! empty( $has_calculated_shipping );
|
10 |
+
$show_shipping_calculator = ! empty( $show_shipping_calculator );
|
11 |
+
$calculator_text = '';
|
12 |
+
?>
|
13 |
+
<tr class="woocommerce-shipping-totals shipping">
|
14 |
+
<th><?php echo wp_kses_post( $package_name ); ?></th>
|
15 |
+
<td data-title="<?php echo esc_attr( $package_name ); ?>">
|
16 |
+
<?php if ( $available_methods ) : ?>
|
17 |
+
<ul id="shipping_method" class="woocommerce-shipping-methods">
|
18 |
+
<?php foreach ( $available_methods as $method ) : ?>
|
19 |
+
<li>
|
20 |
+
<?php
|
21 |
+
if ( 1 < count( $available_methods ) ) {
|
22 |
+
printf( '<input type="radio" name="shipping_method[%1$d]" data-index="%1$d" id="shipping_method_%1$d_%2$s" value="%3$s" class="shipping_method" %4$s />', $index, esc_attr( sanitize_title( $method->id ) ), esc_attr( $method->id ), checked( $method->id, $chosen_method, false ) ); // WPCS: XSS ok.
|
23 |
+
} else {
|
24 |
+
printf( '<input type="hidden" name="shipping_method[%1$d]" data-index="%1$d" id="shipping_method_%1$d_%2$s" value="%3$s" class="shipping_method" />', $index, esc_attr( sanitize_title( $method->id ) ), esc_attr( $method->id ) ); // WPCS: XSS ok.
|
25 |
+
}
|
26 |
+
printf( '<label for="shipping_method_%1$s_%2$s">%3$s</label>', $index, esc_attr( sanitize_title( $method->id ) ), wc_cart_totals_shipping_method_label( $method ) ); // WPCS: XSS ok.
|
27 |
+
do_action( 'woocommerce_after_shipping_rate', $method, $index );
|
28 |
+
?>
|
29 |
+
</li>
|
30 |
+
<?php endforeach; ?>
|
31 |
+
</ul>
|
32 |
+
<?php if ( is_cart() ) : ?>
|
33 |
+
<p class="woocommerce-shipping-destination">
|
34 |
+
<?php
|
35 |
+
if ( $formatted_destination ) {
|
36 |
+
// Translators: $s shipping destination.
|
37 |
+
printf( esc_html__( 'Shipping to %s.', 'woolentor' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' );
|
38 |
+
$calculator_text = esc_html__( 'Change address', 'woolentor' );
|
39 |
+
} else {
|
40 |
+
echo wp_kses_post( apply_filters( 'woocommerce_shipping_estimate_html', __( 'Shipping options will be updated during checkout.', 'woolentor' ) ) );
|
41 |
+
}
|
42 |
+
?>
|
43 |
+
</p>
|
44 |
+
<?php endif; ?>
|
45 |
+
<?php
|
46 |
+
elseif ( ! $has_calculated_shipping || ! $formatted_destination ) :
|
47 |
+
if ( is_cart() && 'no' === get_option( 'woocommerce_enable_shipping_calc' ) ) {
|
48 |
+
echo wp_kses_post( apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __( 'Shipping costs are calculated during checkout.', 'woolentor' ) ) );
|
49 |
+
} else {
|
50 |
+
echo wp_kses_post( apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'woolentor' ) ) );
|
51 |
+
}
|
52 |
+
elseif ( ! is_cart() ) :
|
53 |
+
echo wp_kses_post( apply_filters( 'woocommerce_no_shipping_available_html', __( 'There are no shipping options available. Please ensure that your address has been entered correctly, or contact us if you need any help.', 'woolentor' ) ) );
|
54 |
+
else :
|
55 |
+
// Translators: $s shipping destination.
|
56 |
+
echo wp_kses_post( apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'woolentor' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' ) ) );
|
57 |
+
$calculator_text = esc_html__( 'Enter a different address', 'woolentor' );
|
58 |
+
endif;
|
59 |
+
?>
|
60 |
+
|
61 |
+
<?php if ( $show_package_details ) : ?>
|
62 |
+
<?php echo '<p class="woocommerce-shipping-contents"><small>' . esc_html( $package_details ) . '</small></p>'; ?>
|
63 |
+
<?php endif; ?>
|
64 |
+
|
65 |
+
<?php if ( $show_shipping_calculator ) : ?>
|
66 |
+
<?php woocommerce_shipping_calculator( $calculator_text ); ?>
|
67 |
+
<?php endif; ?>
|
68 |
+
</td>
|
69 |
+
</tr>
|
includes/modules/shopify-like-checkout/templates/form-billing.php
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Checkout billing information form
|
4 |
+
*
|
5 |
+
* @global WC_Checkout $checkout
|
6 |
+
*/
|
7 |
+
|
8 |
+
defined( 'ABSPATH' ) || exit;
|
9 |
+
?>
|
10 |
+
|
11 |
+
<div class="woocommerce-billing-fields">
|
12 |
+
<div class="woocommerce-billing-fields__field-wrapper">
|
13 |
+
<?php
|
14 |
+
$fields = $checkout->get_checkout_fields( 'billing' );
|
15 |
+
Woolentor_Shopify_Like_Checkout::woocommerce_form_field( 'billing_email', $fields['billing_email'], $checkout->get_value( 'billing_email' ) );
|
16 |
+
?>
|
17 |
+
</div>
|
18 |
+
|
19 |
+
<div class="woolentor-checkout__section-header">
|
20 |
+
<?php if ( wc_ship_to_billing_address_only() && WC()->cart->needs_shipping() ) : ?>
|
21 |
+
<h3 class="woolentor-checkout__section-title"><?php esc_html_e( 'Billing & Shipping', 'woolentor' ); ?></h3>
|
22 |
+
<?php else : ?>
|
23 |
+
<h3 class="woolentor-checkout__section-title"><?php esc_html_e( 'Billing address', 'woolentor' ); ?></h3>
|
24 |
+
<?php endif; ?>
|
25 |
+
</div>
|
26 |
+
|
27 |
+
<?php do_action( 'woocommerce_before_checkout_billing_form', $checkout ); ?>
|
28 |
+
|
29 |
+
<div class="woocommerce-billing-fields__field-wrapper">
|
30 |
+
<?php
|
31 |
+
$fields = $checkout->get_checkout_fields( 'billing' );
|
32 |
+
foreach ( $fields as $key => $field ) {
|
33 |
+
if($key == 'billing_email'){
|
34 |
+
continue;
|
35 |
+
}
|
36 |
+
Woolentor_Shopify_Like_Checkout::woocommerce_form_field( $key, $field, $checkout->get_value( $key ) );
|
37 |
+
}
|
38 |
+
?>
|
39 |
+
</div>
|
40 |
+
|
41 |
+
<?php do_action( 'woocommerce_after_checkout_billing_form', $checkout ); ?>
|
42 |
+
</div>
|
43 |
+
|
44 |
+
<?php if ( ! is_user_logged_in() && $checkout->is_registration_enabled() ) : ?>
|
45 |
+
<div class="woocommerce-account-fields">
|
46 |
+
<?php if ( ! $checkout->is_registration_required() ) : ?>
|
47 |
+
|
48 |
+
<p class="form-row form-row-wide create-account">
|
49 |
+
<label class="woocommerce-form__label woocommerce-form__label-for-checkbox checkbox">
|
50 |
+
<input class="woocommerce-form__input woocommerce-form__input-checkbox input-checkbox" id="createaccount" <?php checked( ( true === $checkout->get_value( 'createaccount' ) || ( true === apply_filters( 'woocommerce_create_account_default_checked', false ) ) ), true ); ?> type="checkbox" name="createaccount" value="1" /> <span><?php esc_html_e( 'Create an account?', 'woolentor' ); ?></span>
|
51 |
+
</label>
|
52 |
+
</p>
|
53 |
+
|
54 |
+
<?php endif; ?>
|
55 |
+
|
56 |
+
<?php do_action( 'woocommerce_before_checkout_registration_form', $checkout ); ?>
|
57 |
+
|
58 |
+
<?php if ( $checkout->get_checkout_fields( 'account' ) ) : ?>
|
59 |
+
|
60 |
+
<div class="create-account">
|
61 |
+
<?php foreach ( $checkout->get_checkout_fields( 'account' ) as $key => $field ) : ?>
|
62 |
+
<?php Woolentor_Shopify_Like_Checkout::woocommerce_form_field( $key, $field, $checkout->get_value( $key ) ); ?>
|
63 |
+
<?php endforeach; ?>
|
64 |
+
<div class="clear"></div>
|
65 |
+
</div>
|
66 |
+
|
67 |
+
<?php endif; ?>
|
68 |
+
|
69 |
+
<?php do_action( 'woocommerce_after_checkout_registration_form', $checkout ); ?>
|
70 |
+
</div>
|
71 |
+
<?php endif; ?>
|
includes/modules/shopify-like-checkout/templates/form-checkout.php
ADDED
@@ -0,0 +1,250 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Checkout Form
|
4 |
+
*/
|
5 |
+
|
6 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
7 |
+
exit;
|
8 |
+
}
|
9 |
+
|
10 |
+
$blog_info = get_bloginfo( 'name' );
|
11 |
+
$get_custom_logo = woolentor_get_option( 'logo', 'woolentor_shopify_checkout_settings', '' );
|
12 |
+
$get_custom_menu_id = woolentor_get_option( 'custommenu', 'woolentor_shopify_checkout_settings', '0' );
|
13 |
+
$menu_html = '';
|
14 |
+
|
15 |
+
if( !empty( $get_custom_menu_id ) ){
|
16 |
+
$custom_menuargs = [
|
17 |
+
'echo' => false,
|
18 |
+
'menu' => $get_custom_menu_id,
|
19 |
+
'menu_class' => 'woolentor-checkout__policy-list',
|
20 |
+
'menu_id' => 'menu-'. $get_custom_menu_id,
|
21 |
+
'add_li_class'=> 'woolentor-checkout__policy-item',
|
22 |
+
'fallback_cb' => '__return_empty_string',
|
23 |
+
'container' => '',
|
24 |
+
];
|
25 |
+
// General Menu.
|
26 |
+
$menu_html = wp_nav_menu( $custom_menuargs );
|
27 |
+
}
|
28 |
+
|
29 |
+
?>
|
30 |
+
|
31 |
+
<div class="woolentor-checkout__box woolentor-step--info">
|
32 |
+
<div class="woolentor-checkout__container">
|
33 |
+
|
34 |
+
<div class="woolentor-checkout__left-sidebar">
|
35 |
+
<div class="woolentor-checkout__header">
|
36 |
+
<div class="woolentor-checkout__logo">
|
37 |
+
<?php
|
38 |
+
if( !empty( $get_custom_logo ) ){
|
39 |
+
echo sprintf('<img src="%s" alt="%s" />',esc_url( $get_custom_logo ), $blog_info );
|
40 |
+
}else if( has_custom_logo() ){
|
41 |
+
?><div class="site-logo"><?php the_custom_logo(); ?></div><?php
|
42 |
+
}else{
|
43 |
+
echo sprintf('<h1 class="site-title"><a href="%s">%s</a></h1>', esc_url( home_url( '/' ) ), esc_html( $blog_info ) );
|
44 |
+
}
|
45 |
+
?>
|
46 |
+
</div>
|
47 |
+
<ul class="woolentor-checkout__breadcrumb">
|
48 |
+
<li class="woolentor-checkout__breadcrumb-item">
|
49 |
+
<a class="woolentor-checkout__breadcrumb-link" href="<?php echo esc_url(wc_get_cart_url()) ?>">Cart</a>
|
50 |
+
</li>
|
51 |
+
<li class="woolentor-checkout__breadcrumb-item active" data-step="step--info">
|
52 |
+
<span class="woolentor-checkout__breadcrumb-text"><?php echo esc_html__('Informations', 'woolentor') ?></span>
|
53 |
+
</li>
|
54 |
+
</li>
|
55 |
+
<li class="woolentor-checkout__breadcrumb-item" data-step="step--shipping">
|
56 |
+
<span class="woolentor-checkout__breadcrumb-text"><?php echo esc_html__('Shipping', 'woolentor') ?></span>
|
57 |
+
</li>
|
58 |
+
<li class="woolentor-checkout__breadcrumb-item" data-step="step--payment">
|
59 |
+
<span class="woolentor-checkout__breadcrumb-text"><?php echo esc_html__('Payment', 'woolentor') ?></span>
|
60 |
+
</li>
|
61 |
+
</ul>
|
62 |
+
</div>
|
63 |
+
<div class="woolentor-checkout__body">
|
64 |
+
<?php if( !is_user_logged_in() ): ?>
|
65 |
+
<div class="woolentor-checkout__section woolentor-contact-info">
|
66 |
+
<div class="woolentor-checkout__section-header">
|
67 |
+
<h2 class="woolentor-checkout__section-title">
|
68 |
+
<?php echo esc_html__('Contact information', 'woolentor') ?>
|
69 |
+
</h2>
|
70 |
+
|
71 |
+
|
72 |
+
<p class="woolentor-checkout__item-col">
|
73 |
+
<?php echo esc_html__('Already have an account?', 'woolentor') ?>
|
74 |
+
<a class="showlogin" href="#"><?php echo esc_html__('Log in', 'woolentor') ?></a>
|
75 |
+
</p>
|
76 |
+
</div>
|
77 |
+
|
78 |
+
<?php
|
79 |
+
woocommerce_login_form(
|
80 |
+
array(
|
81 |
+
'message' => esc_html__( 'If you have shopped with us before, please enter your details below. If you are a new customer, please proceed to the Billing section.', 'woolentor' ),
|
82 |
+
'redirect' => wc_get_checkout_url(),
|
83 |
+
'hidden' => true,
|
84 |
+
)
|
85 |
+
);
|
86 |
+
?>
|
87 |
+
</div>
|
88 |
+
<?php endif; ?>
|
89 |
+
|
90 |
+
<form name="checkout" method="post" class="checkout woocommerce-checkout" action="<?php echo esc_url( wc_get_checkout_url() ); ?>" enctype="multipart/form-data">
|
91 |
+
|
92 |
+
<?php if( is_user_logged_in() ): ?>
|
93 |
+
<div class="woolentor-checkout__section woolentor-contact-info">
|
94 |
+
<div class="woolentor-checkout__section-header">
|
95 |
+
<h2 class="woolentor-checkout__section-title">
|
96 |
+
<?php echo esc_html__('Contact information', 'woolentor') ?>
|
97 |
+
</h2>
|
98 |
+
</div>
|
99 |
+
</div>
|
100 |
+
<?php endif; ?>
|
101 |
+
|
102 |
+
<!-- Shipping address Start -->
|
103 |
+
<div class="woolentor-checkout__section woolentor-step--info">
|
104 |
+
<?php $checkout->checkout_form_billing(); ?>
|
105 |
+
|
106 |
+
<?php
|
107 |
+
if ( true === WC()->cart->needs_shipping_address() ){
|
108 |
+
$checkout->checkout_form_shipping();
|
109 |
+
}
|
110 |
+
?>
|
111 |
+
<?php wp_nonce_field( 'woocommerce-process_checkout', 'woocommerce-process-checkout-nonce' ); ?>
|
112 |
+
</div>
|
113 |
+
<!-- Shipping address End -->
|
114 |
+
|
115 |
+
<div class="woolentor-checkout__section woolentor-step--shipping">
|
116 |
+
<div class="woolentor-checkout__section-header">
|
117 |
+
<h2 class="woolentor-checkout__section-title">
|
118 |
+
<?php echo esc_html__('Shipping Method', 'woolentor') ?>
|
119 |
+
</h2>
|
120 |
+
</div>
|
121 |
+
<table class="woolentor-checkout__shipping-method">
|
122 |
+
<tbody>
|
123 |
+
<?php wc_cart_totals_shipping_html(); ?>
|
124 |
+
</tbody>
|
125 |
+
</table>
|
126 |
+
</div>
|
127 |
+
|
128 |
+
<!-- Payment -->
|
129 |
+
<div class="woolentor-checkout__section woolentor-step--payment">
|
130 |
+
<div class="woolentor-checkout__section-header">
|
131 |
+
<h2 class="woolentor-checkout__section-title">
|
132 |
+
<?php echo esc_html__('Choose a Payment Gateway', 'woolentor') ?>
|
133 |
+
</h2>
|
134 |
+
</div>
|
135 |
+
<div class="woolentor-checkout__row">
|
136 |
+
<?php woocommerce_checkout_payment(); ?>
|
137 |
+
</div>
|
138 |
+
</div>
|
139 |
+
<!-- Payment -->
|
140 |
+
|
141 |
+
<?php
|
142 |
+
$terms_page_id = wc_terms_and_conditions_page_id();
|
143 |
+
$terms_page = $terms_page_id ? get_post( $terms_page_id ) : false;
|
144 |
+
$terms_page_link = get_permalink($terms_page_id);
|
145 |
+
|
146 |
+
$policy_page_id = (int) get_option( 'wp_page_for_privacy_policy' );
|
147 |
+
$has_footer_menu = '';
|
148 |
+
if( $terms_page_id || $policy_page_id ){
|
149 |
+
$has_footer_menu = true;
|
150 |
+
}
|
151 |
+
?>
|
152 |
+
<div class="woolentor-checkout__section woolentor-has-footer-menu--<?php echo esc_attr($has_footer_menu ? 'yes' : ''); ?>">
|
153 |
+
<div class="woolentor-checkout__step-footer woolentor-footer--1">
|
154 |
+
<a href="#" data-step="step--shipping" class="woolentor-checkout__button" type="submit"><?php echo esc_html__('Continue to shipping', 'woolentor') ?></a>
|
155 |
+
<a href="<?php echo esc_url(wc_get_cart_url()) ?>" class="woolentor-checkout__text-link"><?php echo esc_html__('Return to cart', 'woolentor') ?></a>
|
156 |
+
</div>
|
157 |
+
<div class="woolentor-checkout__step-footer step--shipping woolentor-footer--2">
|
158 |
+
<a href="#" data-step="step--payment" class="woolentor-checkout__button" type="submit"><?php echo esc_html__('Continue to Payment', 'woolentor') ?></a>
|
159 |
+
<a href="#" data-step="step--info" class="woolentor-checkout__text-link"><?php echo esc_html__('Return to informations', 'woolentor') ?></a>
|
160 |
+
</div>
|
161 |
+
<div class="woolentor-checkout__step-footer step--payment woolentor-footer--3">
|
162 |
+
<div>
|
163 |
+
<?php wc_get_template( 'checkout/terms.php' ); ?>
|
164 |
+
</div>
|
165 |
+
<div>
|
166 |
+
<?php
|
167 |
+
$order_button_text = apply_filters( 'woocommerce_order_button_text', __('Place order', 'woolentor') );
|
168 |
+
echo apply_filters( 'woocommerce_order_button_html', '<button type="submit" class="woolentor-checkout__button" name="woocommerce_checkout_place_order" id="place_order" value="' . esc_attr( $order_button_text ) . '" data-value="' . esc_attr( $order_button_text ) . '">' . esc_html( $order_button_text ) . '</button>' ); // @codingStandardsIgnoreLine ?>
|
169 |
+
|
170 |
+
<a href="#" data-step="step--shipping" class="woolentor-checkout__text-link"><?php echo esc_html('Return to shipping', 'woolentor') ?></a>
|
171 |
+
</div>
|
172 |
+
</div>
|
173 |
+
</div>
|
174 |
+
|
175 |
+
<?php
|
176 |
+
if( $has_footer_menu ):
|
177 |
+
?>
|
178 |
+
<div class="woolentor-checkout__footer">
|
179 |
+
<?php
|
180 |
+
if( !empty( $menu_html ) ):
|
181 |
+
echo $menu_html;
|
182 |
+
else:
|
183 |
+
?>
|
184 |
+
<ul class="woolentor-checkout__policy-list">
|
185 |
+
<?php if($policy_page_id): ?>
|
186 |
+
<li><a href="<?php echo esc_url(get_permalink($policy_page_id)) ?>"><?php echo esc_html(get_the_title($policy_page_id)); ?></a></li>
|
187 |
+
<?php endif; ?>
|
188 |
+
|
189 |
+
<?php if($terms_page_link): ?>
|
190 |
+
<li><a href="<?php echo esc_url($terms_page_link) ?>"><?php echo esc_html(get_the_title($terms_page_id)) ?></a></li>
|
191 |
+
<?php endif; ?>
|
192 |
+
</ul>
|
193 |
+
<?php endif; ?>
|
194 |
+
</div>
|
195 |
+
<?php
|
196 |
+
endif;
|
197 |
+
?>
|
198 |
+
</form>
|
199 |
+
|
200 |
+
</div>
|
201 |
+
</div>
|
202 |
+
|
203 |
+
<div class="woolentor-checkout__right-sidebar woolentor-shipping-status--<?php echo esc_attr(WC()->cart->needs_shipping_address() ? 'yes' : 'no') ?>">
|
204 |
+
<div class="woolentor-checkout__prduct-box">
|
205 |
+
<?php
|
206 |
+
foreach ( WC()->cart->get_cart() as $cart_item_key => $cart_item ) {
|
207 |
+
$_product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
|
208 |
+
|
209 |
+
if ( $_product && $_product->exists() && $cart_item['quantity'] > 0 && apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) ) {
|
210 |
+
?>
|
211 |
+
<!-- Single product Start -->
|
212 |
+
<div class="woolentor-checkout__product">
|
213 |
+
<div class="woolentor-checkout__product-left">
|
214 |
+
<div class="woolentor-checkout__product-image">
|
215 |
+
<div class="woolentor-checkout__product-thumbnail">
|
216 |
+
<?php
|
217 |
+
if($_product->get_image_id()){
|
218 |
+
echo wp_kses_post(wp_get_attachment_image($_product->get_image_id()));
|
219 |
+
} else {
|
220 |
+
echo wc_placeholder_img();
|
221 |
+
}
|
222 |
+
?>
|
223 |
+
</div>
|
224 |
+
<span class="woolentor-checkout__product-quantity"><?php echo esc_html($cart_item['quantity']) ?></span>
|
225 |
+
</div>
|
226 |
+
<div class="woolentor-checkout__product-description">
|
227 |
+
<span class="woolentor-checkout__product-name"><a href="<?php echo esc_url( get_permalink($_product->get_id()) ); ?>"><?php echo esc_html($_product->get_name()); ?></a></span>
|
228 |
+
</div>
|
229 |
+
</div>
|
230 |
+
<div class="woolentor-checkout__product-price-box">
|
231 |
+
<span class="woolentor-checkout__product-price"><?php echo wp_kses_post(wc_price($_product->get_price())) ?></span>
|
232 |
+
</div>
|
233 |
+
</div>
|
234 |
+
<!-- Single product End -->
|
235 |
+
<?php
|
236 |
+
}
|
237 |
+
}
|
238 |
+
?>
|
239 |
+
|
240 |
+
</div>
|
241 |
+
|
242 |
+
<!-- Coupon Code -->
|
243 |
+
<?php woocommerce_checkout_coupon_form(); ?>
|
244 |
+
|
245 |
+
<!-- Review order -->
|
246 |
+
<?php woocommerce_order_review(); ?>
|
247 |
+
|
248 |
+
</div>
|
249 |
+
</div>
|
250 |
+
</div>
|
includes/modules/shopify-like-checkout/templates/form-coupon.php
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Checkout coupon form
|
4 |
+
*/
|
5 |
+
|
6 |
+
defined( 'ABSPATH' ) || exit;
|
7 |
+
|
8 |
+
if ( ! wc_coupons_enabled() ) { // @codingStandardsIgnoreLine.
|
9 |
+
return;
|
10 |
+
}
|
11 |
+
|
12 |
+
?>
|
13 |
+
<div class="woolentor-checkout__order-summary-section">
|
14 |
+
<form class="checkout_coupon woocommerce-form-coupon woocommerce-checkout" method="post" style="display:block">
|
15 |
+
<div class="woolentor-checkout__field-full woolentor-checkout__gift-card">
|
16 |
+
<div class="woolentor-checkout__field">
|
17 |
+
<input class="woolentor-checkout__input input-text" type="text" name="coupon_code" id="gift-card" placeholder="<?php esc_attr_e( 'Coupon code', 'woolentor' ); ?>" />
|
18 |
+
<label class="woolentor-checkout__label" for="gift-card"><?php esc_attr_e( 'Coupon code', 'woolentor' ); ?></label>
|
19 |
+
</div>
|
20 |
+
<div class="woolentor-checkout__apply-button-box">
|
21 |
+
<button class="woolentor-checkout__button" name="apply_coupon" type="submit" value="<?php esc_attr_e( 'Apply coupon', 'woolentor' ); ?>"><?php esc_html_e( 'Apply', 'woolentor' ); ?></button>
|
22 |
+
</div>
|
23 |
+
</div>
|
24 |
+
</form>
|
25 |
+
</div>
|
includes/modules/shopify-like-checkout/templates/form-login.php
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Login form
|
4 |
+
*/
|
5 |
+
|
6 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
7 |
+
exit; // Exit if accessed directly.
|
8 |
+
}
|
9 |
+
|
10 |
+
if ( is_user_logged_in() ) {
|
11 |
+
return;
|
12 |
+
}
|
13 |
+
|
14 |
+
?>
|
15 |
+
<form class="woocommerce-form woocommerce-form-login login" method="post" <?php echo ( $hidden ) ? 'style="display:none;"' : ''; ?>>
|
16 |
+
|
17 |
+
<?php do_action( 'woocommerce_login_form_start' ); ?>
|
18 |
+
|
19 |
+
<p class="form-row">
|
20 |
+
<?php echo ( $message ) ? wptexturize( $message ) : ''; // @codingStandardsIgnoreLine ?>
|
21 |
+
</p>
|
22 |
+
|
23 |
+
<p class="form-row form-row-first">
|
24 |
+
<input type="text" class="input-text" name="username" id="username" placeholder="<?php esc_html_e( 'Username or email', 'woolentor' ); ?>" autocomplete="username" />
|
25 |
+
<label for="username"><?php esc_html_e( 'Username or email', 'woolentor' ); ?> <span class="required">*</span></label>
|
26 |
+
</p>
|
27 |
+
<p class="form-row form-row-last">
|
28 |
+
<input class="input-text" type="password" name="password" id="password" placeholder="<?php esc_html_e( 'Password', 'woolentor' ); ?>" autocomplete="current-password" />
|
29 |
+
<label for="password"><?php esc_html_e( 'Password', 'woolentor' ); ?> <span class="required">*</span></label>
|
30 |
+
</p>
|
31 |
+
<div class="clear"></div>
|
32 |
+
|
33 |
+
<?php do_action( 'woocommerce_login_form' ); ?>
|
34 |
+
|
35 |
+
<p class="form-row">
|
36 |
+
<label class="woocommerce-form__label woocommerce-form__label-for-checkbox woocommerce-form-login__rememberme">
|
37 |
+
<input class="woocommerce-form__input woocommerce-form__input-checkbox" name="rememberme" type="checkbox" id="rememberme" value="forever" /> <span><?php esc_html_e( 'Remember me', 'woolentor' ); ?></span>
|
38 |
+
</label>
|
39 |
+
<?php wp_nonce_field( 'woocommerce-login', 'woocommerce-login-nonce' ); ?>
|
40 |
+
<input type="hidden" name="redirect" value="<?php echo esc_url( $redirect ); ?>" />
|
41 |
+
<button type="submit" class="woocommerce-button button woocommerce-form-login__submit" name="login" value="<?php esc_attr_e( 'Login', 'woolentor' ); ?>"><?php esc_html_e( 'Login', 'woolentor' ); ?></button>
|
42 |
+
</p>
|
43 |
+
<p class="form-row lost_password">
|
44 |
+
<a href="<?php echo esc_url( wp_lostpassword_url() ); ?>"><?php esc_html_e( 'Lost your password?', 'woolentor' ); ?></a>
|
45 |
+
</p>
|
46 |
+
|
47 |
+
<div class="clear"></div>
|
48 |
+
|
49 |
+
<?php do_action( 'woocommerce_login_form_end' ); ?>
|
50 |
+
|
51 |
+
</form>
|
includes/modules/shopify-like-checkout/templates/form-shipping.php
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Checkout shipping information form
|
4 |
+
*/
|
5 |
+
|
6 |
+
defined( 'ABSPATH' ) || exit;
|
7 |
+
?>
|
8 |
+
<div class="woocommerce-shipping-fields">
|
9 |
+
<?php if ( true === WC()->cart->needs_shipping_address() ) : ?>
|
10 |
+
|
11 |
+
<h3 id="ship-to-different-address">
|
12 |
+
<label class="woocommerce-form__label woocommerce-form__label-for-checkbox checkbox">
|
13 |
+
<input id="ship-to-different-address-checkbox" class="woocommerce-form__input woocommerce-form__input-checkbox input-checkbox" <?php checked( apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 ), 1 ); ?> type="checkbox" name="ship_to_different_address" value="1" /> <span><?php esc_html_e( 'Ship to a different address?', 'woolentor' ); ?></span>
|
14 |
+
</label>
|
15 |
+
</h3>
|
16 |
+
|
17 |
+
<div class="shipping_address">
|
18 |
+
|
19 |
+
<?php do_action( 'woocommerce_before_checkout_shipping_form', $checkout ); ?>
|
20 |
+
|
21 |
+
<div class="woocommerce-shipping-fields__field-wrapper">
|
22 |
+
<?php
|
23 |
+
$fields = $checkout->get_checkout_fields( 'shipping' );
|
24 |
+
|
25 |
+
foreach ( $fields as $key => $field ) {
|
26 |
+
Woolentor_Shopify_Like_Checkout::woocommerce_form_field( $key, $field, $checkout->get_value( $key ) );
|
27 |
+
}
|
28 |
+
?>
|
29 |
+
</div>
|
30 |
+
|
31 |
+
<?php do_action( 'woocommerce_after_checkout_shipping_form', $checkout ); ?>
|
32 |
+
|
33 |
+
</div>
|
34 |
+
|
35 |
+
<?php endif; ?>
|
36 |
+
</div>
|
37 |
+
<div class="woocommerce-additional-fields">
|
38 |
+
<?php do_action( 'woocommerce_before_order_notes', $checkout ); ?>
|
39 |
+
|
40 |
+
<?php if ( apply_filters( 'woocommerce_enable_order_notes_field', 'yes' === get_option( 'woocommerce_enable_order_comments', 'yes' ) ) ) : ?>
|
41 |
+
|
42 |
+
<?php if ( ! WC()->cart->needs_shipping() || wc_ship_to_billing_address_only() ) : ?>
|
43 |
+
|
44 |
+
<h3><?php esc_html_e( 'Additional information', 'woolentor' ); ?></h3>
|
45 |
+
|
46 |
+
<?php endif; ?>
|
47 |
+
|
48 |
+
<div class="woocommerce-additional-fields__field-wrapper">
|
49 |
+
<?php foreach ( $checkout->get_checkout_fields( 'order' ) as $key => $field ) : ?>
|
50 |
+
<?php Woolentor_Shopify_Like_Checkout::woocommerce_form_field( $key, $field, $checkout->get_value( $key ) ); ?>
|
51 |
+
<?php endforeach; ?>
|
52 |
+
</div>
|
53 |
+
|
54 |
+
<?php endif; ?>
|
55 |
+
|
56 |
+
<?php do_action( 'woocommerce_after_order_notes', $checkout ); ?>
|
57 |
+
</div>
|
includes/modules/shopify-like-checkout/templates/payment.php
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Checkout Payment Section
|
4 |
+
*/
|
5 |
+
|
6 |
+
defined( 'ABSPATH' ) || exit;
|
7 |
+
|
8 |
+
if ( ! is_ajax() ) {
|
9 |
+
do_action( 'woocommerce_review_order_before_payment' );
|
10 |
+
}
|
11 |
+
?>
|
12 |
+
<div id="payment" class="woocommerce-checkout-payment">
|
13 |
+
<?php if ( WC()->cart->needs_payment() ) : ?>
|
14 |
+
<ul class="wc_payment_methods payment_methods methods">
|
15 |
+
<?php
|
16 |
+
if ( ! empty( $available_gateways ) ) {
|
17 |
+
foreach ( $available_gateways as $gateway ) {
|
18 |
+
wc_get_template( 'checkout/payment-method.php', array( 'gateway' => $gateway ) );
|
19 |
+
}
|
20 |
+
} else {
|
21 |
+
echo '<li class="woocommerce-notice woocommerce-notice--info woocommerce-info">' . apply_filters( 'woocommerce_no_available_payment_methods_message', WC()->customer->get_billing_country() ? esc_html__( 'Sorry, it seems that there are no available payment methods for your state. Please contact us if you require assistance or wish to make alternate arrangements.', 'woolentor' ) : esc_html__( 'Please fill in your details above to see available payment methods.', 'woolentor' ) ) . '</li>'; // @codingStandardsIgnoreLine
|
22 |
+
}
|
23 |
+
?>
|
24 |
+
</ul>
|
25 |
+
<?php endif; ?>
|
26 |
+
</div>
|
27 |
+
<?php
|
28 |
+
if ( ! is_ajax() ) {
|
29 |
+
do_action( 'woocommerce_review_order_after_payment' );
|
30 |
+
}
|
includes/modules/shopify-like-checkout/templates/review-order.php
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Review order table
|
4 |
+
*/
|
5 |
+
|
6 |
+
defined( 'ABSPATH' ) || exit;
|
7 |
+
?>
|
8 |
+
<table class="shop_table woocommerce-checkout-review-order-table">
|
9 |
+
<tfoot>
|
10 |
+
|
11 |
+
<tr class="cart-subtotal">
|
12 |
+
<th><?php esc_html_e( 'Subtotal', 'woolentor' ); ?></th>
|
13 |
+
<td><?php wc_cart_totals_subtotal_html(); ?></td>
|
14 |
+
</tr>
|
15 |
+
|
16 |
+
<?php foreach ( WC()->cart->get_coupons() as $code => $coupon ) : ?>
|
17 |
+
<tr class="cart-discount coupon-<?php echo esc_attr( sanitize_title( $code ) ); ?>">
|
18 |
+
<th><?php wc_cart_totals_coupon_label( $coupon ); ?></th>
|
19 |
+
<td><?php wc_cart_totals_coupon_html( $coupon ); ?></td>
|
20 |
+
</tr>
|
21 |
+
<?php endforeach; ?>
|
22 |
+
|
23 |
+
<?php if ( WC()->cart->needs_shipping() && WC()->cart->show_shipping() ) : ?>
|
24 |
+
|
25 |
+
<tr class="woolentor-shipping-cost">
|
26 |
+
<th><?php echo esc_html('Shipping', 'woolentor') ?></th>
|
27 |
+
<td><span class="woolentor-order-reivew-shipping-cost"><?php echo wc_price( Woolentor_Shopify_Like_Checkout::get_cart_totals_shipping_cost() ) ?></span></td>
|
28 |
+
</tr>
|
29 |
+
|
30 |
+
<?php endif; ?>
|
31 |
+
|
32 |
+
<?php foreach ( WC()->cart->get_fees() as $fee ) : ?>
|
33 |
+
<tr class="fee">
|
34 |
+
<th><?php echo esc_html( $fee->name ); ?></th>
|
35 |
+
<td><?php wc_cart_totals_fee_html( $fee ); ?></td>
|
36 |
+
</tr>
|
37 |
+
<?php endforeach; ?>
|
38 |
+
|
39 |
+
<?php if ( wc_tax_enabled() && ! WC()->cart->display_prices_including_tax() ) : ?>
|
40 |
+
<?php if ( 'itemized' === get_option( 'woocommerce_tax_total_display' ) ) : ?>
|
41 |
+
<?php foreach ( WC()->cart->get_tax_totals() as $code => $tax ) : // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited ?>
|
42 |
+
<tr class="tax-rate tax-rate-<?php echo esc_attr( sanitize_title( $code ) ); ?>">
|
43 |
+
<th><?php echo esc_html( $tax->label ); ?></th>
|
44 |
+
<td><?php echo wp_kses_post( $tax->formatted_amount ); ?></td>
|
45 |
+
</tr>
|
46 |
+
<?php endforeach; ?>
|
47 |
+
<?php else : ?>
|
48 |
+
<tr class="tax-total">
|
49 |
+
<th><?php echo esc_html( WC()->countries->tax_or_vat() ); ?></th>
|
50 |
+
<td><?php wc_cart_totals_taxes_total_html(); ?></td>
|
51 |
+
</tr>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php endif; ?>
|
54 |
+
|
55 |
+
<?php do_action( 'woocommerce_review_order_before_order_total' ); ?>
|
56 |
+
|
57 |
+
<tr class="order-total">
|
58 |
+
<th><?php esc_html_e( 'Total', 'woolentor' ); ?></th>
|
59 |
+
<td><?php wc_cart_totals_order_total_html(); ?></td>
|
60 |
+
</tr>
|
61 |
+
|
62 |
+
<?php do_action( 'woocommerce_review_order_after_order_total' ); ?>
|
63 |
+
|
64 |
+
</tfoot>
|
65 |
+
</table>
|
languages/woolentor.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: WooLentor - WooCommerce Elementor Addons + Builder\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date: 2021-11-
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
@@ -17,7 +17,7 @@ msgstr ""
|
|
17 |
"X-Domain: woolentor"
|
18 |
|
19 |
#. 1: Plugin name 2: PHP 3: Required PHP version
|
20 |
-
#: includes/base.php:
|
21 |
#, php-format
|
22 |
msgid "\"%1$s\" requires \"%2$s\" version %3$s or greater."
|
23 |
msgstr ""
|
@@ -28,35 +28,35 @@ msgstr ""
|
|
28 |
msgid "#"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: includes/base.php:
|
32 |
#, php-format
|
33 |
msgid ""
|
34 |
"%1$sWooLentor Addons for Elementor%2$s requires %1$s\"Elementor\"%2$s plugin "
|
35 |
"to be active. Please activate Elementor to continue."
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: includes/base.php:
|
39 |
#, php-format
|
40 |
msgid ""
|
41 |
"%1$sWooLentor Addons for Elementor%2$s requires %1$s\"Elementor\"%2$s plugin "
|
42 |
"to be installed and activated. Please install Elementor to continue."
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: includes/base.php:
|
46 |
#, php-format
|
47 |
msgid ""
|
48 |
"%1$sWooLentor Addons for Elementor%2$s requires %1$s\"WooCommerce\"%2$s "
|
49 |
"plugin to be active. Please activate WooCommerce to continue."
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: includes/base.php:
|
53 |
#, php-format
|
54 |
msgid ""
|
55 |
"%1$sWooLentor Addons for Elementor%2$s requires %1$s\"WooCommerce\"%2$s "
|
56 |
"plugin to be installed and activated. Please install WooCommerce to continue."
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: classes/class.default_data.php:
|
60 |
#, php-format
|
61 |
msgid "%s customer review"
|
62 |
msgid_plural "%s customer reviews"
|
@@ -72,23 +72,23 @@ msgstr ""
|
|
72 |
msgid "1"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: includes/admin/include/admin_fields.php:
|
76 |
msgid "1 day"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: includes/admin/include/admin_fields.php:
|
80 |
-
#: includes/admin/include/admin_fields.php:
|
81 |
-
#: includes/admin/include/admin_fields.php:
|
82 |
msgid "1 minute"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: includes/admin/include/admin_fields.php:
|
86 |
msgid "1 week"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: includes/admin/include/admin_fields.php:
|
90 |
-
#: includes/admin/include/admin_fields.php:
|
91 |
-
#: includes/admin/include/admin_fields.php:
|
92 |
msgid "1.5 minutes"
|
93 |
msgstr ""
|
94 |
|
@@ -96,13 +96,13 @@ msgstr ""
|
|
96 |
msgid "10 Custom Shop Page Templates"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: includes/admin/include/admin_fields.php:
|
100 |
msgid "10 days"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: includes/admin/include/admin_fields.php:
|
104 |
-
#: includes/admin/include/admin_fields.php:
|
105 |
-
#: includes/admin/include/admin_fields.php:
|
106 |
msgid "10 seconds"
|
107 |
msgstr ""
|
108 |
|
@@ -120,29 +120,29 @@ msgstr ""
|
|
120 |
msgid "2"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: includes/admin/include/admin_fields.php:
|
124 |
msgid "2 days"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: includes/admin/include/admin_fields.php:
|
128 |
-
#: includes/admin/include/admin_fields.php:
|
129 |
-
#: includes/admin/include/admin_fields.php:
|
130 |
msgid "2 minutes"
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: includes/admin/include/admin_fields.php:
|
134 |
-
#: includes/admin/include/admin_fields.php:
|
135 |
-
#: includes/admin/include/admin_fields.php:
|
136 |
msgid "2 seconds"
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: includes/admin/include/admin_fields.php:
|
140 |
msgid "2 weeks"
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: includes/admin/include/admin_fields.php:
|
144 |
-
#: includes/admin/include/admin_fields.php:
|
145 |
-
#: includes/admin/include/admin_fields.php:
|
146 |
msgid "20 seconds"
|
147 |
msgstr ""
|
148 |
|
@@ -150,21 +150,21 @@ msgstr ""
|
|
150 |
msgid "3"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: includes/admin/include/admin_fields.php:
|
154 |
msgid "3 days"
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: includes/admin/include/admin_fields.php:
|
158 |
msgid "3 seconds"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: includes/admin/include/admin_fields.php:
|
162 |
msgid "3 weeks"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: includes/admin/include/admin_fields.php:
|
166 |
-
#: includes/admin/include/admin_fields.php:
|
167 |
-
#: includes/admin/include/admin_fields.php:
|
168 |
msgid "30 seconds"
|
169 |
msgstr ""
|
170 |
|
@@ -172,23 +172,23 @@ msgstr ""
|
|
172 |
msgid "4"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: includes/admin/include/admin_fields.php:
|
176 |
msgid "4 days"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: includes/admin/include/admin_fields.php:
|
180 |
-
#: includes/admin/include/admin_fields.php:
|
181 |
-
#: includes/admin/include/admin_fields.php:
|
182 |
msgid "4 seconds"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: includes/admin/include/admin_fields.php:
|
186 |
msgid "4 weeks"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: includes/admin/include/admin_fields.php:
|
190 |
-
#: includes/admin/include/admin_fields.php:
|
191 |
-
#: includes/admin/include/admin_fields.php:
|
192 |
msgid "40 seconds"
|
193 |
msgstr ""
|
194 |
|
@@ -196,7 +196,7 @@ msgstr ""
|
|
196 |
msgid "5"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: includes/admin/include/admin_fields.php:
|
200 |
msgid "5 days"
|
201 |
msgstr ""
|
202 |
|
@@ -204,19 +204,19 @@ msgstr ""
|
|
204 |
msgid "5 Premium WooCommerce Themes included. (Save $200)"
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: includes/admin/include/admin_fields.php:
|
208 |
-
#: includes/admin/include/admin_fields.php:
|
209 |
-
#: includes/admin/include/admin_fields.php:
|
210 |
msgid "5 seconds"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: includes/admin/include/admin_fields.php:
|
214 |
msgid "5 weeks"
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: includes/admin/include/admin_fields.php:
|
218 |
-
#: includes/admin/include/admin_fields.php:
|
219 |
-
#: includes/admin/include/admin_fields.php:
|
220 |
msgid "50 seconds"
|
221 |
msgstr ""
|
222 |
|
@@ -224,8 +224,8 @@ msgstr ""
|
|
224 |
msgid "50%"
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: includes/admin/include/admin_fields.php:
|
228 |
-
#: includes/admin/include/admin_fields.php:
|
229 |
msgid "550px"
|
230 |
msgstr ""
|
231 |
|
@@ -233,27 +233,27 @@ msgstr ""
|
|
233 |
msgid "6"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: includes/admin/include/admin_fields.php:
|
237 |
msgid "6 days"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: includes/admin/include/admin_fields.php:
|
241 |
-
#: includes/admin/include/admin_fields.php:
|
242 |
-
#: includes/admin/include/admin_fields.php:
|
243 |
msgid "6 seconds"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: includes/admin/include/admin_fields.php:
|
247 |
msgid "6 weeks"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: includes/admin/include/admin_fields.php:
|
251 |
-
#: includes/admin/include/admin_fields.php:
|
252 |
-
#: includes/admin/include/admin_fields.php:
|
253 |
msgid "7 seconds"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: includes/admin/include/admin_fields.php:
|
257 |
msgid "7 weeks"
|
258 |
msgstr ""
|
259 |
|
@@ -261,24 +261,24 @@ msgstr ""
|
|
261 |
msgid "76 Elementor Elements"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: includes/admin/include/admin_fields.php:
|
265 |
-
#: includes/admin/include/admin_fields.php:
|
266 |
-
#: includes/admin/include/admin_fields.php:
|
267 |
msgid "8 seconds"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: includes/admin/include/admin_fields.php:
|
271 |
msgid "8 weeks"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: includes/admin/include/admin_fields.php:
|
275 |
-
#: includes/admin/include/admin_fields.php:
|
276 |
-
#: includes/admin/include/admin_fields.php:
|
277 |
msgid "9 seconds"
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: includes/admin/include/admin_fields.php:
|
281 |
-
#: includes/admin/include/admin_fields.php:
|
282 |
msgid "90%"
|
283 |
msgstr ""
|
284 |
|
@@ -303,31 +303,31 @@ msgstr ""
|
|
303 |
|
304 |
#: includes/admin/include/template-library.php:259
|
305 |
#: includes/admin/include/template-library.php:311
|
306 |
-
#: includes/admin/include/class.extension-manager.php:
|
307 |
-
#: includes/admin/include/class.extension-manager.php:
|
308 |
msgid "Activate"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: includes/base.php:
|
312 |
msgid "Activate Elementor"
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: includes/base.php:
|
316 |
msgid "Activate WooCommerce"
|
317 |
msgstr ""
|
318 |
|
319 |
#: includes/admin/include/template-library.php:270
|
320 |
#: includes/admin/include/template-library.php:322
|
321 |
-
#: includes/admin/include/class.extension-manager.php:
|
322 |
-
#: includes/admin/include/class.extension-manager.php:
|
323 |
msgid "Activated"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: classes/class.assest_management.php:
|
327 |
msgid "Activating.."
|
328 |
msgstr ""
|
329 |
|
330 |
-
#: classes/class.assest_management.php:
|
331 |
#: includes/addons/wl_faq.php:756 includes/addons/wb_product_data_tab.php:140
|
332 |
#: includes/addons/wb_archive_product.php:755
|
333 |
msgid "Active"
|
@@ -343,8 +343,16 @@ msgstr ""
|
|
343 |
msgid "Add ID Manually"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: includes/admin/include/
|
347 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
348 |
msgid "Add to Cart"
|
349 |
msgstr ""
|
350 |
|
@@ -352,7 +360,7 @@ msgstr ""
|
|
352 |
msgid "Add To Cart Button"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: includes/admin/include/admin_fields.php:
|
356 |
msgid "Add to Cart Button"
|
357 |
msgstr ""
|
358 |
|
@@ -364,13 +372,13 @@ msgstr ""
|
|
364 |
|
365 |
#: includes/addons/product_image_accordion.php:185
|
366 |
#: includes/addons/product_accordion.php:205
|
367 |
-
#: includes/admin/include/admin_fields.php:
|
368 |
-
#: includes/admin/include/admin_fields.php:
|
369 |
msgid "Add to Cart Button Text"
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: includes/helper-function.php:
|
373 |
-
#: includes/helper-function.php:
|
374 |
#: woolentor-blocks/includes/helper-functions.php:312
|
375 |
#: woolentor-blocks/includes/helper-functions.php:313
|
376 |
#: woolentor-blocks/includes/helper-functions.php:329
|
@@ -381,12 +389,13 @@ msgstr ""
|
|
381 |
msgid "Add Youtube / Vimeo URL"
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: includes/admin/include/admin_fields.php:
|
385 |
-
#: includes/admin/include/admin_fields.php:
|
386 |
msgid "Additional Information"
|
387 |
msgstr ""
|
388 |
|
389 |
-
#: includes/admin/include/admin_fields.php:
|
|
|
390 |
msgid "Additional information"
|
391 |
msgstr ""
|
392 |
|
@@ -401,11 +410,11 @@ msgstr ""
|
|
401 |
msgid "admin@domain.com"
|
402 |
msgstr ""
|
403 |
|
404 |
-
#: includes/admin/include/admin_fields.php:
|
405 |
msgid "Ads Banner"
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: includes/admin/include/admin_fields.php:
|
409 |
msgid "Advance Product Image"
|
410 |
msgstr ""
|
411 |
|
@@ -417,15 +426,15 @@ msgstr ""
|
|
417 |
msgid "After Title"
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: includes/admin/include/admin_fields.php:
|
421 |
msgid "AJAX Add to Cart on Single Product page"
|
422 |
msgstr ""
|
423 |
|
424 |
-
#: includes/admin/include/admin_fields.php:
|
425 |
msgid "AJAX Search Widget"
|
426 |
msgstr ""
|
427 |
|
428 |
-
#: includes/admin/include/admin_fields.php:
|
429 |
msgid "Ajax Search Widget"
|
430 |
msgstr ""
|
431 |
|
@@ -452,9 +461,14 @@ msgid "ALL"
|
|
452 |
msgstr ""
|
453 |
|
454 |
#: includes/addons/wb_wc_multicurrency.php:54
|
|
|
455 |
msgid "All"
|
456 |
msgstr ""
|
457 |
|
|
|
|
|
|
|
|
|
458 |
#: includes/admin/include/templates_list.php:40
|
459 |
msgid "All Builders"
|
460 |
msgstr ""
|
@@ -463,7 +477,11 @@ msgstr ""
|
|
463 |
msgid "All Categories"
|
464 |
msgstr ""
|
465 |
|
466 |
-
#:
|
|
|
|
|
|
|
|
|
467 |
msgid "All Items have been Loaded"
|
468 |
msgstr ""
|
469 |
|
@@ -471,15 +489,19 @@ msgstr ""
|
|
471 |
msgid "Allow Order"
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: includes/
|
|
|
|
|
|
|
|
|
475 |
msgid "Animation"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: includes/admin/include/admin_fields.php:
|
479 |
msgid "Animation In"
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: includes/admin/include/admin_fields.php:
|
483 |
msgid "Animation Out"
|
484 |
msgstr ""
|
485 |
|
@@ -487,7 +509,20 @@ msgstr ""
|
|
487 |
msgid "Anna Miller"
|
488 |
msgstr ""
|
489 |
|
490 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
491 |
msgid "Archive List View Action Button"
|
492 |
msgstr ""
|
493 |
|
@@ -495,6 +530,10 @@ msgstr ""
|
|
495 |
msgid "Archive Product"
|
496 |
msgstr ""
|
497 |
|
|
|
|
|
|
|
|
|
498 |
#: includes/addons/wl_product_horizontal_filter.php:291
|
499 |
#: includes/addons/wl_onepage_slider.php:156
|
500 |
#: includes/addons/wl_store_features.php:127
|
@@ -531,6 +570,10 @@ msgstr ""
|
|
531 |
msgid "Ascending"
|
532 |
msgstr ""
|
533 |
|
|
|
|
|
|
|
|
|
534 |
#: includes/addons/wl_testimonial.php:363 includes/addons/product_tabs.php:503
|
535 |
#: includes/addons/wl_category_grid.php:329
|
536 |
msgid "Autoplay animation speed"
|
@@ -545,7 +588,7 @@ msgstr ""
|
|
545 |
msgid "Awaiting category image"
|
546 |
msgstr ""
|
547 |
|
548 |
-
#: classes/class.default_data.php:
|
549 |
msgid "Awaiting product image"
|
550 |
msgstr ""
|
551 |
|
@@ -628,7 +671,7 @@ msgstr ""
|
|
628 |
#: includes/addons/wl_category_grid.php:715
|
629 |
#: includes/addons/wl_category_grid.php:789
|
630 |
#: includes/addons/wl_category_grid.php:889
|
631 |
-
#: includes/admin/include/admin_fields.php:
|
632 |
msgid "Background Color"
|
633 |
msgstr ""
|
634 |
|
@@ -638,7 +681,7 @@ msgstr ""
|
|
638 |
msgid "Background Type"
|
639 |
msgstr ""
|
640 |
|
641 |
-
#: includes/admin/include/admin_fields.php:
|
642 |
msgid "Badge color"
|
643 |
msgstr ""
|
644 |
|
@@ -688,6 +731,14 @@ msgstr ""
|
|
688 |
msgid "Best Selling Products"
|
689 |
msgstr ""
|
690 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
691 |
#: includes/addons/wl_onepage_slider.php:469
|
692 |
msgid "Boho Dreams"
|
693 |
msgstr ""
|
@@ -832,11 +883,15 @@ msgstr ""
|
|
832 |
msgid "Bottom"
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: includes/admin/include/admin_fields.php:
|
836 |
msgid "Bottom Left"
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: includes/admin/include/admin_fields.php:
|
|
|
|
|
|
|
|
|
840 |
msgid "Bottom Right"
|
841 |
msgstr ""
|
842 |
|
@@ -845,48 +900,48 @@ msgstr ""
|
|
845 |
msgid "Bottom Space"
|
846 |
msgstr ""
|
847 |
|
848 |
-
#: includes/admin/include/admin_fields.php:
|
849 |
-
#: includes/admin/include/admin_fields.php:
|
850 |
msgid "bounce"
|
851 |
msgstr ""
|
852 |
|
853 |
-
#: includes/admin/include/admin_fields.php:
|
854 |
msgid "bounceIn"
|
855 |
msgstr ""
|
856 |
|
857 |
-
#: includes/admin/include/admin_fields.php:
|
858 |
msgid "bounceInDown"
|
859 |
msgstr ""
|
860 |
|
861 |
-
#: includes/admin/include/admin_fields.php:
|
862 |
msgid "bounceInLeft"
|
863 |
msgstr ""
|
864 |
|
865 |
-
#: includes/admin/include/admin_fields.php:
|
866 |
msgid "bounceInRight"
|
867 |
msgstr ""
|
868 |
|
869 |
-
#: includes/admin/include/admin_fields.php:
|
870 |
msgid "bounceInUp"
|
871 |
msgstr ""
|
872 |
|
873 |
-
#: includes/admin/include/admin_fields.php:
|
874 |
msgid "bounceOut"
|
875 |
msgstr ""
|
876 |
|
877 |
-
#: includes/admin/include/admin_fields.php:
|
878 |
msgid "bounceOutDown"
|
879 |
msgstr ""
|
880 |
|
881 |
-
#: includes/admin/include/admin_fields.php:
|
882 |
msgid "bounceOutLeft"
|
883 |
msgstr ""
|
884 |
|
885 |
-
#: includes/admin/include/admin_fields.php:
|
886 |
msgid "bounceOutRight"
|
887 |
msgstr ""
|
888 |
|
889 |
-
#: includes/admin/include/admin_fields.php:
|
890 |
msgid "bounceOutUp"
|
891 |
msgstr ""
|
892 |
|
@@ -916,7 +971,7 @@ msgstr ""
|
|
916 |
msgid "Brand Link"
|
917 |
msgstr ""
|
918 |
|
919 |
-
#: includes/addons/wl_brand.php:47 includes/admin/include/admin_fields.php:
|
920 |
#: woolentor-blocks/src/blocks/brand-logo/index.php:68
|
921 |
msgid "Brand Logo"
|
922 |
msgstr ""
|
@@ -938,11 +993,11 @@ msgstr ""
|
|
938 |
msgid "Button"
|
939 |
msgstr ""
|
940 |
|
941 |
-
#: includes/admin/include/admin_fields.php:
|
942 |
msgid "Button color"
|
943 |
msgstr ""
|
944 |
|
945 |
-
#: includes/admin/include/admin_fields.php:
|
946 |
msgid "Button hover color"
|
947 |
msgstr ""
|
948 |
|
@@ -968,10 +1023,10 @@ msgstr ""
|
|
968 |
msgid "Buy"
|
969 |
msgstr ""
|
970 |
|
971 |
-
#: classes/class.assest_management.php:
|
972 |
#: includes/admin/include/template-library.php:278
|
973 |
#: includes/admin/include/template-library.php:330
|
974 |
-
#: includes/admin/include/class.extension-manager.php:
|
975 |
#: includes/admin/templates/dashboard-popup.php:14
|
976 |
msgid "Buy Now"
|
977 |
msgstr ""
|
@@ -990,10 +1045,14 @@ msgstr ""
|
|
990 |
msgid "Call For Price"
|
991 |
msgstr ""
|
992 |
|
993 |
-
#: includes/admin/include/admin_fields.php:
|
994 |
msgid "Call for Price"
|
995 |
msgstr ""
|
996 |
|
|
|
|
|
|
|
|
|
997 |
#: includes/addons/wb_customer_review.php:78
|
998 |
#: includes/addons/wb_customer_review.php:139
|
999 |
msgid "Carolina Monntoya"
|
@@ -1008,7 +1067,7 @@ msgstr ""
|
|
1008 |
msgid "Cart Button Color"
|
1009 |
msgstr ""
|
1010 |
|
1011 |
-
#: includes/admin/include/admin_fields.php:
|
1012 |
msgid "Cart Page Template"
|
1013 |
msgstr ""
|
1014 |
|
@@ -1018,7 +1077,7 @@ msgid ""
|
|
1018 |
"layout template"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#: includes/admin/include/admin_fields.php:
|
1022 |
msgid "Category"
|
1023 |
msgstr ""
|
1024 |
|
@@ -1026,7 +1085,7 @@ msgstr ""
|
|
1026 |
msgid "Category Color"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
-
#: includes/admin/include/admin_fields.php:
|
1030 |
msgid "Category color"
|
1031 |
msgstr ""
|
1032 |
|
@@ -1035,7 +1094,7 @@ msgid "Category Display Type"
|
|
1035 |
msgstr ""
|
1036 |
|
1037 |
#: includes/addons/wl_category_grid.php:40
|
1038 |
-
#: includes/admin/include/admin_fields.php:
|
1039 |
msgid "Category Grid"
|
1040 |
msgstr ""
|
1041 |
|
@@ -1043,16 +1102,16 @@ msgstr ""
|
|
1043 |
msgid "Category Hover Color"
|
1044 |
msgstr ""
|
1045 |
|
1046 |
-
#: includes/admin/include/admin_fields.php:
|
1047 |
msgid "Category hover color"
|
1048 |
msgstr ""
|
1049 |
|
1050 |
#: includes/addons/wl_category.php:43
|
1051 |
-
#: includes/admin/include/admin_fields.php:
|
1052 |
msgid "Category List"
|
1053 |
msgstr ""
|
1054 |
|
1055 |
-
#: classes/class.default_data.php:
|
1056 |
msgid "Category:"
|
1057 |
msgid_plural "Categories:"
|
1058 |
msgstr[0] ""
|
@@ -1077,83 +1136,92 @@ msgstr[1] ""
|
|
1077 |
msgid "Center"
|
1078 |
msgstr ""
|
1079 |
|
1080 |
-
#: includes/
|
|
|
|
|
|
|
|
|
1081 |
msgid "Change the Add to Cart button text for the Product details page."
|
1082 |
msgstr ""
|
1083 |
|
1084 |
-
#: includes/admin/include/admin_fields.php:
|
1085 |
msgid "Change the Add to Cart button text for the Shop page."
|
1086 |
msgstr ""
|
1087 |
|
1088 |
-
#: includes/admin/include/admin_fields.php:
|
1089 |
msgid "Change the label for the Place order field."
|
1090 |
msgstr ""
|
1091 |
|
1092 |
-
#: includes/admin/include/admin_fields.php:
|
1093 |
msgid "Change the tab title for the product additional information"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
-
#: includes/admin/include/admin_fields.php:
|
1097 |
msgid "Change the tab title for the product description."
|
1098 |
msgstr ""
|
1099 |
|
1100 |
-
#: includes/admin/include/admin_fields.php:
|
1101 |
msgid "Change the tab title for the product review"
|
1102 |
msgstr ""
|
1103 |
|
1104 |
-
#: includes/admin/include/admin_fields.php:
|
1105 |
msgid "Checkout Additional.."
|
1106 |
msgstr ""
|
1107 |
|
1108 |
-
#: includes/admin/include/admin_fields.php:
|
1109 |
msgid "Checkout Billing Form"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
-
#: includes/admin/include/admin_fields.php:
|
1113 |
msgid "Checkout Co.. Form"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
-
#: includes/admin/include/admin_fields.php:
|
1117 |
msgid "Checkout lo.. Form"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
-
#: includes/admin/include/admin_fields.php:
|
1121 |
msgid "Checkout Order Review"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
-
#: includes/admin/include/admin_fields.php:
|
1125 |
msgid "Checkout Page"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
-
#: includes/admin/include/admin_fields.php:
|
1129 |
msgid "Checkout Page Template"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
-
#: includes/admin/include/admin_fields.php:
|
1133 |
msgid "Checkout Payment"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
-
#: includes/admin/include/admin_fields.php:
|
1137 |
msgid "Checkout Shipping Form"
|
1138 |
msgstr ""
|
1139 |
|
1140 |
-
#: includes/
|
|
|
|
|
|
|
|
|
1141 |
msgid "Choose entrance animation."
|
1142 |
msgstr ""
|
1143 |
|
1144 |
-
#: includes/admin/include/admin_fields.php:
|
1145 |
msgid "Choose exit animation."
|
1146 |
msgstr ""
|
1147 |
|
1148 |
#: includes/addons/wl_brand.php:80
|
|
|
1149 |
msgid "Choose Image"
|
1150 |
msgstr ""
|
1151 |
|
1152 |
-
#: includes/admin/include/admin_fields.php:
|
1153 |
msgid "Choose Template"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
-
#: includes/admin/include/admin_fields.php:
|
1157 |
msgid "Choose template for manual notification."
|
1158 |
msgstr ""
|
1159 |
|
@@ -1286,18 +1354,23 @@ msgstr ""
|
|
1286 |
msgid "Columns"
|
1287 |
msgstr ""
|
1288 |
|
1289 |
-
#: includes/helper-function.php:
|
1290 |
#: includes/addons/product_image_accordion.php:146
|
1291 |
#: includes/addons/product_accordion.php:167
|
1292 |
#: includes/addons/product_curvy.php:202 includes/addons/product_tabs.php:166
|
1293 |
msgid "Comment count"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
-
#: includes/helper-function.php:
|
1297 |
#: woolentor-blocks/includes/helper-functions.php:329
|
1298 |
msgid "Compare"
|
1299 |
msgstr ""
|
1300 |
|
|
|
|
|
|
|
|
|
|
|
1301 |
#: includes/addons/wl_faq.php:41 includes/addons/wl_faq.php:78
|
1302 |
#: includes/addons/wl_faq.php:540 includes/addons/wl_onepage_slider.php:62
|
1303 |
#: includes/addons/wb_product_data_tab.php:208
|
@@ -1316,14 +1389,14 @@ msgstr ""
|
|
1316 |
msgid "Content Area"
|
1317 |
msgstr ""
|
1318 |
|
1319 |
-
#: includes/admin/include/admin_fields.php:
|
1320 |
msgid "Content area background"
|
1321 |
msgstr ""
|
1322 |
|
1323 |
#: includes/addons/product_accordion.php:461
|
1324 |
#: includes/addons/product_curvy.php:596 includes/addons/product_curvy.php:610
|
1325 |
#: includes/addons/wb_ever_compare_table.php:134
|
1326 |
-
#: includes/admin/include/admin_fields.php:
|
1327 |
msgid "Content Color"
|
1328 |
msgstr ""
|
1329 |
|
@@ -1352,27 +1425,44 @@ msgstr ""
|
|
1352 |
msgid "Content Settings"
|
1353 |
msgstr ""
|
1354 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1355 |
#: includes/addons/wl_category_grid.php:610
|
1356 |
msgid "Count"
|
1357 |
msgstr ""
|
1358 |
|
1359 |
-
#: includes/admin/include/admin_fields.php:
|
1360 |
msgid "Counter Timer"
|
1361 |
msgstr ""
|
1362 |
|
1363 |
-
#: includes/admin/include/admin_fields.php:
|
1364 |
msgid "Counter timer color"
|
1365 |
msgstr ""
|
1366 |
|
|
|
|
|
|
|
|
|
|
|
1367 |
#: includes/admin/include/templates_list.php:16
|
1368 |
msgid "Create a new page from this template"
|
1369 |
msgstr ""
|
1370 |
|
1371 |
-
#: includes/
|
|
|
|
|
|
|
|
|
1372 |
msgid "Cross Icon Color"
|
1373 |
msgstr ""
|
1374 |
|
1375 |
-
#: includes/admin/include/admin_fields.php:
|
1376 |
msgid "Cross Sell ..( Custom )"
|
1377 |
msgstr ""
|
1378 |
|
@@ -1403,19 +1493,19 @@ msgstr ""
|
|
1403 |
msgid "Customer"
|
1404 |
msgstr ""
|
1405 |
|
1406 |
-
#: includes/admin/include/admin_fields.php:
|
1407 |
msgid "Customer Review"
|
1408 |
msgstr ""
|
1409 |
|
1410 |
-
#: includes/admin/admin-init.php:
|
1411 |
msgid "Data Fetch successfully!"
|
1412 |
msgstr ""
|
1413 |
|
1414 |
-
#: includes/admin/admin-init.php:
|
1415 |
msgid "Data Saved successfully!"
|
1416 |
msgstr ""
|
1417 |
|
1418 |
-
#: includes/helper-function.php:
|
1419 |
#: includes/addons/wb_archive_product.php:127
|
1420 |
#: includes/addons/product_image_accordion.php:143
|
1421 |
#: includes/addons/wb_product_related.php:77
|
@@ -1425,32 +1515,33 @@ msgid "Date"
|
|
1425 |
msgstr ""
|
1426 |
|
1427 |
#: includes/addons/wl_brand.php:58
|
|
|
1428 |
msgid "Default"
|
1429 |
msgstr ""
|
1430 |
|
1431 |
-
#: includes/admin/include/admin_fields.php:
|
1432 |
-
#: includes/admin/include/admin_fields.php:
|
1433 |
-
#: includes/admin/include/admin_fields.php:
|
1434 |
-
#: includes/admin/include/admin_fields.php:
|
1435 |
-
#: includes/admin/include/admin_fields.php:
|
1436 |
-
#: includes/admin/include/admin_fields.php:
|
1437 |
-
#: includes/admin/include/admin_fields.php:
|
1438 |
-
#: includes/admin/include/admin_fields.php:
|
1439 |
-
#: includes/admin/include/admin_fields.php:
|
1440 |
-
#: includes/admin/include/admin_fields.php:
|
1441 |
-
#: includes/admin/include/admin_fields.php:
|
1442 |
-
#: includes/admin/include/admin_fields.php:
|
1443 |
-
#: includes/admin/include/admin_fields.php:
|
1444 |
-
#: includes/admin/include/admin_fields.php:
|
1445 |
-
#: includes/admin/include/admin_fields.php:
|
1446 |
-
#: includes/admin/include/admin_fields.php:
|
1447 |
-
#: includes/admin/include/admin_fields.php:
|
1448 |
-
#: includes/admin/include/admin_fields.php:
|
1449 |
-
#: includes/admin/include/admin_fields.php:
|
1450 |
msgid "Default Color for universal layout."
|
1451 |
msgstr ""
|
1452 |
|
1453 |
-
#: includes/helper-function.php:
|
1454 |
msgid "Default sorting"
|
1455 |
msgstr ""
|
1456 |
|
@@ -1477,16 +1568,16 @@ msgstr ""
|
|
1477 |
#: includes/addons/special_day_offer.php:104
|
1478 |
#: includes/addons/special_day_offer.php:443
|
1479 |
#: includes/addons/wb_image_marker.php:361
|
1480 |
-
#: includes/admin/include/admin_fields.php:
|
1481 |
-
#: includes/admin/include/admin_fields.php:
|
1482 |
msgid "Description"
|
1483 |
msgstr ""
|
1484 |
|
1485 |
-
#: includes/admin/include/admin_fields.php:
|
1486 |
msgid "Description color"
|
1487 |
msgstr ""
|
1488 |
|
1489 |
-
#: classes/class.default_data.php:
|
1490 |
msgid "Description dose not set this product."
|
1491 |
msgstr ""
|
1492 |
|
@@ -1510,11 +1601,11 @@ msgstr ""
|
|
1510 |
msgid "Disable all"
|
1511 |
msgstr ""
|
1512 |
|
1513 |
-
#: includes/helper-function.php:
|
1514 |
msgid "div"
|
1515 |
msgstr ""
|
1516 |
|
1517 |
-
#: includes/admin/include/admin_fields.php:
|
1518 |
msgid "Do not show purchases older than."
|
1519 |
msgstr ""
|
1520 |
|
@@ -1522,7 +1613,8 @@ msgstr ""
|
|
1522 |
msgid "Do you want to individual icon ?"
|
1523 |
msgstr ""
|
1524 |
|
1525 |
-
#: includes/admin/include/admin_field-manager.php:
|
|
|
1526 |
#: includes/admin/templates/dashboard-welcome.php:19
|
1527 |
msgid "Documentation"
|
1528 |
msgstr ""
|
@@ -1532,9 +1624,18 @@ msgid "Edit Page"
|
|
1532 |
msgstr ""
|
1533 |
|
1534 |
#: includes/admin/include/template-library.php:198
|
|
|
1535 |
msgid "Edit Template"
|
1536 |
msgstr ""
|
1537 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1538 |
#: includes/addons/wl_testimonial.php:199
|
1539 |
#: includes/addons/wb_customer_review.php:187
|
1540 |
#: includes/addons/wl_category_grid.php:196
|
@@ -1545,6 +1646,10 @@ msgstr ""
|
|
1545 |
msgid "Element Information"
|
1546 |
msgstr ""
|
1547 |
|
|
|
|
|
|
|
|
|
1548 |
#: includes/admin/include/templates_list.php:41
|
1549 |
msgid "Elementor"
|
1550 |
msgstr ""
|
@@ -1553,11 +1658,11 @@ msgstr ""
|
|
1553 |
msgid "Elementor Template"
|
1554 |
msgstr ""
|
1555 |
|
1556 |
-
#: includes/admin/include/admin_fields.php:
|
1557 |
msgid "Elements"
|
1558 |
msgstr ""
|
1559 |
|
1560 |
-
#: includes/admin/include/class.extension-manager.php:
|
1561 |
msgid ""
|
1562 |
"Email Candy is an outstanding WordPress plugin that allows you to customize "
|
1563 |
"the default WooCommerce email templates and give a professional look to your "
|
@@ -1566,7 +1671,7 @@ msgid ""
|
|
1566 |
"will come in handy."
|
1567 |
msgstr ""
|
1568 |
|
1569 |
-
#: includes/admin/include/class.extension-manager.php:
|
1570 |
msgid "Email Candy Pro - Email customizer for WooCommerce"
|
1571 |
msgstr ""
|
1572 |
|
@@ -1574,11 +1679,11 @@ msgstr ""
|
|
1574 |
msgid "Email Field Placeholder"
|
1575 |
msgstr ""
|
1576 |
|
1577 |
-
#: includes/admin/include/admin_fields.php:
|
1578 |
msgid "Empty Cart Message"
|
1579 |
msgstr ""
|
1580 |
|
1581 |
-
#: includes/admin/include/admin_fields.php:
|
1582 |
msgid "Empty Cart Re.. Button"
|
1583 |
msgstr ""
|
1584 |
|
@@ -1588,7 +1693,7 @@ msgstr ""
|
|
1588 |
msgid "Empty Rating Color"
|
1589 |
msgstr ""
|
1590 |
|
1591 |
-
#: includes/admin/include/admin_fields.php:
|
1592 |
msgid "Empty rating color"
|
1593 |
msgstr ""
|
1594 |
|
@@ -1601,19 +1706,13 @@ msgstr ""
|
|
1601 |
msgid "Empty table text"
|
1602 |
msgstr ""
|
1603 |
|
1604 |
-
#: includes/admin/include/admin_fields.php:
|
1605 |
-
|
1606 |
-
|
1607 |
-
|
1608 |
-
#: includes/admin/include/admin_fields.php:790
|
1609 |
-
msgid "Enable / Disable Rename Label"
|
1610 |
-
msgstr ""
|
1611 |
-
|
1612 |
-
#: includes/admin/include/admin_fields.php:878
|
1613 |
-
msgid "Enable / Disable Sales Notification"
|
1614 |
msgstr ""
|
1615 |
|
1616 |
-
#: includes/admin/include/admin_fields.php:
|
1617 |
msgid "Enable / Disable Template Builder"
|
1618 |
msgstr ""
|
1619 |
|
@@ -1626,6 +1725,18 @@ msgstr ""
|
|
1626 |
msgid "Enable all"
|
1627 |
msgstr ""
|
1628 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1629 |
#: includes/custom-metabox.php:26
|
1630 |
msgid "Enter your preferred SaleFlash text. Ex: New / Free etc"
|
1631 |
msgstr ""
|
@@ -1639,7 +1750,7 @@ msgstr ""
|
|
1639 |
msgid "Even Heading Background"
|
1640 |
msgstr ""
|
1641 |
|
1642 |
-
#: includes/admin/include/admin_fields.php:
|
1643 |
msgid "Ever Compare"
|
1644 |
msgstr ""
|
1645 |
|
@@ -1653,7 +1764,7 @@ msgstr ""
|
|
1653 |
msgid "Extension"
|
1654 |
msgstr ""
|
1655 |
|
1656 |
-
#: includes/admin/include/admin_fields.php:
|
1657 |
msgid "Extensions"
|
1658 |
msgstr ""
|
1659 |
|
@@ -1661,79 +1772,79 @@ msgstr ""
|
|
1661 |
msgid "Extra Option"
|
1662 |
msgstr ""
|
1663 |
|
1664 |
-
#: includes/admin/include/admin_fields.php:
|
1665 |
msgid "fadeIn"
|
1666 |
msgstr ""
|
1667 |
|
1668 |
-
#: includes/admin/include/admin_fields.php:
|
1669 |
msgid "fadeInDown"
|
1670 |
msgstr ""
|
1671 |
|
1672 |
-
#: includes/admin/include/admin_fields.php:
|
1673 |
msgid "fadeInDownBig"
|
1674 |
msgstr ""
|
1675 |
|
1676 |
-
#: includes/admin/include/admin_fields.php:
|
1677 |
msgid "fadeInLeft"
|
1678 |
msgstr ""
|
1679 |
|
1680 |
-
#: includes/admin/include/admin_fields.php:
|
1681 |
msgid "fadeInLeftBig"
|
1682 |
msgstr ""
|
1683 |
|
1684 |
-
#: includes/admin/include/admin_fields.php:
|
1685 |
msgid "fadeInRight"
|
1686 |
msgstr ""
|
1687 |
|
1688 |
-
#: includes/admin/include/admin_fields.php:
|
1689 |
msgid "fadeInRightBig"
|
1690 |
msgstr ""
|
1691 |
|
1692 |
-
#: includes/admin/include/admin_fields.php:
|
1693 |
msgid "fadeInUp"
|
1694 |
msgstr ""
|
1695 |
|
1696 |
-
#: includes/admin/include/admin_fields.php:
|
1697 |
msgid "fadeInUpBig"
|
1698 |
msgstr ""
|
1699 |
|
1700 |
-
#: includes/admin/include/admin_fields.php:
|
1701 |
msgid "fadeOut"
|
1702 |
msgstr ""
|
1703 |
|
1704 |
-
#: includes/admin/include/admin_fields.php:
|
1705 |
msgid "fadeOutDown"
|
1706 |
msgstr ""
|
1707 |
|
1708 |
-
#: includes/admin/include/admin_fields.php:
|
1709 |
msgid "fadeOutDownBig"
|
1710 |
msgstr ""
|
1711 |
|
1712 |
-
#: includes/admin/include/admin_fields.php:
|
1713 |
msgid "fadeOutLeft"
|
1714 |
msgstr ""
|
1715 |
|
1716 |
-
#: includes/admin/include/admin_fields.php:
|
1717 |
msgid "fadeOutLeftBig"
|
1718 |
msgstr ""
|
1719 |
|
1720 |
-
#: includes/admin/include/admin_fields.php:
|
1721 |
msgid "fadeOutRight"
|
1722 |
msgstr ""
|
1723 |
|
1724 |
-
#: includes/admin/include/admin_fields.php:
|
1725 |
msgid "fadeOutRightBig"
|
1726 |
msgstr ""
|
1727 |
|
1728 |
-
#: includes/admin/include/admin_fields.php:
|
1729 |
msgid "fadeOutUp"
|
1730 |
msgstr ""
|
1731 |
|
1732 |
-
#: includes/admin/include/admin_fields.php:
|
1733 |
msgid "fadeOutUpBig"
|
1734 |
msgstr ""
|
1735 |
|
1736 |
-
#: includes/admin/include/admin_fields.php:
|
1737 |
msgid "Faq"
|
1738 |
msgstr ""
|
1739 |
|
@@ -1741,10 +1852,14 @@ msgstr ""
|
|
1741 |
msgid "FAQ Title"
|
1742 |
msgstr ""
|
1743 |
|
1744 |
-
#: includes/helper-function.php:
|
1745 |
msgid "Featured"
|
1746 |
msgstr ""
|
1747 |
|
|
|
|
|
|
|
|
|
1748 |
#: includes/addons/product_image_accordion.php:63
|
1749 |
#: includes/addons/product_accordion.php:84
|
1750 |
#: includes/addons/product_curvy.php:119 includes/addons/product_tabs.php:80
|
@@ -1772,6 +1887,10 @@ msgstr ""
|
|
1772 |
msgid "Filter By"
|
1773 |
msgstr ""
|
1774 |
|
|
|
|
|
|
|
|
|
1775 |
#: includes/addons/wl_product_horizontal_filter.php:108
|
1776 |
msgid "Filter List"
|
1777 |
msgstr ""
|
@@ -1794,7 +1913,7 @@ msgstr ""
|
|
1794 |
msgid "Filter Type"
|
1795 |
msgstr ""
|
1796 |
|
1797 |
-
#: includes/admin/include/admin_fields.php:
|
1798 |
msgid "First loading time"
|
1799 |
msgstr ""
|
1800 |
|
@@ -1808,29 +1927,29 @@ msgstr ""
|
|
1808 |
msgid "Flag only"
|
1809 |
msgstr ""
|
1810 |
|
1811 |
-
#: includes/admin/include/admin_fields.php:
|
1812 |
-
#: includes/admin/include/admin_fields.php:
|
1813 |
msgid "flash"
|
1814 |
msgstr ""
|
1815 |
|
1816 |
-
#: includes/admin/include/admin_fields.php:
|
1817 |
-
#: includes/admin/include/admin_fields.php:
|
1818 |
msgid "flip"
|
1819 |
msgstr ""
|
1820 |
|
1821 |
-
#: includes/admin/include/admin_fields.php:
|
1822 |
msgid "flipInX"
|
1823 |
msgstr ""
|
1824 |
|
1825 |
-
#: includes/admin/include/admin_fields.php:
|
1826 |
msgid "flipInY"
|
1827 |
msgstr ""
|
1828 |
|
1829 |
-
#: includes/admin/include/admin_fields.php:
|
1830 |
msgid "flipOutX"
|
1831 |
msgstr ""
|
1832 |
|
1833 |
-
#: includes/admin/include/admin_fields.php:
|
1834 |
msgid "flipOutY"
|
1835 |
msgstr ""
|
1836 |
|
@@ -1855,7 +1974,7 @@ msgstr ""
|
|
1855 |
msgid "Free"
|
1856 |
msgstr ""
|
1857 |
|
1858 |
-
#: includes/admin/include/class.extension-manager.php:
|
1859 |
msgid "Free extension"
|
1860 |
msgstr ""
|
1861 |
|
@@ -1863,7 +1982,7 @@ msgstr ""
|
|
1863 |
msgid "Free shipping"
|
1864 |
msgstr ""
|
1865 |
|
1866 |
-
#: includes/admin/include/admin_fields.php:
|
1867 |
msgid "General"
|
1868 |
msgstr ""
|
1869 |
|
@@ -1883,7 +2002,7 @@ msgstr ""
|
|
1883 |
msgid "Get Support"
|
1884 |
msgstr ""
|
1885 |
|
1886 |
-
#: includes/base.php:
|
1887 |
#: includes/addons/wl_brand.php:225 includes/addons/wl_brand.php:368
|
1888 |
msgid "Go Pro"
|
1889 |
msgstr ""
|
@@ -1892,27 +2011,27 @@ msgstr ""
|
|
1892 |
msgid "Gradient Color"
|
1893 |
msgstr ""
|
1894 |
|
1895 |
-
#: includes/helper-function.php:
|
1896 |
msgid "H1"
|
1897 |
msgstr ""
|
1898 |
|
1899 |
-
#: includes/helper-function.php:
|
1900 |
msgid "H2"
|
1901 |
msgstr ""
|
1902 |
|
1903 |
-
#: includes/helper-function.php:
|
1904 |
msgid "H3"
|
1905 |
msgstr ""
|
1906 |
|
1907 |
-
#: includes/helper-function.php:
|
1908 |
msgid "H4"
|
1909 |
msgstr ""
|
1910 |
|
1911 |
-
#: includes/helper-function.php:
|
1912 |
msgid "H5"
|
1913 |
msgstr ""
|
1914 |
|
1915 |
-
#: includes/helper-function.php:
|
1916 |
msgid "H6"
|
1917 |
msgstr ""
|
1918 |
|
@@ -1951,7 +2070,7 @@ msgstr ""
|
|
1951 |
#: includes/addons/wb_just_table.php:71
|
1952 |
#: includes/addons/wb_wishsuite_table.php:72
|
1953 |
#: includes/addons/wb_ever_compare_table.php:72
|
1954 |
-
#: includes/admin/include/admin_fields.php:
|
1955 |
msgid "Heading Color"
|
1956 |
msgstr ""
|
1957 |
|
@@ -1963,8 +2082,8 @@ msgstr ""
|
|
1963 |
msgid "Heading Typography"
|
1964 |
msgstr ""
|
1965 |
|
1966 |
-
#: includes/admin/include/admin_fields.php:
|
1967 |
-
#: includes/admin/include/admin_fields.php:
|
1968 |
msgid "heartBeat"
|
1969 |
msgstr ""
|
1970 |
|
@@ -1979,7 +2098,7 @@ msgstr ""
|
|
1979 |
msgid "Helping Screenshot"
|
1980 |
msgstr ""
|
1981 |
|
1982 |
-
#: includes/helper-function.php:
|
1983 |
msgid "here"
|
1984 |
msgstr ""
|
1985 |
|
@@ -2020,8 +2139,8 @@ msgstr ""
|
|
2020 |
msgid "Hierarchical"
|
2021 |
msgstr ""
|
2022 |
|
2023 |
-
#: includes/admin/include/admin_fields.php:
|
2024 |
-
#: includes/admin/include/admin_fields.php:
|
2025 |
msgid "hinge"
|
2026 |
msgstr ""
|
2027 |
|
@@ -2082,7 +2201,7 @@ msgstr ""
|
|
2082 |
msgid "Hover Color"
|
2083 |
msgstr ""
|
2084 |
|
2085 |
-
#: includes/admin/include/admin_fields.php:
|
2086 |
msgid "How long to keep the notification."
|
2087 |
msgstr ""
|
2088 |
|
@@ -2140,13 +2259,19 @@ msgstr ""
|
|
2140 |
msgid "Icon Width"
|
2141 |
msgstr ""
|
2142 |
|
2143 |
-
#: includes/helper-function.php:
|
2144 |
#: includes/addons/product_image_accordion.php:142
|
2145 |
#: includes/addons/product_accordion.php:163
|
2146 |
#: includes/addons/product_curvy.php:198 includes/addons/product_tabs.php:162
|
2147 |
msgid "ID"
|
2148 |
msgstr ""
|
2149 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2150 |
#: includes/admin/templates/dashboard-sidebar.php:26
|
2151 |
msgid ""
|
2152 |
"If you’re loving how our product has helped your business, please let the "
|
@@ -2172,19 +2297,19 @@ msgstr ""
|
|
2172 |
msgid "Image Area Border Color"
|
2173 |
msgstr ""
|
2174 |
|
2175 |
-
#: includes/admin/include/admin_fields.php:
|
2176 |
msgid "Image Left"
|
2177 |
msgstr ""
|
2178 |
|
2179 |
-
#: includes/admin/include/admin_fields.php:
|
2180 |
msgid "Image Marker"
|
2181 |
msgstr ""
|
2182 |
|
2183 |
-
#: includes/admin/include/admin_fields.php:
|
2184 |
msgid "Image Position"
|
2185 |
msgstr ""
|
2186 |
|
2187 |
-
#: includes/admin/include/admin_fields.php:
|
2188 |
msgid "Image Right"
|
2189 |
msgstr ""
|
2190 |
|
@@ -2192,26 +2317,34 @@ msgstr ""
|
|
2192 |
msgid "Image/Icon"
|
2193 |
msgstr ""
|
2194 |
|
2195 |
-
#: classes/class.assest_management.php:
|
2196 |
msgid "Import"
|
2197 |
msgstr ""
|
2198 |
|
|
|
|
|
|
|
|
|
2199 |
#: includes/admin/include/templates_list.php:13
|
2200 |
msgid "Import template to your Library"
|
2201 |
msgstr ""
|
2202 |
|
2203 |
-
#: classes/class.assest_management.php:
|
2204 |
msgid "Import to Library"
|
2205 |
msgstr ""
|
2206 |
|
2207 |
-
#: classes/class.assest_management.php:
|
2208 |
msgid "Import to Page"
|
2209 |
msgstr ""
|
2210 |
|
2211 |
-
#: classes/class.assest_management.php:
|
2212 |
msgid "in this package"
|
2213 |
msgstr ""
|
2214 |
|
|
|
|
|
|
|
|
|
2215 |
#: includes/addons/wb_product_suggest_price.php:192
|
2216 |
msgid "Input"
|
2217 |
msgstr ""
|
@@ -2225,25 +2358,35 @@ msgstr ""
|
|
2225 |
msgid "Input Field Placeholder"
|
2226 |
msgstr ""
|
2227 |
|
2228 |
-
#: includes/
|
|
|
|
|
|
|
|
|
2229 |
msgid "Install Elementor"
|
2230 |
msgstr ""
|
2231 |
|
2232 |
#: includes/admin/include/template-library.php:265
|
2233 |
#: includes/admin/include/template-library.php:317
|
2234 |
-
#: includes/admin/include/class.extension-manager.php:
|
2235 |
-
#: includes/admin/include/class.extension-manager.php:
|
2236 |
msgid "Install Now"
|
2237 |
msgstr ""
|
2238 |
|
2239 |
-
#: includes/base.php:
|
2240 |
msgid "Install WooCommerce"
|
2241 |
msgstr ""
|
2242 |
|
2243 |
-
#: classes/class.assest_management.php:
|
2244 |
msgid "Installing.."
|
2245 |
msgstr ""
|
2246 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2247 |
#: includes/addons/wl_faq.php:255 includes/addons/wl_testimonial.php:471
|
2248 |
#: includes/addons/wb_archive_product.php:171
|
2249 |
msgid "Item"
|
@@ -2257,12 +2400,12 @@ msgstr ""
|
|
2257 |
msgid "Item Spacing"
|
2258 |
msgstr ""
|
2259 |
|
2260 |
-
#: includes/admin/include/admin_fields.php:
|
2261 |
msgid "jackInTheBox"
|
2262 |
msgstr ""
|
2263 |
|
2264 |
-
#: includes/admin/include/admin_fields.php:
|
2265 |
-
#: includes/admin/include/admin_fields.php:
|
2266 |
msgid "jello"
|
2267 |
msgstr ""
|
2268 |
|
@@ -2278,15 +2421,15 @@ msgid "Justified"
|
|
2278 |
msgstr ""
|
2279 |
|
2280 |
#: includes/addons/wb_just_table.php:44
|
2281 |
-
#: includes/admin/include/admin_fields.php:
|
2282 |
msgid "JustTable"
|
2283 |
msgstr ""
|
2284 |
|
2285 |
-
#: includes/admin/include/class.extension-manager.php:
|
2286 |
msgid "JustTables"
|
2287 |
msgstr ""
|
2288 |
|
2289 |
-
#: includes/admin/include/class.extension-manager.php:
|
2290 |
msgid ""
|
2291 |
"JustTables is an incredible WordPress plugin that lets you showcase all your "
|
2292 |
"WooCommerce products in a sortable and filterable table view. It allows your "
|
@@ -2296,7 +2439,7 @@ msgid ""
|
|
2296 |
"sale on your online store."
|
2297 |
msgstr ""
|
2298 |
|
2299 |
-
#: includes/admin/include/class.extension-manager.php:
|
2300 |
msgid "JustTables Pro"
|
2301 |
msgstr ""
|
2302 |
|
@@ -2372,15 +2515,15 @@ msgstr ""
|
|
2372 |
msgid "Left"
|
2373 |
msgstr ""
|
2374 |
|
2375 |
-
#: includes/admin/include/admin_fields.php:
|
2376 |
msgid "lightSpeedIn"
|
2377 |
msgstr ""
|
2378 |
|
2379 |
-
#: includes/admin/include/admin_fields.php:
|
2380 |
msgid "lightSpeedOut"
|
2381 |
msgstr ""
|
2382 |
|
2383 |
-
#: includes/admin/include/admin_fields.php:
|
2384 |
msgid "Limit"
|
2385 |
msgstr ""
|
2386 |
|
@@ -2401,30 +2544,42 @@ msgstr ""
|
|
2401 |
msgid "List Item"
|
2402 |
msgstr ""
|
2403 |
|
2404 |
-
#: includes/admin/include/admin_fields.php:
|
2405 |
msgid "List View Button background color"
|
2406 |
msgstr ""
|
2407 |
|
2408 |
-
#: includes/admin/include/admin_fields.php:
|
2409 |
msgid "List View Button color"
|
2410 |
msgstr ""
|
2411 |
|
2412 |
-
#: includes/admin/include/admin_fields.php:
|
2413 |
msgid "List View Button hover background color"
|
2414 |
msgstr ""
|
2415 |
|
2416 |
-
#: includes/admin/include/admin_fields.php:
|
2417 |
msgid "List View Button Hover color"
|
2418 |
msgstr ""
|
2419 |
|
2420 |
-
#: includes/admin/include/admin_fields.php:
|
2421 |
msgid "Load Products in Elementor Addons"
|
2422 |
msgstr ""
|
2423 |
|
2424 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2425 |
msgid "Login Form"
|
2426 |
msgstr ""
|
2427 |
|
|
|
|
|
|
|
|
|
2428 |
#: includes/addons/wb_customer_review.php:124
|
2429 |
#: includes/addons/wb_customer_review.php:142
|
2430 |
#: includes/addons/wb_customer_review.php:149
|
@@ -2441,10 +2596,18 @@ msgstr ""
|
|
2441 |
msgid "Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks."
|
2442 |
msgstr ""
|
2443 |
|
|
|
|
|
|
|
|
|
2444 |
#: includes/addons/wl_product_video_gallery.php:86
|
2445 |
msgid "Main Video Area"
|
2446 |
msgstr ""
|
2447 |
|
|
|
|
|
|
|
|
|
2448 |
#: includes/addons/wb_customer_review.php:147
|
2449 |
msgid "Manager"
|
2450 |
msgstr ""
|
@@ -2454,7 +2617,7 @@ msgstr ""
|
|
2454 |
msgid "Managing Director"
|
2455 |
msgstr ""
|
2456 |
|
2457 |
-
#: includes/admin/include/admin_fields.php:
|
2458 |
msgid "Manual"
|
2459 |
msgstr ""
|
2460 |
|
@@ -2582,7 +2745,7 @@ msgstr ""
|
|
2582 |
msgid "Min price"
|
2583 |
msgstr ""
|
2584 |
|
2585 |
-
#: includes/admin/include/admin_fields.php:
|
2586 |
msgid "Mini Cart"
|
2587 |
msgstr ""
|
2588 |
|
@@ -2604,29 +2767,29 @@ msgstr ""
|
|
2604 |
msgid "Mobile Resolution"
|
2605 |
msgstr ""
|
2606 |
|
2607 |
-
#: includes/admin/include/admin_fields.php:
|
2608 |
msgid "Modules"
|
2609 |
msgstr ""
|
2610 |
|
2611 |
-
#: includes/admin/include/class.extension-manager.php:
|
2612 |
-
#: includes/admin/include/class.extension-manager.php:
|
2613 |
msgid "More Details"
|
2614 |
msgstr ""
|
2615 |
|
2616 |
-
#: includes/admin/include/admin_fields.php:
|
2617 |
-
#: includes/admin/include/class.extension-manager.php:
|
2618 |
msgid "Multi Currency"
|
2619 |
msgstr ""
|
2620 |
|
2621 |
-
#: includes/admin/include/class.extension-manager.php:
|
2622 |
msgid "Multi Currency Pro for WooCommerce"
|
2623 |
msgstr ""
|
2624 |
|
2625 |
-
#: includes/admin/include/admin_fields.php:
|
2626 |
msgid "Multi Step Checkout"
|
2627 |
msgstr ""
|
2628 |
|
2629 |
-
#: includes/admin/include/class.extension-manager.php:
|
2630 |
msgid ""
|
2631 |
"Multi-Currency Pro for WooCommerce is a prominent currency switcher plugin "
|
2632 |
"for WooCommerce. This plugin allows your website or online store visitors to "
|
@@ -2641,47 +2804,47 @@ msgstr ""
|
|
2641 |
msgid "Multiple Categories"
|
2642 |
msgstr ""
|
2643 |
|
2644 |
-
#: includes/admin/include/admin_fields.php:
|
2645 |
msgid "My Account"
|
2646 |
msgstr ""
|
2647 |
|
2648 |
-
#: includes/admin/include/admin_fields.php:
|
2649 |
msgid "My Account Address"
|
2650 |
msgstr ""
|
2651 |
|
2652 |
-
#: includes/admin/include/admin_fields.php:
|
2653 |
msgid "My Account Dashboard"
|
2654 |
msgstr ""
|
2655 |
|
2656 |
-
#: includes/admin/include/admin_fields.php:
|
2657 |
msgid "My Account Download"
|
2658 |
msgstr ""
|
2659 |
|
2660 |
-
#: includes/admin/include/admin_fields.php:
|
2661 |
msgid "My Account Edit"
|
2662 |
msgstr ""
|
2663 |
|
2664 |
-
#: includes/admin/include/admin_fields.php:
|
2665 |
msgid "My Account Login page Template"
|
2666 |
msgstr ""
|
2667 |
|
2668 |
-
#: includes/admin/include/admin_fields.php:
|
2669 |
msgid "My Account Logout"
|
2670 |
msgstr ""
|
2671 |
|
2672 |
-
#: includes/admin/include/admin_fields.php:
|
2673 |
msgid "My Account Order"
|
2674 |
msgstr ""
|
2675 |
|
2676 |
-
#: includes/admin/include/admin_fields.php:
|
2677 |
msgid "My Account Page Template"
|
2678 |
msgstr ""
|
2679 |
|
2680 |
-
#: classes/class.default_data.php:
|
2681 |
msgid "N/A"
|
2682 |
msgstr ""
|
2683 |
|
2684 |
-
#: includes/helper-function.php:
|
2685 |
#: includes/addons/wl_testimonial.php:572
|
2686 |
#: includes/addons/product_image_accordion.php:144
|
2687 |
#: includes/addons/product_accordion.php:165
|
@@ -2689,6 +2852,7 @@ msgstr ""
|
|
2689 |
#: includes/addons/wb_customer_review.php:76
|
2690 |
#: includes/addons/wb_customer_review.php:388
|
2691 |
#: includes/addons/product_tabs.php:164
|
|
|
2692 |
msgid "Name"
|
2693 |
msgstr ""
|
2694 |
|
@@ -2718,12 +2882,20 @@ msgstr ""
|
|
2718 |
msgid "New"
|
2719 |
msgstr ""
|
2720 |
|
|
|
|
|
|
|
|
|
2721 |
#: includes/addons/wl_testimonial.php:200
|
2722 |
#: includes/addons/wb_customer_review.php:188
|
2723 |
#: includes/addons/wl_category_grid.php:197
|
2724 |
msgid "Nine"
|
2725 |
msgstr ""
|
2726 |
|
|
|
|
|
|
|
|
|
2727 |
#: includes/addons/wl_faq.php:110 includes/addons/wl_faq.php:189
|
2728 |
#: includes/addons/wl_faq.php:202 includes/addons/wl_testimonial.php:214
|
2729 |
#: includes/addons/wl_testimonial.php:328
|
@@ -2741,11 +2913,15 @@ msgstr ""
|
|
2741 |
msgid "No Gutters"
|
2742 |
msgstr ""
|
2743 |
|
2744 |
-
#:
|
|
|
|
|
|
|
|
|
2745 |
msgid "No Rating Available"
|
2746 |
msgstr ""
|
2747 |
|
2748 |
-
#: classes/class.default_data.php:
|
2749 |
msgid "No related products are available."
|
2750 |
msgstr ""
|
2751 |
|
@@ -2753,15 +2929,28 @@ msgstr ""
|
|
2753 |
msgid "No Results Found"
|
2754 |
msgstr ""
|
2755 |
|
2756 |
-
#: includes/helper-function.php:
|
2757 |
msgid "No saved templates found."
|
2758 |
msgstr ""
|
2759 |
|
2760 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2761 |
msgid "No upsell products are available."
|
2762 |
msgstr ""
|
2763 |
|
2764 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2765 |
#: includes/addons/product_image_accordion.php:141
|
2766 |
#: includes/addons/product_accordion.php:162
|
2767 |
#: includes/addons/product_curvy.php:197
|
@@ -2798,19 +2987,27 @@ msgstr ""
|
|
2798 |
msgid "Normal"
|
2799 |
msgstr ""
|
2800 |
|
2801 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2802 |
msgid "Nothing Found"
|
2803 |
msgstr ""
|
2804 |
|
2805 |
-
#: includes/admin/include/admin_fields.php:
|
2806 |
msgid "Notification Content Type"
|
2807 |
msgstr ""
|
2808 |
|
2809 |
-
#: includes/admin/include/admin_fields.php:
|
2810 |
msgid "Notification showing time"
|
2811 |
msgstr ""
|
2812 |
|
2813 |
-
#: includes/admin/include/admin_fields.php:
|
2814 |
msgid "Notification Timing"
|
2815 |
msgstr ""
|
2816 |
|
@@ -2851,7 +3048,7 @@ msgstr ""
|
|
2851 |
msgid "One"
|
2852 |
msgstr ""
|
2853 |
|
2854 |
-
#: includes/admin/include/admin_fields.php:
|
2855 |
msgid "One page slider"
|
2856 |
msgstr ""
|
2857 |
|
@@ -2905,7 +3102,7 @@ msgstr ""
|
|
2905 |
msgid "Order by"
|
2906 |
msgstr ""
|
2907 |
|
2908 |
-
#: includes/admin/include/admin_fields.php:
|
2909 |
msgid "Order Upto"
|
2910 |
msgstr ""
|
2911 |
|
@@ -2916,11 +3113,11 @@ msgid ""
|
|
2916 |
"the pro version."
|
2917 |
msgstr ""
|
2918 |
|
2919 |
-
#: includes/helper-function.php:
|
2920 |
msgid "Out of stock"
|
2921 |
msgstr ""
|
2922 |
|
2923 |
-
#: includes/helper-function.php:
|
2924 |
msgid "p"
|
2925 |
msgstr ""
|
2926 |
|
@@ -2982,21 +3179,35 @@ msgstr ""
|
|
2982 |
msgid "Pagination"
|
2983 |
msgstr ""
|
2984 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2985 |
#: includes/addons/wl_testimonial.php:332 includes/addons/product_tabs.php:469
|
2986 |
#: includes/addons/wl_category_grid.php:299
|
2987 |
msgid "Pause on Hover?"
|
2988 |
msgstr ""
|
2989 |
|
|
|
|
|
|
|
|
|
2990 |
#: includes/addons/wb_customer_review.php:146
|
2991 |
msgid "Peter Rose"
|
2992 |
msgstr ""
|
2993 |
|
2994 |
-
#: includes/base.php:
|
2995 |
msgid "PHP"
|
2996 |
msgstr ""
|
2997 |
|
2998 |
-
#: includes/admin/include/admin_fields.php:
|
2999 |
-
#: includes/admin/include/admin_fields.php:
|
|
|
3000 |
msgid "Place order"
|
3001 |
msgstr ""
|
3002 |
|
@@ -3033,6 +3244,10 @@ msgstr ""
|
|
3033 |
msgid "Please Enter your name"
|
3034 |
msgstr ""
|
3035 |
|
|
|
|
|
|
|
|
|
3036 |
#: includes/addons/wl_product_filter.php:940
|
3037 |
msgid "Please Select Filter Type"
|
3038 |
msgstr ""
|
@@ -3056,16 +3271,31 @@ msgstr ""
|
|
3056 |
#: includes/addons/wb_archive_product.php:891
|
3057 |
#: includes/addons/wl_category_grid.php:681
|
3058 |
#: includes/addons/wl_category_grid.php:766
|
3059 |
-
#: includes/admin/include/admin_fields.php:
|
3060 |
msgid "Position"
|
3061 |
msgstr ""
|
3062 |
|
3063 |
-
#: includes/admin/include/admin_fields.php:
|
3064 |
msgid "Post Duplicator Condition"
|
3065 |
msgstr ""
|
3066 |
|
3067 |
-
#:
|
3068 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3069 |
msgid "Preview"
|
3070 |
msgstr ""
|
3071 |
|
@@ -3076,7 +3306,7 @@ msgstr ""
|
|
3076 |
#: includes/addons/wb_archive_product.php:402
|
3077 |
#: includes/addons/wb_product_related.php:79
|
3078 |
#: includes/addons/wl_product_filter.php:40
|
3079 |
-
#: includes/admin/include/admin_fields.php:
|
3080 |
msgid "Price"
|
3081 |
msgstr ""
|
3082 |
|
@@ -3094,7 +3324,7 @@ msgstr ""
|
|
3094 |
msgid "Price color"
|
3095 |
msgstr ""
|
3096 |
|
3097 |
-
#: classes/class.default_data.php:
|
3098 |
msgid "Price does not set this product."
|
3099 |
msgstr ""
|
3100 |
|
@@ -3119,14 +3349,16 @@ msgstr ""
|
|
3119 |
msgid "Pricing"
|
3120 |
msgstr ""
|
3121 |
|
3122 |
-
#: classes/class.assest_management.php:
|
3123 |
-
#: includes/admin/include/
|
3124 |
-
#: includes/admin/include/admin_field-manager.php:
|
|
|
|
|
3125 |
#: includes/admin/include/templates_list.php:53
|
3126 |
msgid "Pro"
|
3127 |
msgstr ""
|
3128 |
|
3129 |
-
#: includes/admin/include/class.extension-manager.php:
|
3130 |
msgid "Pro extension"
|
3131 |
msgstr ""
|
3132 |
|
@@ -3134,32 +3366,32 @@ msgstr ""
|
|
3134 |
msgid "Producing Perfume From Home"
|
3135 |
msgstr ""
|
3136 |
|
3137 |
-
#: includes/helper-function.php:
|
3138 |
#: woolentor-blocks/includes/helper-functions.php:314
|
3139 |
msgid "Product Added"
|
3140 |
msgstr ""
|
3141 |
|
3142 |
-
#: includes/admin/include/admin_fields.php:
|
3143 |
msgid "Product Archive"
|
3144 |
msgstr ""
|
3145 |
|
3146 |
-
#: includes/admin/include/admin_fields.php:
|
3147 |
msgid "Product Archive Layout"
|
3148 |
msgstr ""
|
3149 |
|
3150 |
-
#: includes/admin/include/admin_fields.php:
|
3151 |
msgid "Product Archive Page Template"
|
3152 |
msgstr ""
|
3153 |
|
3154 |
-
#: includes/custom-metabox.php:7 includes/admin/include/admin_fields.php:
|
3155 |
msgid "Product Badge"
|
3156 |
msgstr ""
|
3157 |
|
3158 |
-
#: includes/admin/include/admin_fields.php:
|
3159 |
msgid "Product Cart Table"
|
3160 |
msgstr ""
|
3161 |
|
3162 |
-
#: includes/admin/include/admin_fields.php:
|
3163 |
msgid "Product Cart Total"
|
3164 |
msgstr ""
|
3165 |
|
@@ -3195,39 +3427,39 @@ msgid ""
|
|
3195 |
"the pro version"
|
3196 |
msgstr ""
|
3197 |
|
3198 |
-
#: includes/admin/include/admin_fields.php:
|
3199 |
msgid "Product Cross Sell"
|
3200 |
msgstr ""
|
3201 |
|
3202 |
-
#: includes/admin/include/admin_fields.php:
|
3203 |
msgid "Product Data Tab"
|
3204 |
msgstr ""
|
3205 |
|
3206 |
-
#: includes/admin/include/admin_fields.php:
|
3207 |
msgid "Product Description"
|
3208 |
msgstr ""
|
3209 |
|
3210 |
-
#: includes/admin/include/admin_fields.php:
|
3211 |
msgid "Product Details Page"
|
3212 |
msgstr ""
|
3213 |
|
3214 |
-
#: includes/admin/include/admin_fields.php:
|
3215 |
msgid "Product Expanding Grid"
|
3216 |
msgstr ""
|
3217 |
|
3218 |
-
#: includes/admin/include/admin_fields.php:
|
3219 |
msgid "Product Filter"
|
3220 |
msgstr ""
|
3221 |
|
3222 |
-
#: includes/admin/include/admin_fields.php:
|
3223 |
msgid "Product Filterable Grid"
|
3224 |
msgstr ""
|
3225 |
|
3226 |
-
#: includes/admin/include/admin_fields.php:
|
3227 |
msgid "Product Grid"
|
3228 |
msgstr ""
|
3229 |
|
3230 |
-
#: includes/admin/include/admin_fields.php:
|
3231 |
msgid "Product Horizontal Filter"
|
3232 |
msgstr ""
|
3233 |
|
@@ -3241,7 +3473,7 @@ msgstr ""
|
|
3241 |
msgid "Product IDs"
|
3242 |
msgstr ""
|
3243 |
|
3244 |
-
#: includes/admin/include/admin_fields.php:
|
3245 |
msgid "Product Image"
|
3246 |
msgstr ""
|
3247 |
|
@@ -3261,11 +3493,11 @@ msgstr ""
|
|
3261 |
#: includes/addons/product_image_accordion.php:103
|
3262 |
#: includes/addons/product_accordion.php:138
|
3263 |
#: includes/addons/product_curvy.php:173
|
3264 |
-
#: includes/admin/include/admin_fields.php:
|
3265 |
msgid "Product Limit"
|
3266 |
msgstr ""
|
3267 |
|
3268 |
-
#: includes/admin/include/admin_fields.php:
|
3269 |
msgid "Product Meta Info"
|
3270 |
msgstr ""
|
3271 |
|
@@ -3273,31 +3505,31 @@ msgstr ""
|
|
3273 |
msgid "Product Not Available"
|
3274 |
msgstr ""
|
3275 |
|
3276 |
-
#: includes/helper-function.php:
|
3277 |
#: includes/addons/product_image_accordion.php:407
|
3278 |
#: includes/addons/product_accordion.php:485
|
3279 |
#: includes/addons/product_curvy.php:478 includes/addons/product_tabs.php:1000
|
3280 |
-
#: includes/admin/include/admin_fields.php:
|
3281 |
msgid "Product Price"
|
3282 |
msgstr ""
|
3283 |
|
3284 |
-
#: includes/admin/include/admin_fields.php:
|
3285 |
msgid "Product Query Option"
|
3286 |
msgstr ""
|
3287 |
|
3288 |
#: includes/addons/product_image_accordion.php:470
|
3289 |
#: includes/addons/product_accordion.php:548
|
3290 |
#: includes/addons/product_curvy.php:639
|
3291 |
-
#: includes/admin/include/admin_fields.php:
|
3292 |
msgid "Product Rating"
|
3293 |
msgstr ""
|
3294 |
|
3295 |
#: includes/addons/wb_product_reviews.php:39
|
3296 |
-
#: includes/admin/include/admin_fields.php:
|
3297 |
msgid "Product Reviews"
|
3298 |
msgstr ""
|
3299 |
|
3300 |
-
#: includes/admin/include/admin_fields.php:
|
3301 |
msgid "Product Sale Schedule"
|
3302 |
msgstr ""
|
3303 |
|
@@ -3309,7 +3541,7 @@ msgstr ""
|
|
3309 |
msgid "Product Shop Page Template"
|
3310 |
msgstr ""
|
3311 |
|
3312 |
-
#: includes/admin/include/admin_fields.php:
|
3313 |
msgid "Product Short Description"
|
3314 |
msgstr ""
|
3315 |
|
@@ -3317,15 +3549,15 @@ msgstr ""
|
|
3317 |
msgid "Product Slider"
|
3318 |
msgstr ""
|
3319 |
|
3320 |
-
#: includes/admin/include/admin_fields.php:
|
3321 |
msgid "Product Social Share"
|
3322 |
msgstr ""
|
3323 |
|
3324 |
-
#: includes/admin/include/admin_fields.php:
|
3325 |
msgid "Product sticky Add to cart"
|
3326 |
msgstr ""
|
3327 |
|
3328 |
-
#: includes/admin/include/admin_fields.php:
|
3329 |
msgid "Product Stock Status"
|
3330 |
msgstr ""
|
3331 |
|
@@ -3334,7 +3566,7 @@ msgid "Product Style"
|
|
3334 |
msgstr ""
|
3335 |
|
3336 |
#: includes/addons/product_tabs.php:194
|
3337 |
-
#: includes/admin/include/admin_fields.php:
|
3338 |
msgid "Product Tab"
|
3339 |
msgstr ""
|
3340 |
|
@@ -3346,15 +3578,15 @@ msgstr ""
|
|
3346 |
#: includes/addons/product_curvy.php:406
|
3347 |
#: includes/addons/wb_product_title.php:41
|
3348 |
#: includes/addons/wb_product_title.php:60
|
3349 |
-
#: includes/admin/include/admin_fields.php:
|
3350 |
msgid "Product Title"
|
3351 |
msgstr ""
|
3352 |
|
3353 |
-
#: includes/admin/include/admin_fields.php:
|
3354 |
msgid "Product Upsell"
|
3355 |
msgstr ""
|
3356 |
|
3357 |
-
#: includes/admin/include/admin_fields.php:
|
3358 |
msgid "Product Video Gallery"
|
3359 |
msgstr ""
|
3360 |
|
@@ -3366,7 +3598,7 @@ msgid ""
|
|
3366 |
"href=\"%s\" target=\"_blank\">Purchase WooLentor Pro</a>"
|
3367 |
msgstr ""
|
3368 |
|
3369 |
-
#: includes/admin/include/admin_fields.php:
|
3370 |
msgid "Product Zoom"
|
3371 |
msgstr ""
|
3372 |
|
@@ -3378,12 +3610,12 @@ msgstr ""
|
|
3378 |
msgid "Products reviews"
|
3379 |
msgstr ""
|
3380 |
|
3381 |
-
#: includes/base.php:
|
3382 |
msgid "Promo Banner"
|
3383 |
msgstr ""
|
3384 |
|
3385 |
-
#: includes/admin/include/admin_fields.php:
|
3386 |
-
#: includes/admin/include/admin_fields.php:
|
3387 |
msgid "pulse"
|
3388 |
msgstr ""
|
3389 |
|
@@ -3392,7 +3624,7 @@ msgid "Purchase our premium version to unlock these pro features!"
|
|
3392 |
msgstr ""
|
3393 |
|
3394 |
#: includes/addons/wb_product_qr_code.php:39
|
3395 |
-
#: includes/admin/include/admin_fields.php:
|
3396 |
msgid "QR Code"
|
3397 |
msgstr ""
|
3398 |
|
@@ -3406,15 +3638,15 @@ msgstr ""
|
|
3406 |
msgid "Query Settings"
|
3407 |
msgstr ""
|
3408 |
|
3409 |
-
#: includes/admin/include/admin_fields.php:
|
3410 |
msgid "Quick Action Button"
|
3411 |
msgstr ""
|
3412 |
|
3413 |
-
#: includes/admin/include/admin_fields.php:
|
3414 |
msgid "Quick View Template"
|
3415 |
msgstr ""
|
3416 |
|
3417 |
-
#: includes/helper-function.php:
|
3418 |
#: includes/addons/wb_archive_product.php:132
|
3419 |
#: includes/addons/product_image_accordion.php:147
|
3420 |
#: includes/addons/wb_product_related.php:82
|
@@ -3439,7 +3671,7 @@ msgstr ""
|
|
3439 |
#: includes/addons/wb_archive_product.php:478
|
3440 |
#: includes/addons/wb_product_related.php:81
|
3441 |
#: includes/addons/wb_customer_review.php:557
|
3442 |
-
#: includes/admin/include/admin_fields.php:
|
3443 |
msgid "Rating"
|
3444 |
msgstr ""
|
3445 |
|
@@ -3449,11 +3681,11 @@ msgstr ""
|
|
3449 |
msgid "Rating Color"
|
3450 |
msgstr ""
|
3451 |
|
3452 |
-
#: includes/admin/include/admin_fields.php:
|
3453 |
msgid "Rating color"
|
3454 |
msgstr ""
|
3455 |
|
3456 |
-
#: classes/class.default_data.php:
|
3457 |
msgid "Rating dose not enable"
|
3458 |
msgstr ""
|
3459 |
|
@@ -3465,7 +3697,7 @@ msgstr ""
|
|
3465 |
msgid "Rating Star Color"
|
3466 |
msgstr ""
|
3467 |
|
3468 |
-
#: includes/admin/include/admin_fields.php:
|
3469 |
msgid "Real"
|
3470 |
msgstr ""
|
3471 |
|
@@ -3480,7 +3712,7 @@ msgstr ""
|
|
3480 |
msgid "Redirect Custom URL"
|
3481 |
msgstr ""
|
3482 |
|
3483 |
-
#: includes/admin/include/admin_fields.php:
|
3484 |
msgid "Registration Form"
|
3485 |
msgstr ""
|
3486 |
|
@@ -3494,20 +3726,32 @@ msgstr ""
|
|
3494 |
msgid "Regular Price Color"
|
3495 |
msgstr ""
|
3496 |
|
3497 |
-
#: includes/admin/include/admin_fields.php:
|
3498 |
msgid "Regular price color"
|
3499 |
msgstr ""
|
3500 |
|
3501 |
-
#: includes/admin/include/admin_fields.php:
|
3502 |
msgid "Related Pro..( Custom )"
|
3503 |
msgstr ""
|
3504 |
|
3505 |
#: includes/addons/wb_product_related.php:41
|
3506 |
-
#: includes/admin/include/admin_fields.php:
|
3507 |
msgid "Related Product"
|
3508 |
msgstr ""
|
3509 |
|
3510 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3511 |
msgid "Rename Label"
|
3512 |
msgstr ""
|
3513 |
|
@@ -3515,6 +3759,14 @@ msgstr ""
|
|
3515 |
msgid "Request"
|
3516 |
msgstr ""
|
3517 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3518 |
#: includes/addons/wb_customer_review.php:39
|
3519 |
msgid "Review"
|
3520 |
msgstr ""
|
@@ -3524,8 +3776,8 @@ msgstr ""
|
|
3524 |
msgid "Review Type"
|
3525 |
msgstr ""
|
3526 |
|
3527 |
-
#: includes/admin/include/admin_fields.php:
|
3528 |
-
#: includes/admin/include/admin_fields.php:
|
3529 |
msgid "Reviews"
|
3530 |
msgstr ""
|
3531 |
|
@@ -3550,51 +3802,51 @@ msgstr ""
|
|
3550 |
msgid "Right"
|
3551 |
msgstr ""
|
3552 |
|
3553 |
-
#: includes/admin/include/admin_fields.php:
|
3554 |
msgid "rollIn"
|
3555 |
msgstr ""
|
3556 |
|
3557 |
-
#: includes/admin/include/admin_fields.php:
|
3558 |
msgid "rollOut"
|
3559 |
msgstr ""
|
3560 |
|
3561 |
-
#: includes/admin/include/admin_fields.php:
|
3562 |
msgid "rotateIn"
|
3563 |
msgstr ""
|
3564 |
|
3565 |
-
#: includes/admin/include/admin_fields.php:
|
3566 |
msgid "rotateInDownLeft"
|
3567 |
msgstr ""
|
3568 |
|
3569 |
-
#: includes/admin/include/admin_fields.php:
|
3570 |
msgid "rotateInDownRight"
|
3571 |
msgstr ""
|
3572 |
|
3573 |
-
#: includes/admin/include/admin_fields.php:
|
3574 |
msgid "rotateInUpLeft"
|
3575 |
msgstr ""
|
3576 |
|
3577 |
-
#: includes/admin/include/admin_fields.php:
|
3578 |
msgid "rotateInUpRight"
|
3579 |
msgstr ""
|
3580 |
|
3581 |
-
#: includes/admin/include/admin_fields.php:
|
3582 |
msgid "rotateOut"
|
3583 |
msgstr ""
|
3584 |
|
3585 |
-
#: includes/admin/include/admin_fields.php:
|
3586 |
msgid "rotateOutDownLeft"
|
3587 |
msgstr ""
|
3588 |
|
3589 |
-
#: includes/admin/include/admin_fields.php:
|
3590 |
msgid "rotateOutDownRight"
|
3591 |
msgstr ""
|
3592 |
|
3593 |
-
#: includes/admin/include/admin_fields.php:
|
3594 |
msgid "rotateOutUpLeft"
|
3595 |
msgstr ""
|
3596 |
|
3597 |
-
#: includes/admin/include/admin_fields.php:
|
3598 |
msgid "rotateOutUpRight"
|
3599 |
msgstr ""
|
3600 |
|
@@ -3603,8 +3855,8 @@ msgstr ""
|
|
3603 |
msgid "Rows"
|
3604 |
msgstr ""
|
3605 |
|
3606 |
-
#: includes/admin/include/admin_fields.php:
|
3607 |
-
#: includes/admin/include/admin_fields.php:
|
3608 |
msgid "rubberBand"
|
3609 |
msgstr ""
|
3610 |
|
@@ -3630,7 +3882,7 @@ msgstr ""
|
|
3630 |
msgid "Sale Price Color"
|
3631 |
msgstr ""
|
3632 |
|
3633 |
-
#: includes/admin/include/admin_fields.php:
|
3634 |
msgid "Sale price color"
|
3635 |
msgstr ""
|
3636 |
|
@@ -3644,24 +3896,34 @@ msgstr ""
|
|
3644 |
msgid "Sale Tag"
|
3645 |
msgstr ""
|
3646 |
|
3647 |
-
#: includes/helper-function.php:
|
3648 |
msgid "Sale!"
|
3649 |
msgstr ""
|
3650 |
|
3651 |
-
#: includes/admin/include/admin_fields.php:
|
3652 |
msgid "Sales Notification"
|
3653 |
msgstr ""
|
3654 |
|
|
|
|
|
|
|
|
|
3655 |
#: includes/admin/templates/dashboard-element.php:38
|
3656 |
#: includes/admin/templates/dashboard-style.php:26
|
3657 |
-
#: includes/admin/templates/dashboard-renamelabel.php:20
|
3658 |
#: includes/admin/templates/dashboard-settings.php:18
|
3659 |
#: includes/admin/templates/dashboard-module-setting-popup.php:17
|
3660 |
-
#: includes/admin/templates/dashboard-sales-notification.php:20
|
3661 |
#: includes/admin/templates/dashboard-module.php:49
|
3662 |
msgid "Save Changes"
|
3663 |
msgstr ""
|
3664 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3665 |
#: includes/addons/wl_product_horizontal_filter.php:256
|
3666 |
msgid "Search Button Icon"
|
3667 |
msgstr ""
|
@@ -3680,11 +3942,15 @@ msgstr ""
|
|
3680 |
msgid "Search Products..."
|
3681 |
msgstr ""
|
3682 |
|
|
|
|
|
|
|
|
|
3683 |
#: includes/admin/include/templates_list.php:46
|
3684 |
msgid "Search.."
|
3685 |
msgstr ""
|
3686 |
|
3687 |
-
#: includes/helper-function.php:
|
3688 |
msgid "Select"
|
3689 |
msgstr ""
|
3690 |
|
@@ -3692,40 +3958,40 @@ msgstr ""
|
|
3692 |
msgid "select"
|
3693 |
msgstr ""
|
3694 |
|
3695 |
-
#: includes/admin/include/admin_fields.php:
|
3696 |
msgid "Select a template for the cart page layout"
|
3697 |
msgstr ""
|
3698 |
|
3699 |
-
#: includes/admin/include/admin_fields.php:
|
3700 |
msgid "Select a template for the Checkout page layout"
|
3701 |
msgstr ""
|
3702 |
|
3703 |
-
#: includes/admin/include/admin_fields.php:
|
3704 |
msgid "Select a template for the Login page layout"
|
3705 |
msgstr ""
|
3706 |
|
3707 |
-
#: includes/admin/include/admin_fields.php:
|
3708 |
msgid "Select a template for the My account login page layout"
|
3709 |
msgstr ""
|
3710 |
|
3711 |
-
#: includes/admin/include/admin_fields.php:
|
3712 |
msgid "Select a template for the My Account page layout"
|
3713 |
msgstr ""
|
3714 |
|
3715 |
-
#: includes/admin/include/admin_fields.php:
|
3716 |
msgid "Select a template for the My account page layout"
|
3717 |
msgstr ""
|
3718 |
|
3719 |
-
#: includes/admin/include/admin_fields.php:
|
3720 |
msgid "Select a template for the product's quick view layout"
|
3721 |
msgstr ""
|
3722 |
|
3723 |
-
#: includes/admin/include/admin_fields.php:
|
3724 |
msgid "Select a template for the Quick view layout"
|
3725 |
msgstr ""
|
3726 |
|
3727 |
-
#: includes/admin/include/admin_fields.php:
|
3728 |
-
#: includes/admin/include/admin_fields.php:
|
3729 |
msgid "Select a template for the Thank you page layout"
|
3730 |
msgstr ""
|
3731 |
|
@@ -3738,7 +4004,7 @@ msgstr ""
|
|
3738 |
msgid "Select Content Source"
|
3739 |
msgstr ""
|
3740 |
|
3741 |
-
#: includes/admin/include/admin_fields.php:
|
3742 |
msgid "Select Content Type"
|
3743 |
msgstr ""
|
3744 |
|
@@ -3746,6 +4012,10 @@ msgstr ""
|
|
3746 |
msgid "Select Layout"
|
3747 |
msgstr ""
|
3748 |
|
|
|
|
|
|
|
|
|
3749 |
#: includes/addons/product_image_accordion.php:77
|
3750 |
#: includes/addons/product_accordion.php:98
|
3751 |
#: includes/addons/product_curvy.php:133
|
@@ -3760,7 +4030,7 @@ msgstr ""
|
|
3760 |
msgid "Select Table"
|
3761 |
msgstr ""
|
3762 |
|
3763 |
-
#: includes/helper-function.php:
|
3764 |
msgid "Select Template"
|
3765 |
msgstr ""
|
3766 |
|
@@ -3768,47 +4038,55 @@ msgstr ""
|
|
3768 |
msgid "Send To Mail"
|
3769 |
msgstr ""
|
3770 |
|
3771 |
-
#: includes/admin/include/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3772 |
msgid "Set the background color of the notification."
|
3773 |
msgstr ""
|
3774 |
|
3775 |
-
#: includes/admin/include/admin_fields.php:
|
3776 |
msgid "Set the content color of the notification."
|
3777 |
msgstr ""
|
3778 |
|
3779 |
-
#: includes/admin/include/admin_fields.php:
|
3780 |
msgid "Set the cross icon color of the notification."
|
3781 |
msgstr ""
|
3782 |
|
3783 |
-
#: includes/admin/include/admin_fields.php:
|
3784 |
msgid "Set the heading color of the notification."
|
3785 |
msgstr ""
|
3786 |
|
3787 |
-
#: includes/admin/include/admin_fields.php:
|
3788 |
msgid "Set the image position of the notification."
|
3789 |
msgstr ""
|
3790 |
|
3791 |
-
#: includes/helper-function.php:
|
3792 |
msgid "Set the initial stock amount from"
|
3793 |
msgstr ""
|
3794 |
|
3795 |
-
#: includes/admin/include/admin_fields.php:
|
3796 |
msgid "Set the interval time between notifications."
|
3797 |
msgstr ""
|
3798 |
|
3799 |
-
#: includes/admin/include/admin_fields.php:
|
3800 |
msgid "Set the number of notifications to display."
|
3801 |
msgstr ""
|
3802 |
|
3803 |
-
#: includes/admin/include/admin_fields.php:
|
3804 |
msgid "Set the number of products to load in Elementor Addons"
|
3805 |
msgstr ""
|
3806 |
|
3807 |
-
#: includes/admin/include/admin_fields.php:
|
3808 |
msgid "Set the position of the Sales Notification Position on frontend."
|
3809 |
msgstr ""
|
3810 |
|
3811 |
-
#: includes/base.php:
|
3812 |
#: includes/admin/admin-init.php:97
|
3813 |
msgid "Settings"
|
3814 |
msgstr ""
|
@@ -3819,26 +4097,61 @@ msgstr ""
|
|
3819 |
msgid "Seven"
|
3820 |
msgstr ""
|
3821 |
|
3822 |
-
#: includes/admin/include/admin_fields.php:
|
3823 |
-
#: includes/admin/include/admin_fields.php:
|
3824 |
msgid "shake"
|
3825 |
msgstr ""
|
3826 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3827 |
#: includes/addons/wl_onepage_slider.php:471
|
3828 |
#: includes/addons/wl_onepage_slider.php:476
|
3829 |
#: includes/addons/wl_onepage_slider.php:481
|
3830 |
msgid "Shop now"
|
3831 |
msgstr ""
|
3832 |
|
3833 |
-
#: includes/admin/include/admin_fields.php:
|
3834 |
msgid "Shop Page"
|
3835 |
msgstr ""
|
3836 |
|
3837 |
-
#: includes/admin/include/admin_fields.php:
|
|
|
|
|
|
|
|
|
3838 |
msgid "Short Description"
|
3839 |
msgstr ""
|
3840 |
|
3841 |
-
#: classes/class.default_data.php:
|
3842 |
msgid "Short description dose not set this product."
|
3843 |
msgstr ""
|
3844 |
|
@@ -3883,11 +4196,11 @@ msgstr ""
|
|
3883 |
msgid "Show Result Count"
|
3884 |
msgstr ""
|
3885 |
|
3886 |
-
#: includes/admin/include/admin_fields.php:
|
3887 |
msgid "Show/Display all products from each order"
|
3888 |
msgstr ""
|
3889 |
|
3890 |
-
#: includes/admin/include/admin_fields.php:
|
3891 |
msgid "Side Mini Cart"
|
3892 |
msgstr ""
|
3893 |
|
@@ -3897,15 +4210,20 @@ msgid ""
|
|
3897 |
"items, and news in your inbox."
|
3898 |
msgstr ""
|
3899 |
|
|
|
|
|
|
|
|
|
|
|
3900 |
#: includes/addons/wl_category_grid.php:69
|
3901 |
msgid "Single Category"
|
3902 |
msgstr ""
|
3903 |
|
3904 |
-
#: includes/admin/include/admin_fields.php:
|
3905 |
msgid "Single Product Ajax Add To Cart"
|
3906 |
msgstr ""
|
3907 |
|
3908 |
-
#: includes/admin/include/admin_fields.php:
|
3909 |
msgid "Single Product Template"
|
3910 |
msgstr ""
|
3911 |
|
@@ -3920,39 +4238,39 @@ msgstr ""
|
|
3920 |
msgid "Size"
|
3921 |
msgstr ""
|
3922 |
|
3923 |
-
#: classes/class.default_data.php:
|
3924 |
msgid "SKU:"
|
3925 |
msgstr ""
|
3926 |
|
3927 |
-
#: includes/admin/include/admin_fields.php:
|
3928 |
msgid "slideInDown"
|
3929 |
msgstr ""
|
3930 |
|
3931 |
-
#: includes/admin/include/admin_fields.php:
|
3932 |
msgid "slideInLeft"
|
3933 |
msgstr ""
|
3934 |
|
3935 |
-
#: includes/admin/include/admin_fields.php:
|
3936 |
msgid "slideInRight"
|
3937 |
msgstr ""
|
3938 |
|
3939 |
-
#: includes/admin/include/admin_fields.php:
|
3940 |
msgid "slideInUp"
|
3941 |
msgstr ""
|
3942 |
|
3943 |
-
#: includes/admin/include/admin_fields.php:
|
3944 |
msgid "slideOutDown"
|
3945 |
msgstr ""
|
3946 |
|
3947 |
-
#: includes/admin/include/admin_fields.php:
|
3948 |
msgid "slideOutLeft"
|
3949 |
msgstr ""
|
3950 |
|
3951 |
-
#: includes/admin/include/admin_fields.php:
|
3952 |
msgid "slideOutRight"
|
3953 |
msgstr ""
|
3954 |
|
3955 |
-
#: includes/admin/include/admin_fields.php:
|
3956 |
msgid "slideOutUp"
|
3957 |
msgstr ""
|
3958 |
|
@@ -4023,15 +4341,29 @@ msgstr ""
|
|
4023 |
msgid "Slider Option"
|
4024 |
msgstr ""
|
4025 |
|
4026 |
-
#: includes/helper-function.php:
|
4027 |
msgid "Sold"
|
4028 |
msgstr ""
|
4029 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4030 |
#: includes/addons/wb_product_suggest_price.php:179
|
4031 |
#: includes/addons/wb_product_suggest_price.php:180
|
4032 |
msgid "Something is wrong! try again"
|
4033 |
msgstr ""
|
4034 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4035 |
#: includes/admin/include/template-library.php:388
|
4036 |
msgid "Sorry, you are not allowed to install themes on this site."
|
4037 |
msgstr ""
|
@@ -4043,23 +4375,23 @@ msgstr ""
|
|
4043 |
msgid "Sort By"
|
4044 |
msgstr ""
|
4045 |
|
4046 |
-
#: includes/helper-function.php:
|
4047 |
msgid "Sort by average rating"
|
4048 |
msgstr ""
|
4049 |
|
4050 |
-
#: includes/helper-function.php:
|
4051 |
msgid "Sort by latest"
|
4052 |
msgstr ""
|
4053 |
|
4054 |
-
#: includes/helper-function.php:
|
4055 |
msgid "Sort by popularity"
|
4056 |
msgstr ""
|
4057 |
|
4058 |
-
#: includes/helper-function.php:
|
4059 |
msgid "Sort by price: high to low"
|
4060 |
msgstr ""
|
4061 |
|
4062 |
-
#: includes/helper-function.php:
|
4063 |
msgid "Sort by price: low to high"
|
4064 |
msgstr ""
|
4065 |
|
@@ -4073,11 +4405,11 @@ msgstr ""
|
|
4073 |
msgid "Spacing"
|
4074 |
msgstr ""
|
4075 |
|
4076 |
-
#: includes/helper-function.php:
|
4077 |
msgid "span"
|
4078 |
msgstr ""
|
4079 |
|
4080 |
-
#: includes/admin/include/admin_fields.php:
|
4081 |
msgid "Special Day Offer"
|
4082 |
msgstr ""
|
4083 |
|
@@ -4093,15 +4425,15 @@ msgstr ""
|
|
4093 |
msgid "Start from $100"
|
4094 |
msgstr ""
|
4095 |
|
4096 |
-
#: includes/admin/include/admin_fields.php:
|
4097 |
msgid "Sticky Add to Cart on Single Product page"
|
4098 |
msgstr ""
|
4099 |
|
4100 |
-
#: classes/class.default_data.php:
|
4101 |
msgid "Stock availability does not exist this product."
|
4102 |
msgstr ""
|
4103 |
|
4104 |
-
#: includes/admin/include/admin_fields.php:
|
4105 |
msgid "Stock Progress Bar"
|
4106 |
msgstr ""
|
4107 |
|
@@ -4109,7 +4441,7 @@ msgstr ""
|
|
4109 |
msgid "Store Feature"
|
4110 |
msgstr ""
|
4111 |
|
4112 |
-
#: includes/admin/include/admin_fields.php:
|
4113 |
msgid "Store Features"
|
4114 |
msgstr ""
|
4115 |
|
@@ -4128,8 +4460,8 @@ msgstr ""
|
|
4128 |
#: includes/addons/wb_customer_review.php:46
|
4129 |
#: includes/addons/wb_product_stock.php:40 includes/addons/product_tabs.php:854
|
4130 |
#: includes/addons/add_banner.php:50 includes/addons/add_banner.php:139
|
4131 |
-
#: includes/admin/include/admin_fields.php:
|
4132 |
-
#: includes/admin/include/admin_fields.php:
|
4133 |
msgid "Style"
|
4134 |
msgstr ""
|
4135 |
|
@@ -4207,6 +4539,10 @@ msgstr ""
|
|
4207 |
msgid "Subtitle"
|
4208 |
msgstr ""
|
4209 |
|
|
|
|
|
|
|
|
|
4210 |
#: includes/addons/wb_product_suggest_price.php:165
|
4211 |
msgid "Success Message"
|
4212 |
msgstr ""
|
@@ -4214,7 +4550,7 @@ msgstr ""
|
|
4214 |
#: includes/addons/wb_product_suggest_price.php:43
|
4215 |
#: includes/addons/wb_product_suggest_price.php:63
|
4216 |
#: includes/addons/wb_product_suggest_price.php:64
|
4217 |
-
#: includes/admin/include/admin_fields.php:
|
4218 |
msgid "Suggest Price"
|
4219 |
msgstr ""
|
4220 |
|
@@ -4222,8 +4558,12 @@ msgstr ""
|
|
4222 |
msgid "Support"
|
4223 |
msgstr ""
|
4224 |
|
4225 |
-
#: includes/admin/include/
|
4226 |
-
|
|
|
|
|
|
|
|
|
4227 |
msgid "swing"
|
4228 |
msgstr ""
|
4229 |
|
@@ -4265,27 +4605,72 @@ msgstr ""
|
|
4265 |
msgid "Tablet Resolution"
|
4266 |
msgstr ""
|
4267 |
|
4268 |
-
#: includes/admin/include/admin_fields.php:
|
4269 |
-
#: includes/admin/include/admin_fields.php:
|
4270 |
msgid "tada"
|
4271 |
msgstr ""
|
4272 |
|
4273 |
-
#: classes/class.default_data.php:
|
4274 |
msgid "Tag:"
|
4275 |
msgid_plural "Tags:"
|
4276 |
msgstr[0] ""
|
4277 |
msgstr[1] ""
|
4278 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4279 |
#: includes/admin/include/template-library.php:65
|
4280 |
#: includes/admin/include/template-library.php:66
|
4281 |
msgid "Template Library"
|
4282 |
msgstr ""
|
4283 |
|
4284 |
-
#: includes/admin/include/
|
|
|
|
|
|
|
|
|
|
|
4285 |
#: includes/admin/include/templates_list.php:33
|
4286 |
msgid "Templates"
|
4287 |
msgstr ""
|
4288 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4289 |
#: includes/addons/wl_testimonial.php:201
|
4290 |
#: includes/addons/wb_customer_review.php:189
|
4291 |
#: includes/addons/wl_category_grid.php:198
|
@@ -4293,7 +4678,7 @@ msgid "Ten"
|
|
4293 |
msgstr ""
|
4294 |
|
4295 |
#: includes/addons/wl_testimonial.php:41
|
4296 |
-
#: includes/admin/include/admin_fields.php:
|
4297 |
msgid "Testimonial"
|
4298 |
msgstr ""
|
4299 |
|
@@ -4322,7 +4707,7 @@ msgstr ""
|
|
4322 |
msgid "Textarea"
|
4323 |
msgstr ""
|
4324 |
|
4325 |
-
#: includes/admin/include/admin_fields.php:
|
4326 |
msgid "Thank You Cus.. Address"
|
4327 |
msgstr ""
|
4328 |
|
@@ -4331,15 +4716,15 @@ msgstr ""
|
|
4331 |
msgid "Thank you for contacting with us"
|
4332 |
msgstr ""
|
4333 |
|
4334 |
-
#: includes/admin/include/admin_fields.php:
|
4335 |
msgid "Thank You Order"
|
4336 |
msgstr ""
|
4337 |
|
4338 |
-
#: includes/admin/include/admin_fields.php:
|
4339 |
msgid "Thank You Order Details"
|
4340 |
msgstr ""
|
4341 |
|
4342 |
-
#: includes/admin/include/admin_fields.php:
|
4343 |
msgid "Thank You Page Template"
|
4344 |
msgstr ""
|
4345 |
|
@@ -4367,6 +4752,12 @@ msgstr ""
|
|
4367 |
msgid "Theme Activated"
|
4368 |
msgstr ""
|
4369 |
|
|
|
|
|
|
|
|
|
|
|
|
|
4370 |
#: includes/addons/wl_testimonial.php:194
|
4371 |
#: includes/addons/wb_customer_review.php:182
|
4372 |
#: includes/addons/wl_category_grid.php:191
|
@@ -4386,11 +4777,11 @@ msgstr ""
|
|
4386 |
msgid "Thumbnails Position"
|
4387 |
msgstr ""
|
4388 |
|
4389 |
-
#: includes/admin/include/admin_fields.php:
|
4390 |
msgid "Time Interval"
|
4391 |
msgstr ""
|
4392 |
|
4393 |
-
#: includes/helper-function.php:
|
4394 |
#: includes/addons/wl_faq.php:338
|
4395 |
#: includes/addons/wl_product_horizontal_filter.php:193
|
4396 |
#: includes/addons/wl_product_horizontal_filter.php:366
|
@@ -4412,7 +4803,7 @@ msgstr ""
|
|
4412 |
#: includes/addons/wb_image_marker.php:300 includes/addons/product_tabs.php:165
|
4413 |
#: includes/addons/product_tabs.php:942 includes/addons/add_banner.php:147
|
4414 |
#: includes/addons/wl_category_grid.php:539
|
4415 |
-
#: includes/admin/include/admin_fields.php:
|
4416 |
msgid "Title"
|
4417 |
msgstr ""
|
4418 |
|
@@ -4428,7 +4819,7 @@ msgid "Title Color"
|
|
4428 |
msgstr ""
|
4429 |
|
4430 |
#: includes/addons/product_tabs.php:988 includes/addons/product_tabs.php:1070
|
4431 |
-
#: includes/admin/include/admin_fields.php:
|
4432 |
msgid "Title color"
|
4433 |
msgstr ""
|
4434 |
|
@@ -4437,7 +4828,7 @@ msgstr ""
|
|
4437 |
msgid "Title Hover Color"
|
4438 |
msgstr ""
|
4439 |
|
4440 |
-
#: includes/admin/include/admin_fields.php:
|
4441 |
msgid "Title hover color"
|
4442 |
msgstr ""
|
4443 |
|
@@ -4454,7 +4845,7 @@ msgstr ""
|
|
4454 |
msgid "to"
|
4455 |
msgstr ""
|
4456 |
|
4457 |
-
#: includes/admin/include/admin_fields.php:
|
4458 |
msgid "Tool tip color"
|
4459 |
msgstr ""
|
4460 |
|
@@ -4465,11 +4856,11 @@ msgstr ""
|
|
4465 |
msgid "Top"
|
4466 |
msgstr ""
|
4467 |
|
4468 |
-
#: includes/admin/include/admin_fields.php:
|
4469 |
msgid "Top Left"
|
4470 |
msgstr ""
|
4471 |
|
4472 |
-
#: includes/helper-function.php:
|
4473 |
msgid "Top Rated"
|
4474 |
msgstr ""
|
4475 |
|
@@ -4479,20 +4870,29 @@ msgstr ""
|
|
4479 |
msgid "Top Rated Products"
|
4480 |
msgstr ""
|
4481 |
|
4482 |
-
#: includes/admin/include/admin_fields.php:
|
4483 |
msgid "Top Right"
|
4484 |
msgstr ""
|
4485 |
|
4486 |
-
#: includes/helper-function.php:
|
4487 |
msgid "Top Seller"
|
4488 |
msgstr ""
|
4489 |
|
|
|
|
|
|
|
|
|
4490 |
#: includes/addons/wl_testimonial.php:193
|
4491 |
#: includes/addons/wb_customer_review.php:181
|
4492 |
#: includes/addons/wl_category_grid.php:190
|
4493 |
msgid "Two"
|
4494 |
msgstr ""
|
4495 |
|
|
|
|
|
|
|
|
|
|
|
4496 |
#: includes/addons/wl_onepage_slider.php:101
|
4497 |
msgid "Type your button link here"
|
4498 |
msgstr ""
|
@@ -4564,15 +4964,27 @@ msgstr ""
|
|
4564 |
msgid "Typography"
|
4565 |
msgstr ""
|
4566 |
|
4567 |
-
#: includes/admin/include/admin_fields.php:
|
4568 |
msgid "Universal layout style options"
|
4569 |
msgstr ""
|
4570 |
|
4571 |
-
#: includes/admin/include/admin_fields.php:
|
4572 |
msgid "Universal Product"
|
4573 |
msgstr ""
|
4574 |
|
4575 |
-
#: includes/admin/include/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4576 |
msgid "Upsell Pro..( Custom )"
|
4577 |
msgstr ""
|
4578 |
|
@@ -4580,6 +4992,15 @@ msgstr ""
|
|
4580 |
msgid "Upsells"
|
4581 |
msgstr ""
|
4582 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4583 |
#: includes/addons/special_day_offer.php:227
|
4584 |
msgid "Vertical Position"
|
4585 |
msgstr ""
|
@@ -4610,6 +5031,14 @@ msgstr ""
|
|
4610 |
msgid "Video Tutorial"
|
4611 |
msgstr ""
|
4612 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4613 |
#: includes/admin/templates/dashboard-welcome.php:31
|
4614 |
msgid ""
|
4615 |
"We create videos to make our customers comprehend the product quickly. Using "
|
@@ -4635,16 +5064,16 @@ msgstr ""
|
|
4635 |
msgid "When the product tab is off, Then working slider."
|
4636 |
msgstr ""
|
4637 |
|
4638 |
-
#: includes/admin/include/admin_fields.php:
|
4639 |
msgid "When to start notification load duration."
|
4640 |
msgstr ""
|
4641 |
|
4642 |
-
#: includes/admin/include/admin_fields.php:
|
4643 |
-
#: includes/admin/include/class.extension-manager.php:
|
4644 |
msgid "Whols"
|
4645 |
msgstr ""
|
4646 |
|
4647 |
-
#: includes/admin/include/class.extension-manager.php:
|
4648 |
msgid ""
|
4649 |
"Whols is an outstanding WordPress plugin for WooCommerce that allows store "
|
4650 |
"owners to set wholesale prices for the products of their online stores. This "
|
@@ -4655,18 +5084,18 @@ msgid ""
|
|
4655 |
"manually or automatically."
|
4656 |
msgstr ""
|
4657 |
|
4658 |
-
#: includes/admin/include/class.extension-manager.php:
|
4659 |
msgid "Whols Pro – WooCommerce Wholesale Prices"
|
4660 |
msgstr ""
|
4661 |
|
4662 |
#: includes/addons/wl_onepage_slider.php:429
|
4663 |
#: includes/addons/wl_onepage_slider.php:503
|
4664 |
#: includes/addons/special_day_offer.php:173
|
4665 |
-
#: includes/admin/include/admin_fields.php:
|
4666 |
msgid "Width"
|
4667 |
msgstr ""
|
4668 |
|
4669 |
-
#: includes/admin/include/admin_fields.php:
|
4670 |
msgid "Width for mobile"
|
4671 |
msgstr ""
|
4672 |
|
@@ -4675,7 +5104,7 @@ msgstr ""
|
|
4675 |
msgid "WishSuite"
|
4676 |
msgstr ""
|
4677 |
|
4678 |
-
#: includes/admin/include/admin_fields.php:
|
4679 |
msgid "WishSuite Table"
|
4680 |
msgstr ""
|
4681 |
|
@@ -4732,7 +5161,7 @@ msgid "WL: One page slider"
|
|
4732 |
msgstr ""
|
4733 |
|
4734 |
#: includes/addons/product_accordion.php:14
|
4735 |
-
#: includes/admin/include/admin_fields.php:
|
4736 |
msgid "WL: Product Accordion"
|
4737 |
msgstr ""
|
4738 |
|
@@ -4745,7 +5174,7 @@ msgid "WL: Product Archive Layout (Default)"
|
|
4745 |
msgstr ""
|
4746 |
|
4747 |
#: includes/addons/product_curvy.php:14
|
4748 |
-
#: includes/admin/include/admin_fields.php:
|
4749 |
msgid "WL: Product Curvy"
|
4750 |
msgstr ""
|
4751 |
|
@@ -4770,7 +5199,7 @@ msgid "WL: Product Image"
|
|
4770 |
msgstr ""
|
4771 |
|
4772 |
#: includes/addons/product_image_accordion.php:14
|
4773 |
-
#: includes/admin/include/admin_fields.php:
|
4774 |
msgid "WL: Product Image Accordion"
|
4775 |
msgstr ""
|
4776 |
|
@@ -4846,17 +5275,19 @@ msgstr ""
|
|
4846 |
msgid "WL: WishSuite Table"
|
4847 |
msgstr ""
|
4848 |
|
4849 |
-
#: includes/admin/include/admin_fields.php:
|
4850 |
-
#: includes/admin/include/admin_fields.php:
|
4851 |
msgid "wobble"
|
4852 |
msgstr ""
|
4853 |
|
4854 |
-
#: includes/admin/include/admin_fields.php:
|
4855 |
msgid "WooCommerce Template"
|
4856 |
msgstr ""
|
4857 |
|
4858 |
-
#: includes/base.php:
|
4859 |
-
#: includes/admin/admin-init.php:86
|
|
|
|
|
4860 |
msgid "WooLentor"
|
4861 |
msgstr ""
|
4862 |
|
@@ -4891,6 +5322,10 @@ msgstr ""
|
|
4891 |
msgid "WooLentor Module"
|
4892 |
msgstr ""
|
4893 |
|
|
|
|
|
|
|
|
|
4894 |
#: includes/admin/templates/dashboard-sidebar.php:31
|
4895 |
msgid "Woolentor trustpilot rating"
|
4896 |
msgstr ""
|
@@ -4920,6 +5355,10 @@ msgstr ""
|
|
4920 |
msgid "Y Position"
|
4921 |
msgstr ""
|
4922 |
|
|
|
|
|
|
|
|
|
4923 |
#: includes/addons/wl_faq.php:109 includes/addons/wl_faq.php:188
|
4924 |
#: includes/addons/wl_faq.php:201 includes/addons/wl_testimonial.php:213
|
4925 |
#: includes/addons/wl_testimonial.php:329
|
@@ -4928,6 +5367,7 @@ msgstr ""
|
|
4928 |
#: includes/addons/wl_category_grid.php:149
|
4929 |
#: includes/addons/wl_category_grid.php:210
|
4930 |
#: includes/addons/wl_category_grid.php:296
|
|
|
4931 |
msgid "Yes"
|
4932 |
msgstr ""
|
4933 |
|
@@ -4935,15 +5375,23 @@ msgstr ""
|
|
4935 |
msgid "You are not permitted to import the template."
|
4936 |
msgstr ""
|
4937 |
|
4938 |
-
#: includes/admin/include/admin_fields.php:
|
|
|
|
|
|
|
|
|
4939 |
msgid "You can enable / disable rename label from here."
|
4940 |
msgstr ""
|
4941 |
|
4942 |
-
#: includes/admin/include/admin_fields.php:
|
4943 |
msgid "You can enable / disable sales notification from here."
|
4944 |
msgstr ""
|
4945 |
|
4946 |
-
#: includes/admin/include/admin_fields.php:
|
|
|
|
|
|
|
|
|
4947 |
msgid "You can enable duplicator for individual post."
|
4948 |
msgstr ""
|
4949 |
|
@@ -4952,24 +5400,24 @@ msgstr ""
|
|
4952 |
msgid "You can enable or disable all options by one click."
|
4953 |
msgstr ""
|
4954 |
|
4955 |
-
#: includes/admin/include/admin_fields.php:
|
4956 |
msgid "You can enable/disable template builder from here."
|
4957 |
msgstr ""
|
4958 |
|
4959 |
-
#: includes/admin/include/admin_fields.php:
|
4960 |
-
#: includes/admin/include/admin_fields.php:
|
4961 |
msgid "You can handle the notificaton width."
|
4962 |
msgstr ""
|
4963 |
|
4964 |
-
#: includes/admin/include/admin_fields.php:
|
4965 |
msgid "You can handle the product limit for the Shop page"
|
4966 |
msgstr ""
|
4967 |
|
4968 |
-
#: includes/admin/include/admin_fields.php:
|
4969 |
msgid "You can select a custom template for the Product Archive page layout"
|
4970 |
msgstr ""
|
4971 |
|
4972 |
-
#: includes/admin/include/admin_fields.php:
|
4973 |
msgid "You can select a custom template for the product details page layout"
|
4974 |
msgstr ""
|
4975 |
|
@@ -4977,55 +5425,59 @@ msgstr ""
|
|
4977 |
msgid "You can select a custom template for the Shop page layout"
|
4978 |
msgstr ""
|
4979 |
|
4980 |
-
#: includes/admin/include/admin_fields.php:
|
4981 |
msgid "You can select a template for the Cart page layout"
|
4982 |
msgstr ""
|
4983 |
|
4984 |
-
#: includes/admin/include/admin_fields.php:
|
4985 |
msgid "You can select a template for the Checkout page layout"
|
4986 |
msgstr ""
|
4987 |
|
|
|
|
|
|
|
|
|
4988 |
#: includes/addons/wl_onepage_slider.php:480
|
4989 |
msgid "Zippers cotton jogger"
|
4990 |
msgstr ""
|
4991 |
|
4992 |
-
#: includes/admin/include/admin_fields.php:
|
4993 |
msgid "zoomIn"
|
4994 |
msgstr ""
|
4995 |
|
4996 |
-
#: includes/admin/include/admin_fields.php:
|
4997 |
msgid "zoomInDown"
|
4998 |
msgstr ""
|
4999 |
|
5000 |
-
#: includes/admin/include/admin_fields.php:
|
5001 |
msgid "zoomInLeft"
|
5002 |
msgstr ""
|
5003 |
|
5004 |
-
#: includes/admin/include/admin_fields.php:
|
5005 |
msgid "zoomInRight"
|
5006 |
msgstr ""
|
5007 |
|
5008 |
-
#: includes/admin/include/admin_fields.php:
|
5009 |
msgid "zoomInUp"
|
5010 |
msgstr ""
|
5011 |
|
5012 |
-
#: includes/admin/include/admin_fields.php:
|
5013 |
msgid "zoomOut"
|
5014 |
msgstr ""
|
5015 |
|
5016 |
-
#: includes/admin/include/admin_fields.php:
|
5017 |
msgid "zoomOutDown"
|
5018 |
msgstr ""
|
5019 |
|
5020 |
-
#: includes/admin/include/admin_fields.php:
|
5021 |
msgid "zoomOutLeft"
|
5022 |
msgstr ""
|
5023 |
|
5024 |
-
#: includes/admin/include/admin_fields.php:
|
5025 |
msgid "zoomOutRight"
|
5026 |
msgstr ""
|
5027 |
|
5028 |
-
#: includes/admin/include/admin_fields.php:
|
5029 |
msgid "zoomOutUp"
|
5030 |
msgstr ""
|
5031 |
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: WooLentor - WooCommerce Elementor Addons + Builder\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2021-11-28 09:29+0000\n"
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
17 |
"X-Domain: woolentor"
|
18 |
|
19 |
#. 1: Plugin name 2: PHP 3: Required PHP version
|
20 |
+
#: includes/base.php:193
|
21 |
#, php-format
|
22 |
msgid "\"%1$s\" requires \"%2$s\" version %3$s or greater."
|
23 |
msgstr ""
|
28 |
msgid "#"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: includes/base.php:146
|
32 |
#, php-format
|
33 |
msgid ""
|
34 |
"%1$sWooLentor Addons for Elementor%2$s requires %1$s\"Elementor\"%2$s plugin "
|
35 |
"to be active. Please activate Elementor to continue."
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: includes/base.php:153
|
39 |
#, php-format
|
40 |
msgid ""
|
41 |
"%1$sWooLentor Addons for Elementor%2$s requires %1$s\"Elementor\"%2$s plugin "
|
42 |
"to be installed and activated. Please install Elementor to continue."
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: includes/base.php:171
|
46 |
#, php-format
|
47 |
msgid ""
|
48 |
"%1$sWooLentor Addons for Elementor%2$s requires %1$s\"WooCommerce\"%2$s "
|
49 |
"plugin to be active. Please activate WooCommerce to continue."
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: includes/base.php:178
|
53 |
#, php-format
|
54 |
msgid ""
|
55 |
"%1$sWooLentor Addons for Elementor%2$s requires %1$s\"WooCommerce\"%2$s "
|
56 |
"plugin to be installed and activated. Please install WooCommerce to continue."
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: classes/class.default_data.php:261
|
60 |
#, php-format
|
61 |
msgid "%s customer review"
|
62 |
msgid_plural "%s customer reviews"
|
72 |
msgid "1"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: includes/admin/include/admin_fields.php:1103
|
76 |
msgid "1 day"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: includes/admin/include/admin_fields.php:1007
|
80 |
+
#: includes/admin/include/admin_fields.php:1033
|
81 |
+
#: includes/admin/include/admin_fields.php:1059
|
82 |
msgid "1 minute"
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: includes/admin/include/admin_fields.php:1109
|
86 |
msgid "1 week"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: includes/admin/include/admin_fields.php:1008
|
90 |
+
#: includes/admin/include/admin_fields.php:1034
|
91 |
+
#: includes/admin/include/admin_fields.php:1060
|
92 |
msgid "1.5 minutes"
|
93 |
msgstr ""
|
94 |
|
96 |
msgid "10 Custom Shop Page Templates"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: includes/admin/include/admin_fields.php:1110
|
100 |
msgid "10 days"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: includes/admin/include/admin_fields.php:1002
|
104 |
+
#: includes/admin/include/admin_fields.php:1028
|
105 |
+
#: includes/admin/include/admin_fields.php:1054
|
106 |
msgid "10 seconds"
|
107 |
msgstr ""
|
108 |
|
120 |
msgid "2"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: includes/admin/include/admin_fields.php:1104
|
124 |
msgid "2 days"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: includes/admin/include/admin_fields.php:1009
|
128 |
+
#: includes/admin/include/admin_fields.php:1035
|
129 |
+
#: includes/admin/include/admin_fields.php:1061
|
130 |
msgid "2 minutes"
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: includes/admin/include/admin_fields.php:994
|
134 |
+
#: includes/admin/include/admin_fields.php:1021
|
135 |
+
#: includes/admin/include/admin_fields.php:1047
|
136 |
msgid "2 seconds"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: includes/admin/include/admin_fields.php:1111
|
140 |
msgid "2 weeks"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: includes/admin/include/admin_fields.php:1003
|
144 |
+
#: includes/admin/include/admin_fields.php:1029
|
145 |
+
#: includes/admin/include/admin_fields.php:1055
|
146 |
msgid "20 seconds"
|
147 |
msgstr ""
|
148 |
|
150 |
msgid "3"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: includes/admin/include/admin_fields.php:1105
|
154 |
msgid "3 days"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: includes/admin/include/admin_fields.php:995
|
158 |
msgid "3 seconds"
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: includes/admin/include/admin_fields.php:1112
|
162 |
msgid "3 weeks"
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: includes/admin/include/admin_fields.php:1004
|
166 |
+
#: includes/admin/include/admin_fields.php:1030
|
167 |
+
#: includes/admin/include/admin_fields.php:1056
|
168 |
msgid "30 seconds"
|
169 |
msgstr ""
|
170 |
|
172 |
msgid "4"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: includes/admin/include/admin_fields.php:1106
|
176 |
msgid "4 days"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: includes/admin/include/admin_fields.php:996
|
180 |
+
#: includes/admin/include/admin_fields.php:1022
|
181 |
+
#: includes/admin/include/admin_fields.php:1048
|
182 |
msgid "4 seconds"
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: includes/admin/include/admin_fields.php:1113
|
186 |
msgid "4 weeks"
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: includes/admin/include/admin_fields.php:1005
|
190 |
+
#: includes/admin/include/admin_fields.php:1031
|
191 |
+
#: includes/admin/include/admin_fields.php:1057
|
192 |
msgid "40 seconds"
|
193 |
msgstr ""
|
194 |
|
196 |
msgid "5"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: includes/admin/include/admin_fields.php:1107
|
200 |
msgid "5 days"
|
201 |
msgstr ""
|
202 |
|
204 |
msgid "5 Premium WooCommerce Themes included. (Save $200)"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: includes/admin/include/admin_fields.php:997
|
208 |
+
#: includes/admin/include/admin_fields.php:1023
|
209 |
+
#: includes/admin/include/admin_fields.php:1049
|
210 |
msgid "5 seconds"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: includes/admin/include/admin_fields.php:1114
|
214 |
msgid "5 weeks"
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: includes/admin/include/admin_fields.php:1006
|
218 |
+
#: includes/admin/include/admin_fields.php:1032
|
219 |
+
#: includes/admin/include/admin_fields.php:1058
|
220 |
msgid "50 seconds"
|
221 |
msgstr ""
|
222 |
|
224 |
msgid "50%"
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: includes/admin/include/admin_fields.php:1254
|
228 |
+
#: includes/admin/include/admin_fields.php:1255
|
229 |
msgid "550px"
|
230 |
msgstr ""
|
231 |
|
233 |
msgid "6"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: includes/admin/include/admin_fields.php:1108
|
237 |
msgid "6 days"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: includes/admin/include/admin_fields.php:998
|
241 |
+
#: includes/admin/include/admin_fields.php:1024
|
242 |
+
#: includes/admin/include/admin_fields.php:1050
|
243 |
msgid "6 seconds"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: includes/admin/include/admin_fields.php:1115
|
247 |
msgid "6 weeks"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: includes/admin/include/admin_fields.php:999
|
251 |
+
#: includes/admin/include/admin_fields.php:1025
|
252 |
+
#: includes/admin/include/admin_fields.php:1051
|
253 |
msgid "7 seconds"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: includes/admin/include/admin_fields.php:1116
|
257 |
msgid "7 weeks"
|
258 |
msgstr ""
|
259 |
|
261 |
msgid "76 Elementor Elements"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: includes/admin/include/admin_fields.php:1000
|
265 |
+
#: includes/admin/include/admin_fields.php:1026
|
266 |
+
#: includes/admin/include/admin_fields.php:1052
|
267 |
msgid "8 seconds"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: includes/admin/include/admin_fields.php:1117
|
271 |
msgid "8 weeks"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: includes/admin/include/admin_fields.php:1001
|
275 |
+
#: includes/admin/include/admin_fields.php:1027
|
276 |
+
#: includes/admin/include/admin_fields.php:1053
|
277 |
msgid "9 seconds"
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: includes/admin/include/admin_fields.php:1264
|
281 |
+
#: includes/admin/include/admin_fields.php:1265
|
282 |
msgid "90%"
|
283 |
msgstr ""
|
284 |
|
303 |
|
304 |
#: includes/admin/include/template-library.php:259
|
305 |
#: includes/admin/include/template-library.php:311
|
306 |
+
#: includes/admin/include/class.extension-manager.php:182
|
307 |
+
#: includes/admin/include/class.extension-manager.php:249
|
308 |
msgid "Activate"
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: includes/base.php:147
|
312 |
msgid "Activate Elementor"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: includes/base.php:172
|
316 |
msgid "Activate WooCommerce"
|
317 |
msgstr ""
|
318 |
|
319 |
#: includes/admin/include/template-library.php:270
|
320 |
#: includes/admin/include/template-library.php:322
|
321 |
+
#: includes/admin/include/class.extension-manager.php:193
|
322 |
+
#: includes/admin/include/class.extension-manager.php:260
|
323 |
msgid "Activated"
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: classes/class.assest_management.php:348
|
327 |
msgid "Activating.."
|
328 |
msgstr ""
|
329 |
|
330 |
+
#: classes/class.assest_management.php:349 includes/addons/wl_faq.php:460
|
331 |
#: includes/addons/wl_faq.php:756 includes/addons/wb_product_data_tab.php:140
|
332 |
#: includes/addons/wb_archive_product.php:755
|
333 |
msgid "Active"
|
343 |
msgid "Add ID Manually"
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: includes/admin/include/class.template_cpt.php:32
|
347 |
+
msgid "Add New"
|
348 |
+
msgstr ""
|
349 |
+
|
350 |
+
#: includes/admin/include/class.template_cpt.php:31
|
351 |
+
msgid "Add New Template"
|
352 |
+
msgstr ""
|
353 |
+
|
354 |
+
#: includes/admin/include/admin_fields.php:843
|
355 |
+
#: includes/admin/include/admin_fields.php:859
|
356 |
msgid "Add to Cart"
|
357 |
msgstr ""
|
358 |
|
360 |
msgid "Add To Cart Button"
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: includes/admin/include/admin_fields.php:401
|
364 |
msgid "Add to Cart Button"
|
365 |
msgstr ""
|
366 |
|
372 |
|
373 |
#: includes/addons/product_image_accordion.php:185
|
374 |
#: includes/addons/product_accordion.php:205
|
375 |
+
#: includes/admin/include/admin_fields.php:840
|
376 |
+
#: includes/admin/include/admin_fields.php:856
|
377 |
msgid "Add to Cart Button Text"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: includes/helper-function.php:812 includes/helper-function.php:813
|
381 |
+
#: includes/helper-function.php:829
|
382 |
#: woolentor-blocks/includes/helper-functions.php:312
|
383 |
#: woolentor-blocks/includes/helper-functions.php:313
|
384 |
#: woolentor-blocks/includes/helper-functions.php:329
|
389 |
msgid "Add Youtube / Vimeo URL"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: includes/admin/include/admin_fields.php:408
|
393 |
+
#: includes/admin/include/admin_fields.php:874
|
394 |
msgid "Additional Information"
|
395 |
msgstr ""
|
396 |
|
397 |
+
#: includes/admin/include/admin_fields.php:877
|
398 |
+
#: includes/modules/shopify-like-checkout/templates/form-shipping.php:44
|
399 |
msgid "Additional information"
|
400 |
msgstr ""
|
401 |
|
410 |
msgid "admin@domain.com"
|
411 |
msgstr ""
|
412 |
|
413 |
+
#: includes/admin/include/admin_fields.php:289
|
414 |
msgid "Ads Banner"
|
415 |
msgstr ""
|
416 |
|
417 |
+
#: includes/admin/include/admin_fields.php:745
|
418 |
msgid "Advance Product Image"
|
419 |
msgstr ""
|
420 |
|
426 |
msgid "After Title"
|
427 |
msgstr ""
|
428 |
|
429 |
+
#: includes/admin/include/admin_fields.php:1360
|
430 |
msgid "AJAX Add to Cart on Single Product page"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: includes/admin/include/admin_fields.php:1352
|
434 |
msgid "AJAX Search Widget"
|
435 |
msgstr ""
|
436 |
|
437 |
+
#: includes/admin/include/admin_fields.php:1351
|
438 |
msgid "Ajax Search Widget"
|
439 |
msgstr ""
|
440 |
|
461 |
msgstr ""
|
462 |
|
463 |
#: includes/addons/wb_wc_multicurrency.php:54
|
464 |
+
#: includes/admin/include/class.template-manager.php:279
|
465 |
msgid "All"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: includes/admin/include/class.template-manager.php:379
|
469 |
+
msgid "All Assigned Template has been imported"
|
470 |
+
msgstr ""
|
471 |
+
|
472 |
#: includes/admin/include/templates_list.php:40
|
473 |
msgid "All Builders"
|
474 |
msgstr ""
|
477 |
msgid "All Categories"
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: includes/admin/include/class.template-manager.php:367
|
481 |
+
msgid "All Data Saved"
|
482 |
+
msgstr ""
|
483 |
+
|
484 |
+
#: classes/class.assest_management.php:338
|
485 |
msgid "All Items have been Loaded"
|
486 |
msgstr ""
|
487 |
|
489 |
msgid "Allow Order"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: includes/modules/shopify-like-checkout/templates/form-checkout.php:73
|
493 |
+
msgid "Already have an account?"
|
494 |
+
msgstr ""
|
495 |
+
|
496 |
+
#: includes/admin/include/admin_fields.php:1124
|
497 |
msgid "Animation"
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: includes/admin/include/admin_fields.php:1132
|
501 |
msgid "Animation In"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: includes/admin/include/admin_fields.php:1189
|
505 |
msgid "Animation Out"
|
506 |
msgstr ""
|
507 |
|
509 |
msgid "Anna Miller"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: includes/modules/shopify-like-checkout/templates/form-coupon.php:21
|
513 |
+
msgid "Apply"
|
514 |
+
msgstr ""
|
515 |
+
|
516 |
+
#: includes/modules/shopify-like-checkout/templates/form-coupon.php:21
|
517 |
+
msgid "Apply coupon"
|
518 |
+
msgstr ""
|
519 |
+
|
520 |
+
#: includes/admin/include/class.template-manager.php:175
|
521 |
+
#: includes/admin/include/class.template-manager.php:199
|
522 |
+
msgid "Archive"
|
523 |
+
msgstr ""
|
524 |
+
|
525 |
+
#: includes/admin/include/admin_fields.php:1578
|
526 |
msgid "Archive List View Action Button"
|
527 |
msgstr ""
|
528 |
|
530 |
msgid "Archive Product"
|
531 |
msgstr ""
|
532 |
|
533 |
+
#: includes/admin/include/class.template-manager.php:382
|
534 |
+
msgid "Are you sure?"
|
535 |
+
msgstr ""
|
536 |
+
|
537 |
#: includes/addons/wl_product_horizontal_filter.php:291
|
538 |
#: includes/addons/wl_onepage_slider.php:156
|
539 |
#: includes/addons/wl_store_features.php:127
|
570 |
msgid "Ascending"
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: includes/admin/include/class.template-manager.php:378
|
574 |
+
msgid "Assigned Template Importing.."
|
575 |
+
msgstr ""
|
576 |
+
|
577 |
#: includes/addons/wl_testimonial.php:363 includes/addons/product_tabs.php:503
|
578 |
#: includes/addons/wl_category_grid.php:329
|
579 |
msgid "Autoplay animation speed"
|
588 |
msgid "Awaiting category image"
|
589 |
msgstr ""
|
590 |
|
591 |
+
#: classes/class.default_data.php:293
|
592 |
msgid "Awaiting product image"
|
593 |
msgstr ""
|
594 |
|
671 |
#: includes/addons/wl_category_grid.php:715
|
672 |
#: includes/addons/wl_category_grid.php:789
|
673 |
#: includes/addons/wl_category_grid.php:889
|
674 |
+
#: includes/admin/include/admin_fields.php:1271
|
675 |
msgid "Background Color"
|
676 |
msgstr ""
|
677 |
|
681 |
msgid "Background Type"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: includes/admin/include/admin_fields.php:1541
|
685 |
msgid "Badge color"
|
686 |
msgstr ""
|
687 |
|
731 |
msgid "Best Selling Products"
|
732 |
msgstr ""
|
733 |
|
734 |
+
#: includes/modules/shopify-like-checkout/templates/form-billing.php:21
|
735 |
+
msgid "Billing & Shipping"
|
736 |
+
msgstr ""
|
737 |
+
|
738 |
+
#: includes/modules/shopify-like-checkout/templates/form-billing.php:23
|
739 |
+
msgid "Billing address"
|
740 |
+
msgstr ""
|
741 |
+
|
742 |
#: includes/addons/wl_onepage_slider.php:469
|
743 |
msgid "Boho Dreams"
|
744 |
msgstr ""
|
883 |
msgid "Bottom"
|
884 |
msgstr ""
|
885 |
|
886 |
+
#: includes/admin/include/admin_fields.php:960
|
887 |
msgid "Bottom Left"
|
888 |
msgstr ""
|
889 |
|
890 |
+
#: includes/admin/include/admin_fields.php:1337
|
891 |
+
msgid "Bottom Menu"
|
892 |
+
msgstr ""
|
893 |
+
|
894 |
+
#: includes/admin/include/admin_fields.php:961
|
895 |
msgid "Bottom Right"
|
896 |
msgstr ""
|
897 |
|
900 |
msgid "Bottom Space"
|
901 |
msgstr ""
|
902 |
|
903 |
+
#: includes/admin/include/admin_fields.php:1137
|
904 |
+
#: includes/admin/include/admin_fields.php:1194
|
905 |
msgid "bounce"
|
906 |
msgstr ""
|
907 |
|
908 |
+
#: includes/admin/include/admin_fields.php:1147
|
909 |
msgid "bounceIn"
|
910 |
msgstr ""
|
911 |
|
912 |
+
#: includes/admin/include/admin_fields.php:1148
|
913 |
msgid "bounceInDown"
|
914 |
msgstr ""
|
915 |
|
916 |
+
#: includes/admin/include/admin_fields.php:1149
|
917 |
msgid "bounceInLeft"
|
918 |
msgstr ""
|
919 |
|
920 |
+
#: includes/admin/include/admin_fields.php:1150
|
921 |
msgid "bounceInRight"
|
922 |
msgstr ""
|
923 |
|
924 |
+
#: includes/admin/include/admin_fields.php:1151
|
925 |
msgid "bounceInUp"
|
926 |
msgstr ""
|
927 |
|
928 |
+
#: includes/admin/include/admin_fields.php:1204
|
929 |
msgid "bounceOut"
|
930 |
msgstr ""
|
931 |
|
932 |
+
#: includes/admin/include/admin_fields.php:1205
|
933 |
msgid "bounceOutDown"
|
934 |
msgstr ""
|
935 |
|
936 |
+
#: includes/admin/include/admin_fields.php:1206
|
937 |
msgid "bounceOutLeft"
|
938 |
msgstr ""
|
939 |
|
940 |
+
#: includes/admin/include/admin_fields.php:1207
|
941 |
msgid "bounceOutRight"
|
942 |
msgstr ""
|
943 |
|
944 |
+
#: includes/admin/include/admin_fields.php:1208
|
945 |
msgid "bounceOutUp"
|
946 |
msgstr ""
|
947 |
|
971 |
msgid "Brand Link"
|
972 |
msgstr ""
|
973 |
|
974 |
+
#: includes/addons/wl_brand.php:47 includes/admin/include/admin_fields.php:359
|
975 |
#: woolentor-blocks/src/blocks/brand-logo/index.php:68
|
976 |
msgid "Brand Logo"
|
977 |
msgstr ""
|
993 |
msgid "Button"
|
994 |
msgstr ""
|
995 |
|
996 |
+
#: includes/admin/include/admin_fields.php:1562
|
997 |
msgid "Button color"
|
998 |
msgstr ""
|
999 |
|
1000 |
+
#: includes/admin/include/admin_fields.php:1569
|
1001 |
msgid "Button hover color"
|
1002 |
msgstr ""
|
1003 |
|
1023 |
msgid "Buy"
|
1024 |
msgstr ""
|
1025 |
|
1026 |
+
#: classes/class.assest_management.php:345
|
1027 |
#: includes/admin/include/template-library.php:278
|
1028 |
#: includes/admin/include/template-library.php:330
|
1029 |
+
#: includes/admin/include/class.extension-manager.php:213
|
1030 |
#: includes/admin/templates/dashboard-popup.php:14
|
1031 |
msgid "Buy Now"
|
1032 |
msgstr ""
|
1045 |
msgid "Call For Price"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
+
#: includes/admin/include/admin_fields.php:492
|
1049 |
msgid "Call for Price"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: includes/admin/include/class.template-manager.php:385
|
1053 |
+
msgid "Cancel"
|
1054 |
+
msgstr ""
|
1055 |
+
|
1056 |
#: includes/addons/wb_customer_review.php:78
|
1057 |
#: includes/addons/wb_customer_review.php:139
|
1058 |
msgid "Carolina Monntoya"
|
1067 |
msgid "Cart Button Color"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
+
#: includes/admin/include/admin_fields.php:168
|
1071 |
msgid "Cart Page Template"
|
1072 |
msgstr ""
|
1073 |
|
1077 |
"layout template"
|
1078 |
msgstr ""
|
1079 |
|
1080 |
+
#: includes/admin/include/admin_fields.php:1480
|
1081 |
msgid "Category"
|
1082 |
msgstr ""
|
1083 |
|
1085 |
msgid "Category Color"
|
1086 |
msgstr ""
|
1087 |
|
1088 |
+
#: includes/admin/include/admin_fields.php:1485
|
1089 |
msgid "Category color"
|
1090 |
msgstr ""
|
1091 |
|
1094 |
msgstr ""
|
1095 |
|
1096 |
#: includes/addons/wl_category_grid.php:40
|
1097 |
+
#: includes/admin/include/admin_fields.php:324
|
1098 |
msgid "Category Grid"
|
1099 |
msgstr ""
|
1100 |
|
1102 |
msgid "Category Hover Color"
|
1103 |
msgstr ""
|
1104 |
|
1105 |
+
#: includes/admin/include/admin_fields.php:1492
|
1106 |
msgid "Category hover color"
|
1107 |
msgstr ""
|
1108 |
|
1109 |
#: includes/addons/wl_category.php:43
|
1110 |
+
#: includes/admin/include/admin_fields.php:317
|
1111 |
msgid "Category List"
|
1112 |
msgstr ""
|
1113 |
|
1114 |
+
#: classes/class.default_data.php:329
|
1115 |
msgid "Category:"
|
1116 |
msgid_plural "Categories:"
|
1117 |
msgstr[0] ""
|
1136 |
msgid "Center"
|
1137 |
msgstr ""
|
1138 |
|
1139 |
+
#: includes/modules/shopify-like-checkout/templates/cart-shipping.php:38
|
1140 |
+
msgid "Change address"
|
1141 |
+
msgstr ""
|
1142 |
+
|
1143 |
+
#: includes/admin/include/admin_fields.php:857
|
1144 |
msgid "Change the Add to Cart button text for the Product details page."
|
1145 |
msgstr ""
|
1146 |
|
1147 |
+
#: includes/admin/include/admin_fields.php:841
|
1148 |
msgid "Change the Add to Cart button text for the Shop page."
|
1149 |
msgstr ""
|
1150 |
|
1151 |
+
#: includes/admin/include/admin_fields.php:900
|
1152 |
msgid "Change the label for the Place order field."
|
1153 |
msgstr ""
|
1154 |
|
1155 |
+
#: includes/admin/include/admin_fields.php:875
|
1156 |
msgid "Change the tab title for the product additional information"
|
1157 |
msgstr ""
|
1158 |
|
1159 |
+
#: includes/admin/include/admin_fields.php:866
|
1160 |
msgid "Change the tab title for the product description."
|
1161 |
msgstr ""
|
1162 |
|
1163 |
+
#: includes/admin/include/admin_fields.php:884
|
1164 |
msgid "Change the tab title for the product review"
|
1165 |
msgstr ""
|
1166 |
|
1167 |
+
#: includes/admin/include/admin_fields.php:593
|
1168 |
msgid "Checkout Additional.."
|
1169 |
msgstr ""
|
1170 |
|
1171 |
+
#: includes/admin/include/admin_fields.php:601
|
1172 |
msgid "Checkout Billing Form"
|
1173 |
msgstr ""
|
1174 |
|
1175 |
+
#: includes/admin/include/admin_fields.php:625
|
1176 |
msgid "Checkout Co.. Form"
|
1177 |
msgstr ""
|
1178 |
|
1179 |
+
#: includes/admin/include/admin_fields.php:633
|
1180 |
msgid "Checkout lo.. Form"
|
1181 |
msgstr ""
|
1182 |
|
1183 |
+
#: includes/admin/include/admin_fields.php:641
|
1184 |
msgid "Checkout Order Review"
|
1185 |
msgstr ""
|
1186 |
|
1187 |
+
#: includes/admin/include/admin_fields.php:892
|
1188 |
msgid "Checkout Page"
|
1189 |
msgstr ""
|
1190 |
|
1191 |
+
#: includes/admin/include/admin_fields.php:181
|
1192 |
msgid "Checkout Page Template"
|
1193 |
msgstr ""
|
1194 |
|
1195 |
+
#: includes/admin/include/admin_fields.php:617
|
1196 |
msgid "Checkout Payment"
|
1197 |
msgstr ""
|
1198 |
|
1199 |
+
#: includes/admin/include/admin_fields.php:609
|
1200 |
msgid "Checkout Shipping Form"
|
1201 |
msgstr ""
|
1202 |
|
1203 |
+
#: includes/modules/shopify-like-checkout/templates/form-checkout.php:132
|
1204 |
+
msgid "Choose a Payment Gateway"
|
1205 |
+
msgstr ""
|
1206 |
+
|
1207 |
+
#: includes/admin/include/admin_fields.php:1133
|
1208 |
msgid "Choose entrance animation."
|
1209 |
msgstr ""
|
1210 |
|
1211 |
+
#: includes/admin/include/admin_fields.php:1190
|
1212 |
msgid "Choose exit animation."
|
1213 |
msgstr ""
|
1214 |
|
1215 |
#: includes/addons/wl_brand.php:80
|
1216 |
+
#: includes/admin/include/admin_field-manager.php:178
|
1217 |
msgid "Choose Image"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
+
#: includes/admin/include/admin_fields.php:943
|
1221 |
msgid "Choose Template"
|
1222 |
msgstr ""
|
1223 |
|
1224 |
+
#: includes/admin/include/admin_fields.php:944
|
1225 |
msgid "Choose template for manual notification."
|
1226 |
msgstr ""
|
1227 |
|
1354 |
msgid "Columns"
|
1355 |
msgstr ""
|
1356 |
|
1357 |
+
#: includes/helper-function.php:774
|
1358 |
#: includes/addons/product_image_accordion.php:146
|
1359 |
#: includes/addons/product_accordion.php:167
|
1360 |
#: includes/addons/product_curvy.php:202 includes/addons/product_tabs.php:166
|
1361 |
msgid "Comment count"
|
1362 |
msgstr ""
|
1363 |
|
1364 |
+
#: includes/helper-function.php:829
|
1365 |
#: woolentor-blocks/includes/helper-functions.php:329
|
1366 |
msgid "Compare"
|
1367 |
msgstr ""
|
1368 |
|
1369 |
+
#: includes/modules/shopify-like-checkout/templates/form-checkout.php:68
|
1370 |
+
#: includes/modules/shopify-like-checkout/templates/form-checkout.php:96
|
1371 |
+
msgid "Contact information"
|
1372 |
+
msgstr ""
|
1373 |
+
|
1374 |
#: includes/addons/wl_faq.php:41 includes/addons/wl_faq.php:78
|
1375 |
#: includes/addons/wl_faq.php:540 includes/addons/wl_onepage_slider.php:62
|
1376 |
#: includes/addons/wb_product_data_tab.php:208
|
1389 |
msgid "Content Area"
|
1390 |
msgstr ""
|
1391 |
|
1392 |
+
#: includes/admin/include/admin_fields.php:1429
|
1393 |
msgid "Content area background"
|
1394 |
msgstr ""
|
1395 |
|
1396 |
#: includes/addons/product_accordion.php:461
|
1397 |
#: includes/addons/product_curvy.php:596 includes/addons/product_curvy.php:610
|
1398 |
#: includes/addons/wb_ever_compare_table.php:134
|
1399 |
+
#: includes/admin/include/admin_fields.php:1287
|
1400 |
msgid "Content Color"
|
1401 |
msgstr ""
|
1402 |
|
1425 |
msgid "Content Settings"
|
1426 |
msgstr ""
|
1427 |
|
1428 |
+
#: includes/modules/shopify-like-checkout/templates/form-checkout.php:158
|
1429 |
+
msgid "Continue to Payment"
|
1430 |
+
msgstr ""
|
1431 |
+
|
1432 |
+
#: includes/modules/shopify-like-checkout/templates/form-checkout.php:154
|
1433 |
+
msgid "Continue to shipping"
|
1434 |
+
msgstr ""
|
1435 |
+
|
1436 |
#: includes/addons/wl_category_grid.php:610
|
1437 |
msgid "Count"
|
1438 |
msgstr ""
|
1439 |
|
1440 |
+
#: includes/admin/include/admin_fields.php:1613
|
1441 |
msgid "Counter Timer"
|
1442 |
msgstr ""
|
1443 |
|
1444 |
+
#: includes/admin/include/admin_fields.php:1618
|
1445 |
msgid "Counter timer color"
|
1446 |
msgstr ""
|
1447 |
|
1448 |
+
#: includes/modules/shopify-like-checkout/templates/form-coupon.php:17
|
1449 |
+
#: includes/modules/shopify-like-checkout/templates/form-coupon.php:18
|
1450 |
+
msgid "Coupon code"
|
1451 |
+
msgstr ""
|
1452 |
+
|
1453 |
#: includes/admin/include/templates_list.php:16
|
1454 |
msgid "Create a new page from this template"
|
1455 |
msgstr ""
|
1456 |
|
1457 |
+
#: includes/modules/shopify-like-checkout/templates/form-billing.php:50
|
1458 |
+
msgid "Create an account?"
|
1459 |
+
msgstr ""
|
1460 |
+
|
1461 |
+
#: includes/admin/include/admin_fields.php:1295
|
1462 |
msgid "Cross Icon Color"
|
1463 |
msgstr ""
|
1464 |
|
1465 |
+
#: includes/admin/include/admin_fields.php:585
|
1466 |
msgid "Cross Sell ..( Custom )"
|
1467 |
msgstr ""
|
1468 |
|
1493 |
msgid "Customer"
|
1494 |
msgstr ""
|
1495 |
|
1496 |
+
#: includes/admin/include/admin_fields.php:303
|
1497 |
msgid "Customer Review"
|
1498 |
msgstr ""
|
1499 |
|
1500 |
+
#: includes/admin/admin-init.php:306
|
1501 |
msgid "Data Fetch successfully!"
|
1502 |
msgstr ""
|
1503 |
|
1504 |
+
#: includes/admin/admin-init.php:266
|
1505 |
msgid "Data Saved successfully!"
|
1506 |
msgstr ""
|
1507 |
|
1508 |
+
#: includes/helper-function.php:771 includes/addons/wb_product_upsell.php:62
|
1509 |
#: includes/addons/wb_archive_product.php:127
|
1510 |
#: includes/addons/product_image_accordion.php:143
|
1511 |
#: includes/addons/wb_product_related.php:77
|
1515 |
msgstr ""
|
1516 |
|
1517 |
#: includes/addons/wl_brand.php:58
|
1518 |
+
#: includes/admin/include/class.template-manager.php:87
|
1519 |
msgid "Default"
|
1520 |
msgstr ""
|
1521 |
|
1522 |
+
#: includes/admin/include/admin_fields.php:1430
|
1523 |
+
#: includes/admin/include/admin_fields.php:1444
|
1524 |
+
#: includes/admin/include/admin_fields.php:1451
|
1525 |
+
#: includes/admin/include/admin_fields.php:1465
|
1526 |
+
#: includes/admin/include/admin_fields.php:1472
|
1527 |
+
#: includes/admin/include/admin_fields.php:1486
|
1528 |
+
#: includes/admin/include/admin_fields.php:1493
|
1529 |
+
#: includes/admin/include/admin_fields.php:1507
|
1530 |
+
#: includes/admin/include/admin_fields.php:1521
|
1531 |
+
#: includes/admin/include/admin_fields.php:1528
|
1532 |
+
#: includes/admin/include/admin_fields.php:1542
|
1533 |
+
#: includes/admin/include/admin_fields.php:1556
|
1534 |
+
#: includes/admin/include/admin_fields.php:1563
|
1535 |
+
#: includes/admin/include/admin_fields.php:1570
|
1536 |
+
#: includes/admin/include/admin_fields.php:1584
|
1537 |
+
#: includes/admin/include/admin_fields.php:1591
|
1538 |
+
#: includes/admin/include/admin_fields.php:1598
|
1539 |
+
#: includes/admin/include/admin_fields.php:1605
|
1540 |
+
#: includes/admin/include/admin_fields.php:1619
|
1541 |
msgid "Default Color for universal layout."
|
1542 |
msgstr ""
|
1543 |
|
1544 |
+
#: includes/helper-function.php:585
|
1545 |
msgid "Default sorting"
|
1546 |
msgstr ""
|
1547 |
|
1568 |
#: includes/addons/special_day_offer.php:104
|
1569 |
#: includes/addons/special_day_offer.php:443
|
1570 |
#: includes/addons/wb_image_marker.php:361
|
1571 |
+
#: includes/admin/include/admin_fields.php:865
|
1572 |
+
#: includes/admin/include/admin_fields.php:868
|
1573 |
msgid "Description"
|
1574 |
msgstr ""
|
1575 |
|
1576 |
+
#: includes/admin/include/admin_fields.php:1506
|
1577 |
msgid "Description color"
|
1578 |
msgstr ""
|
1579 |
|
1580 |
+
#: classes/class.default_data.php:242
|
1581 |
msgid "Description dose not set this product."
|
1582 |
msgstr ""
|
1583 |
|
1601 |
msgid "Disable all"
|
1602 |
msgstr ""
|
1603 |
|
1604 |
+
#: includes/helper-function.php:425
|
1605 |
msgid "div"
|
1606 |
msgstr ""
|
1607 |
|
1608 |
+
#: includes/admin/include/admin_fields.php:1099
|
1609 |
msgid "Do not show purchases older than."
|
1610 |
msgstr ""
|
1611 |
|
1613 |
msgid "Do you want to individual icon ?"
|
1614 |
msgstr ""
|
1615 |
|
1616 |
+
#: includes/admin/include/admin_field-manager.php:230
|
1617 |
+
#: includes/admin/include/admin_field-manager.php:276
|
1618 |
#: includes/admin/templates/dashboard-welcome.php:19
|
1619 |
msgid "Documentation"
|
1620 |
msgstr ""
|
1624 |
msgstr ""
|
1625 |
|
1626 |
#: includes/admin/include/template-library.php:198
|
1627 |
+
#: includes/admin/include/class.template_cpt.php:34
|
1628 |
msgid "Edit Template"
|
1629 |
msgstr ""
|
1630 |
|
1631 |
+
#: includes/admin/include/class.template-manager.php:357
|
1632 |
+
msgid "Edit With Elementor"
|
1633 |
+
msgstr ""
|
1634 |
+
|
1635 |
+
#: includes/admin/include/class.template-manager.php:361
|
1636 |
+
msgid "Edit With Gutenberg"
|
1637 |
+
msgstr ""
|
1638 |
+
|
1639 |
#: includes/addons/wl_testimonial.php:199
|
1640 |
#: includes/addons/wb_customer_review.php:187
|
1641 |
#: includes/addons/wl_category_grid.php:196
|
1646 |
msgid "Element Information"
|
1647 |
msgstr ""
|
1648 |
|
1649 |
+
#: includes/admin/include/class.template-manager.php:373
|
1650 |
+
#: includes/admin/include/admin_fields.php:116
|
1651 |
+
#: includes/admin/include/admin_fields.php:137
|
1652 |
+
#: includes/admin/include/admin_fields.php:158
|
1653 |
#: includes/admin/include/templates_list.php:41
|
1654 |
msgid "Elementor"
|
1655 |
msgstr ""
|
1658 |
msgid "Elementor Template"
|
1659 |
msgstr ""
|
1660 |
|
1661 |
+
#: includes/admin/include/admin_fields.php:45
|
1662 |
msgid "Elements"
|
1663 |
msgstr ""
|
1664 |
|
1665 |
+
#: includes/admin/include/class.extension-manager.php:131
|
1666 |
msgid ""
|
1667 |
"Email Candy is an outstanding WordPress plugin that allows you to customize "
|
1668 |
"the default WooCommerce email templates and give a professional look to your "
|
1671 |
"will come in handy."
|
1672 |
msgstr ""
|
1673 |
|
1674 |
+
#: includes/admin/include/class.extension-manager.php:128
|
1675 |
msgid "Email Candy Pro - Email customizer for WooCommerce"
|
1676 |
msgstr ""
|
1677 |
|
1679 |
msgid "Email Field Placeholder"
|
1680 |
msgstr ""
|
1681 |
|
1682 |
+
#: includes/admin/include/admin_fields.php:561
|
1683 |
msgid "Empty Cart Message"
|
1684 |
msgstr ""
|
1685 |
|
1686 |
+
#: includes/admin/include/admin_fields.php:569
|
1687 |
msgid "Empty Cart Re.. Button"
|
1688 |
msgstr ""
|
1689 |
|
1693 |
msgid "Empty Rating Color"
|
1694 |
msgstr ""
|
1695 |
|
1696 |
+
#: includes/admin/include/admin_fields.php:1520
|
1697 |
msgid "Empty rating color"
|
1698 |
msgstr ""
|
1699 |
|
1706 |
msgid "Empty table text"
|
1707 |
msgstr ""
|
1708 |
|
1709 |
+
#: includes/admin/include/admin_fields.php:824
|
1710 |
+
#: includes/admin/include/admin_fields.php:921
|
1711 |
+
#: includes/admin/include/admin_fields.php:1316
|
1712 |
+
msgid "Enable / Disable"
|
|
|
|
|
|
|
|
|
|
|
|
|
1713 |
msgstr ""
|
1714 |
|
1715 |
+
#: includes/admin/include/admin_fields.php:84
|
1716 |
msgid "Enable / Disable Template Builder"
|
1717 |
msgstr ""
|
1718 |
|
1725 |
msgid "Enable all"
|
1726 |
msgstr ""
|
1727 |
|
1728 |
+
#: includes/modules/shopify-like-checkout/templates/cart-shipping.php:57
|
1729 |
+
msgid "Enter a different address"
|
1730 |
+
msgstr ""
|
1731 |
+
|
1732 |
+
#: includes/admin/include/class.template-manager.php:349
|
1733 |
+
msgid "Enter a template name"
|
1734 |
+
msgstr ""
|
1735 |
+
|
1736 |
+
#: includes/modules/shopify-like-checkout/templates/cart-shipping.php:50
|
1737 |
+
msgid "Enter your address to view shipping options."
|
1738 |
+
msgstr ""
|
1739 |
+
|
1740 |
#: includes/custom-metabox.php:26
|
1741 |
msgid "Enter your preferred SaleFlash text. Ex: New / Free etc"
|
1742 |
msgstr ""
|
1750 |
msgid "Even Heading Background"
|
1751 |
msgstr ""
|
1752 |
|
1753 |
+
#: includes/admin/include/admin_fields.php:1672
|
1754 |
msgid "Ever Compare"
|
1755 |
msgstr ""
|
1756 |
|
1764 |
msgid "Extension"
|
1765 |
msgstr ""
|
1766 |
|
1767 |
+
#: includes/admin/include/admin_fields.php:63
|
1768 |
msgid "Extensions"
|
1769 |
msgstr ""
|
1770 |
|
1772 |
msgid "Extra Option"
|
1773 |
msgstr ""
|
1774 |
|
1775 |
+
#: includes/admin/include/admin_fields.php:1152
|
1776 |
msgid "fadeIn"
|
1777 |
msgstr ""
|
1778 |
|
1779 |
+
#: includes/admin/include/admin_fields.php:1153
|
1780 |
msgid "fadeInDown"
|
1781 |
msgstr ""
|
1782 |
|
1783 |
+
#: includes/admin/include/admin_fields.php:1154
|
1784 |
msgid "fadeInDownBig"
|
1785 |
msgstr ""
|
1786 |
|
1787 |
+
#: includes/admin/include/admin_fields.php:1155
|
1788 |
msgid "fadeInLeft"
|
1789 |
msgstr ""
|
1790 |
|
1791 |
+
#: includes/admin/include/admin_fields.php:1156
|
1792 |
msgid "fadeInLeftBig"
|
1793 |
msgstr ""
|
1794 |
|
1795 |
+
#: includes/admin/include/admin_fields.php:1157
|
1796 |
msgid "fadeInRight"
|
1797 |
msgstr ""
|
1798 |
|
1799 |
+
#: includes/admin/include/admin_fields.php:1158
|
1800 |
msgid "fadeInRightBig"
|
1801 |
msgstr ""
|
1802 |
|
1803 |
+
#: includes/admin/include/admin_fields.php:1159
|
1804 |
msgid "fadeInUp"
|
1805 |
msgstr ""
|
1806 |
|
1807 |
+
#: includes/admin/include/admin_fields.php:1160
|
1808 |
msgid "fadeInUpBig"
|
1809 |
msgstr ""
|
1810 |
|
1811 |
+
#: includes/admin/include/admin_fields.php:1209
|
1812 |
msgid "fadeOut"
|
1813 |
msgstr ""
|
1814 |
|
1815 |
+
#: includes/admin/include/admin_fields.php:1210
|
1816 |
msgid "fadeOutDown"
|
1817 |
msgstr ""
|
1818 |
|
1819 |
+
#: includes/admin/include/admin_fields.php:1211
|
1820 |
msgid "fadeOutDownBig"
|
1821 |
msgstr ""
|
1822 |
|
1823 |
+
#: includes/admin/include/admin_fields.php:1212
|
1824 |
msgid "fadeOutLeft"
|
1825 |
msgstr ""
|
1826 |
|
1827 |
+
#: includes/admin/include/admin_fields.php:1213
|
1828 |
msgid "fadeOutLeftBig"
|
1829 |
msgstr ""
|
1830 |
|
1831 |
+
#: includes/admin/include/admin_fields.php:1214
|
1832 |
msgid "fadeOutRight"
|
1833 |
msgstr ""
|
1834 |
|
1835 |
+
#: includes/admin/include/admin_fields.php:1215
|
1836 |
msgid "fadeOutRightBig"
|
1837 |
msgstr ""
|
1838 |
|
1839 |
+
#: includes/admin/include/admin_fields.php:1216
|
1840 |
msgid "fadeOutUp"
|
1841 |
msgstr ""
|
1842 |
|
1843 |
+
#: includes/admin/include/admin_fields.php:1217
|
1844 |
msgid "fadeOutUpBig"
|
1845 |
msgstr ""
|
1846 |
|
1847 |
+
#: includes/admin/include/admin_fields.php:352
|
1848 |
msgid "Faq"
|
1849 |
msgstr ""
|
1850 |
|
1852 |
msgid "FAQ Title"
|
1853 |
msgstr ""
|
1854 |
|
1855 |
+
#: includes/helper-function.php:776
|
1856 |
msgid "Featured"
|
1857 |
msgstr ""
|
1858 |
|
1859 |
+
#: includes/admin/include/class.template_cpt.php:41
|
1860 |
+
msgid "Featured Image"
|
1861 |
+
msgstr ""
|
1862 |
+
|
1863 |
#: includes/addons/product_image_accordion.php:63
|
1864 |
#: includes/addons/product_accordion.php:84
|
1865 |
#: includes/addons/product_curvy.php:119 includes/addons/product_tabs.php:80
|
1887 |
msgid "Filter By"
|
1888 |
msgstr ""
|
1889 |
|
1890 |
+
#: includes/admin/include/class.template_cpt.php:49
|
1891 |
+
msgid "Filter from list"
|
1892 |
+
msgstr ""
|
1893 |
+
|
1894 |
#: includes/addons/wl_product_horizontal_filter.php:108
|
1895 |
msgid "Filter List"
|
1896 |
msgstr ""
|
1913 |
msgid "Filter Type"
|
1914 |
msgstr ""
|
1915 |
|
1916 |
+
#: includes/admin/include/admin_fields.php:989
|
1917 |
msgid "First loading time"
|
1918 |
msgstr ""
|
1919 |
|
1927 |
msgid "Flag only"
|
1928 |
msgstr ""
|
1929 |
|
1930 |
+
#: includes/admin/include/admin_fields.php:1138
|
1931 |
+
#: includes/admin/include/admin_fields.php:1195
|
1932 |
msgid "flash"
|
1933 |
msgstr ""
|
1934 |
|
1935 |
+
#: includes/admin/include/admin_fields.php:1161
|
1936 |
+
#: includes/admin/include/admin_fields.php:1218
|
1937 |
msgid "flip"
|
1938 |
msgstr ""
|
1939 |
|
1940 |
+
#: includes/admin/include/admin_fields.php:1162
|
1941 |
msgid "flipInX"
|
1942 |
msgstr ""
|
1943 |
|
1944 |
+
#: includes/admin/include/admin_fields.php:1163
|
1945 |
msgid "flipInY"
|
1946 |
msgstr ""
|
1947 |
|
1948 |
+
#: includes/admin/include/admin_fields.php:1219
|
1949 |
msgid "flipOutX"
|
1950 |
msgstr ""
|
1951 |
|
1952 |
+
#: includes/admin/include/admin_fields.php:1220
|
1953 |
msgid "flipOutY"
|
1954 |
msgstr ""
|
1955 |
|
1974 |
msgid "Free"
|
1975 |
msgstr ""
|
1976 |
|
1977 |
+
#: includes/admin/include/class.extension-manager.php:159
|
1978 |
msgid "Free extension"
|
1979 |
msgstr ""
|
1980 |
|
1982 |
msgid "Free shipping"
|
1983 |
msgstr ""
|
1984 |
|
1985 |
+
#: includes/admin/include/admin_fields.php:33
|
1986 |
msgid "General"
|
1987 |
msgstr ""
|
1988 |
|
2002 |
msgid "Get Support"
|
2003 |
msgstr ""
|
2004 |
|
2005 |
+
#: includes/base.php:278 includes/addons/wl_category.php:192
|
2006 |
#: includes/addons/wl_brand.php:225 includes/addons/wl_brand.php:368
|
2007 |
msgid "Go Pro"
|
2008 |
msgstr ""
|
2011 |
msgid "Gradient Color"
|
2012 |
msgstr ""
|
2013 |
|
2014 |
+
#: includes/helper-function.php:418
|
2015 |
msgid "H1"
|
2016 |
msgstr ""
|
2017 |
|
2018 |
+
#: includes/helper-function.php:419
|
2019 |
msgid "H2"
|
2020 |
msgstr ""
|
2021 |
|
2022 |
+
#: includes/helper-function.php:420
|
2023 |
msgid "H3"
|
2024 |
msgstr ""
|
2025 |
|
2026 |
+
#: includes/helper-function.php:421
|
2027 |
msgid "H4"
|
2028 |
msgstr ""
|
2029 |
|
2030 |
+
#: includes/helper-function.php:422
|
2031 |
msgid "H5"
|
2032 |
msgstr ""
|
2033 |
|
2034 |
+
#: includes/helper-function.php:423
|
2035 |
msgid "H6"
|
2036 |
msgstr ""
|
2037 |
|
2070 |
#: includes/addons/wb_just_table.php:71
|
2071 |
#: includes/addons/wb_wishsuite_table.php:72
|
2072 |
#: includes/addons/wb_ever_compare_table.php:72
|
2073 |
+
#: includes/admin/include/admin_fields.php:1279
|
2074 |
msgid "Heading Color"
|
2075 |
msgstr ""
|
2076 |
|
2082 |
msgid "Heading Typography"
|
2083 |
msgstr ""
|
2084 |
|
2085 |
+
#: includes/admin/include/admin_fields.php:1146
|
2086 |
+
#: includes/admin/include/admin_fields.php:1203
|
2087 |
msgid "heartBeat"
|
2088 |
msgstr ""
|
2089 |
|
2098 |
msgid "Helping Screenshot"
|
2099 |
msgstr ""
|
2100 |
|
2101 |
+
#: includes/helper-function.php:704 includes/helper-function.php:722
|
2102 |
msgid "here"
|
2103 |
msgstr ""
|
2104 |
|
2139 |
msgid "Hierarchical"
|
2140 |
msgstr ""
|
2141 |
|
2142 |
+
#: includes/admin/include/admin_fields.php:1179
|
2143 |
+
#: includes/admin/include/admin_fields.php:1236
|
2144 |
msgid "hinge"
|
2145 |
msgstr ""
|
2146 |
|
2201 |
msgid "Hover Color"
|
2202 |
msgstr ""
|
2203 |
|
2204 |
+
#: includes/admin/include/admin_fields.php:1017
|
2205 |
msgid "How long to keep the notification."
|
2206 |
msgstr ""
|
2207 |
|
2259 |
msgid "Icon Width"
|
2260 |
msgstr ""
|
2261 |
|
2262 |
+
#: includes/helper-function.php:770
|
2263 |
#: includes/addons/product_image_accordion.php:142
|
2264 |
#: includes/addons/product_accordion.php:163
|
2265 |
#: includes/addons/product_curvy.php:198 includes/addons/product_tabs.php:162
|
2266 |
msgid "ID"
|
2267 |
msgstr ""
|
2268 |
|
2269 |
+
#: includes/modules/shopify-like-checkout/templates/form-checkout.php:81
|
2270 |
+
msgid ""
|
2271 |
+
"If you have shopped with us before, please enter your details below. If you "
|
2272 |
+
"are a new customer, please proceed to the Billing section."
|
2273 |
+
msgstr ""
|
2274 |
+
|
2275 |
#: includes/admin/templates/dashboard-sidebar.php:26
|
2276 |
msgid ""
|
2277 |
"If you’re loving how our product has helped your business, please let the "
|
2297 |
msgid "Image Area Border Color"
|
2298 |
msgstr ""
|
2299 |
|
2300 |
+
#: includes/admin/include/admin_fields.php:973
|
2301 |
msgid "Image Left"
|
2302 |
msgstr ""
|
2303 |
|
2304 |
+
#: includes/admin/include/admin_fields.php:310
|
2305 |
msgid "Image Marker"
|
2306 |
msgstr ""
|
2307 |
|
2308 |
+
#: includes/admin/include/admin_fields.php:968
|
2309 |
msgid "Image Position"
|
2310 |
msgstr ""
|
2311 |
|
2312 |
+
#: includes/admin/include/admin_fields.php:974
|
2313 |
msgid "Image Right"
|
2314 |
msgstr ""
|
2315 |
|
2317 |
msgid "Image/Icon"
|
2318 |
msgstr ""
|
2319 |
|
2320 |
+
#: classes/class.assest_management.php:344
|
2321 |
msgid "Import"
|
2322 |
msgstr ""
|
2323 |
|
2324 |
+
#: includes/admin/include/class.template-manager.php:290
|
2325 |
+
msgid "Import Previously Assigned Templates"
|
2326 |
+
msgstr ""
|
2327 |
+
|
2328 |
#: includes/admin/include/templates_list.php:13
|
2329 |
msgid "Import template to your Library"
|
2330 |
msgstr ""
|
2331 |
|
2332 |
+
#: classes/class.assest_management.php:342
|
2333 |
msgid "Import to Library"
|
2334 |
msgstr ""
|
2335 |
|
2336 |
+
#: classes/class.assest_management.php:343
|
2337 |
msgid "Import to Page"
|
2338 |
msgstr ""
|
2339 |
|
2340 |
+
#: classes/class.assest_management.php:337
|
2341 |
msgid "in this package"
|
2342 |
msgstr ""
|
2343 |
|
2344 |
+
#: includes/modules/shopify-like-checkout/templates/form-checkout.php:52
|
2345 |
+
msgid "Informations"
|
2346 |
+
msgstr ""
|
2347 |
+
|
2348 |
#: includes/addons/wb_product_suggest_price.php:192
|
2349 |
msgid "Input"
|
2350 |
msgstr ""
|
2358 |
msgid "Input Field Placeholder"
|
2359 |
msgstr ""
|
2360 |
|
2361 |
+
#: includes/admin/include/class.template_cpt.php:45
|
2362 |
+
msgid "Insert into Template"
|
2363 |
+
msgstr ""
|
2364 |
+
|
2365 |
+
#: includes/base.php:154
|
2366 |
msgid "Install Elementor"
|
2367 |
msgstr ""
|
2368 |
|
2369 |
#: includes/admin/include/template-library.php:265
|
2370 |
#: includes/admin/include/template-library.php:317
|
2371 |
+
#: includes/admin/include/class.extension-manager.php:188
|
2372 |
+
#: includes/admin/include/class.extension-manager.php:255
|
2373 |
msgid "Install Now"
|
2374 |
msgstr ""
|
2375 |
|
2376 |
+
#: includes/base.php:179
|
2377 |
msgid "Install WooCommerce"
|
2378 |
msgstr ""
|
2379 |
|
2380 |
+
#: classes/class.assest_management.php:347
|
2381 |
msgid "Installing.."
|
2382 |
msgstr ""
|
2383 |
|
2384 |
+
#: includes/admin/include/class.template-manager.php:383
|
2385 |
+
msgid ""
|
2386 |
+
"It will import those templates that were created from the \"Templates\" menu "
|
2387 |
+
"of Elementor and assigned to corresponding WooCommerce pages."
|
2388 |
+
msgstr ""
|
2389 |
+
|
2390 |
#: includes/addons/wl_faq.php:255 includes/addons/wl_testimonial.php:471
|
2391 |
#: includes/addons/wb_archive_product.php:171
|
2392 |
msgid "Item"
|
2400 |
msgid "Item Spacing"
|
2401 |
msgstr ""
|
2402 |
|
2403 |
+
#: includes/admin/include/admin_fields.php:1180
|
2404 |
msgid "jackInTheBox"
|
2405 |
msgstr ""
|
2406 |
|
2407 |
+
#: includes/admin/include/admin_fields.php:1145
|
2408 |
+
#: includes/admin/include/admin_fields.php:1202
|
2409 |
msgid "jello"
|
2410 |
msgstr ""
|
2411 |
|
2421 |
msgstr ""
|
2422 |
|
2423 |
#: includes/addons/wb_just_table.php:44
|
2424 |
+
#: includes/admin/include/admin_fields.php:1682
|
2425 |
msgid "JustTable"
|
2426 |
msgstr ""
|
2427 |
|
2428 |
+
#: includes/admin/include/class.extension-manager.php:86
|
2429 |
msgid "JustTables"
|
2430 |
msgstr ""
|
2431 |
|
2432 |
+
#: includes/admin/include/class.extension-manager.php:104
|
2433 |
msgid ""
|
2434 |
"JustTables is an incredible WordPress plugin that lets you showcase all your "
|
2435 |
"WooCommerce products in a sortable and filterable table view. It allows your "
|
2439 |
"sale on your online store."
|
2440 |
msgstr ""
|
2441 |
|
2442 |
+
#: includes/admin/include/class.extension-manager.php:101
|
2443 |
msgid "JustTables Pro"
|
2444 |
msgstr ""
|
2445 |
|
2515 |
msgid "Left"
|
2516 |
msgstr ""
|
2517 |
|
2518 |
+
#: includes/admin/include/admin_fields.php:1164
|
2519 |
msgid "lightSpeedIn"
|
2520 |
msgstr ""
|
2521 |
|
2522 |
+
#: includes/admin/include/admin_fields.php:1221
|
2523 |
msgid "lightSpeedOut"
|
2524 |
msgstr ""
|
2525 |
|
2526 |
+
#: includes/admin/include/admin_fields.php:1076
|
2527 |
msgid "Limit"
|
2528 |
msgstr ""
|
2529 |
|
2544 |
msgid "List Item"
|
2545 |
msgstr ""
|
2546 |
|
2547 |
+
#: includes/admin/include/admin_fields.php:1597
|
2548 |
msgid "List View Button background color"
|
2549 |
msgstr ""
|
2550 |
|
2551 |
+
#: includes/admin/include/admin_fields.php:1583
|
2552 |
msgid "List View Button color"
|
2553 |
msgstr ""
|
2554 |
|
2555 |
+
#: includes/admin/include/admin_fields.php:1604
|
2556 |
msgid "List View Button hover background color"
|
2557 |
msgstr ""
|
2558 |
|
2559 |
+
#: includes/admin/include/admin_fields.php:1590
|
2560 |
msgid "List View Button Hover color"
|
2561 |
msgstr ""
|
2562 |
|
2563 |
+
#: includes/admin/include/admin_fields.php:1404
|
2564 |
msgid "Load Products in Elementor Addons"
|
2565 |
msgstr ""
|
2566 |
|
2567 |
+
#: includes/modules/shopify-like-checkout/templates/form-checkout.php:74
|
2568 |
+
msgid "Log in"
|
2569 |
+
msgstr ""
|
2570 |
+
|
2571 |
+
#: includes/modules/shopify-like-checkout/templates/form-login.php:41
|
2572 |
+
msgid "Login"
|
2573 |
+
msgstr ""
|
2574 |
+
|
2575 |
+
#: includes/admin/include/admin_fields.php:689
|
2576 |
msgid "Login Form"
|
2577 |
msgstr ""
|
2578 |
|
2579 |
+
#: includes/admin/include/admin_fields.php:1325
|
2580 |
+
msgid "Logo"
|
2581 |
+
msgstr ""
|
2582 |
+
|
2583 |
#: includes/addons/wb_customer_review.php:124
|
2584 |
#: includes/addons/wb_customer_review.php:142
|
2585 |
#: includes/addons/wb_customer_review.php:149
|
2596 |
msgid "Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks."
|
2597 |
msgstr ""
|
2598 |
|
2599 |
+
#: includes/modules/shopify-like-checkout/templates/form-login.php:44
|
2600 |
+
msgid "Lost your password?"
|
2601 |
+
msgstr ""
|
2602 |
+
|
2603 |
#: includes/addons/wl_product_video_gallery.php:86
|
2604 |
msgid "Main Video Area"
|
2605 |
msgstr ""
|
2606 |
|
2607 |
+
#: includes/admin/include/admin_fields.php:1090
|
2608 |
+
msgid "Manage show all product from each order."
|
2609 |
+
msgstr ""
|
2610 |
+
|
2611 |
#: includes/addons/wb_customer_review.php:147
|
2612 |
msgid "Manager"
|
2613 |
msgstr ""
|
2617 |
msgid "Managing Director"
|
2618 |
msgstr ""
|
2619 |
|
2620 |
+
#: includes/admin/include/admin_fields.php:936
|
2621 |
msgid "Manual"
|
2622 |
msgstr ""
|
2623 |
|
2745 |
msgid "Min price"
|
2746 |
msgstr ""
|
2747 |
|
2748 |
+
#: includes/admin/include/admin_fields.php:800
|
2749 |
msgid "Mini Cart"
|
2750 |
msgstr ""
|
2751 |
|
2767 |
msgid "Mobile Resolution"
|
2768 |
msgstr ""
|
2769 |
|
2770 |
+
#: includes/admin/include/admin_fields.php:51
|
2771 |
msgid "Modules"
|
2772 |
msgstr ""
|
2773 |
|
2774 |
+
#: includes/admin/include/class.extension-manager.php:210
|
2775 |
+
#: includes/admin/include/class.extension-manager.php:278
|
2776 |
msgid "More Details"
|
2777 |
msgstr ""
|
2778 |
|
2779 |
+
#: includes/admin/include/admin_fields.php:1702
|
2780 |
+
#: includes/admin/include/class.extension-manager.php:91
|
2781 |
msgid "Multi Currency"
|
2782 |
msgstr ""
|
2783 |
|
2784 |
+
#: includes/admin/include/class.extension-manager.php:119
|
2785 |
msgid "Multi Currency Pro for WooCommerce"
|
2786 |
msgstr ""
|
2787 |
|
2788 |
+
#: includes/admin/include/admin_fields.php:1392
|
2789 |
msgid "Multi Step Checkout"
|
2790 |
msgstr ""
|
2791 |
|
2792 |
+
#: includes/admin/include/class.extension-manager.php:122
|
2793 |
msgid ""
|
2794 |
"Multi-Currency Pro for WooCommerce is a prominent currency switcher plugin "
|
2795 |
"for WooCommerce. This plugin allows your website or online store visitors to "
|
2804 |
msgid "Multiple Categories"
|
2805 |
msgstr ""
|
2806 |
|
2807 |
+
#: includes/admin/include/admin_fields.php:649
|
2808 |
msgid "My Account"
|
2809 |
msgstr ""
|
2810 |
|
2811 |
+
#: includes/admin/include/admin_fields.php:681
|
2812 |
msgid "My Account Address"
|
2813 |
msgstr ""
|
2814 |
|
2815 |
+
#: includes/admin/include/admin_fields.php:657
|
2816 |
msgid "My Account Dashboard"
|
2817 |
msgstr ""
|
2818 |
|
2819 |
+
#: includes/admin/include/admin_fields.php:665
|
2820 |
msgid "My Account Download"
|
2821 |
msgstr ""
|
2822 |
|
2823 |
+
#: includes/admin/include/admin_fields.php:673
|
2824 |
msgid "My Account Edit"
|
2825 |
msgstr ""
|
2826 |
|
2827 |
+
#: includes/admin/include/admin_fields.php:220
|
2828 |
msgid "My Account Login page Template"
|
2829 |
msgstr ""
|
2830 |
|
2831 |
+
#: includes/admin/include/admin_fields.php:705
|
2832 |
msgid "My Account Logout"
|
2833 |
msgstr ""
|
2834 |
|
2835 |
+
#: includes/admin/include/admin_fields.php:713
|
2836 |
msgid "My Account Order"
|
2837 |
msgstr ""
|
2838 |
|
2839 |
+
#: includes/admin/include/admin_fields.php:207
|
2840 |
msgid "My Account Page Template"
|
2841 |
msgstr ""
|
2842 |
|
2843 |
+
#: classes/class.default_data.php:325
|
2844 |
msgid "N/A"
|
2845 |
msgstr ""
|
2846 |
|
2847 |
+
#: includes/helper-function.php:772 includes/addons/wl_testimonial.php:78
|
2848 |
#: includes/addons/wl_testimonial.php:572
|
2849 |
#: includes/addons/product_image_accordion.php:144
|
2850 |
#: includes/addons/product_accordion.php:165
|
2852 |
#: includes/addons/wb_customer_review.php:76
|
2853 |
#: includes/addons/wb_customer_review.php:388
|
2854 |
#: includes/addons/product_tabs.php:164
|
2855 |
+
#: includes/admin/include/class.template-manager.php:348
|
2856 |
msgid "Name"
|
2857 |
msgstr ""
|
2858 |
|
2882 |
msgid "New"
|
2883 |
msgstr ""
|
2884 |
|
2885 |
+
#: includes/admin/include/class.template_cpt.php:33
|
2886 |
+
msgid "New Template"
|
2887 |
+
msgstr ""
|
2888 |
+
|
2889 |
#: includes/addons/wl_testimonial.php:200
|
2890 |
#: includes/addons/wb_customer_review.php:188
|
2891 |
#: includes/addons/wl_category_grid.php:197
|
2892 |
msgid "Nine"
|
2893 |
msgstr ""
|
2894 |
|
2895 |
+
#: includes/admin/include/class.template-manager.php:127
|
2896 |
+
msgid "NO"
|
2897 |
+
msgstr ""
|
2898 |
+
|
2899 |
#: includes/addons/wl_faq.php:110 includes/addons/wl_faq.php:189
|
2900 |
#: includes/addons/wl_faq.php:202 includes/addons/wl_testimonial.php:214
|
2901 |
#: includes/addons/wl_testimonial.php:328
|
2913 |
msgid "No Gutters"
|
2914 |
msgstr ""
|
2915 |
|
2916 |
+
#: includes/modules/shopify-like-checkout/class.shopify-like-checkout.php:325
|
2917 |
+
msgid "No naughty business please!"
|
2918 |
+
msgstr ""
|
2919 |
+
|
2920 |
+
#: classes/class.default_data.php:267
|
2921 |
msgid "No Rating Available"
|
2922 |
msgstr ""
|
2923 |
|
2924 |
+
#: classes/class.default_data.php:427
|
2925 |
msgid "No related products are available."
|
2926 |
msgstr ""
|
2927 |
|
2929 |
msgid "No Results Found"
|
2930 |
msgstr ""
|
2931 |
|
2932 |
+
#: includes/helper-function.php:282
|
2933 |
msgid "No saved templates found."
|
2934 |
msgstr ""
|
2935 |
|
2936 |
+
#. $s shipping destination.
|
2937 |
+
#: includes/modules/shopify-like-checkout/templates/cart-shipping.php:56
|
2938 |
+
#, php-format
|
2939 |
+
msgid "No shipping options were found for %s."
|
2940 |
+
msgstr ""
|
2941 |
+
|
2942 |
+
#: classes/class.default_data.php:398
|
2943 |
msgid "No upsell products are available."
|
2944 |
msgstr ""
|
2945 |
|
2946 |
+
#: includes/admin/include/class.template-manager.php:407
|
2947 |
+
#: includes/admin/include/class.template-manager.php:542
|
2948 |
+
#: includes/admin/include/class.template-manager.php:578
|
2949 |
+
#: includes/admin/include/class.template-manager.php:627
|
2950 |
+
msgid "Nonce Varification Faild !"
|
2951 |
+
msgstr ""
|
2952 |
+
|
2953 |
+
#: includes/helper-function.php:769
|
2954 |
#: includes/addons/product_image_accordion.php:141
|
2955 |
#: includes/addons/product_accordion.php:162
|
2956 |
#: includes/addons/product_curvy.php:197
|
2987 |
msgid "Normal"
|
2988 |
msgstr ""
|
2989 |
|
2990 |
+
#: includes/admin/include/class.template_cpt.php:39
|
2991 |
+
msgid "Not found"
|
2992 |
+
msgstr ""
|
2993 |
+
|
2994 |
+
#: includes/admin/include/class.template_cpt.php:40
|
2995 |
+
msgid "Not found in Trash"
|
2996 |
+
msgstr ""
|
2997 |
+
|
2998 |
+
#: classes/class.assest_management.php:339
|
2999 |
msgid "Nothing Found"
|
3000 |
msgstr ""
|
3001 |
|
3002 |
+
#: includes/admin/include/admin_fields.php:930
|
3003 |
msgid "Notification Content Type"
|
3004 |
msgstr ""
|
3005 |
|
3006 |
+
#: includes/admin/include/admin_fields.php:1016
|
3007 |
msgid "Notification showing time"
|
3008 |
msgstr ""
|
3009 |
|
3010 |
+
#: includes/admin/include/admin_fields.php:981
|
3011 |
msgid "Notification Timing"
|
3012 |
msgstr ""
|
3013 |
|
3048 |
msgid "One"
|
3049 |
msgstr ""
|
3050 |
|
3051 |
+
#: includes/admin/include/admin_fields.php:331
|
3052 |
msgid "One page slider"
|
3053 |
msgstr ""
|
3054 |
|
3102 |
msgid "Order by"
|
3103 |
msgstr ""
|
3104 |
|
3105 |
+
#: includes/admin/include/admin_fields.php:1098
|
3106 |
msgid "Order Upto"
|
3107 |
msgstr ""
|
3108 |
|
3113 |
"the pro version."
|
3114 |
msgstr ""
|
3115 |
|
3116 |
+
#: includes/helper-function.php:512 includes/helper-function.php:556
|
3117 |
msgid "Out of stock"
|
3118 |
msgstr ""
|
3119 |
|
3120 |
+
#: includes/helper-function.php:424
|
3121 |
msgid "p"
|
3122 |
msgstr ""
|
3123 |
|
3179 |
msgid "Pagination"
|
3180 |
msgstr ""
|
3181 |
|
3182 |
+
#: includes/admin/include/class.template_cpt.php:29
|
3183 |
+
msgid "Parent Item:"
|
3184 |
+
msgstr ""
|
3185 |
+
|
3186 |
+
#: includes/modules/shopify-like-checkout/templates/form-login.php:28
|
3187 |
+
#: includes/modules/shopify-like-checkout/templates/form-login.php:29
|
3188 |
+
msgid "Password"
|
3189 |
+
msgstr ""
|
3190 |
+
|
3191 |
#: includes/addons/wl_testimonial.php:332 includes/addons/product_tabs.php:469
|
3192 |
#: includes/addons/wl_category_grid.php:299
|
3193 |
msgid "Pause on Hover?"
|
3194 |
msgstr ""
|
3195 |
|
3196 |
+
#: includes/modules/shopify-like-checkout/templates/form-checkout.php:59
|
3197 |
+
msgid "Payment"
|
3198 |
+
msgstr ""
|
3199 |
+
|
3200 |
#: includes/addons/wb_customer_review.php:146
|
3201 |
msgid "Peter Rose"
|
3202 |
msgstr ""
|
3203 |
|
3204 |
+
#: includes/base.php:195
|
3205 |
msgid "PHP"
|
3206 |
msgstr ""
|
3207 |
|
3208 |
+
#: includes/admin/include/admin_fields.php:899
|
3209 |
+
#: includes/admin/include/admin_fields.php:902
|
3210 |
+
#: includes/modules/shopify-like-checkout/templates/form-checkout.php:167
|
3211 |
msgid "Place order"
|
3212 |
msgstr ""
|
3213 |
|
3244 |
msgid "Please Enter your name"
|
3245 |
msgstr ""
|
3246 |
|
3247 |
+
#: includes/modules/shopify-like-checkout/templates/payment.php:21
|
3248 |
+
msgid "Please fill in your details above to see available payment methods."
|
3249 |
+
msgstr ""
|
3250 |
+
|
3251 |
#: includes/addons/wl_product_filter.php:940
|
3252 |
msgid "Please Select Filter Type"
|
3253 |
msgstr ""
|
3271 |
#: includes/addons/wb_archive_product.php:891
|
3272 |
#: includes/addons/wl_category_grid.php:681
|
3273 |
#: includes/addons/wl_category_grid.php:766
|
3274 |
+
#: includes/admin/include/admin_fields.php:953
|
3275 |
msgid "Position"
|
3276 |
msgstr ""
|
3277 |
|
3278 |
+
#: includes/admin/include/admin_fields.php:1646
|
3279 |
msgid "Post Duplicator Condition"
|
3280 |
msgstr ""
|
3281 |
|
3282 |
+
#: includes/admin/include/class.template-manager.php:436
|
3283 |
+
msgid "Post request dose not found"
|
3284 |
+
msgstr ""
|
3285 |
+
|
3286 |
+
#: includes/admin/include/class.template_cpt.php:23
|
3287 |
+
msgctxt "Post Type General Name"
|
3288 |
+
msgid "Template Builder"
|
3289 |
+
msgstr ""
|
3290 |
+
|
3291 |
+
#: includes/admin/include/class.template_cpt.php:24
|
3292 |
+
msgctxt "Post Type Singular Name"
|
3293 |
+
msgid "Template Builder"
|
3294 |
+
msgstr ""
|
3295 |
+
|
3296 |
+
#: classes/class.assest_management.php:346
|
3297 |
+
#: includes/admin/include/admin_field-manager.php:229
|
3298 |
+
#: includes/admin/include/admin_field-manager.php:275
|
3299 |
msgid "Preview"
|
3300 |
msgstr ""
|
3301 |
|
3306 |
#: includes/addons/wb_archive_product.php:402
|
3307 |
#: includes/addons/wb_product_related.php:79
|
3308 |
#: includes/addons/wl_product_filter.php:40
|
3309 |
+
#: includes/admin/include/admin_fields.php:1459
|
3310 |
msgid "Price"
|
3311 |
msgstr ""
|
3312 |
|
3324 |
msgid "Price color"
|
3325 |
msgstr ""
|
3326 |
|
3327 |
+
#: classes/class.default_data.php:223
|
3328 |
msgid "Price does not set this product."
|
3329 |
msgstr ""
|
3330 |
|
3349 |
msgid "Pricing"
|
3350 |
msgstr ""
|
3351 |
|
3352 |
+
#: classes/class.assest_management.php:334
|
3353 |
+
#: includes/admin/include/class.template-manager.php:374
|
3354 |
+
#: includes/admin/include/admin_field-manager.php:93
|
3355 |
+
#: includes/admin/include/admin_field-manager.php:212
|
3356 |
+
#: includes/admin/include/admin_field-manager.php:256
|
3357 |
#: includes/admin/include/templates_list.php:53
|
3358 |
msgid "Pro"
|
3359 |
msgstr ""
|
3360 |
|
3361 |
+
#: includes/admin/include/class.extension-manager.php:160
|
3362 |
msgid "Pro extension"
|
3363 |
msgstr ""
|
3364 |
|
3366 |
msgid "Producing Perfume From Home"
|
3367 |
msgstr ""
|
3368 |
|
3369 |
+
#: includes/helper-function.php:814
|
3370 |
#: woolentor-blocks/includes/helper-functions.php:314
|
3371 |
msgid "Product Added"
|
3372 |
msgstr ""
|
3373 |
|
3374 |
+
#: includes/admin/include/admin_fields.php:366
|
3375 |
msgid "Product Archive"
|
3376 |
msgstr ""
|
3377 |
|
3378 |
+
#: includes/admin/include/admin_fields.php:529
|
3379 |
msgid "Product Archive Layout"
|
3380 |
msgstr ""
|
3381 |
|
3382 |
+
#: includes/admin/include/admin_fields.php:147
|
3383 |
msgid "Product Archive Page Template"
|
3384 |
msgstr ""
|
3385 |
|
3386 |
+
#: includes/custom-metabox.php:7 includes/admin/include/admin_fields.php:1536
|
3387 |
msgid "Product Badge"
|
3388 |
msgstr ""
|
3389 |
|
3390 |
+
#: includes/admin/include/admin_fields.php:545
|
3391 |
msgid "Product Cart Table"
|
3392 |
msgstr ""
|
3393 |
|
3394 |
+
#: includes/admin/include/admin_fields.php:553
|
3395 |
msgid "Product Cart Total"
|
3396 |
msgstr ""
|
3397 |
|
3427 |
"the pro version"
|
3428 |
msgstr ""
|
3429 |
|
3430 |
+
#: includes/admin/include/admin_fields.php:577
|
3431 |
msgid "Product Cross Sell"
|
3432 |
msgstr ""
|
3433 |
|
3434 |
+
#: includes/admin/include/admin_fields.php:415
|
3435 |
msgid "Product Data Tab"
|
3436 |
msgstr ""
|
3437 |
|
3438 |
+
#: includes/admin/include/admin_fields.php:422
|
3439 |
msgid "Product Description"
|
3440 |
msgstr ""
|
3441 |
|
3442 |
+
#: includes/admin/include/admin_fields.php:849
|
3443 |
msgid "Product Details Page"
|
3444 |
msgstr ""
|
3445 |
|
3446 |
+
#: includes/admin/include/admin_fields.php:513
|
3447 |
msgid "Product Expanding Grid"
|
3448 |
msgstr ""
|
3449 |
|
3450 |
+
#: includes/admin/include/admin_fields.php:373
|
3451 |
msgid "Product Filter"
|
3452 |
msgstr ""
|
3453 |
|
3454 |
+
#: includes/admin/include/admin_fields.php:521
|
3455 |
msgid "Product Filterable Grid"
|
3456 |
msgstr ""
|
3457 |
|
3458 |
+
#: includes/admin/include/admin_fields.php:537
|
3459 |
msgid "Product Grid"
|
3460 |
msgstr ""
|
3461 |
|
3462 |
+
#: includes/admin/include/admin_fields.php:380
|
3463 |
msgid "Product Horizontal Filter"
|
3464 |
msgstr ""
|
3465 |
|
3473 |
msgid "Product IDs"
|
3474 |
msgstr ""
|
3475 |
|
3476 |
+
#: includes/admin/include/admin_fields.php:457
|
3477 |
msgid "Product Image"
|
3478 |
msgstr ""
|
3479 |
|
3493 |
#: includes/addons/product_image_accordion.php:103
|
3494 |
#: includes/addons/product_accordion.php:138
|
3495 |
#: includes/addons/product_curvy.php:173
|
3496 |
+
#: includes/admin/include/admin_fields.php:92
|
3497 |
msgid "Product Limit"
|
3498 |
msgstr ""
|
3499 |
|
3500 |
+
#: includes/admin/include/admin_fields.php:485
|
3501 |
msgid "Product Meta Info"
|
3502 |
msgstr ""
|
3503 |
|
3505 |
msgid "Product Not Available"
|
3506 |
msgstr ""
|
3507 |
|
3508 |
+
#: includes/helper-function.php:777
|
3509 |
#: includes/addons/product_image_accordion.php:407
|
3510 |
#: includes/addons/product_accordion.php:485
|
3511 |
#: includes/addons/product_curvy.php:478 includes/addons/product_tabs.php:1000
|
3512 |
+
#: includes/admin/include/admin_fields.php:436
|
3513 |
msgid "Product Price"
|
3514 |
msgstr ""
|
3515 |
|
3516 |
+
#: includes/admin/include/admin_fields.php:1068
|
3517 |
msgid "Product Query Option"
|
3518 |
msgstr ""
|
3519 |
|
3520 |
#: includes/addons/product_image_accordion.php:470
|
3521 |
#: includes/addons/product_accordion.php:548
|
3522 |
#: includes/addons/product_curvy.php:639
|
3523 |
+
#: includes/admin/include/admin_fields.php:443
|
3524 |
msgid "Product Rating"
|
3525 |
msgstr ""
|
3526 |
|
3527 |
#: includes/addons/wb_product_reviews.php:39
|
3528 |
+
#: includes/admin/include/admin_fields.php:450
|
3529 |
msgid "Product Reviews"
|
3530 |
msgstr ""
|
3531 |
|
3532 |
+
#: includes/admin/include/admin_fields.php:776
|
3533 |
msgid "Product Sale Schedule"
|
3534 |
msgstr ""
|
3535 |
|
3541 |
msgid "Product Shop Page Template"
|
3542 |
msgstr ""
|
3543 |
|
3544 |
+
#: includes/admin/include/admin_fields.php:429
|
3545 |
msgid "Product Short Description"
|
3546 |
msgstr ""
|
3547 |
|
3549 |
msgid "Product Slider"
|
3550 |
msgstr ""
|
3551 |
|
3552 |
+
#: includes/admin/include/admin_fields.php:761
|
3553 |
msgid "Product Social Share"
|
3554 |
msgstr ""
|
3555 |
|
3556 |
+
#: includes/admin/include/admin_fields.php:1367
|
3557 |
msgid "Product sticky Add to cart"
|
3558 |
msgstr ""
|
3559 |
|
3560 |
+
#: includes/admin/include/admin_fields.php:478
|
3561 |
msgid "Product Stock Status"
|
3562 |
msgstr ""
|
3563 |
|
3566 |
msgstr ""
|
3567 |
|
3568 |
#: includes/addons/product_tabs.php:194
|
3569 |
+
#: includes/admin/include/admin_fields.php:250
|
3570 |
msgid "Product Tab"
|
3571 |
msgstr ""
|
3572 |
|
3578 |
#: includes/addons/product_curvy.php:406
|
3579 |
#: includes/addons/wb_product_title.php:41
|
3580 |
#: includes/addons/wb_product_title.php:60
|
3581 |
+
#: includes/admin/include/admin_fields.php:387
|
3582 |
msgid "Product Title"
|
3583 |
msgstr ""
|
3584 |
|
3585 |
+
#: includes/admin/include/admin_fields.php:471
|
3586 |
msgid "Product Upsell"
|
3587 |
msgstr ""
|
3588 |
|
3589 |
+
#: includes/admin/include/admin_fields.php:464
|
3590 |
msgid "Product Video Gallery"
|
3591 |
msgstr ""
|
3592 |
|
3598 |
"href=\"%s\" target=\"_blank\">Purchase WooLentor Pro</a>"
|
3599 |
msgstr ""
|
3600 |
|
3601 |
+
#: includes/admin/include/admin_fields.php:753
|
3602 |
msgid "Product Zoom"
|
3603 |
msgstr ""
|
3604 |
|
3610 |
msgid "Products reviews"
|
3611 |
msgstr ""
|
3612 |
|
3613 |
+
#: includes/base.php:250
|
3614 |
msgid "Promo Banner"
|
3615 |
msgstr ""
|
3616 |
|
3617 |
+
#: includes/admin/include/admin_fields.php:1139
|
3618 |
+
#: includes/admin/include/admin_fields.php:1196
|
3619 |
msgid "pulse"
|
3620 |
msgstr ""
|
3621 |
|
3624 |
msgstr ""
|
3625 |
|
3626 |
#: includes/addons/wb_product_qr_code.php:39
|
3627 |
+
#: includes/admin/include/admin_fields.php:506
|
3628 |
msgid "QR Code"
|
3629 |
msgstr ""
|
3630 |
|
3638 |
msgid "Query Settings"
|
3639 |
msgstr ""
|
3640 |
|
3641 |
+
#: includes/admin/include/admin_fields.php:1550
|
3642 |
msgid "Quick Action Button"
|
3643 |
msgstr ""
|
3644 |
|
3645 |
+
#: includes/admin/include/admin_fields.php:233
|
3646 |
msgid "Quick View Template"
|
3647 |
msgstr ""
|
3648 |
|
3649 |
+
#: includes/helper-function.php:775 includes/addons/wb_product_upsell.php:67
|
3650 |
#: includes/addons/wb_archive_product.php:132
|
3651 |
#: includes/addons/product_image_accordion.php:147
|
3652 |
#: includes/addons/wb_product_related.php:82
|
3671 |
#: includes/addons/wb_archive_product.php:478
|
3672 |
#: includes/addons/wb_product_related.php:81
|
3673 |
#: includes/addons/wb_customer_review.php:557
|
3674 |
+
#: includes/admin/include/admin_fields.php:1515
|
3675 |
msgid "Rating"
|
3676 |
msgstr ""
|
3677 |
|
3681 |
msgid "Rating Color"
|
3682 |
msgstr ""
|
3683 |
|
3684 |
+
#: includes/admin/include/admin_fields.php:1527
|
3685 |
msgid "Rating color"
|
3686 |
msgstr ""
|
3687 |
|
3688 |
+
#: classes/class.default_data.php:249
|
3689 |
msgid "Rating dose not enable"
|
3690 |
msgstr ""
|
3691 |
|
3697 |
msgid "Rating Star Color"
|
3698 |
msgstr ""
|
3699 |
|
3700 |
+
#: includes/admin/include/admin_fields.php:935
|
3701 |
msgid "Real"
|
3702 |
msgstr ""
|
3703 |
|
3712 |
msgid "Redirect Custom URL"
|
3713 |
msgstr ""
|
3714 |
|
3715 |
+
#: includes/admin/include/admin_fields.php:697
|
3716 |
msgid "Registration Form"
|
3717 |
msgstr ""
|
3718 |
|
3726 |
msgid "Regular Price Color"
|
3727 |
msgstr ""
|
3728 |
|
3729 |
+
#: includes/admin/include/admin_fields.php:1471
|
3730 |
msgid "Regular price color"
|
3731 |
msgstr ""
|
3732 |
|
3733 |
+
#: includes/admin/include/admin_fields.php:784
|
3734 |
msgid "Related Pro..( Custom )"
|
3735 |
msgstr ""
|
3736 |
|
3737 |
#: includes/addons/wb_product_related.php:41
|
3738 |
+
#: includes/admin/include/admin_fields.php:394
|
3739 |
msgid "Related Product"
|
3740 |
msgstr ""
|
3741 |
|
3742 |
+
#: includes/modules/shopify-like-checkout/templates/form-login.php:37
|
3743 |
+
msgid "Remember me"
|
3744 |
+
msgstr ""
|
3745 |
+
|
3746 |
+
#: includes/admin/include/admin_fields.php:1330
|
3747 |
+
msgid "Remove"
|
3748 |
+
msgstr ""
|
3749 |
+
|
3750 |
+
#: includes/admin/include/class.template_cpt.php:43
|
3751 |
+
msgid "Remove featured image"
|
3752 |
+
msgstr ""
|
3753 |
+
|
3754 |
+
#: includes/admin/include/admin_fields.php:814
|
3755 |
msgid "Rename Label"
|
3756 |
msgstr ""
|
3757 |
|
3759 |
msgid "Request"
|
3760 |
msgstr ""
|
3761 |
|
3762 |
+
#: includes/modules/shopify-like-checkout/templates/form-checkout.php:155
|
3763 |
+
msgid "Return to cart"
|
3764 |
+
msgstr ""
|
3765 |
+
|
3766 |
+
#: includes/modules/shopify-like-checkout/templates/form-checkout.php:159
|
3767 |
+
msgid "Return to informations"
|
3768 |
+
msgstr ""
|
3769 |
+
|
3770 |
#: includes/addons/wb_customer_review.php:39
|
3771 |
msgid "Review"
|
3772 |
msgstr ""
|
3776 |
msgid "Review Type"
|
3777 |
msgstr ""
|
3778 |
|
3779 |
+
#: includes/admin/include/admin_fields.php:883
|
3780 |
+
#: includes/admin/include/admin_fields.php:886
|
3781 |
msgid "Reviews"
|
3782 |
msgstr ""
|
3783 |
|
3802 |
msgid "Right"
|
3803 |
msgstr ""
|
3804 |
|
3805 |
+
#: includes/admin/include/admin_fields.php:1181
|
3806 |
msgid "rollIn"
|
3807 |
msgstr ""
|
3808 |
|
3809 |
+
#: includes/admin/include/admin_fields.php:1182
|
3810 |
msgid "rollOut"
|
3811 |
msgstr ""
|
3812 |
|
3813 |
+
#: includes/admin/include/admin_fields.php:1165
|
3814 |
msgid "rotateIn"
|
3815 |
msgstr ""
|
3816 |
|
3817 |
+
#: includes/admin/include/admin_fields.php:1166
|
3818 |
msgid "rotateInDownLeft"
|
3819 |
msgstr ""
|
3820 |
|
3821 |
+
#: includes/admin/include/admin_fields.php:1167
|
3822 |
msgid "rotateInDownRight"
|
3823 |
msgstr ""
|
3824 |
|
3825 |
+
#: includes/admin/include/admin_fields.php:1168
|
3826 |
msgid "rotateInUpLeft"
|
3827 |
msgstr ""
|
3828 |
|
3829 |
+
#: includes/admin/include/admin_fields.php:1169
|
3830 |
msgid "rotateInUpRight"
|
3831 |
msgstr ""
|
3832 |
|
3833 |
+
#: includes/admin/include/admin_fields.php:1222
|
3834 |
msgid "rotateOut"
|
3835 |
msgstr ""
|
3836 |
|
3837 |
+
#: includes/admin/include/admin_fields.php:1223
|
3838 |
msgid "rotateOutDownLeft"
|
3839 |
msgstr ""
|
3840 |
|
3841 |
+
#: includes/admin/include/admin_fields.php:1224
|
3842 |
msgid "rotateOutDownRight"
|
3843 |
msgstr ""
|
3844 |
|
3845 |
+
#: includes/admin/include/admin_fields.php:1225
|
3846 |
msgid "rotateOutUpLeft"
|
3847 |
msgstr ""
|
3848 |
|
3849 |
+
#: includes/admin/include/admin_fields.php:1226
|
3850 |
msgid "rotateOutUpRight"
|
3851 |
msgstr ""
|
3852 |
|
3855 |
msgid "Rows"
|
3856 |
msgstr ""
|
3857 |
|
3858 |
+
#: includes/admin/include/admin_fields.php:1140
|
3859 |
+
#: includes/admin/include/admin_fields.php:1197
|
3860 |
msgid "rubberBand"
|
3861 |
msgstr ""
|
3862 |
|
3882 |
msgid "Sale Price Color"
|
3883 |
msgstr ""
|
3884 |
|
3885 |
+
#: includes/admin/include/admin_fields.php:1464
|
3886 |
msgid "Sale price color"
|
3887 |
msgstr ""
|
3888 |
|
3896 |
msgid "Sale Tag"
|
3897 |
msgstr ""
|
3898 |
|
3899 |
+
#: includes/helper-function.php:509 includes/helper-function.php:551
|
3900 |
msgid "Sale!"
|
3901 |
msgstr ""
|
3902 |
|
3903 |
+
#: includes/admin/include/admin_fields.php:911
|
3904 |
msgid "Sales Notification"
|
3905 |
msgstr ""
|
3906 |
|
3907 |
+
#: includes/admin/include/class.template-manager.php:372
|
3908 |
+
msgid "Sample Design"
|
3909 |
+
msgstr ""
|
3910 |
+
|
3911 |
#: includes/admin/templates/dashboard-element.php:38
|
3912 |
#: includes/admin/templates/dashboard-style.php:26
|
|
|
3913 |
#: includes/admin/templates/dashboard-settings.php:18
|
3914 |
#: includes/admin/templates/dashboard-module-setting-popup.php:17
|
|
|
3915 |
#: includes/admin/templates/dashboard-module.php:49
|
3916 |
msgid "Save Changes"
|
3917 |
msgstr ""
|
3918 |
|
3919 |
+
#: includes/admin/include/class.template-manager.php:365
|
3920 |
+
msgid "Save Settings"
|
3921 |
+
msgstr ""
|
3922 |
+
|
3923 |
+
#: includes/admin/include/class.template-manager.php:366
|
3924 |
+
msgid "Saving..."
|
3925 |
+
msgstr ""
|
3926 |
+
|
3927 |
#: includes/addons/wl_product_horizontal_filter.php:256
|
3928 |
msgid "Search Button Icon"
|
3929 |
msgstr ""
|
3942 |
msgid "Search Products..."
|
3943 |
msgstr ""
|
3944 |
|
3945 |
+
#: includes/admin/include/class.template_cpt.php:38
|
3946 |
+
msgid "Search Templates"
|
3947 |
+
msgstr ""
|
3948 |
+
|
3949 |
#: includes/admin/include/templates_list.php:46
|
3950 |
msgid "Search.."
|
3951 |
msgstr ""
|
3952 |
|
3953 |
+
#: includes/helper-function.php:259
|
3954 |
msgid "Select"
|
3955 |
msgstr ""
|
3956 |
|
3958 |
msgid "select"
|
3959 |
msgstr ""
|
3960 |
|
3961 |
+
#: includes/admin/include/admin_fields.php:173
|
3962 |
msgid "Select a template for the cart page layout"
|
3963 |
msgstr ""
|
3964 |
|
3965 |
+
#: includes/admin/include/admin_fields.php:186
|
3966 |
msgid "Select a template for the Checkout page layout"
|
3967 |
msgstr ""
|
3968 |
|
3969 |
+
#: includes/admin/include/admin_fields.php:221
|
3970 |
msgid "Select a template for the Login page layout"
|
3971 |
msgstr ""
|
3972 |
|
3973 |
+
#: includes/admin/include/admin_fields.php:225
|
3974 |
msgid "Select a template for the My account login page layout"
|
3975 |
msgstr ""
|
3976 |
|
3977 |
+
#: includes/admin/include/admin_fields.php:208
|
3978 |
msgid "Select a template for the My Account page layout"
|
3979 |
msgstr ""
|
3980 |
|
3981 |
+
#: includes/admin/include/admin_fields.php:212
|
3982 |
msgid "Select a template for the My account page layout"
|
3983 |
msgstr ""
|
3984 |
|
3985 |
+
#: includes/admin/include/admin_fields.php:234
|
3986 |
msgid "Select a template for the product's quick view layout"
|
3987 |
msgstr ""
|
3988 |
|
3989 |
+
#: includes/admin/include/admin_fields.php:238
|
3990 |
msgid "Select a template for the Quick view layout"
|
3991 |
msgstr ""
|
3992 |
|
3993 |
+
#: includes/admin/include/admin_fields.php:195
|
3994 |
+
#: includes/admin/include/admin_fields.php:199
|
3995 |
msgid "Select a template for the Thank you page layout"
|
3996 |
msgstr ""
|
3997 |
|
4004 |
msgid "Select Content Source"
|
4005 |
msgstr ""
|
4006 |
|
4007 |
+
#: includes/admin/include/admin_fields.php:931
|
4008 |
msgid "Select Content Type"
|
4009 |
msgstr ""
|
4010 |
|
4012 |
msgid "Select Layout"
|
4013 |
msgstr ""
|
4014 |
|
4015 |
+
#: includes/admin/include/admin_fields.php:1341
|
4016 |
+
msgid "Select Menu"
|
4017 |
+
msgstr ""
|
4018 |
+
|
4019 |
#: includes/addons/product_image_accordion.php:77
|
4020 |
#: includes/addons/product_accordion.php:98
|
4021 |
#: includes/addons/product_curvy.php:133
|
4030 |
msgid "Select Table"
|
4031 |
msgstr ""
|
4032 |
|
4033 |
+
#: includes/helper-function.php:284 includes/addons/wl_faq.php:93
|
4034 |
msgid "Select Template"
|
4035 |
msgstr ""
|
4036 |
|
4038 |
msgid "Send To Mail"
|
4039 |
msgstr ""
|
4040 |
|
4041 |
+
#: includes/admin/include/class.template-manager.php:352
|
4042 |
+
msgid "Set Default"
|
4043 |
+
msgstr ""
|
4044 |
+
|
4045 |
+
#: includes/admin/include/class.template_cpt.php:42
|
4046 |
+
msgid "Set featured image"
|
4047 |
+
msgstr ""
|
4048 |
+
|
4049 |
+
#: includes/admin/include/admin_fields.php:1272
|
4050 |
msgid "Set the background color of the notification."
|
4051 |
msgstr ""
|
4052 |
|
4053 |
+
#: includes/admin/include/admin_fields.php:1288
|
4054 |
msgid "Set the content color of the notification."
|
4055 |
msgstr ""
|
4056 |
|
4057 |
+
#: includes/admin/include/admin_fields.php:1296
|
4058 |
msgid "Set the cross icon color of the notification."
|
4059 |
msgstr ""
|
4060 |
|
4061 |
+
#: includes/admin/include/admin_fields.php:1280
|
4062 |
msgid "Set the heading color of the notification."
|
4063 |
msgstr ""
|
4064 |
|
4065 |
+
#: includes/admin/include/admin_fields.php:969
|
4066 |
msgid "Set the image position of the notification."
|
4067 |
msgstr ""
|
4068 |
|
4069 |
+
#: includes/helper-function.php:704 includes/helper-function.php:722
|
4070 |
msgid "Set the initial stock amount from"
|
4071 |
msgstr ""
|
4072 |
|
4073 |
+
#: includes/admin/include/admin_fields.php:1043
|
4074 |
msgid "Set the interval time between notifications."
|
4075 |
msgstr ""
|
4076 |
|
4077 |
+
#: includes/admin/include/admin_fields.php:1077
|
4078 |
msgid "Set the number of notifications to display."
|
4079 |
msgstr ""
|
4080 |
|
4081 |
+
#: includes/admin/include/admin_fields.php:1405
|
4082 |
msgid "Set the number of products to load in Elementor Addons"
|
4083 |
msgstr ""
|
4084 |
|
4085 |
+
#: includes/admin/include/admin_fields.php:954
|
4086 |
msgid "Set the position of the Sales Notification Position on frontend."
|
4087 |
msgstr ""
|
4088 |
|
4089 |
+
#: includes/base.php:275 includes/admin/admin-init.php:96
|
4090 |
#: includes/admin/admin-init.php:97
|
4091 |
msgid "Settings"
|
4092 |
msgstr ""
|
4097 |
msgid "Seven"
|
4098 |
msgstr ""
|
4099 |
|
4100 |
+
#: includes/admin/include/admin_fields.php:1141
|
4101 |
+
#: includes/admin/include/admin_fields.php:1198
|
4102 |
msgid "shake"
|
4103 |
msgstr ""
|
4104 |
|
4105 |
+
#: includes/modules/shopify-like-checkout/templates/form-shipping.php:13
|
4106 |
+
msgid "Ship to a different address?"
|
4107 |
+
msgstr ""
|
4108 |
+
|
4109 |
+
#: includes/modules/shopify-like-checkout/templates/form-checkout.php:56
|
4110 |
+
msgid "Shipping"
|
4111 |
+
msgstr ""
|
4112 |
+
|
4113 |
+
#: includes/modules/shopify-like-checkout/templates/cart-shipping.php:48
|
4114 |
+
msgid "Shipping costs are calculated during checkout."
|
4115 |
+
msgstr ""
|
4116 |
+
|
4117 |
+
#: includes/modules/shopify-like-checkout/templates/form-checkout.php:118
|
4118 |
+
msgid "Shipping Method"
|
4119 |
+
msgstr ""
|
4120 |
+
|
4121 |
+
#: includes/modules/shopify-like-checkout/templates/cart-shipping.php:40
|
4122 |
+
msgid "Shipping options will be updated during checkout."
|
4123 |
+
msgstr ""
|
4124 |
+
|
4125 |
+
#. $s shipping destination.
|
4126 |
+
#: includes/modules/shopify-like-checkout/templates/cart-shipping.php:37
|
4127 |
+
#, php-format
|
4128 |
+
msgid "Shipping to %s."
|
4129 |
+
msgstr ""
|
4130 |
+
|
4131 |
+
#: includes/admin/include/class.template-manager.php:172
|
4132 |
+
#: includes/admin/include/class.template-manager.php:195
|
4133 |
+
msgid "Shop"
|
4134 |
+
msgstr ""
|
4135 |
+
|
4136 |
#: includes/addons/wl_onepage_slider.php:471
|
4137 |
#: includes/addons/wl_onepage_slider.php:476
|
4138 |
#: includes/addons/wl_onepage_slider.php:481
|
4139 |
msgid "Shop now"
|
4140 |
msgstr ""
|
4141 |
|
4142 |
+
#: includes/admin/include/admin_fields.php:833
|
4143 |
msgid "Shop Page"
|
4144 |
msgstr ""
|
4145 |
|
4146 |
+
#: includes/admin/include/admin_fields.php:1306
|
4147 |
+
msgid "Shopify Style Checkout"
|
4148 |
+
msgstr ""
|
4149 |
+
|
4150 |
+
#: includes/admin/include/admin_fields.php:1501
|
4151 |
msgid "Short Description"
|
4152 |
msgstr ""
|
4153 |
|
4154 |
+
#: classes/class.default_data.php:232
|
4155 |
msgid "Short description dose not set this product."
|
4156 |
msgstr ""
|
4157 |
|
4196 |
msgid "Show Result Count"
|
4197 |
msgstr ""
|
4198 |
|
4199 |
+
#: includes/admin/include/admin_fields.php:1089
|
4200 |
msgid "Show/Display all products from each order"
|
4201 |
msgstr ""
|
4202 |
|
4203 |
+
#: includes/admin/include/admin_fields.php:1376
|
4204 |
msgid "Side Mini Cart"
|
4205 |
msgstr ""
|
4206 |
|
4210 |
"items, and news in your inbox."
|
4211 |
msgstr ""
|
4212 |
|
4213 |
+
#: includes/admin/include/class.template-manager.php:178
|
4214 |
+
#: includes/admin/include/class.template-manager.php:203
|
4215 |
+
msgid "Single"
|
4216 |
+
msgstr ""
|
4217 |
+
|
4218 |
#: includes/addons/wl_category_grid.php:69
|
4219 |
msgid "Single Category"
|
4220 |
msgstr ""
|
4221 |
|
4222 |
+
#: includes/admin/include/admin_fields.php:1359
|
4223 |
msgid "Single Product Ajax Add To Cart"
|
4224 |
msgstr ""
|
4225 |
|
4226 |
+
#: includes/admin/include/admin_fields.php:105
|
4227 |
msgid "Single Product Template"
|
4228 |
msgstr ""
|
4229 |
|
4238 |
msgid "Size"
|
4239 |
msgstr ""
|
4240 |
|
4241 |
+
#: classes/class.default_data.php:325
|
4242 |
msgid "SKU:"
|
4243 |
msgstr ""
|
4244 |
|
4245 |
+
#: includes/admin/include/admin_fields.php:1171
|
4246 |
msgid "slideInDown"
|
4247 |
msgstr ""
|
4248 |
|
4249 |
+
#: includes/admin/include/admin_fields.php:1172
|
4250 |
msgid "slideInLeft"
|
4251 |
msgstr ""
|
4252 |
|
4253 |
+
#: includes/admin/include/admin_fields.php:1173
|
4254 |
msgid "slideInRight"
|
4255 |
msgstr ""
|
4256 |
|
4257 |
+
#: includes/admin/include/admin_fields.php:1170
|
4258 |
msgid "slideInUp"
|
4259 |
msgstr ""
|
4260 |
|
4261 |
+
#: includes/admin/include/admin_fields.php:1228
|
4262 |
msgid "slideOutDown"
|
4263 |
msgstr ""
|
4264 |
|
4265 |
+
#: includes/admin/include/admin_fields.php:1229
|
4266 |
msgid "slideOutLeft"
|
4267 |
msgstr ""
|
4268 |
|
4269 |
+
#: includes/admin/include/admin_fields.php:1230
|
4270 |
msgid "slideOutRight"
|
4271 |
msgstr ""
|
4272 |
|
4273 |
+
#: includes/admin/include/admin_fields.php:1227
|
4274 |
msgid "slideOutUp"
|
4275 |
msgstr ""
|
4276 |
|
4341 |
msgid "Slider Option"
|
4342 |
msgstr ""
|
4343 |
|
4344 |
+
#: includes/helper-function.php:717
|
4345 |
msgid "Sold"
|
4346 |
msgstr ""
|
4347 |
|
4348 |
+
#: includes/admin/include/class.template-manager.php:484
|
4349 |
+
#: includes/admin/include/class.template-manager.php:559
|
4350 |
+
#: includes/admin/include/class.template-manager.php:597
|
4351 |
+
#: includes/admin/include/class.template-manager.php:667
|
4352 |
+
msgid "Some thing is worng !"
|
4353 |
+
msgstr ""
|
4354 |
+
|
4355 |
#: includes/addons/wb_product_suggest_price.php:179
|
4356 |
#: includes/addons/wb_product_suggest_price.php:180
|
4357 |
msgid "Something is wrong! try again"
|
4358 |
msgstr ""
|
4359 |
|
4360 |
+
#: includes/modules/shopify-like-checkout/templates/payment.php:21
|
4361 |
+
msgid ""
|
4362 |
+
"Sorry, it seems that there are no available payment methods for your state. "
|
4363 |
+
"Please contact us if you require assistance or wish to make alternate "
|
4364 |
+
"arrangements."
|
4365 |
+
msgstr ""
|
4366 |
+
|
4367 |
#: includes/admin/include/template-library.php:388
|
4368 |
msgid "Sorry, you are not allowed to install themes on this site."
|
4369 |
msgstr ""
|
4375 |
msgid "Sort By"
|
4376 |
msgstr ""
|
4377 |
|
4378 |
+
#: includes/helper-function.php:587
|
4379 |
msgid "Sort by average rating"
|
4380 |
msgstr ""
|
4381 |
|
4382 |
+
#: includes/helper-function.php:588
|
4383 |
msgid "Sort by latest"
|
4384 |
msgstr ""
|
4385 |
|
4386 |
+
#: includes/helper-function.php:586
|
4387 |
msgid "Sort by popularity"
|
4388 |
msgstr ""
|
4389 |
|
4390 |
+
#: includes/helper-function.php:590
|
4391 |
msgid "Sort by price: high to low"
|
4392 |
msgstr ""
|
4393 |
|
4394 |
+
#: includes/helper-function.php:589
|
4395 |
msgid "Sort by price: low to high"
|
4396 |
msgstr ""
|
4397 |
|
4405 |
msgid "Spacing"
|
4406 |
msgstr ""
|
4407 |
|
4408 |
+
#: includes/helper-function.php:426
|
4409 |
msgid "span"
|
4410 |
msgstr ""
|
4411 |
|
4412 |
+
#: includes/admin/include/admin_fields.php:296
|
4413 |
msgid "Special Day Offer"
|
4414 |
msgstr ""
|
4415 |
|
4425 |
msgid "Start from $100"
|
4426 |
msgstr ""
|
4427 |
|
4428 |
+
#: includes/admin/include/admin_fields.php:1368
|
4429 |
msgid "Sticky Add to Cart on Single Product page"
|
4430 |
msgstr ""
|
4431 |
|
4432 |
+
#: classes/class.default_data.php:373
|
4433 |
msgid "Stock availability does not exist this product."
|
4434 |
msgstr ""
|
4435 |
|
4436 |
+
#: includes/admin/include/admin_fields.php:769
|
4437 |
msgid "Stock Progress Bar"
|
4438 |
msgstr ""
|
4439 |
|
4441 |
msgid "Store Feature"
|
4442 |
msgstr ""
|
4443 |
|
4444 |
+
#: includes/admin/include/admin_fields.php:345
|
4445 |
msgid "Store Features"
|
4446 |
msgstr ""
|
4447 |
|
4460 |
#: includes/addons/wb_customer_review.php:46
|
4461 |
#: includes/addons/wb_product_stock.php:40 includes/addons/product_tabs.php:854
|
4462 |
#: includes/addons/add_banner.php:50 includes/addons/add_banner.php:139
|
4463 |
+
#: includes/admin/include/admin_fields.php:57
|
4464 |
+
#: includes/admin/include/admin_fields.php:1243
|
4465 |
msgid "Style"
|
4466 |
msgstr ""
|
4467 |
|
4539 |
msgid "Subtitle"
|
4540 |
msgstr ""
|
4541 |
|
4542 |
+
#: includes/modules/shopify-like-checkout/templates/review-order.php:12
|
4543 |
+
msgid "Subtotal"
|
4544 |
+
msgstr ""
|
4545 |
+
|
4546 |
#: includes/addons/wb_product_suggest_price.php:165
|
4547 |
msgid "Success Message"
|
4548 |
msgstr ""
|
4550 |
#: includes/addons/wb_product_suggest_price.php:43
|
4551 |
#: includes/addons/wb_product_suggest_price.php:63
|
4552 |
#: includes/addons/wb_product_suggest_price.php:64
|
4553 |
+
#: includes/admin/include/admin_fields.php:499
|
4554 |
msgid "Suggest Price"
|
4555 |
msgstr ""
|
4556 |
|
4558 |
msgid "Support"
|
4559 |
msgstr ""
|
4560 |
|
4561 |
+
#: includes/admin/include/class.extension-manager.php:76
|
4562 |
+
msgid "Swatchly"
|
4563 |
+
msgstr ""
|
4564 |
+
|
4565 |
+
#: includes/admin/include/admin_fields.php:1142
|
4566 |
+
#: includes/admin/include/admin_fields.php:1199
|
4567 |
msgid "swing"
|
4568 |
msgstr ""
|
4569 |
|
4605 |
msgid "Tablet Resolution"
|
4606 |
msgstr ""
|
4607 |
|
4608 |
+
#: includes/admin/include/admin_fields.php:1143
|
4609 |
+
#: includes/admin/include/admin_fields.php:1200
|
4610 |
msgid "tada"
|
4611 |
msgstr ""
|
4612 |
|
4613 |
+
#: classes/class.default_data.php:331
|
4614 |
msgid "Tag:"
|
4615 |
msgid_plural "Tags:"
|
4616 |
msgstr[0] ""
|
4617 |
msgstr[1] ""
|
4618 |
|
4619 |
+
#: includes/admin/include/class.template_cpt.php:25
|
4620 |
+
#: includes/admin/include/class.template_cpt.php:26
|
4621 |
+
msgid "Template"
|
4622 |
+
msgstr ""
|
4623 |
+
|
4624 |
+
#: includes/admin/include/class.template_cpt.php:27
|
4625 |
+
msgid "Template Archives"
|
4626 |
+
msgstr ""
|
4627 |
+
|
4628 |
+
#: includes/admin/include/class.template_cpt.php:28
|
4629 |
+
msgid "Template Attributes"
|
4630 |
+
msgstr ""
|
4631 |
+
|
4632 |
+
#: includes/admin/include/class.template-manager.php:64
|
4633 |
+
#: includes/admin/include/class.template-manager.php:65
|
4634 |
+
#: includes/admin/include/class.template_cpt.php:53
|
4635 |
+
msgid "Template Builder"
|
4636 |
+
msgstr ""
|
4637 |
+
|
4638 |
+
#: includes/admin/include/class.template-manager.php:660
|
4639 |
+
msgid "Template has been imported"
|
4640 |
+
msgstr ""
|
4641 |
+
|
4642 |
+
#: includes/admin/include/class.template-manager.php:460
|
4643 |
+
msgid "Template has been inserted"
|
4644 |
+
msgstr ""
|
4645 |
+
|
4646 |
+
#: includes/admin/include/class.template-manager.php:524
|
4647 |
+
#: includes/admin/include/class.template-manager.php:589
|
4648 |
+
msgid "Template has been updated"
|
4649 |
+
msgstr ""
|
4650 |
+
|
4651 |
#: includes/admin/include/template-library.php:65
|
4652 |
#: includes/admin/include/template-library.php:66
|
4653 |
msgid "Template Library"
|
4654 |
msgstr ""
|
4655 |
|
4656 |
+
#: includes/admin/include/class.template-manager.php:354
|
4657 |
+
msgid "Template Settings"
|
4658 |
+
msgstr ""
|
4659 |
+
|
4660 |
+
#: includes/admin/include/class.template_cpt.php:30
|
4661 |
+
#: includes/admin/include/admin_fields.php:1633
|
4662 |
#: includes/admin/include/templates_list.php:33
|
4663 |
msgid "Templates"
|
4664 |
msgstr ""
|
4665 |
|
4666 |
+
#: includes/admin/include/class.template_cpt.php:47
|
4667 |
+
msgid "Templates list"
|
4668 |
+
msgstr ""
|
4669 |
+
|
4670 |
+
#: includes/admin/include/class.template_cpt.php:48
|
4671 |
+
msgid "Templates list navigation"
|
4672 |
+
msgstr ""
|
4673 |
+
|
4674 |
#: includes/addons/wl_testimonial.php:201
|
4675 |
#: includes/addons/wb_customer_review.php:189
|
4676 |
#: includes/addons/wl_category_grid.php:198
|
4678 |
msgstr ""
|
4679 |
|
4680 |
#: includes/addons/wl_testimonial.php:41
|
4681 |
+
#: includes/admin/include/admin_fields.php:338
|
4682 |
msgid "Testimonial"
|
4683 |
msgstr ""
|
4684 |
|
4707 |
msgid "Textarea"
|
4708 |
msgstr ""
|
4709 |
|
4710 |
+
#: includes/admin/include/admin_fields.php:729
|
4711 |
msgid "Thank You Cus.. Address"
|
4712 |
msgstr ""
|
4713 |
|
4716 |
msgid "Thank you for contacting with us"
|
4717 |
msgstr ""
|
4718 |
|
4719 |
+
#: includes/admin/include/admin_fields.php:721
|
4720 |
msgid "Thank You Order"
|
4721 |
msgstr ""
|
4722 |
|
4723 |
+
#: includes/admin/include/admin_fields.php:737
|
4724 |
msgid "Thank You Order Details"
|
4725 |
msgstr ""
|
4726 |
|
4727 |
+
#: includes/admin/include/admin_fields.php:194
|
4728 |
msgid "Thank You Page Template"
|
4729 |
msgstr ""
|
4730 |
|
4752 |
msgid "Theme Activated"
|
4753 |
msgstr ""
|
4754 |
|
4755 |
+
#: includes/modules/shopify-like-checkout/templates/cart-shipping.php:53
|
4756 |
+
msgid ""
|
4757 |
+
"There are no shipping options available. Please ensure that your address has "
|
4758 |
+
"been entered correctly, or contact us if you need any help."
|
4759 |
+
msgstr ""
|
4760 |
+
|
4761 |
#: includes/addons/wl_testimonial.php:194
|
4762 |
#: includes/addons/wb_customer_review.php:182
|
4763 |
#: includes/addons/wl_category_grid.php:191
|
4777 |
msgid "Thumbnails Position"
|
4778 |
msgstr ""
|
4779 |
|
4780 |
+
#: includes/admin/include/admin_fields.php:1042
|
4781 |
msgid "Time Interval"
|
4782 |
msgstr ""
|
4783 |
|
4784 |
+
#: includes/helper-function.php:773 includes/addons/wl_faq.php:64
|
4785 |
#: includes/addons/wl_faq.php:338
|
4786 |
#: includes/addons/wl_product_horizontal_filter.php:193
|
4787 |
#: includes/addons/wl_product_horizontal_filter.php:366
|
4803 |
#: includes/addons/wb_image_marker.php:300 includes/addons/product_tabs.php:165
|
4804 |
#: includes/addons/product_tabs.php:942 includes/addons/add_banner.php:147
|
4805 |
#: includes/addons/wl_category_grid.php:539
|
4806 |
+
#: includes/admin/include/admin_fields.php:1438
|
4807 |
msgid "Title"
|
4808 |
msgstr ""
|
4809 |
|
4819 |
msgstr ""
|
4820 |
|
4821 |
#: includes/addons/product_tabs.php:988 includes/addons/product_tabs.php:1070
|
4822 |
+
#: includes/admin/include/admin_fields.php:1443
|
4823 |
msgid "Title color"
|
4824 |
msgstr ""
|
4825 |
|
4828 |
msgid "Title Hover Color"
|
4829 |
msgstr ""
|
4830 |
|
4831 |
+
#: includes/admin/include/admin_fields.php:1450
|
4832 |
msgid "Title hover color"
|
4833 |
msgstr ""
|
4834 |
|
4845 |
msgid "to"
|
4846 |
msgstr ""
|
4847 |
|
4848 |
+
#: includes/admin/include/admin_fields.php:1555
|
4849 |
msgid "Tool tip color"
|
4850 |
msgstr ""
|
4851 |
|
4856 |
msgid "Top"
|
4857 |
msgstr ""
|
4858 |
|
4859 |
+
#: includes/admin/include/admin_fields.php:958
|
4860 |
msgid "Top Left"
|
4861 |
msgstr ""
|
4862 |
|
4863 |
+
#: includes/helper-function.php:779
|
4864 |
msgid "Top Rated"
|
4865 |
msgstr ""
|
4866 |
|
4870 |
msgid "Top Rated Products"
|
4871 |
msgstr ""
|
4872 |
|
4873 |
+
#: includes/admin/include/admin_fields.php:959
|
4874 |
msgid "Top Right"
|
4875 |
msgstr ""
|
4876 |
|
4877 |
+
#: includes/helper-function.php:778
|
4878 |
msgid "Top Seller"
|
4879 |
msgstr ""
|
4880 |
|
4881 |
+
#: includes/modules/shopify-like-checkout/templates/review-order.php:58
|
4882 |
+
msgid "Total"
|
4883 |
+
msgstr ""
|
4884 |
+
|
4885 |
#: includes/addons/wl_testimonial.php:193
|
4886 |
#: includes/addons/wb_customer_review.php:181
|
4887 |
#: includes/addons/wl_category_grid.php:190
|
4888 |
msgid "Two"
|
4889 |
msgstr ""
|
4890 |
|
4891 |
+
#: includes/admin/include/class.template-manager.php:86
|
4892 |
+
#: includes/admin/include/class.template-manager.php:351
|
4893 |
+
msgid "Type"
|
4894 |
+
msgstr ""
|
4895 |
+
|
4896 |
#: includes/addons/wl_onepage_slider.php:101
|
4897 |
msgid "Type your button link here"
|
4898 |
msgstr ""
|
4964 |
msgid "Typography"
|
4965 |
msgstr ""
|
4966 |
|
4967 |
+
#: includes/admin/include/admin_fields.php:1423
|
4968 |
msgid "Universal layout style options"
|
4969 |
msgstr ""
|
4970 |
|
4971 |
+
#: includes/admin/include/admin_fields.php:261
|
4972 |
msgid "Universal Product"
|
4973 |
msgstr ""
|
4974 |
|
4975 |
+
#: includes/admin/include/class.template_cpt.php:35
|
4976 |
+
msgid "Update Template"
|
4977 |
+
msgstr ""
|
4978 |
+
|
4979 |
+
#: includes/admin/include/admin_fields.php:1329
|
4980 |
+
msgid "Upload"
|
4981 |
+
msgstr ""
|
4982 |
+
|
4983 |
+
#: includes/admin/include/class.template_cpt.php:46
|
4984 |
+
msgid "Uploaded to this Template"
|
4985 |
+
msgstr ""
|
4986 |
+
|
4987 |
+
#: includes/admin/include/admin_fields.php:792
|
4988 |
msgid "Upsell Pro..( Custom )"
|
4989 |
msgstr ""
|
4990 |
|
4992 |
msgid "Upsells"
|
4993 |
msgstr ""
|
4994 |
|
4995 |
+
#: includes/admin/include/class.template_cpt.php:44
|
4996 |
+
msgid "Use as featured image"
|
4997 |
+
msgstr ""
|
4998 |
+
|
4999 |
+
#: includes/modules/shopify-like-checkout/templates/form-login.php:24
|
5000 |
+
#: includes/modules/shopify-like-checkout/templates/form-login.php:25
|
5001 |
+
msgid "Username or email"
|
5002 |
+
msgstr ""
|
5003 |
+
|
5004 |
#: includes/addons/special_day_offer.php:227
|
5005 |
msgid "Vertical Position"
|
5006 |
msgstr ""
|
5031 |
msgid "Video Tutorial"
|
5032 |
msgstr ""
|
5033 |
|
5034 |
+
#: includes/admin/include/class.template_cpt.php:36
|
5035 |
+
msgid "View Template"
|
5036 |
+
msgstr ""
|
5037 |
+
|
5038 |
+
#: includes/admin/include/class.template_cpt.php:37
|
5039 |
+
msgid "View Templates"
|
5040 |
+
msgstr ""
|
5041 |
+
|
5042 |
#: includes/admin/templates/dashboard-welcome.php:31
|
5043 |
msgid ""
|
5044 |
"We create videos to make our customers comprehend the product quickly. Using "
|
5064 |
msgid "When the product tab is off, Then working slider."
|
5065 |
msgstr ""
|
5066 |
|
5067 |
+
#: includes/admin/include/admin_fields.php:990
|
5068 |
msgid "When to start notification load duration."
|
5069 |
msgstr ""
|
5070 |
|
5071 |
+
#: includes/admin/include/admin_fields.php:1692
|
5072 |
+
#: includes/admin/include/class.extension-manager.php:81
|
5073 |
msgid "Whols"
|
5074 |
msgstr ""
|
5075 |
|
5076 |
+
#: includes/admin/include/class.extension-manager.php:113
|
5077 |
msgid ""
|
5078 |
"Whols is an outstanding WordPress plugin for WooCommerce that allows store "
|
5079 |
"owners to set wholesale prices for the products of their online stores. This "
|
5084 |
"manually or automatically."
|
5085 |
msgstr ""
|
5086 |
|
5087 |
+
#: includes/admin/include/class.extension-manager.php:110
|
5088 |
msgid "Whols Pro – WooCommerce Wholesale Prices"
|
5089 |
msgstr ""
|
5090 |
|
5091 |
#: includes/addons/wl_onepage_slider.php:429
|
5092 |
#: includes/addons/wl_onepage_slider.php:503
|
5093 |
#: includes/addons/special_day_offer.php:173
|
5094 |
+
#: includes/admin/include/admin_fields.php:1251
|
5095 |
msgid "Width"
|
5096 |
msgstr ""
|
5097 |
|
5098 |
+
#: includes/admin/include/admin_fields.php:1261
|
5099 |
msgid "Width for mobile"
|
5100 |
msgstr ""
|
5101 |
|
5104 |
msgid "WishSuite"
|
5105 |
msgstr ""
|
5106 |
|
5107 |
+
#: includes/admin/include/admin_fields.php:1662
|
5108 |
msgid "WishSuite Table"
|
5109 |
msgstr ""
|
5110 |
|
5161 |
msgstr ""
|
5162 |
|
5163 |
#: includes/addons/product_accordion.php:14
|
5164 |
+
#: includes/admin/include/admin_fields.php:282
|
5165 |
msgid "WL: Product Accordion"
|
5166 |
msgstr ""
|
5167 |
|
5174 |
msgstr ""
|
5175 |
|
5176 |
#: includes/addons/product_curvy.php:14
|
5177 |
+
#: includes/admin/include/admin_fields.php:268
|
5178 |
msgid "WL: Product Curvy"
|
5179 |
msgstr ""
|
5180 |
|
5199 |
msgstr ""
|
5200 |
|
5201 |
#: includes/addons/product_image_accordion.php:14
|
5202 |
+
#: includes/admin/include/admin_fields.php:275
|
5203 |
msgid "WL: Product Image Accordion"
|
5204 |
msgstr ""
|
5205 |
|
5275 |
msgid "WL: WishSuite Table"
|
5276 |
msgstr ""
|
5277 |
|
5278 |
+
#: includes/admin/include/admin_fields.php:1144
|
5279 |
+
#: includes/admin/include/admin_fields.php:1201
|
5280 |
msgid "wobble"
|
5281 |
msgstr ""
|
5282 |
|
5283 |
+
#: includes/admin/include/admin_fields.php:39
|
5284 |
msgid "WooCommerce Template"
|
5285 |
msgstr ""
|
5286 |
|
5287 |
+
#: includes/base.php:194 includes/admin/admin-init.php:85
|
5288 |
+
#: includes/admin/admin-init.php:86 includes/admin/include/admin_fields.php:112
|
5289 |
+
#: includes/admin/include/admin_fields.php:133
|
5290 |
+
#: includes/admin/include/admin_fields.php:154
|
5291 |
msgid "WooLentor"
|
5292 |
msgstr ""
|
5293 |
|
5322 |
msgid "WooLentor Module"
|
5323 |
msgstr ""
|
5324 |
|
5325 |
+
#: includes/admin/include/class.template_cpt.php:54
|
5326 |
+
msgid "WooLentor Template"
|
5327 |
+
msgstr ""
|
5328 |
+
|
5329 |
#: includes/admin/templates/dashboard-sidebar.php:31
|
5330 |
msgid "Woolentor trustpilot rating"
|
5331 |
msgstr ""
|
5355 |
msgid "Y Position"
|
5356 |
msgstr ""
|
5357 |
|
5358 |
+
#: includes/admin/include/class.template-manager.php:127
|
5359 |
+
msgid "YES"
|
5360 |
+
msgstr ""
|
5361 |
+
|
5362 |
#: includes/addons/wl_faq.php:109 includes/addons/wl_faq.php:188
|
5363 |
#: includes/addons/wl_faq.php:201 includes/addons/wl_testimonial.php:213
|
5364 |
#: includes/addons/wl_testimonial.php:329
|
5367 |
#: includes/addons/wl_category_grid.php:149
|
5368 |
#: includes/addons/wl_category_grid.php:210
|
5369 |
#: includes/addons/wl_category_grid.php:296
|
5370 |
+
#: includes/admin/include/class.template-manager.php:384
|
5371 |
msgid "Yes"
|
5372 |
msgstr ""
|
5373 |
|
5375 |
msgid "You are not permitted to import the template."
|
5376 |
msgstr ""
|
5377 |
|
5378 |
+
#: includes/admin/include/admin_fields.php:1338
|
5379 |
+
msgid "You can choose menu for shopify style checkout page."
|
5380 |
+
msgstr ""
|
5381 |
+
|
5382 |
+
#: includes/admin/include/admin_fields.php:825
|
5383 |
msgid "You can enable / disable rename label from here."
|
5384 |
msgstr ""
|
5385 |
|
5386 |
+
#: includes/admin/include/admin_fields.php:922
|
5387 |
msgid "You can enable / disable sales notification from here."
|
5388 |
msgstr ""
|
5389 |
|
5390 |
+
#: includes/admin/include/admin_fields.php:1317
|
5391 |
+
msgid "You can enable / disable shopify style checkout page from here."
|
5392 |
+
msgstr ""
|
5393 |
+
|
5394 |
+
#: includes/admin/include/admin_fields.php:1647
|
5395 |
msgid "You can enable duplicator for individual post."
|
5396 |
msgstr ""
|
5397 |
|
5400 |
msgid "You can enable or disable all options by one click."
|
5401 |
msgstr ""
|
5402 |
|
5403 |
+
#: includes/admin/include/admin_fields.php:85
|
5404 |
msgid "You can enable/disable template builder from here."
|
5405 |
msgstr ""
|
5406 |
|
5407 |
+
#: includes/admin/include/admin_fields.php:1252
|
5408 |
+
#: includes/admin/include/admin_fields.php:1262
|
5409 |
msgid "You can handle the notificaton width."
|
5410 |
msgstr ""
|
5411 |
|
5412 |
+
#: includes/admin/include/admin_fields.php:93
|
5413 |
msgid "You can handle the product limit for the Shop page"
|
5414 |
msgstr ""
|
5415 |
|
5416 |
+
#: includes/admin/include/admin_fields.php:148
|
5417 |
msgid "You can select a custom template for the Product Archive page layout"
|
5418 |
msgstr ""
|
5419 |
|
5420 |
+
#: includes/admin/include/admin_fields.php:106
|
5421 |
msgid "You can select a custom template for the product details page layout"
|
5422 |
msgstr ""
|
5423 |
|
5425 |
msgid "You can select a custom template for the Shop page layout"
|
5426 |
msgstr ""
|
5427 |
|
5428 |
+
#: includes/admin/include/admin_fields.php:169
|
5429 |
msgid "You can select a template for the Cart page layout"
|
5430 |
msgstr ""
|
5431 |
|
5432 |
+
#: includes/admin/include/admin_fields.php:182
|
5433 |
msgid "You can select a template for the Checkout page layout"
|
5434 |
msgstr ""
|
5435 |
|
5436 |
+
#: includes/admin/include/admin_fields.php:1326
|
5437 |
+
msgid "You can upload your logo for shopify style checkout page from here."
|
5438 |
+
msgstr ""
|
5439 |
+
|
5440 |
#: includes/addons/wl_onepage_slider.php:480
|
5441 |
msgid "Zippers cotton jogger"
|
5442 |
msgstr ""
|
5443 |
|
5444 |
+
#: includes/admin/include/admin_fields.php:1174
|
5445 |
msgid "zoomIn"
|
5446 |
msgstr ""
|
5447 |
|
5448 |
+
#: includes/admin/include/admin_fields.php:1175
|
5449 |
msgid "zoomInDown"
|
5450 |
msgstr ""
|
5451 |
|
5452 |
+
#: includes/admin/include/admin_fields.php:1176
|
5453 |
msgid "zoomInLeft"
|
5454 |
msgstr ""
|
5455 |
|
5456 |
+
#: includes/admin/include/admin_fields.php:1177
|
5457 |
msgid "zoomInRight"
|
5458 |
msgstr ""
|
5459 |
|
5460 |
+
#: includes/admin/include/admin_fields.php:1178
|
5461 |
msgid "zoomInUp"
|
5462 |
msgstr ""
|
5463 |
|
5464 |
+
#: includes/admin/include/admin_fields.php:1231
|
5465 |
msgid "zoomOut"
|
5466 |
msgstr ""
|
5467 |
|
5468 |
+
#: includes/admin/include/admin_fields.php:1232
|
5469 |
msgid "zoomOutDown"
|
5470 |
msgstr ""
|
5471 |
|
5472 |
+
#: includes/admin/include/admin_fields.php:1233
|
5473 |
msgid "zoomOutLeft"
|
5474 |
msgstr ""
|
5475 |
|
5476 |
+
#: includes/admin/include/admin_fields.php:1234
|
5477 |
msgid "zoomOutRight"
|
5478 |
msgstr ""
|
5479 |
|
5480 |
+
#: includes/admin/include/admin_fields.php:1235
|
5481 |
msgid "zoomOutUp"
|
5482 |
msgstr ""
|
5483 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: hasthemes, htplugins, devitemsllc, tarekht
|
|
3 |
Tags: Elementor, WooCommerce, WooCommerce Elementor, WooCommerce Builder, WooCommerce Product
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.8.2
|
6 |
-
Stable tag: 2.1.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -236,6 +236,9 @@ WooLentor Pro allows us to customize the checkout page to reduce the bounce rate
|
|
236 |
<strong>[Customize WooCommerce Single Product Template](https://hasthemes.com/how-to-build-a-custom-product-template-using-woolentor-plugin/)</strong>
|
237 |
WooLentor allows us to create a custom single product template. Create a unique design for your product page. Free version has the option to create a common product page template, the pro version allows to create a different design for each product page.
|
238 |
|
|
|
|
|
|
|
239 |
<strong>Multi-Step Checkout (Pro)</strong>
|
240 |
The checkout process is the most important step in your customer’s journey, and it should be as easy and seamless as possible. That’s why we created our Multi-Step Checkout feature that allows you to create a more effective and organized checkout page by dividing the process into several simpler steps.
|
241 |
|
@@ -322,6 +325,13 @@ Elementor Pro is not required. But you can use wooLentor with Elementor free & P
|
|
322 |
|
323 |
== Changelog ==
|
324 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
325 |
= Version: 2.1.0 - Date: 2021-11-13 =
|
326 |
* Improved : Settings panel design.
|
327 |
* Solved : Sale badge showing issue in product gallery addon.
|
3 |
Tags: Elementor, WooCommerce, WooCommerce Elementor, WooCommerce Builder, WooCommerce Product
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.8.2
|
6 |
+
Stable tag: 2.1.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
236 |
<strong>[Customize WooCommerce Single Product Template](https://hasthemes.com/how-to-build-a-custom-product-template-using-woolentor-plugin/)</strong>
|
237 |
WooLentor allows us to create a custom single product template. Create a unique design for your product page. Free version has the option to create a common product page template, the pro version allows to create a different design for each product page.
|
238 |
|
239 |
+
<strong>Shopify Style Checkout Page in WooCommerce</strong>
|
240 |
+
When it comes to the Checkout page, customers always prefer a clean and simple one rather than a complicated one with lots of fields. A lengthy Checkout form can even increase cart abandonment while also negatively affecting the conversion rates. With this in mind, we have added a fantastic feature, which will enable you to create a Shopify style Checkout page that is pretty straightforward. Furthermore, it will provide the customers with an amazing Checkout experience.
|
241 |
+
|
242 |
<strong>Multi-Step Checkout (Pro)</strong>
|
243 |
The checkout process is the most important step in your customer’s journey, and it should be as easy and seamless as possible. That’s why we created our Multi-Step Checkout feature that allows you to create a more effective and organized checkout page by dividing the process into several simpler steps.
|
244 |
|
325 |
|
326 |
== Changelog ==
|
327 |
|
328 |
+
= Version: 2.1.1 - Date: 2021-11-29 =
|
329 |
+
* Added : Template Builder option added from own post type.
|
330 |
+
* Added : Shopify Style checkout page.
|
331 |
+
* Added : Template import option from previously assigned templates
|
332 |
+
* Improved : Rename label and sale notification option moved to module settings.
|
333 |
+
* Solved : Action button alignment issue in universal layout addon.
|
334 |
+
|
335 |
= Version: 2.1.0 - Date: 2021-11-13 =
|
336 |
* Improved : Settings panel design.
|
337 |
* Solved : Sale badge showing issue in product gallery addon.
|
woolentor_addons_elementor.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: WooLentor - WooCommerce Elementor Addons + Builder
|
4 |
* Description: The WooCommerce elements library for Elementor page builder plugin for WordPress.
|
5 |
* Plugin URI: https://woolentor.com/
|
6 |
-
* Version: 2.1.
|
7 |
* Author: HasThemes
|
8 |
* Author URI: https://hasthemes.com/plugins/woolentor-pro/
|
9 |
* License: GPL-2.0+
|
@@ -11,13 +11,13 @@
|
|
11 |
* Text Domain: woolentor
|
12 |
* Domain Path: /languages
|
13 |
* WC tested up to: 5.9.0
|
14 |
-
* Elementor tested up to: 3.4.
|
15 |
* Elementor Pro tested up to: 3.5.1
|
16 |
*/
|
17 |
|
18 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
19 |
|
20 |
-
define( 'WOOLENTOR_VERSION', '2.1.
|
21 |
define( 'WOOLENTOR_ADDONS_PL_ROOT', __FILE__ );
|
22 |
define( 'WOOLENTOR_ADDONS_PL_URL', plugins_url( '/', WOOLENTOR_ADDONS_PL_ROOT ) );
|
23 |
define( 'WOOLENTOR_ADDONS_PL_PATH', plugin_dir_path( WOOLENTOR_ADDONS_PL_ROOT ) );
|
3 |
* Plugin Name: WooLentor - WooCommerce Elementor Addons + Builder
|
4 |
* Description: The WooCommerce elements library for Elementor page builder plugin for WordPress.
|
5 |
* Plugin URI: https://woolentor.com/
|
6 |
+
* Version: 2.1.1
|
7 |
* Author: HasThemes
|
8 |
* Author URI: https://hasthemes.com/plugins/woolentor-pro/
|
9 |
* License: GPL-2.0+
|
11 |
* Text Domain: woolentor
|
12 |
* Domain Path: /languages
|
13 |
* WC tested up to: 5.9.0
|
14 |
+
* Elementor tested up to: 3.4.8
|
15 |
* Elementor Pro tested up to: 3.5.1
|
16 |
*/
|
17 |
|
18 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
19 |
|
20 |
+
define( 'WOOLENTOR_VERSION', '2.1.1' );
|
21 |
define( 'WOOLENTOR_ADDONS_PL_ROOT', __FILE__ );
|
22 |
define( 'WOOLENTOR_ADDONS_PL_URL', plugins_url( '/', WOOLENTOR_ADDONS_PL_ROOT ) );
|
23 |
define( 'WOOLENTOR_ADDONS_PL_PATH', plugin_dir_path( WOOLENTOR_ADDONS_PL_ROOT ) );
|