CTX Feed – WooCommerce Product Feed Manager Plugin - Version 4.3.57

Version Description

(2021-03-31) = * Fixed: TAB delimiter missing issue solved. * Fixed: FeedType change make wrong delimiter selected issue has been solved.

Download this release

Release Info

Developer wahid0003
Plugin Icon 128x128 CTX Feed – WooCommerce Product Feed Manager Plugin
Version 4.3.57
Comparing to
See all releases

Code changes from version 4.3.56 to 4.3.57

README.txt CHANGED
@@ -5,7 +5,7 @@ Tags: Product Feed, WooCommerce, Google Shopping, Google Merchant, Facebook Cata
5
  Requires at least: 3.6
6
  Tested Up To: 5.7
7
  Requires PHP: 5.6
8
- Stable tag: 4.3.56
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -498,6 +498,10 @@ Using pro version:
498
 
499
  == Changelog ==
500
 
 
 
 
 
501
  = 4.3.56 (2021-03-29) =
502
  * Added: Compatibility for Discount Plugin by Orion has been added.
503
 
5
  Requires at least: 3.6
6
  Tested Up To: 5.7
7
  Requires PHP: 5.6
8
+ Stable tag: 4.3.57
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
498
 
499
  == Changelog ==
500
 
501
+ = 4.3.57 (2021-03-31) =
502
+ * Fixed: TAB delimiter missing issue solved.
503
+ * Fixed: FeedType change make wrong delimiter selected issue has been solved.
504
+
505
  = 4.3.56 (2021-03-29) =
506
  * Added: Compatibility for Discount Plugin by Orion has been added.
507
 
admin/css/fancy-select.css CHANGED
@@ -3,175 +3,175 @@
3
  * @version 1.0.0
4
  * @copyright 2020 Webappick
5
  * @author Kudratullah <mhamudul.hk@gmail.com>
6
- */
7
- .fancy-picker, .fancy-picker * {
8
- box-sizing: border-box;
9
- cursor: default;
10
- -webkit-user-select: none;
11
- -moz-user-select: none;
12
- -ms-user-select: none;
13
- user-select: none; }
14
-
15
- .fancy-picker {
16
- position: relative;
17
- display: block;
18
- width: 100%;
19
- height: 30px;
20
- margin: 0 !important;
21
- padding: 0 !important; }
22
-
23
- .fancy-picker-picked {
24
- width: 100%;
25
- height: 100%;
26
- overflow: hidden;
27
- display: block;
28
- position: relative;
29
- border: 1px solid #7e8993;
30
- border-radius: 4px;
31
- padding: 3.5px 0;
32
- box-shadow: 0 0 4px -1px rgba(0, 0, 0, 0.45); }
33
-
34
- .fancy-picker-placeholder,
35
- .fancy-picker-data {
36
- display: block;
37
- width: calc( 100% - 25px);
38
- float: left;
39
- font-weight: 500;
40
- padding: 1px 5px;
41
- overflow: hidden;
42
- text-overflow: ellipsis;
43
- white-space: pre;
44
- top: -1px; }
45
- .fancy-picker-placeholder > span,
46
- .fancy-picker-data > span {
47
- display: inline;
48
- position: relative; }
49
- .fancy-picker-placeholder > span:empty,
50
- .fancy-picker-data > span:empty {
51
- display: none; }
52
- .fancy-picker-placeholder:empty,
53
- .fancy-picker-data:empty {
54
- display: none; }
55
-
56
- .fancy-picker-separator {
57
- margin-right: 3px; }
58
-
59
- .fancy-picker-count {
60
- position: absolute;
61
- display: block;
62
- top: 50%;
63
- -webkit-transform: translateY(-50%);
64
- transform: translateY(-50%);
65
- right: 21px;
66
- color: #ffffff;
67
- background: rgba(35, 40, 45, 0.7);
68
- z-index: 1;
69
- padding: 1px 3px;
70
- font-size: 12px;
71
- line-height: normal;
72
- border-radius: 5px; }
73
- .fancy-picker-count:empty {
74
- display: none; }
75
-
76
- .fancy-picker-option {
77
- font-weight: 500;
78
- width: 100%;
79
- display: block;
80
- float: left;
81
- cursor: default;
82
- padding: 2px 8px;
83
- transition: background 300ms linear; }
84
- .fancy-picker-option:nth-child(odd) {
85
- background: #f3f3f3; }
86
- .fancy-picker-option.selected {
87
- color: #000;
88
- background: #acf; }
89
- .fancy-picker-option.disabled {
90
- color: #464646;
91
- background: #e8e8e8;
92
- cursor: not-allowed; }
93
- .fancy-picker-option:not(.disabled):hover {
94
- background: #00a1ff;
95
- color: #FFF; }
96
-
97
- .fancy-picker-content {
98
- overflow-y: auto;
99
- overflow-x: hidden;
100
- max-height: 200px;
101
- width: 100%;
102
- -webkit-overflow-scrolling: touch;
103
- padding: 3px 0 20px 0;
104
- background: #FFF; }
105
-
106
- .fancy-picker-ui {
107
- position: absolute;
108
- display: none;
109
- background: #FFF;
110
- z-index: 999;
111
- border: 1px solid #7e8993;
112
- top: 36px;
113
- padding: 0;
114
- margin: 0;
115
- box-shadow: 0 0 10px -1px rgba(0, 0, 0, 0.96); }
116
- .fancy-picker-ui:before {
117
- content: "";
118
- position: absolute;
119
- width: 10px;
120
- height: 10px;
121
- border-top: 1px solid #4f555a;
122
- border-left: 1px solid #4f555a;
123
- top: -6px;
124
- left: 10px;
125
- -webkit-transform: rotate(45deg);
126
- transform: rotate(45deg);
127
- z-index: -1;
128
- background: #4f555a; }
129
-
130
- .fancy-picker-picked:after {
131
- content: "";
132
- display: block;
133
- position: absolute;
134
- width: 0;
135
- height: 0;
136
- float: right;
137
- background: transparent;
138
- border-style: solid;
139
- border-color: #7e8993 transparent;
140
- border-width: 7px 5px 0 5px;
141
- top: 50%;
142
- -webkit-transform: translateY(-50%) rotate(0deg);
143
- transform: translateY(-50%) rotate(0deg);
144
- right: 5px;
145
- transition: all 350ms linear;
146
- cursor: pointer; }
147
-
148
- .fancy-picker-picked:before {
149
- position: relative;
150
- display: block;
151
- content: "";
152
- width: 5px;
153
- height: 15px;
154
- padding: 1px 0;
155
- background: transparent;
156
- border-left-width: 4px;
157
- border-left-color: #7e8993;
158
- border-left-style: dotted;
159
- float: left;
160
- left: 5px;
161
- top: 2px;
162
- transition: all 350ms linear; }
163
-
164
- .fancy-picker.active .fancy-picker-ui {
165
- display: block; }
166
-
167
- .fancy-picker.active .fancy-picker-picked {
168
- box-shadow: 0 0 3px -1px rgba(0, 0, 0, 0.45), inset 0 0 4px -1px rgba(0, 0, 0, 0.27); }
169
- .fancy-picker.active .fancy-picker-picked:after {
170
- border-color: #31363a transparent;
171
- -webkit-transform: translateY(-50%) rotate3d(1, 0, 0, 180deg);
172
- transform: translateY(-50%) rotate3d(1, 0, 0, 180deg); }
173
- .fancy-picker.active .fancy-picker-picked:before {
174
- border-left-color: #31363a; }
175
-
176
- .fancy-picker:hover .fancy-picker-picked:before {
177
- border-left-color: #31363a; }
3
  * @version 1.0.0
4
  * @copyright 2020 Webappick
5
  * @author Kudratullah <mhamudul.hk@gmail.com>
6
+ */
7
+ .fancy-picker, .fancy-picker * {
8
+ box-sizing: border-box;
9
+ cursor: default;
10
+ -webkit-user-select: none;
11
+ -moz-user-select: none;
12
+ -ms-user-select: none;
13
+ user-select: none; }
14
+
15
+ .fancy-picker {
16
+ position: relative;
17
+ display: block;
18
+ width: 100%;
19
+ height: 30px;
20
+ margin: 0 !important;
21
+ padding: 0 !important; }
22
+
23
+ .fancy-picker-picked {
24
+ width: 100%;
25
+ height: 100%;
26
+ overflow: hidden;
27
+ display: block;
28
+ position: relative;
29
+ border: 1px solid #7e8993;
30
+ border-radius: 4px;
31
+ padding: 3.5px 0;
32
+ box-shadow: 0 0 4px -1px rgba(0, 0, 0, 0.45); }
33
+
34
+ .fancy-picker-placeholder,
35
+ .fancy-picker-data {
36
+ display: block;
37
+ width: calc( 100% - 25px);
38
+ float: left;
39
+ font-weight: 500;
40
+ padding: 1px 5px;
41
+ overflow: hidden;
42
+ text-overflow: ellipsis;
43
+ white-space: pre;
44
+ top: -1px; }
45
+ .fancy-picker-placeholder > span,
46
+ .fancy-picker-data > span {
47
+ display: inline;
48
+ position: relative; }
49
+ .fancy-picker-placeholder > span:empty,
50
+ .fancy-picker-data > span:empty {
51
+ display: none; }
52
+ .fancy-picker-placeholder:empty,
53
+ .fancy-picker-data:empty {
54
+ display: none; }
55
+
56
+ .fancy-picker-separator {
57
+ margin-right: 3px; }
58
+
59
+ .fancy-picker-count {
60
+ position: absolute;
61
+ display: block;
62
+ top: 50%;
63
+ -webkit-transform: translateY(-50%);
64
+ transform: translateY(-50%);
65
+ right: 21px;
66
+ color: #ffffff;
67
+ background: rgba(35, 40, 45, 0.7);
68
+ z-index: 1;
69
+ padding: 1px 3px;
70
+ font-size: 12px;
71
+ line-height: normal;
72
+ border-radius: 5px; }
73
+ .fancy-picker-count:empty {
74
+ display: none; }
75
+
76
+ .fancy-picker-option {
77
+ font-weight: 500;
78
+ width: 100%;
79
+ display: block;
80
+ float: left;
81
+ cursor: default;
82
+ padding: 2px 8px;
83
+ transition: background 300ms linear; }
84
+ .fancy-picker-option:nth-child(odd) {
85
+ background: #f3f3f3; }
86
+ .fancy-picker-option.selected {
87
+ color: #000;
88
+ background: #acf; }
89
+ .fancy-picker-option.disabled {
90
+ color: #464646;
91
+ background: #e8e8e8;
92
+ cursor: not-allowed; }
93
+ .fancy-picker-option:not(.disabled):hover {
94
+ background: #00a1ff;
95
+ color: #FFF; }
96
+
97
+ .fancy-picker-content {
98
+ overflow-y: auto;
99
+ overflow-x: hidden;
100
+ max-height: 200px;
101
+ width: 100%;
102
+ -webkit-overflow-scrolling: touch;
103
+ padding: 3px 0 20px 0;
104
+ background: #FFF; }
105
+
106
+ .fancy-picker-ui {
107
+ position: absolute;
108
+ display: none;
109
+ background: #FFF;
110
+ z-index: 999;
111
+ border: 1px solid #7e8993;
112
+ top: 36px;
113
+ padding: 0;
114
+ margin: 0;
115
+ box-shadow: 0 0 10px -1px rgba(0, 0, 0, 0.96); }
116
+ .fancy-picker-ui:before {
117
+ content: "";
118
+ position: absolute;
119
+ width: 10px;
120
+ height: 10px;
121
+ border-top: 1px solid #4f555a;
122
+ border-left: 1px solid #4f555a;
123
+ top: -6px;
124
+ left: 10px;
125
+ -webkit-transform: rotate(45deg);
126
+ transform: rotate(45deg);
127
+ z-index: -1;
128
+ background: #4f555a; }
129
+
130
+ .fancy-picker-picked:after {
131
+ content: "";
132
+ display: block;
133
+ position: absolute;
134
+ width: 0;
135
+ height: 0;
136
+ float: right;
137
+ background: transparent;
138
+ border-style: solid;
139
+ border-color: #7e8993 transparent;
140
+ border-width: 7px 5px 0 5px;
141
+ top: 50%;
142
+ -webkit-transform: translateY(-50%) rotate(0deg);
143
+ transform: translateY(-50%) rotate(0deg);
144
+ right: 5px;
145
+ transition: all 350ms linear;
146
+ cursor: pointer; }
147
+
148
+ .fancy-picker-picked:before {
149
+ position: relative;
150
+ display: block;
151
+ content: "";
152
+ width: 5px;
153
+ height: 15px;
154
+ padding: 1px 0;
155
+ background: transparent;
156
+ border-left-width: 4px;
157
+ border-left-color: #7e8993;
158
+ border-left-style: dotted;
159
+ float: left;
160
+ left: 5px;
161
+ top: 2px;
162
+ transition: all 350ms linear; }
163
+
164
+ .fancy-picker.active .fancy-picker-ui {
165
+ display: block; }
166
+
167
+ .fancy-picker.active .fancy-picker-picked {
168
+ box-shadow: 0 0 3px -1px rgba(0, 0, 0, 0.45), inset 0 0 4px -1px rgba(0, 0, 0, 0.27); }
169
+ .fancy-picker.active .fancy-picker-picked:after {
170
+ border-color: #31363a transparent;
171
+ -webkit-transform: translateY(-50%) rotate3d(1, 0, 0, 180deg);
172
+ transform: translateY(-50%) rotate3d(1, 0, 0, 180deg); }
173
+ .fancy-picker.active .fancy-picker-picked:before {
174
+ border-left-color: #31363a; }
175
+
176
+ .fancy-picker:hover .fancy-picker-picked:before {
177
+ border-left-color: #31363a; }
admin/css/woo-feed-admin-pro.css CHANGED
@@ -1,632 +1,632 @@
1
- table.wf-info-table th a,
2
- table.wf-rate-table th strong {
3
- font-weight: bold; }
4
-
5
- table.wf-info-table th a,
6
- table.wf-rate-table a {
7
- color: #0073aa; }
8
-
9
- table.wf-info-table th a.get-woo-feed-pro {
10
- display: inline-block;
11
- text-decoration: none;
12
- background: #f3f5f6;
13
- color: #ff3355;
14
- vertical-align: top;
15
- font-size: 14px;
16
- line-height: 3.14285714;
17
- box-sizing: border-box;
18
- margin: 0;
19
- border-radius: 35px;
20
- box-shadow: 1px 2px 10px 1px rgba(255, 51, 85, 0.5); }
21
-
22
- table.wf-info-table th a.get-woo-feed-pro img {
23
- display: block;
24
- position: relative;
25
- margin: -2px;
26
- width: 180px;
27
- height: auto; }
28
-
29
- table.wf-info-table th a.button {
30
- border-color: #0073aa;
31
- border-radius: 35px; }
32
-
33
- table.wf-info-table th a.documentation {
34
- color: #0073aa; }
35
-
36
- table.wf-info-table th a.tutorial {
37
- color: #ee264a; }
38
-
39
- table.wf-info-table th a.support {
40
- color: #0DD41E; }
41
-
42
  /**
43
  * Premium Page Design
44
- */
45
- .wp-submenu li span.woo-feed-premium {
46
- font-weight: bold;
47
- color: #28e499; }
48
-
49
- .wp-submenu li:hover span.woo-feed-premium,
50
- .wp-submenu li.current span.woo-feed-premium {
51
- color: #1dc381; }
52
-
53
- .woo_feed_free_manage_attribute {
54
- margin: 0 auto;
55
- width: 100%; }
56
-
57
- .woo_feed_screenshort {
58
- max-width: 100%;
59
- width: 1000px;
60
- border: 3px solid #00b9eb;
61
- display: block;
62
- margin: 0 auto; }
63
-
64
- .woo-feed-screen-shot-title {
65
- font-size: 36px;
66
- text-align: center;
67
- box-sizing: content-box;
68
- color: #00b9eb; }
69
-
70
- .woo_feed_screen {
71
- background: #fff;
72
- padding: 25px 20px;
73
- margin-bottom: 20px; }
74
-
75
- .woo_feed_screen_des {
76
- text-align: center;
77
- margin: 20px 50px 20px 50px;
78
- font-size: 16px;
79
- color: #666; }
80
-
81
- .woo_feed_screen_des_2 {
82
- text-align: center;
83
- margin: 20px 50px 5px 50px;
84
- font-size: 14px;
85
- color: #32373c; }
86
-
87
- .wapk-admin .wapk-feed-upgrade {
88
- font-family: 'Open Sans', sans-serif;
89
- margin: -10px -20px 0 -22px; }
90
-
91
- .wapk-admin .wapk-feed-upgrade a {
92
- transition: all 0.2s ease; }
93
-
94
- .wapk-admin .section-title {
95
- text-align: center;
96
- font-size: 30px;
97
- line-height: 1.5em;
98
- font-weight: 400;
99
- position: relative;
100
- margin: 0 0 58px; }
101
-
102
- .wapk-admin .section-title:after {
103
- content: '';
104
- position: absolute;
105
- bottom: -21px;
106
- left: 50%;
107
- -webkit-transform: translateX(-50%);
108
- transform: translateX(-50%);
109
- width: 38px;
110
- height: 5px;
111
- border-radius: 3px;
112
- background-color: #00D4D4; }
113
-
114
- .wapk-admin .section-title .section-sub-title {
115
- font-size: 22px;
116
- font-weight: 300; }
117
-
118
- .wapk-admin .wapk-banner {
119
- background-color: #f2f2f2;
120
- font-size: 16px;
121
- display: -ms-flexbox;
122
- display: flex;
123
- -ms-flex-align: center;
124
- align-items: center;
125
- padding: 50px 8%;
126
- border-bottom: 1px solid #eee; }
127
-
128
- .wapk-admin .wapk-banner .wapk-banner__graphics {
129
- width: 100%; }
130
-
131
- .wapk-admin .wapk-banner .wapk-banner__content h1 {
132
- font-size: 27px;
133
- line-height: 1.5em; }
134
-
135
- .wapk-admin .wapk-banner .wapk-banner__content p {
136
- font-size: 16px;
137
- line-height: 1.5em;
138
- font-weight: 300;
139
- margin: 0;
140
- /*noinspection CssFloatPxLength*/
141
- letter-spacing: 0.5px; }
142
-
143
- .wapk-admin .feed-features,
144
- .wapk-admin .wapk-testimonial,
145
- .wapk-admin .feed-pricing {
146
- text-align: center;
147
- padding: 75px 30px 85px;
148
- background-color: #f7f8f9; }
149
-
150
- .wapk-admin .feed-features .feed-feature__list {
151
- display: -ms-flexbox;
152
- display: flex;
153
- -ms-flex-wrap: wrap;
154
- flex-wrap: wrap;
155
- -ms-flex-align: start;
156
- align-items: flex-start;
157
- -ms-flex-pack: center;
158
- justify-content: center; }
159
-
160
- .wapk-admin .feed-features .feed-features__more {
161
- margin-top: 25px; }
162
-
163
- .feed-feature__item {
164
- -ms-flex: 0 0 28.9%;
165
- flex: 0 0 28.9%;
166
- margin: 0 2.2% 4.4% 2.2%;
167
- text-align: center;
168
- border-radius: 5px;
169
- background-color: #ffffff;
170
- transition: all 100ms linear;
171
- overflow: hidden; }
172
-
173
- .feed-feature__item:hover {
174
- box-shadow: 5px 4px 32px -16px rgba(0, 0, 0, 0.63); }
175
-
176
- .feed-feature__thumb {
177
- overflow: hidden; }
178
-
179
- .feed-feature__item .feed-feature__thumb img {
180
- border-radius: 5px 5px 0 0;
181
- max-width: 100%;
182
- width: 100%;
183
- transition: all 100ms linear; }
184
-
185
- .feed-feature__item:hover .feed-feature__thumb img {
186
- -webkit-transform: scale(1.05);
187
- transform: scale(1.05); }
188
-
189
- .feed-feature__item .feed-feature__description {
190
- padding: 20px 15px 25px; }
191
-
192
- .feed-feature__item .feed-feature__description h3 {
193
- font-size: 15px;
194
- line-height: 1.5em;
195
- font-weight: 300;
196
- margin: 0; }
197
-
198
- .wapk-admin .feed-pro-comparison {
199
- background-color: #f1f1f1;
200
- padding: 75px; }
201
-
202
- .wapk-admin .feed-features .section-title h2,
203
- .wapk-admin .wapk-testimonial .section-title h2,
204
- .wapk-admin .feed-pro-comparison .section-title h2,
205
- .wapk-admin .feed-pricing .section-title h2 {
206
- margin-top: 0;
207
- margin-bottom: 0; }
208
-
209
- .wapk-admin .comparison-table {
210
- display: -ms-flexbox;
211
- display: flex;
212
- -ms-flex-pack: justify;
213
- justify-content: space-between; }
214
-
215
- .wapk-admin .comparison-table .comparison {
216
- -ms-flex: 0 0 48%;
217
- flex: 0 0 48%;
218
- background-color: #fff;
219
- border: 1px solid #e0e9ec;
220
- border-radius: 5px;
221
- box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
222
- padding: 50px;
223
- box-sizing: border-box; }
224
-
225
- .wapk-admin .comparison .product-header {
226
- margin-bottom: 58px;
227
- position: relative; }
228
-
229
- .wapk-admin .comparison .product-header:after {
230
- content: "";
231
- position: absolute;
232
- bottom: -23px;
233
- left: 0;
234
- width: 38px;
235
- height: 5px;
236
- border-radius: 3px;
237
- background-color: #d7d7d7; }
238
-
239
- .wapk-admin .comparison .product-header img {
240
- max-width: 160px;
241
- width: 100%; }
242
-
243
- .wapk-admin .comparison .product-features {
244
- margin: 0; }
245
-
246
- .wapk-admin .comparison li {
247
- position: relative;
248
- display: -ms-flexbox;
249
- display: flex;
250
- margin-bottom: 15px;
251
- padding-left: 30px;
252
- font-size: 14px;
253
- line-height: 1.3em;
254
- font-weight: 300;
255
- -ms-flex-align: center;
256
- align-items: center; }
257
-
258
- .wapk-admin .comparison li.unavailable {
259
- color: #CED2D6; }
260
-
261
- .wapk-admin .comparison li span.dashicons {
262
- position: absolute;
263
- top: 1px;
264
- left: 6px;
265
- width: 18px;
266
- height: 18px;
267
- border-radius: 100%;
268
- background: #00D4D4;
269
- color: #FFF;
270
- line-height: 22px;
271
- font-size: 14px;
272
- text-align: center; }
273
-
274
- .wapk-admin .comparison li.unavailable {
275
- color: #CED2D6; }
276
-
277
- .wapk-admin .comparison li.unavailable span.dashicons {
278
- background: #CED2D6; }
279
-
280
- .wapk-admin .comparison li span.dashicons-no {
281
- font-size: 12px; }
282
-
283
- .wapk-admin .comparison li span.dashicons-no:before {
284
- left: 0; }
285
-
286
- .wapk-admin .comparison li span.dashicons:before {
287
- position: relative;
288
- left: -0.5px;
289
- top: -2px; }
290
-
291
- .wapk-admin .comparison li img {
292
- width: 18px;
293
- margin-right: 12px; }
294
-
295
- .wapk-pricing__table {
296
- width: 100%;
297
- display: -ms-flexbox;
298
- display: flex;
299
- -ms-flex-wrap: wrap;
300
- flex-wrap: wrap;
301
- -ms-flex-line-pack: start;
302
- align-content: flex-start;
303
- -ms-flex-pack: center;
304
- justify-content: center; }
305
-
306
- .wapk-pricing__table__item {
307
- position: relative;
308
- -ms-flex: 0 0 23%;
309
- flex: 0 0 23%; }
310
-
311
- .wapk-price__table__wrapper {
312
- position: relative;
313
- padding: 10px; }
314
-
315
- .wapk-price__table {
316
- text-align: center;
317
- display: block;
318
- width: 100%;
319
- padding: 10px;
320
- background-color: #fff;
321
- border-radius: 8px 8px 8px 8px;
322
- box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1);
323
- overflow: hidden;
324
- transition: background .3s, border .3s, border-radius .3s, box-shadow .3s; }
325
-
326
- .wapk-price__table__header {
327
- background-color: #fff;
328
- padding: 40px 0 0; }
329
-
330
- .wapk-price__table__heading {
331
- color: #6d7882;
332
- font-size: 17px;
333
- font-weight: 500;
334
- text-transform: uppercase;
335
- letter-spacing: 10px;
336
- font-family: sans-serif;
337
- margin: 0;
338
- padding: 0;
339
- line-height: 1.2; }
340
-
341
- .wapk-price__table__price {
342
- font-family: sans-serif;
343
- font-weight: 600;
344
- padding: 30px 0 10px;
345
- display: -ms-flexbox;
346
- display: flex;
347
- -ms-flex-pack: center;
348
- justify-content: center;
349
- -ms-flex-align: center;
350
- align-items: center;
351
- -ms-flex-wrap: wrap;
352
- flex-wrap: wrap;
353
- -ms-flex-direction: row;
354
- flex-direction: row;
355
- color: #434363;
356
- font-size: 45px; }
357
-
358
- .wapk-price__table__currency {
359
- -ms-flex-item-align: start;
360
- align-self: flex-start;
361
- color: #434363;
362
- line-height: 1;
363
- font-size: .3em;
364
- margin-right: 3px; }
365
-
366
- .wapk-price__table__amount .free,
367
- .wapk-price__table__amount .integer-part {
368
- color: #434363;
369
- line-height: .8; }
370
-
371
- .wapk-price__table__amount .decimal-part {
372
- font-size: 14px;
373
- font-weight: 400; }
374
-
375
- .wapk-price__table__amount .period {
376
- font-size: 14px;
377
- font-weight: 400; }
378
-
379
- .wapk-price__table__amount___legend {
380
- width: 100%;
381
- color: #FF4B4B;
382
- font-size: 18px;
383
- font-weight: 500;
384
- line-height: 2.5em; }
385
-
386
- .wapk-price__table__features {
387
- list-style-type: none;
388
- margin: 0;
389
- padding: 0;
390
- line-height: 1;
391
- color: #697279;
392
- text-align: left; }
393
-
394
- .wapk-price__table__features li.item {
395
- list-style-type: none;
396
- margin: 0;
397
- padding: 0;
398
- font-size: 13px;
399
- line-height: 1.5em; }
400
-
401
- .wapk-price__table__features li:not(:first-child):before {
402
- content: "";
403
- display: block;
404
- /* border: 0 solid hsla(0,0%,48%,.3); */
405
- margin: 10px 12.5%; }
406
-
407
- .wapk-price__table__feature {
408
- display: block;
409
- margin-left: calc(((100% - 80%) / 2) + 20px);
410
- margin-right: calc((100% - 80%) / 2); }
411
-
412
- span.wapk-price__table__feature span.dashicons {
413
- margin-left: -20px;
414
- top: 2px;
415
- position: relative; }
416
-
417
- .wapk-price__table__footer {
418
- padding: 40px 0; }
419
-
420
- .wapk-price__table__footer a {
421
- font-size: 14px;
422
- text-transform: uppercase;
423
- letter-spacing: 3px;
424
- border-radius: 100px 100px 100px 100px;
425
- padding: 16px 42px;
426
- transition: all 250ms; }
427
-
428
- .wapk-price__table__footer a:hover,
429
- .wapk-price__table__footer a:focus,
430
- .wapk-price__table__footer a:active {
431
- -webkit-transform: scale(1.02) !important;
432
- transform: scale(1.02) !important; }
433
-
434
- .wapk-price__table__ribbon {
435
- pointer-events: none;
436
- -ms-touch-action: none;
437
- touch-action: none;
438
- -webkit-user-select: none;
439
- -moz-user-select: none;
440
- -ms-user-select: none;
441
- user-select: none;
442
- position: absolute;
443
- top: 10px;
444
- left: auto;
445
- right: 10px;
446
- -webkit-transform: rotate(90deg);
447
- transform: rotate(90deg);
448
- width: 150px;
449
- overflow: hidden;
450
- height: 150px; }
451
-
452
- .wapk-price__table__ribbon__inner {
453
- background: #FF4B4B;
454
- font-family: sans-serif;
455
- font-weight: 500;
456
- color: #fff;
457
- font-size: 11px;
458
- /*noinspection CssFloatPxLength*/
459
- letter-spacing: 1.1px;
460
- box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.21);
461
- text-align: center;
462
- left: 0;
463
- width: 200%;
464
- -webkit-transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
465
- transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
466
- margin-top: 35px;
467
- line-height: 2;
468
- text-transform: uppercase; }
469
-
470
- .wapk-admin .wapk-payment {
471
- display: -ms-flexbox;
472
- display: flex;
473
- background: #fff;
474
- -ms-flex-pack: justify;
475
- justify-content: space-between;
476
- padding: 85px 65px 85px;
477
- -ms-flex-align: center;
478
- align-items: center; }
479
-
480
- .wapk-payment .payment-guarantee {
481
- display: -ms-flexbox;
482
- display: flex;
483
- -ms-flex: 0 0 63%;
484
- flex: 0 0 63%;
485
- -ms-flex-line-pack: center;
486
- align-content: center;
487
- -ms-flex-align: center;
488
- align-items: center;
489
- position: relative; }
490
-
491
- .wapk-payment .payment-guarantee:after {
492
- content: "";
493
- position: absolute;
494
- right: -18px;
495
- top: 50%;
496
- -webkit-transform: translateY(-50%);
497
- transform: translateY(-50%);
498
- width: 5px;
499
- height: 38px;
500
- border-radius: 3px;
501
- background: #00D4D4; }
502
-
503
- .wapk-payment .payment-guarantee .guarantee-seal img {
504
- max-width: 100%;
505
- width: 280px; }
506
-
507
- .wapk-payment .payment-guarantee .guarantee-detail {
508
- padding-left: 25px; }
509
-
510
- .wapk-payment .payment-guarantee .guarantee-detail h2 {
511
- font-size: 24px;
512
- line-height: 1.5em;
513
- font-weight: 400;
514
- margin: 0; }
515
-
516
- .wapk-payment .payment-guarantee .guarantee-detail p {
517
- font-size: 15px;
518
- line-height: 1.5em;
519
- font-weight: 300;
520
- margin: 5px 0 20px; }
521
-
522
- .wapk-payment .payment-guarantee .guarantee-detail a {
523
- color: #00D4D4;
524
- font-size: 15px;
525
- line-height: 1.5em;
526
- text-decoration: none; }
527
-
528
- .wapk-payment .payment-guarantee .guarantee-detail a span.dashicons,
529
- .wapk-payment .payment-guarantee .guarantee-detail a img {
530
- width: 18px;
531
- margin-right: 4px;
532
- margin-top: 1px; }
533
-
534
- .wapk-payment .payment-options {
535
- -ms-flex-positive: 0.5;
536
- flex-grow: 0.5; }
537
-
538
- .wapk-payment .payment-options h3 {
539
- font-size: 15px;
540
- font-weight: 300;
541
- margin: 0 0 17px; }
542
-
543
- .wapk-payment .payment-options .options h4 {
544
- color: #CED2D6; }
545
-
546
- .wapk-payment .payment-options .options li {
547
- float: left;
548
- overflow: hidden; }
549
-
550
- .wapk-payment .payment-options .options li img {
551
- height: 20px;
552
- margin-right: 5px; }
553
-
554
- /** Testimonial **/
555
- .wapk-admin .wapk-testimonial-wrapper:before {
556
- content: '';
557
- position: absolute;
558
- left: 79px;
559
- top: -15px;
560
- width: 80px;
561
- height: 56px;
562
- border-radius: 3px;
563
- background: transparent url(../images/block-quote.svg) no-repeat;
564
- background-size: cover; }
565
-
566
- .wapk-admin .wapk-testimonial-wrapper {
567
- position: relative;
568
- display: block;
569
- width: 80%;
570
- margin: 0 auto;
571
- padding: 0;
572
- text-align: center; }
573
-
574
- .testimonial-item__user .avatar {
575
- width: 100px;
576
- height: 100px;
577
- margin: 0 auto;
578
- border-radius: 100%;
579
- border: 3px solid #efefef;
580
- overflow: hidden; }
581
-
582
- .testimonial-item {
583
- margin-bottom: 25px; }
584
-
585
- .testimonial-item__user .avatar img {
586
- max-width: 100%;
587
- width: 100%;
588
- margin: 0 auto;
589
- padding: 0;
590
- display: block; }
591
-
592
- .testimonial-item__comment {
593
- position: relative;
594
- display: block;
595
- width: 70%;
596
- margin: 0 auto 30px; }
597
-
598
- .testimonial-item__user h4.author-name {
599
- font-size: 25px;
600
- font-weight: 300;
601
- margin: 10px auto; }
602
-
603
- .testimonial-item__user span.author-meta {
604
- font-size: 16px;
605
- font-weight: 300; }
606
-
607
- @media screen and (min-width: 1281px) {
608
- .wapk-admin .wapk-banner,
609
- .wapk-admin .feed-features {
610
- padding-left: 20%;
611
- padding-right: 20%; }
612
- .wapk-admin .wapk-payment {
613
- padding-left: 15%;
614
- padding-right: 15%; }
615
- .wapk-admin .feed-pro-comparison {
616
- padding-left: 21.2%;
617
- padding-right: 21.2%; }
618
- .wapk-admin .wapk-testimonial-wrapper {
619
- width: 55%; } }
620
-
621
- .wapk-feed-pro-upgrade .wapk-feed-cta,
622
- .wapk-feed-docs .wapk-feed-cta,
623
- .wapk-admin .feed-pro-comparison,
624
- .wapk-admin .wapk-payment,
625
- .wapk-admin .feed-features,
626
- .wapk-admin .wapk-testimonial,
627
- .wapk-admin .wapk-feed-banner {
628
- margin: 0; }
629
-
630
- .wapk-feed-banner .wapk-banner {
631
- margin: 0;
632
- padding: 0; }
1
+ table.wf-info-table th a,
2
+ table.wf-rate-table th strong {
3
+ font-weight: bold; }
4
+
5
+ table.wf-info-table th a,
6
+ table.wf-rate-table a {
7
+ color: #0073aa; }
8
+
9
+ table.wf-info-table th a.get-woo-feed-pro {
10
+ display: inline-block;
11
+ text-decoration: none;
12
+ background: #f3f5f6;
13
+ color: #ff3355;
14
+ vertical-align: top;
15
+ font-size: 14px;
16
+ line-height: 3.14285714;
17
+ box-sizing: border-box;
18
+ margin: 0;
19
+ border-radius: 35px;
20
+ box-shadow: 1px 2px 10px 1px rgba(255, 51, 85, 0.5); }
21
+
22
+ table.wf-info-table th a.get-woo-feed-pro img {
23
+ display: block;
24
+ position: relative;
25
+ margin: -2px;
26
+ width: 180px;
27
+ height: auto; }
28
+
29
+ table.wf-info-table th a.button {
30
+ border-color: #0073aa;
31
+ border-radius: 35px; }
32
+
33
+ table.wf-info-table th a.documentation {
34
+ color: #0073aa; }
35
+
36
+ table.wf-info-table th a.tutorial {
37
+ color: #ee264a; }
38
+
39
+ table.wf-info-table th a.support {
40
+ color: #0DD41E; }
41
+
42
  /**
43
  * Premium Page Design
44
+ */
45
+ .wp-submenu li span.woo-feed-premium {
46
+ font-weight: bold;
47
+ color: #28e499; }
48
+
49
+ .wp-submenu li:hover span.woo-feed-premium,
50
+ .wp-submenu li.current span.woo-feed-premium {
51
+ color: #1dc381; }
52
+
53
+ .woo_feed_free_manage_attribute {
54
+ margin: 0 auto;
55
+ width: 100%; }
56
+
57
+ .woo_feed_screenshort {
58
+ max-width: 100%;
59
+ width: 1000px;
60
+ border: 3px solid #00b9eb;
61
+ display: block;
62
+ margin: 0 auto; }
63
+
64
+ .woo-feed-screen-shot-title {
65
+ font-size: 36px;
66
+ text-align: center;
67
+ box-sizing: content-box;
68
+ color: #00b9eb; }
69
+
70
+ .woo_feed_screen {
71
+ background: #fff;
72
+ padding: 25px 20px;
73
+ margin-bottom: 20px; }
74
+
75
+ .woo_feed_screen_des {
76
+ text-align: center;
77
+ margin: 20px 50px 20px 50px;
78
+ font-size: 16px;
79
+ color: #666; }
80
+
81
+ .woo_feed_screen_des_2 {
82
+ text-align: center;
83
+ margin: 20px 50px 5px 50px;
84
+ font-size: 14px;
85
+ color: #32373c; }
86
+
87
+ .wapk-admin .wapk-feed-upgrade {
88
+ font-family: 'Open Sans', sans-serif;
89
+ margin: -10px -20px 0 -22px; }
90
+
91
+ .wapk-admin .wapk-feed-upgrade a {
92
+ transition: all 0.2s ease; }
93
+
94
+ .wapk-admin .section-title {
95
+ text-align: center;
96
+ font-size: 30px;
97
+ line-height: 1.5em;
98
+ font-weight: 400;
99
+ position: relative;
100
+ margin: 0 0 58px; }
101
+
102
+ .wapk-admin .section-title:after {
103
+ content: '';
104
+ position: absolute;
105
+ bottom: -21px;
106
+ left: 50%;
107
+ -webkit-transform: translateX(-50%);
108
+ transform: translateX(-50%);
109
+ width: 38px;
110
+ height: 5px;
111
+ border-radius: 3px;
112
+ background-color: #00D4D4; }
113
+
114
+ .wapk-admin .section-title .section-sub-title {
115
+ font-size: 22px;
116
+ font-weight: 300; }
117
+
118
+ .wapk-admin .wapk-banner {
119
+ background-color: #f2f2f2;
120
+ font-size: 16px;
121
+ display: -ms-flexbox;
122
+ display: flex;
123
+ -ms-flex-align: center;
124
+ align-items: center;
125
+ padding: 50px 8%;
126
+ border-bottom: 1px solid #eee; }
127
+
128
+ .wapk-admin .wapk-banner .wapk-banner__graphics {
129
+ width: 100%; }
130
+
131
+ .wapk-admin .wapk-banner .wapk-banner__content h1 {
132
+ font-size: 27px;
133
+ line-height: 1.5em; }
134
+
135
+ .wapk-admin .wapk-banner .wapk-banner__content p {
136
+ font-size: 16px;
137
+ line-height: 1.5em;
138
+ font-weight: 300;
139
+ margin: 0;
140
+ /*noinspection CssFloatPxLength*/
141
+ letter-spacing: 0.5px; }
142
+
143
+ .wapk-admin .feed-features,
144
+ .wapk-admin .wapk-testimonial,
145
+ .wapk-admin .feed-pricing {
146
+ text-align: center;
147
+ padding: 75px 30px 85px;
148
+ background-color: #f7f8f9; }
149
+
150
+ .wapk-admin .feed-features .feed-feature__list {
151
+ display: -ms-flexbox;
152
+ display: flex;
153
+ -ms-flex-wrap: wrap;
154
+ flex-wrap: wrap;
155
+ -ms-flex-align: start;
156
+ align-items: flex-start;
157
+ -ms-flex-pack: center;
158
+ justify-content: center; }
159
+
160
+ .wapk-admin .feed-features .feed-features__more {
161
+ margin-top: 25px; }
162
+
163
+ .feed-feature__item {
164
+ -ms-flex: 0 0 28.9%;
165
+ flex: 0 0 28.9%;
166
+ margin: 0 2.2% 4.4% 2.2%;
167
+ text-align: center;
168
+ border-radius: 5px;
169
+ background-color: #ffffff;
170
+ transition: all 100ms linear;
171
+ overflow: hidden; }
172
+
173
+ .feed-feature__item:hover {
174
+ box-shadow: 5px 4px 32px -16px rgba(0, 0, 0, 0.63); }
175
+
176
+ .feed-feature__thumb {
177
+ overflow: hidden; }
178
+
179
+ .feed-feature__item .feed-feature__thumb img {
180
+ border-radius: 5px 5px 0 0;
181
+ max-width: 100%;
182
+ width: 100%;
183
+ transition: all 100ms linear; }
184
+
185
+ .feed-feature__item:hover .feed-feature__thumb img {
186
+ -webkit-transform: scale(1.05);
187
+ transform: scale(1.05); }
188
+
189
+ .feed-feature__item .feed-feature__description {
190
+ padding: 20px 15px 25px; }
191
+
192
+ .feed-feature__item .feed-feature__description h3 {
193
+ font-size: 15px;
194
+ line-height: 1.5em;
195
+ font-weight: 300;
196
+ margin: 0; }
197
+
198
+ .wapk-admin .feed-pro-comparison {
199
+ background-color: #f1f1f1;
200
+ padding: 75px; }
201
+
202
+ .wapk-admin .feed-features .section-title h2,
203
+ .wapk-admin .wapk-testimonial .section-title h2,
204
+ .wapk-admin .feed-pro-comparison .section-title h2,
205
+ .wapk-admin .feed-pricing .section-title h2 {
206
+ margin-top: 0;
207
+ margin-bottom: 0; }
208
+
209
+ .wapk-admin .comparison-table {
210
+ display: -ms-flexbox;
211
+ display: flex;
212
+ -ms-flex-pack: justify;
213
+ justify-content: space-between; }
214
+
215
+ .wapk-admin .comparison-table .comparison {
216
+ -ms-flex: 0 0 48%;
217
+ flex: 0 0 48%;
218
+ background-color: #fff;
219
+ border: 1px solid #e0e9ec;
220
+ border-radius: 5px;
221
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
222
+ padding: 50px;
223
+ box-sizing: border-box; }
224
+
225
+ .wapk-admin .comparison .product-header {
226
+ margin-bottom: 58px;
227
+ position: relative; }
228
+
229
+ .wapk-admin .comparison .product-header:after {
230
+ content: "";
231
+ position: absolute;
232
+ bottom: -23px;
233
+ left: 0;
234
+ width: 38px;
235
+ height: 5px;
236
+ border-radius: 3px;
237
+ background-color: #d7d7d7; }
238
+
239
+ .wapk-admin .comparison .product-header img {
240
+ max-width: 160px;
241
+ width: 100%; }
242
+
243
+ .wapk-admin .comparison .product-features {
244
+ margin: 0; }
245
+
246
+ .wapk-admin .comparison li {
247
+ position: relative;
248
+ display: -ms-flexbox;
249
+ display: flex;
250
+ margin-bottom: 15px;
251
+ padding-left: 30px;
252
+ font-size: 14px;
253
+ line-height: 1.3em;
254
+ font-weight: 300;
255
+ -ms-flex-align: center;
256
+ align-items: center; }
257
+
258
+ .wapk-admin .comparison li.unavailable {
259
+ color: #CED2D6; }
260
+
261
+ .wapk-admin .comparison li span.dashicons {
262
+ position: absolute;
263
+ top: 1px;
264
+ left: 6px;
265
+ width: 18px;
266
+ height: 18px;
267
+ border-radius: 100%;
268
+ background: #00D4D4;
269
+ color: #FFF;
270
+ line-height: 22px;
271
+ font-size: 14px;
272
+ text-align: center; }
273
+
274
+ .wapk-admin .comparison li.unavailable {
275
+ color: #CED2D6; }
276
+
277
+ .wapk-admin .comparison li.unavailable span.dashicons {
278
+ background: #CED2D6; }
279
+
280
+ .wapk-admin .comparison li span.dashicons-no {
281
+ font-size: 12px; }
282
+
283
+ .wapk-admin .comparison li span.dashicons-no:before {
284
+ left: 0; }
285
+
286
+ .wapk-admin .comparison li span.dashicons:before {
287
+ position: relative;
288
+ left: -0.5px;
289
+ top: -2px; }
290
+
291
+ .wapk-admin .comparison li img {
292
+ width: 18px;
293
+ margin-right: 12px; }
294
+
295
+ .wapk-pricing__table {
296
+ width: 100%;
297
+ display: -ms-flexbox;
298
+ display: flex;
299
+ -ms-flex-wrap: wrap;
300
+ flex-wrap: wrap;
301
+ -ms-flex-line-pack: start;
302
+ align-content: flex-start;
303
+ -ms-flex-pack: center;
304
+ justify-content: center; }
305
+
306
+ .wapk-pricing__table__item {
307
+ position: relative;
308
+ -ms-flex: 0 0 23%;
309
+ flex: 0 0 23%; }
310
+
311
+ .wapk-price__table__wrapper {
312
+ position: relative;
313
+ padding: 10px; }
314
+
315
+ .wapk-price__table {
316
+ text-align: center;
317
+ display: block;
318
+ width: 100%;
319
+ padding: 10px;
320
+ background-color: #fff;
321
+ border-radius: 8px 8px 8px 8px;
322
+ box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1);
323
+ overflow: hidden;
324
+ transition: background .3s, border .3s, border-radius .3s, box-shadow .3s; }
325
+
326
+ .wapk-price__table__header {
327
+ background-color: #fff;
328
+ padding: 40px 0 0; }
329
+
330
+ .wapk-price__table__heading {
331
+ color: #6d7882;
332
+ font-size: 17px;
333
+ font-weight: 500;
334
+ text-transform: uppercase;
335
+ letter-spacing: 10px;
336
+ font-family: sans-serif;
337
+ margin: 0;
338
+ padding: 0;
339
+ line-height: 1.2; }
340
+
341
+ .wapk-price__table__price {
342
+ font-family: sans-serif;
343
+ font-weight: 600;
344
+ padding: 30px 0 10px;
345
+ display: -ms-flexbox;
346
+ display: flex;
347
+ -ms-flex-pack: center;
348
+ justify-content: center;
349
+ -ms-flex-align: center;
350
+ align-items: center;
351
+ -ms-flex-wrap: wrap;
352
+ flex-wrap: wrap;
353
+ -ms-flex-direction: row;
354
+ flex-direction: row;
355
+ color: #434363;
356
+ font-size: 45px; }
357
+
358
+ .wapk-price__table__currency {
359
+ -ms-flex-item-align: start;
360
+ align-self: flex-start;
361
+ color: #434363;
362
+ line-height: 1;
363
+ font-size: .3em;
364
+ margin-right: 3px; }
365
+
366
+ .wapk-price__table__amount .free,
367
+ .wapk-price__table__amount .integer-part {
368
+ color: #434363;
369
+ line-height: .8; }
370
+
371
+ .wapk-price__table__amount .decimal-part {
372
+ font-size: 14px;
373
+ font-weight: 400; }
374
+
375
+ .wapk-price__table__amount .period {
376
+ font-size: 14px;
377
+ font-weight: 400; }
378
+
379
+ .wapk-price__table__amount___legend {
380
+ width: 100%;
381
+ color: #FF4B4B;
382
+ font-size: 18px;
383
+ font-weight: 500;
384
+ line-height: 2.5em; }
385
+
386
+ .wapk-price__table__features {
387
+ list-style-type: none;
388
+ margin: 0;
389
+ padding: 0;
390
+ line-height: 1;
391
+ color: #697279;
392
+ text-align: left; }
393
+
394
+ .wapk-price__table__features li.item {
395
+ list-style-type: none;
396
+ margin: 0;
397
+ padding: 0;
398
+ font-size: 13px;
399
+ line-height: 1.5em; }
400
+
401
+ .wapk-price__table__features li:not(:first-child):before {
402
+ content: "";
403
+ display: block;
404
+ /* border: 0 solid hsla(0,0%,48%,.3); */
405
+ margin: 10px 12.5%; }
406
+
407
+ .wapk-price__table__feature {
408
+ display: block;
409
+ margin-left: calc(((100% - 80%) / 2) + 20px);
410
+ margin-right: calc((100% - 80%) / 2); }
411
+
412
+ span.wapk-price__table__feature span.dashicons {
413
+ margin-left: -20px;
414
+ top: 2px;
415
+ position: relative; }
416
+
417
+ .wapk-price__table__footer {
418
+ padding: 40px 0; }
419
+
420
+ .wapk-price__table__footer a {
421
+ font-size: 14px;
422
+ text-transform: uppercase;
423
+ letter-spacing: 3px;
424
+ border-radius: 100px 100px 100px 100px;
425
+ padding: 16px 42px;
426
+ transition: all 250ms; }
427
+
428
+ .wapk-price__table__footer a:hover,
429
+ .wapk-price__table__footer a:focus,
430
+ .wapk-price__table__footer a:active {
431
+ -webkit-transform: scale(1.02) !important;
432
+ transform: scale(1.02) !important; }
433
+
434
+ .wapk-price__table__ribbon {
435
+ pointer-events: none;
436
+ -ms-touch-action: none;
437
+ touch-action: none;
438
+ -webkit-user-select: none;
439
+ -moz-user-select: none;
440
+ -ms-user-select: none;
441
+ user-select: none;
442
+ position: absolute;
443
+ top: 10px;
444
+ left: auto;
445
+ right: 10px;
446
+ -webkit-transform: rotate(90deg);
447
+ transform: rotate(90deg);
448
+ width: 150px;
449
+ overflow: hidden;
450
+ height: 150px; }
451
+
452
+ .wapk-price__table__ribbon__inner {
453
+ background: #FF4B4B;
454
+ font-family: sans-serif;
455
+ font-weight: 500;
456
+ color: #fff;
457
+ font-size: 11px;
458
+ /*noinspection CssFloatPxLength*/
459
+ letter-spacing: 1.1px;
460
+ box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.21);
461
+ text-align: center;
462
+ left: 0;
463
+ width: 200%;
464
+ -webkit-transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
465
+ transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
466
+ margin-top: 35px;
467
+ line-height: 2;
468
+ text-transform: uppercase; }
469
+
470
+ .wapk-admin .wapk-payment {
471
+ display: -ms-flexbox;
472
+ display: flex;
473
+ background: #fff;
474
+ -ms-flex-pack: justify;
475
+ justify-content: space-between;
476
+ padding: 85px 65px 85px;
477
+ -ms-flex-align: center;
478
+ align-items: center; }
479
+
480
+ .wapk-payment .payment-guarantee {
481
+ display: -ms-flexbox;
482
+ display: flex;
483
+ -ms-flex: 0 0 63%;
484
+ flex: 0 0 63%;
485
+ -ms-flex-line-pack: center;
486
+ align-content: center;
487
+ -ms-flex-align: center;
488
+ align-items: center;
489
+ position: relative; }
490
+
491
+ .wapk-payment .payment-guarantee:after {
492
+ content: "";
493
+ position: absolute;
494
+ right: -18px;
495
+ top: 50%;
496
+ -webkit-transform: translateY(-50%);
497
+ transform: translateY(-50%);
498
+ width: 5px;
499
+ height: 38px;
500
+ border-radius: 3px;
501
+ background: #00D4D4; }
502
+
503
+ .wapk-payment .payment-guarantee .guarantee-seal img {
504
+ max-width: 100%;
505
+ width: 280px; }
506
+
507
+ .wapk-payment .payment-guarantee .guarantee-detail {
508
+ padding-left: 25px; }
509
+
510
+ .wapk-payment .payment-guarantee .guarantee-detail h2 {
511
+ font-size: 24px;
512
+ line-height: 1.5em;
513
+ font-weight: 400;
514
+ margin: 0; }
515
+
516
+ .wapk-payment .payment-guarantee .guarantee-detail p {
517
+ font-size: 15px;
518
+ line-height: 1.5em;
519
+ font-weight: 300;
520
+ margin: 5px 0 20px; }
521
+
522
+ .wapk-payment .payment-guarantee .guarantee-detail a {
523
+ color: #00D4D4;
524
+ font-size: 15px;
525
+ line-height: 1.5em;
526
+ text-decoration: none; }
527
+
528
+ .wapk-payment .payment-guarantee .guarantee-detail a span.dashicons,
529
+ .wapk-payment .payment-guarantee .guarantee-detail a img {
530
+ width: 18px;
531
+ margin-right: 4px;
532
+ margin-top: 1px; }
533
+
534
+ .wapk-payment .payment-options {
535
+ -ms-flex-positive: 0.5;
536
+ flex-grow: 0.5; }
537
+
538
+ .wapk-payment .payment-options h3 {
539
+ font-size: 15px;
540
+ font-weight: 300;
541
+ margin: 0 0 17px; }
542
+
543
+ .wapk-payment .payment-options .options h4 {
544
+ color: #CED2D6; }
545
+
546
+ .wapk-payment .payment-options .options li {
547
+ float: left;
548
+ overflow: hidden; }
549
+
550
+ .wapk-payment .payment-options .options li img {
551
+ height: 20px;
552
+ margin-right: 5px; }
553
+
554
+ /** Testimonial **/
555
+ .wapk-admin .wapk-testimonial-wrapper:before {
556
+ content: '';
557
+ position: absolute;
558
+ left: 79px;
559
+ top: -15px;
560
+ width: 80px;
561
+ height: 56px;
562
+ border-radius: 3px;
563
+ background: transparent url(../images/block-quote.svg) no-repeat;
564
+ background-size: cover; }
565
+
566
+ .wapk-admin .wapk-testimonial-wrapper {
567
+ position: relative;
568
+ display: block;
569
+ width: 80%;
570
+ margin: 0 auto;
571
+ padding: 0;
572
+ text-align: center; }
573
+
574
+ .testimonial-item__user .avatar {
575
+ width: 100px;
576
+ height: 100px;
577
+ margin: 0 auto;
578
+ border-radius: 100%;
579
+ border: 3px solid #efefef;
580
+ overflow: hidden; }
581
+
582
+ .testimonial-item {
583
+ margin-bottom: 25px; }
584
+
585
+ .testimonial-item__user .avatar img {
586
+ max-width: 100%;
587
+ width: 100%;
588
+ margin: 0 auto;
589
+ padding: 0;
590
+ display: block; }
591
+
592
+ .testimonial-item__comment {
593
+ position: relative;
594
+ display: block;
595
+ width: 70%;
596
+ margin: 0 auto 30px; }
597
+
598
+ .testimonial-item__user h4.author-name {
599
+ font-size: 25px;
600
+ font-weight: 300;
601
+ margin: 10px auto; }
602
+
603
+ .testimonial-item__user span.author-meta {
604
+ font-size: 16px;
605
+ font-weight: 300; }
606
+
607
+ @media screen and (min-width: 1281px) {
608
+ .wapk-admin .wapk-banner,
609
+ .wapk-admin .feed-features {
610
+ padding-left: 20%;
611
+ padding-right: 20%; }
612
+ .wapk-admin .wapk-payment {
613
+ padding-left: 15%;
614
+ padding-right: 15%; }
615
+ .wapk-admin .feed-pro-comparison {
616
+ padding-left: 21.2%;
617
+ padding-right: 21.2%; }
618
+ .wapk-admin .wapk-testimonial-wrapper {
619
+ width: 55%; } }
620
+
621
+ .wapk-feed-pro-upgrade .wapk-feed-cta,
622
+ .wapk-feed-docs .wapk-feed-cta,
623
+ .wapk-admin .feed-pro-comparison,
624
+ .wapk-admin .wapk-payment,
625
+ .wapk-admin .feed-features,
626
+ .wapk-admin .wapk-testimonial,
627
+ .wapk-admin .wapk-feed-banner {
628
+ margin: 0; }
629
+
630
+ .wapk-feed-banner .wapk-banner {
631
+ margin: 0;
632
+ padding: 0; }
admin/js/woo-feed-admin.js CHANGED
@@ -643,9 +643,6 @@
643
  let current_page_url_query = window.location.search;
644
  let urlParams = new URLSearchParams(current_page_url_query);
645
  let page_action = urlParams.get('action');
646
- if ( page_action === 'edit-feed' ) {
647
- $('.itemWrapper').show();
648
- }
649
 
650
  // ClipBoardJS
651
  clip();
@@ -700,6 +697,7 @@
700
  }).then(function (response) {
701
  if( response.success ) {
702
  loader.hide(); //hide loader
 
703
  }
704
  }).fail(function (e) {
705
  console.log('something wrong');
@@ -1029,10 +1027,16 @@
1029
 
1030
  //when feed type is changed
1031
  if( 'feedType' === e.target.id ) {
1032
- if (type === 'csv' || type === 'txt') {
1033
  itemWrapper.hide();
1034
  wf_csv_txt.show();
1035
- } else {
 
 
 
 
 
 
1036
  itemWrapper.show();
1037
  wf_csv_txt.hide();
1038
  }
643
  let current_page_url_query = window.location.search;
644
  let urlParams = new URLSearchParams(current_page_url_query);
645
  let page_action = urlParams.get('action');
 
 
 
646
 
647
  // ClipBoardJS
648
  clip();
697
  }).then(function (response) {
698
  if( response.success ) {
699
  loader.hide(); //hide loader
700
+ location.reload();
701
  }
702
  }).fail(function (e) {
703
  console.log('something wrong');
1027
 
1028
  //when feed type is changed
1029
  if( 'feedType' === e.target.id ) {
1030
+ if (type === 'csv' || type === 'txt' || type === 'tsv') {
1031
  itemWrapper.hide();
1032
  wf_csv_txt.show();
1033
+
1034
+ if( 'tsv' === type ) {
1035
+ $('#delimiter option:last').prop("selected", "selected");
1036
+ } else if( 'csv' === type ) {
1037
+ $('#delimiter option:first').prop("selected", "selected");
1038
+ }
1039
+ } else if( type === 'xml' ) {
1040
  itemWrapper.show();
1041
  wf_csv_txt.hide();
1042
  }
admin/js/woo-feed-admin.min.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}!function(s,a,r,i,c){s.fn.disabled=function(n){return s(this).each(function(){var e=s(this),t="disabled";void 0!==e.prop(t)?e.prop(t,void 0===n||!0===n):!0===n?e.addClass(t):e.removeClass(t)}),self},s.fn.isDisabled=function(){var e=s(this),t="disabled";return void 0!==e.prop(t)?e.prop(t):e.hasClass(t)};function e(e){s(e.currentTarget).removeClass(function(e,t){return(t.match(/\btooltipped-\S+/g)||[]).join(" ")}).removeClass("tooltipped").removeAttr("aria-label")}function o(e,t){s(e).addClass("tooltipped tooltipped-s").attr("aria-label",t)}function l(e,t){return s.extend(!0,{},e,t)}function t(){n=s(".toClipboard"),!ClipboardJS.isSupported()||/iPhone|iPad/i.test(navigator.userAgent)?n.find("img").hide(0):(n.each(function(){s(this).on("mouseleave",e).on("blur",e)}),new ClipboardJS(".toClipboard").on("error",function(e){var t,n;o(e.trigger,(t=e.action,n="cut"===t?"X":"C",/iPhone|iPad/i.test(navigator.userAgent)?"No support :(":/Mac/i.test(navigator.userAgent)?"Press ⌘-"+n+" to "+t:"Press Ctrl-"+n+" to "+t))}).on("success",function(e){o(e.trigger,"Copied!")}))}var n,f,d={in_array:function(e,t){try{return-1!==t.indexOf(e)}catch(e){return!1}},selectize_render_item:function(e,t){return'<div class="item wapk-selectize-item">'.concat(t(e.text),"</div>")},ajax_fail:function(e){console.warn(e),alert(e.hasOwnProperty("statusText")&&e.hasOwnProperty("status")?c.ajax.error+"\n"+e.statusText+" ("+e.status+")":e)},sortable:function(e,n,a,r){return(e||s(".sorted_table")).each(function(){var e=s(this),t=e.find("tbody > tr:eq(0) > td").length||a||9;e.wf_sortable(l({containerSelector:"table",itemPath:"> tbody",itemSelector:"tr",handle:"i.wf_sortedtable",placeholder:'<tr class="placeholder"><td colspan="'.concat(t,'"></td></tr>'),onDrop:function(e,t,n,a){e.removeClass(t.group.options.draggedClass).removeAttr("style"),s("body").removeClass(t.group.options.bodyClass),r&&"function"==typeof r&&r(e,t,n,a)}},n))})},selectize:function(e,t){return(e||s("select.selectize")).not(".selectized").each(function(){var e=s(this);e.selectize(l({create:e.data("create")||!1,plugins:e.data("plugins")?e.data("plugins").split(",").map(function(e){return e.trim()}):[],render:{item:d.selectize_render_item}},t))})},fancySelect:function(e,t){return(e||s("select.fancySelect")).not(".FancySelectInit").each(function(){s(this).fancySelect(l({maxItemShow:3},t))})},reindex_config_table:function(){s("#table-1").find("tbody tr").each(function(n,e){s(e).find("[name]").each(function(e,t){s(t).attr("name",s(t).attr("name").replace(/(\[\d\])/g,"[".concat(n,"]")))})})},common:function(){d.sortable(s(".sorted_table"),{},9,d.reindex_config_table),d.selectize(),d.fancySelect(s(".outputType"))}},_={form:null,init:function(){this.form=s(".generateFeed"),this.form.length&&(d.common(),s(r).trigger(new jQuery.Event("feedEditor.init",{target:this.form})))},renderMerchantInfo:function(n,a,r){function e(e){var t;r.hasOwnProperty(e)&&(n.find(".merchant-info-section."+e+" .data").html(r[e]),"feed_file_type"===e&&((t=r[e].split(",").map(function(e){return e.trim().toLowerCase()}).filter(function(e){return""!==e&&e!==c.na.toLowerCase()})).length?(a.find("option").removeAttr("selected").each(function(){var e=s(this);e.val()&&!d.in_array(e.val(),t)?e.disabled(!0):e.disabled(!1)}),1===t.length&&a.find('option[value="'+t[0]+'"]').attr("selected","selected")):a.find("option").disabled(!1)))}for(var t in r)e(t);n.find(".spinner").removeClass("is-active"),a.disabled(!1),a.trigger("change"),a.parent().find(".spinner").removeClass("is-active")},renderMerchantTemplate:function(n,a){function e(t){if(a.hasOwnProperty(t))if("tabs"===t)n.html(a[t]);else{var e=s('[name="'+t+'"]');e.length&&e.each(function(){var e=s(this);e.is("select")?e.find('[value="'+a[t]+'"]').prop("selected",!0):(e.is("[type=checkbox]")||e.is("[type=radio]"))&&e.val()===a[t]?e.prop("checked",!0):e.val(a[t])}).trigger("change")}}for(var t in a)e(t);_.init()}},u=[],p=[],h=function(){function e(){_classCallCheck(this,e),this._feed=c.generator.feed,this._limit=c.generator.limit,this._progress=0,this._timer=null,this._color=!1,this._total_batch=0,this._current_batch=0,this._product_ids=[],this._progress_per_batch=0,this._refresh=!0,this._regenerate=c.generator.regenerate,a.isRegenerating=!1,this._all_btn=s(".wpf_regenerate"),this._current_btn=s("#".concat(this._feed.replace("wf_config","wf_feed_"))),this._current_btn_label=""}return _createClass(e,[{key:"init",value:function(){var n=this;""!==this._feed&&this._regenerate&&!1===a.isRegenerating&&this.generate();var e=a.location.search;return"webappick-manage-feeds"===new URLSearchParams(e).get("page")&&s("body").addClass("woo-import-popup-body"),s(r).on("click",".woo-feed-campaign-close-button",function(e){e.preventDefault(),s(this).parent(".woo-feed-promotion").hide();var t=s(this).data("condition");1===t&&i.post("woo_feed_hide_promotion",{_ajax_nonce:c.nonce,condition:t}).then(function(e){n._log(e)}).fail(function(e){n._log(e),n._updateProgressStatus(e.message),n._color="red"})}),s(r).on("click",".wpf_regenerate",function(e){e.preventDefault(),n._current_btn=s(this),n._current_btn.hasClass("disabled")||!0===a.isRegenerating||(n._feed=n._current_btn.attr("id").replace("wf_feed_","wf_config"),""!==n._feed&&n.generate())}),this}},{key:"_block_button",value:function(){this._all_btn.length&&this._all_btn.addClass("disabled"),this._current_btn.length&&(this._current_btn.find("span").addClass("wpf_spin reverse_spin"),this._current_btn_label=this._current_btn.attr("title"),this._current_btn.attr("aria-label",c.regenerate).attr("title",c.regenerate))}},{key:"_unblock_button",value:function(){this._all_btn.length&&this._all_btn.removeClass("disabled"),this._current_btn.length&&(this._current_btn.find("span").removeClass("wpf_spin"),this._current_btn.find("span").removeClass("reverse_spin"),this._current_btn.attr("aria-label",this._current_btn_label).attr("title",this._current_btn_label))}},{key:"generate",value:function(){var t=this,n=this;a.isRegenerating=!0,this._block_button(),this._resetProgressBar(),this._progressBarActive(),this._log("Counting Total Products"),this._updateProgressStatus("Fetching products."),this._get_product_ids().then(function(e){t._progress=10,n._log({response:e}),e.success?(n._log("Total ".concat(e.total," Products found.")),n._product_ids=e.product,n._total_batch=t._product_ids.length,n._current_batch=0,n._progress_per_batch=(90-t._progress)/t._total_batch,n._process_batch(),n._updateProgressStatus("Processing Products...")):n._updateProgressStatus(e.data.message)}).fail(function(e){n._log(e),n._updateProgressStatus(e.message),n._color="red",setTimeout(function(){n._stopProgressBar(),n._unblock_button()},1500)})}},{key:"_get_product_ids",value:function(){return this._progress=5,i.post("get_product_information",{_ajax_nonce:c.nonce,feed:this._feed,limit:this._limit})}},{key:"_process_batch",value:function(){var t=this,e="Processing Batch ".concat(this._current_batch+1," of ").concat(this._total_batch);this._updateProgressStatus(e),this._log(e),i.post("make_batch_feed",{_ajax_nonce:c.nonce,feed:this._feed,products:this._product_ids[this._current_batch],loop:this._current_batch}).then(function(e){t._current_batch++,t._log("Batch ".concat(t._current_batch," Completed")),t._log(e),t._current_batch<t._total_batch&&(t._process_batch(),t._progress+=t._progress_per_batch),t._current_batch===t._total_batch&&t._save_feed_file()}).fail(function(e){t._log(e),t._updateProgressStatus(e.message),t._color="red",setTimeout(function(){t._stopProgressBar(),t._unblock_button()},1500)})}},{key:"_save_feed_file",value:function(){var t=this;this._log("Saving feed file"),this._updateProgressStatus("Saving feed file"),i.post("save_feed_file",{_ajax_nonce:c.nonce,feed:this._feed}).then(function(e){t._log(e),t._progress=100,t._refresh&&(a.location.href="".concat(c.pages.list.feed,"&link=").concat(e.url,"&cat=").concat(e.cat)),setTimeout(function(){t._stopProgressBar(),setTimeout(function(){t._resetProgressBar(!0),t._unblock_button()},3e3)},2500)}).fail(function(e){t._log(e),t._updateProgressStatus(e.message),t._color="red",setTimeout(function(){t._stopProgressBar(),t._unblock_button()},1500)})}},{key:"_log",value:function(e){return c.wpf_debug&&console.log(e),this}},{key:"_progressBarActive",value:function(e){var t=0<arguments.length&&void 0!==e?e:0,n=this;return this._toggleProgressBar(!0),this._timer=setInterval(function(){n._updateProgressBar()},t||1e3),this}},{key:"_stopProgressBar",value:function(){return clearInterval(this._timer),this}},{key:"_resetProgressBar",value:function(e){return this._toggleProgressBar(!1),this._updateProgressStatus(""),clearInterval(this._timer),this._color=!1,this._timer=null,this._progress=0,e&&this._updateProgressBar(),this}},{key:"_toggleProgressBar",value:function(e){var t=s("#feed_progress_table");return e?t.show():t.hide(),this}},{key:"_updateProgressStatus",value:function(e){return s(".feed-progress-status").text(e),this}},{key:"_updateProgressBar",value:function(){var e=s(".feed-progress-percentage"),t=s(".feed-progress-bar-fill"),n="".concat(Math.round(this._progress),"%");t.css({width:n}),e.text(n)}}]),e}();a.wf={helper:d,feedEditor:_,generator:h},s(a).on("load",function(){null!==s(location).attr("href").match(/webappick.*feed/g)&&s("#wpbody-content").addClass("woofeed-body-content");var e=a.location.search;"edit-feed"===new URLSearchParams(e).get("action")&&s(".itemWrapper").show(),t(),postboxes.add_postbox_toggles(pagenow),(new h).init(),""!==c.generator.feed&&c.generator.regenerate,_.init(),d.common(),s(".wfmasterTooltip").hover(function(){var e=s(this),t=e.attr("wftitle");e.data("tipText",t).removeAttr("wftitle"),s('<p class="wftooltip"></p>').text(t).appendTo("body").fadeIn("slow")},function(){var e=s(this);e.attr("wftitle",e.data("tipText")),s(".wftooltip").remove()}).mousemove(function(e){s(".wftooltip").css({top:e.pageY+10,left:e.pageX+20})}),s(".generateFeed").validate(),s(r).on("click","[data-toggle_slide]",function(e){e.preventDefault(),s(s(this).data("toggle_slide")).slideToggle("fast")}).on("click","#wf_newRow",function(){var e=s("#table-1 tbody"),t=s("#feed_config_template").text().trim().replace(/__idx__/g,e.find("tr").length);e.append(t),d.fancySelect(s(".outputType"))}).on("click",".single-feed-delete",function(e){e.preventDefault(),confirm(c.form.del_confirm)&&(a.location.href=s(this).attr("val"))}).on("click",".wf_clean_cache_wrapper",function(e){e.preventDefault();var t=s(".woo-feed-clean-cache-nonce").val(),n=s(".woo-feed-cache-loader");n.show(),i.post("clear_cache_data",{_ajax_clean_nonce:t}).then(function(e){e.success&&n.hide()}).fail(function(e){console.log("something wrong")})}).on("click","#woo-feed-copy-status-btn",function(e){e.preventDefault();var t=s("#woo-feed-copy-status-btn"),n=s("#woo-feed-status-area");t.val("Copied"),n.css("visibility","visible"),n.select(),r.execCommand("copy")}).on("change",".wf_attr.wf_attributes",function(e){e.preventDefault(),s(".fancy-picker-picked").trigger("click");var t,n,a=s(this).val(),r=s(this).parents("tr").find(".outputType"),o=s(this).parents("tr").find(".fancy-picker-content .fancy-picker-option"),i=s(this).parents("tr").find(".fancy-picker-data span");n=["price","current_price","sale_price","price_with_tax","current_price_with_tax","sale_price_with_tax"].includes(a)?(t="for_price","Price"):""!==a&&-1!==a.indexOf("wf_taxo")?(t="for_custom_taxo","parent_if_empty"):(t="for_all","Default"),o.removeClass("selected"),"for_custom_taxo"===t||"for_price"===t?o.each(function(e){n===s(this).text()&&(s(this).addClass("selected"),i.text(n),r.find("option").text(n),r.find("option").val(s(this).data("value")))}):o.each(function(e){"parent_if_empty"!==s(this).text()&&"for_all"===t&&(s(this).addClass("selected"),i.text(n),r.find("option").text(n),r.find("option").val(s(this).data("value")))})}).on("click","#doaction, #doaction2",function(){return confirm(c.form.del_confirm_multi)}).on("change",".dType",function(){var e=s(this),t=e.val(),n=e.closest("tr");"pattern"===t?(n.find(".value_attribute").hide(),n.find(".value_pattern").show()):"attribute"===t?(n.find(".value_attribute").show(),n.find(".value_pattern").hide()):"remove"===t&&(n.find(".value_attribute").hide(),n.find(".value_pattern").hide())}).on("click",".delRow",function(e){e.preventDefault(),s(this).closest("tr").remove(),d.reindex_config_table()}).on("submit","#generateFeed",function(){s(this).validate(),s(this).valid()&&s(".makeFeedResponse").show().html('<b style="color: darkblue;"><i class="dashicons dashicons-sos wpf_spin"></i> '.concat(c.form.generate,"</b>"))}).on("submit","#updatefeed",function(e,t){s(this).validate(),s(this).valid()&&s(".makeFeedResponse").show().html('<b style="color: darkblue;"><i class="dashicons dashicons-sos wpf_spin"></i> '.concat(t&&t.save?c.form.save:c.form.generate,"</b>"))}).on("change",".ftporsftp",function(){var e=s(this).val(),t=s(".ssh2_status");"sftp"===e?(t.show().css("color","dodgerblue").text(c.form.sftp_checking),i.post("get_ssh2_status",{_ajax_nonce:c.nonce,server:e}).then(function(e){"exists"===e?(t.css("color","#2CC185").text(c.form.sftp_available),setTimeout(function(){t.hide()},1500)):t.show().css("color","red").text(c.form.sftp_warning)}).fail(function(e){t.hide(),d.ajax_fail(e)})):t.hide()}).on("click",'[name="save_feed_config"]',function(e){e.preventDefault(),s("#updatefeed").trigger("submit",{save:!0})}).on("change","#provider",function(e){e.preventDefault();var t=s(this).val(),n=s("#feedType"),a=s("#providerPage"),r=s("#feed_merchant_info");a.html('<h3><span style="float:none;margin: -3px 0 0;" class="spinner is-active"></span> '+c.form.loading_tmpl+"</h3>"),r.find(".spinner").addClass("is-active"),n.disabled(!0),n.parent().find(".spinner").addClass("is-active"),r.find(".merchant-info-section .data").html(""),u.hasOwnProperty(t)?_.renderMerchantInfo(r,n,u[t]):i.send("woo_feed_get_merchant_info",{type:"GET",data:{nonce:c.nonce,provider:t}}).then(function(e){u[t]=e,_.renderMerchantInfo(r,n,e)}).fail(d.ajax_fail),p.hasOwnProperty(t)?_.renderMerchantTemplate(a,p[t]):i.post("get_feed_merchant",{_ajax_nonce:c.nonce,merchant:t}).then(function(e){p[t]=e,_.renderMerchantTemplate(a,e),"bing"===t&&(s("#delimiter option").removeAttr("selected"),s('#delimiter option[value="tab"]').attr("selected","selected"),s("#enclosure option").removeAttr("selected"),s('#enclosure option[value=" "]').attr("selected","selected")),"google_product_review"!==t&&s('.wf_attributes option[value="reviewer_name"]').hide()}).fail(d.ajax_fail)}).on("change",".woo_feed_status_input",function(){var e=s(this);i.post("update_feed_status",{_ajax_nonce:c.nonce,feedName:e.val(),status:e[0].checked?1:0})}),s(r).on("change",'[name="is_outOfStock"], [name="product_visibility"]',function(){var e=s(".out-of-stock-visibility");"n"===s('[name="is_outOfStock"]:checked').val()&&"1"===s('[name="product_visibility"]:checked').val()?e.show():e.hide()}).on("change",".attr_type",function(){var e=s(this),t=e.val(),n=e.closest("tr");"pattern"===t?(n.find(".wf_attr").hide(),n.find(".wf_attr").val(""),n.find(".wf_default").show()):(n.find(".wf_attr").show(),n.find(".wf_default").hide(),n.find(".wf_default").val(""))}).on("change",".wf_mattributes, .attr_type",function(){var e=s(this).closest("tr"),t=e.find(".wf_mattributes"),n=e.find(".attr_type"),a=e.find("td:eq(4)"),r=s("#provider").val();if(c.form.google_category.hasOwnProperty(t.val())&&"pattern"===n.val()&&d.in_array(r,c.form.google_category[t.val()])){if(0===a.find("select.selectize").length){a.find("input.wf_default").remove(),a.append('<span class="wf_default wf_attributes"><select name="default[]" class="selectize"></select></span>'),a.append('<span style="font-size:x-small;"><a style="color: red" href="http://webappick.helpscoutdocs.com/article/19-how-to-map-store-category-with-merchant-category" target="_blank">'.concat(c.learn_more,"</a></span>")),f||a.append('<span class="spinner is-active" style="margin: 0;"></span>');var o=a.find(".wf_attributes select");d.selectize(o,{preload:!0,placeholder:c.form.select_category,load:function(e,t){f?t(f):i.send("get_google_categories",{type:"GET",data:{_ajax_nonce:c.nonce,action:"get_google_categories",provider:r}}).then(function(e){t(f=e),a.find(".spinner").remove()}).fail(d.ajax_fail)}})}}else"current_category"!==t.val()&&0===a.find("input.wf_default").length&&(a.find("span").remove(),a.append('<input autocomplete="off" class="wf_default wf_attributes" type="text" name="default[]" value="">'),"pattern"!==n.val()&&a.find("input.wf_default").hide())}).on("change","#feedType,#provider",function(e){var t=s("#feedType").val(),n=s("#provider").val(),a=s(".itemWrapper"),r=s(".wf_csvtxt");""!==t&&d.in_array(n,c.form.item_wrapper_hidden)&&a.hide(),"feedType"===e.target.id&&("csv"===t||"txt"===t?(a.hide(),r.show()):(a.show(),r.hide()))}).trigger("change")})}(jQuery,window,document,wp.ajax,wpf_ajax_obj);
2
  //# sourceMappingURL=woo-feed-admin.min.js.map
1
+ "use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}!function(s,a,r,i,c){s.fn.disabled=function(n){return s(this).each(function(){var e=s(this),t="disabled";void 0!==e.prop(t)?e.prop(t,void 0===n||!0===n):!0===n?e.addClass(t):e.removeClass(t)}),self},s.fn.isDisabled=function(){var e=s(this),t="disabled";return void 0!==e.prop(t)?e.prop(t):e.hasClass(t)};function e(e){s(e.currentTarget).removeClass(function(e,t){return(t.match(/\btooltipped-\S+/g)||[]).join(" ")}).removeClass("tooltipped").removeAttr("aria-label")}function o(e,t){s(e).addClass("tooltipped tooltipped-s").attr("aria-label",t)}function l(e,t){return s.extend(!0,{},e,t)}function t(){n=s(".toClipboard"),!ClipboardJS.isSupported()||/iPhone|iPad/i.test(navigator.userAgent)?n.find("img").hide(0):(n.each(function(){s(this).on("mouseleave",e).on("blur",e)}),new ClipboardJS(".toClipboard").on("error",function(e){var t,n;o(e.trigger,(t=e.action,n="cut"===t?"X":"C",/iPhone|iPad/i.test(navigator.userAgent)?"No support :(":/Mac/i.test(navigator.userAgent)?"Press ⌘-"+n+" to "+t:"Press Ctrl-"+n+" to "+t))}).on("success",function(e){o(e.trigger,"Copied!")}))}var n,d,f={in_array:function(e,t){try{return-1!==t.indexOf(e)}catch(e){return!1}},selectize_render_item:function(e,t){return'<div class="item wapk-selectize-item">'.concat(t(e.text),"</div>")},ajax_fail:function(e){console.warn(e),alert(e.hasOwnProperty("statusText")&&e.hasOwnProperty("status")?c.ajax.error+"\n"+e.statusText+" ("+e.status+")":e)},sortable:function(e,n,a,r){return(e||s(".sorted_table")).each(function(){var e=s(this),t=e.find("tbody > tr:eq(0) > td").length||a||9;e.wf_sortable(l({containerSelector:"table",itemPath:"> tbody",itemSelector:"tr",handle:"i.wf_sortedtable",placeholder:'<tr class="placeholder"><td colspan="'.concat(t,'"></td></tr>'),onDrop:function(e,t,n,a){e.removeClass(t.group.options.draggedClass).removeAttr("style"),s("body").removeClass(t.group.options.bodyClass),r&&"function"==typeof r&&r(e,t,n,a)}},n))})},selectize:function(e,t){return(e||s("select.selectize")).not(".selectized").each(function(){var e=s(this);e.selectize(l({create:e.data("create")||!1,plugins:e.data("plugins")?e.data("plugins").split(",").map(function(e){return e.trim()}):[],render:{item:f.selectize_render_item}},t))})},fancySelect:function(e,t){return(e||s("select.fancySelect")).not(".FancySelectInit").each(function(){s(this).fancySelect(l({maxItemShow:3},t))})},reindex_config_table:function(){s("#table-1").find("tbody tr").each(function(n,e){s(e).find("[name]").each(function(e,t){s(t).attr("name",s(t).attr("name").replace(/(\[\d\])/g,"[".concat(n,"]")))})})},common:function(){f.sortable(s(".sorted_table"),{},9,f.reindex_config_table),f.selectize(),f.fancySelect(s(".outputType"))}},_={form:null,init:function(){this.form=s(".generateFeed"),this.form.length&&(f.common(),s(r).trigger(new jQuery.Event("feedEditor.init",{target:this.form})))},renderMerchantInfo:function(n,a,r){function e(e){var t;r.hasOwnProperty(e)&&(n.find(".merchant-info-section."+e+" .data").html(r[e]),"feed_file_type"===e&&((t=r[e].split(",").map(function(e){return e.trim().toLowerCase()}).filter(function(e){return""!==e&&e!==c.na.toLowerCase()})).length?(a.find("option").removeAttr("selected").each(function(){var e=s(this);e.val()&&!f.in_array(e.val(),t)?e.disabled(!0):e.disabled(!1)}),1===t.length&&a.find('option[value="'+t[0]+'"]').attr("selected","selected")):a.find("option").disabled(!1)))}for(var t in r)e(t);n.find(".spinner").removeClass("is-active"),a.disabled(!1),a.trigger("change"),a.parent().find(".spinner").removeClass("is-active")},renderMerchantTemplate:function(n,a){function e(t){if(a.hasOwnProperty(t))if("tabs"===t)n.html(a[t]);else{var e=s('[name="'+t+'"]');e.length&&e.each(function(){var e=s(this);e.is("select")?e.find('[value="'+a[t]+'"]').prop("selected",!0):(e.is("[type=checkbox]")||e.is("[type=radio]"))&&e.val()===a[t]?e.prop("checked",!0):e.val(a[t])}).trigger("change")}}for(var t in a)e(t);_.init()}},u=[],p=[],h=function(){function e(){_classCallCheck(this,e),this._feed=c.generator.feed,this._limit=c.generator.limit,this._progress=0,this._timer=null,this._color=!1,this._total_batch=0,this._current_batch=0,this._product_ids=[],this._progress_per_batch=0,this._refresh=!0,this._regenerate=c.generator.regenerate,a.isRegenerating=!1,this._all_btn=s(".wpf_regenerate"),this._current_btn=s("#".concat(this._feed.replace("wf_config","wf_feed_"))),this._current_btn_label=""}return _createClass(e,[{key:"init",value:function(){var n=this;""!==this._feed&&this._regenerate&&!1===a.isRegenerating&&this.generate();var e=a.location.search;return"webappick-manage-feeds"===new URLSearchParams(e).get("page")&&s("body").addClass("woo-import-popup-body"),s(r).on("click",".woo-feed-campaign-close-button",function(e){e.preventDefault(),s(this).parent(".woo-feed-promotion").hide();var t=s(this).data("condition");1===t&&i.post("woo_feed_hide_promotion",{_ajax_nonce:c.nonce,condition:t}).then(function(e){n._log(e)}).fail(function(e){n._log(e),n._updateProgressStatus(e.message),n._color="red"})}),s(r).on("click",".wpf_regenerate",function(e){e.preventDefault(),n._current_btn=s(this),n._current_btn.hasClass("disabled")||!0===a.isRegenerating||(n._feed=n._current_btn.attr("id").replace("wf_feed_","wf_config"),""!==n._feed&&n.generate())}),this}},{key:"_block_button",value:function(){this._all_btn.length&&this._all_btn.addClass("disabled"),this._current_btn.length&&(this._current_btn.find("span").addClass("wpf_spin reverse_spin"),this._current_btn_label=this._current_btn.attr("title"),this._current_btn.attr("aria-label",c.regenerate).attr("title",c.regenerate))}},{key:"_unblock_button",value:function(){this._all_btn.length&&this._all_btn.removeClass("disabled"),this._current_btn.length&&(this._current_btn.find("span").removeClass("wpf_spin"),this._current_btn.find("span").removeClass("reverse_spin"),this._current_btn.attr("aria-label",this._current_btn_label).attr("title",this._current_btn_label))}},{key:"generate",value:function(){var t=this,n=this;a.isRegenerating=!0,this._block_button(),this._resetProgressBar(),this._progressBarActive(),this._log("Counting Total Products"),this._updateProgressStatus("Fetching products."),this._get_product_ids().then(function(e){t._progress=10,n._log({response:e}),e.success?(n._log("Total ".concat(e.total," Products found.")),n._product_ids=e.product,n._total_batch=t._product_ids.length,n._current_batch=0,n._progress_per_batch=(90-t._progress)/t._total_batch,n._process_batch(),n._updateProgressStatus("Processing Products...")):n._updateProgressStatus(e.data.message)}).fail(function(e){n._log(e),n._updateProgressStatus(e.message),n._color="red",setTimeout(function(){n._stopProgressBar(),n._unblock_button()},1500)})}},{key:"_get_product_ids",value:function(){return this._progress=5,i.post("get_product_information",{_ajax_nonce:c.nonce,feed:this._feed,limit:this._limit})}},{key:"_process_batch",value:function(){var t=this,e="Processing Batch ".concat(this._current_batch+1," of ").concat(this._total_batch);this._updateProgressStatus(e),this._log(e),i.post("make_batch_feed",{_ajax_nonce:c.nonce,feed:this._feed,products:this._product_ids[this._current_batch],loop:this._current_batch}).then(function(e){t._current_batch++,t._log("Batch ".concat(t._current_batch," Completed")),t._log(e),t._current_batch<t._total_batch&&(t._process_batch(),t._progress+=t._progress_per_batch),t._current_batch===t._total_batch&&t._save_feed_file()}).fail(function(e){t._log(e),t._updateProgressStatus(e.message),t._color="red",setTimeout(function(){t._stopProgressBar(),t._unblock_button()},1500)})}},{key:"_save_feed_file",value:function(){var t=this;this._log("Saving feed file"),this._updateProgressStatus("Saving feed file"),i.post("save_feed_file",{_ajax_nonce:c.nonce,feed:this._feed}).then(function(e){t._log(e),t._progress=100,t._refresh&&(a.location.href="".concat(c.pages.list.feed,"&link=").concat(e.url,"&cat=").concat(e.cat)),setTimeout(function(){t._stopProgressBar(),setTimeout(function(){t._resetProgressBar(!0),t._unblock_button()},3e3)},2500)}).fail(function(e){t._log(e),t._updateProgressStatus(e.message),t._color="red",setTimeout(function(){t._stopProgressBar(),t._unblock_button()},1500)})}},{key:"_log",value:function(e){return c.wpf_debug&&console.log(e),this}},{key:"_progressBarActive",value:function(e){var t=0<arguments.length&&void 0!==e?e:0,n=this;return this._toggleProgressBar(!0),this._timer=setInterval(function(){n._updateProgressBar()},t||1e3),this}},{key:"_stopProgressBar",value:function(){return clearInterval(this._timer),this}},{key:"_resetProgressBar",value:function(e){return this._toggleProgressBar(!1),this._updateProgressStatus(""),clearInterval(this._timer),this._color=!1,this._timer=null,this._progress=0,e&&this._updateProgressBar(),this}},{key:"_toggleProgressBar",value:function(e){var t=s("#feed_progress_table");return e?t.show():t.hide(),this}},{key:"_updateProgressStatus",value:function(e){return s(".feed-progress-status").text(e),this}},{key:"_updateProgressBar",value:function(){var e=s(".feed-progress-percentage"),t=s(".feed-progress-bar-fill"),n="".concat(Math.round(this._progress),"%");t.css({width:n}),e.text(n)}}]),e}();a.wf={helper:f,feedEditor:_,generator:h},s(a).on("load",function(){null!==s(location).attr("href").match(/webappick.*feed/g)&&s("#wpbody-content").addClass("woofeed-body-content");var e=a.location.search;new URLSearchParams(e).get("action");t(),postboxes.add_postbox_toggles(pagenow),(new h).init(),""!==c.generator.feed&&c.generator.regenerate,_.init(),f.common(),s(".wfmasterTooltip").hover(function(){var e=s(this),t=e.attr("wftitle");e.data("tipText",t).removeAttr("wftitle"),s('<p class="wftooltip"></p>').text(t).appendTo("body").fadeIn("slow")},function(){var e=s(this);e.attr("wftitle",e.data("tipText")),s(".wftooltip").remove()}).mousemove(function(e){s(".wftooltip").css({top:e.pageY+10,left:e.pageX+20})}),s(".generateFeed").validate(),s(r).on("click","[data-toggle_slide]",function(e){e.preventDefault(),s(s(this).data("toggle_slide")).slideToggle("fast")}).on("click","#wf_newRow",function(){var e=s("#table-1 tbody"),t=s("#feed_config_template").text().trim().replace(/__idx__/g,e.find("tr").length);e.append(t),f.fancySelect(s(".outputType"))}).on("click",".single-feed-delete",function(e){e.preventDefault(),confirm(c.form.del_confirm)&&(a.location.href=s(this).attr("val"))}).on("click",".wf_clean_cache_wrapper",function(e){e.preventDefault();var t=s(".woo-feed-clean-cache-nonce").val(),n=s(".woo-feed-cache-loader");n.show(),i.post("clear_cache_data",{_ajax_clean_nonce:t}).then(function(e){e.success&&(n.hide(),location.reload())}).fail(function(e){console.log("something wrong")})}).on("click","#woo-feed-copy-status-btn",function(e){e.preventDefault();var t=s("#woo-feed-copy-status-btn"),n=s("#woo-feed-status-area");t.val("Copied"),n.css("visibility","visible"),n.select(),r.execCommand("copy")}).on("change",".wf_attr.wf_attributes",function(e){e.preventDefault(),s(".fancy-picker-picked").trigger("click");var t,n,a=s(this).val(),r=s(this).parents("tr").find(".outputType"),o=s(this).parents("tr").find(".fancy-picker-content .fancy-picker-option"),i=s(this).parents("tr").find(".fancy-picker-data span");n=["price","current_price","sale_price","price_with_tax","current_price_with_tax","sale_price_with_tax"].includes(a)?(t="for_price","Price"):""!==a&&-1!==a.indexOf("wf_taxo")?(t="for_custom_taxo","parent_if_empty"):(t="for_all","Default"),o.removeClass("selected"),"for_custom_taxo"===t||"for_price"===t?o.each(function(e){n===s(this).text()&&(s(this).addClass("selected"),i.text(n),r.find("option").text(n),r.find("option").val(s(this).data("value")))}):o.each(function(e){"parent_if_empty"!==s(this).text()&&"for_all"===t&&(s(this).addClass("selected"),i.text(n),r.find("option").text(n),r.find("option").val(s(this).data("value")))})}).on("click","#doaction, #doaction2",function(){return confirm(c.form.del_confirm_multi)}).on("change",".dType",function(){var e=s(this),t=e.val(),n=e.closest("tr");"pattern"===t?(n.find(".value_attribute").hide(),n.find(".value_pattern").show()):"attribute"===t?(n.find(".value_attribute").show(),n.find(".value_pattern").hide()):"remove"===t&&(n.find(".value_attribute").hide(),n.find(".value_pattern").hide())}).on("click",".delRow",function(e){e.preventDefault(),s(this).closest("tr").remove(),f.reindex_config_table()}).on("submit","#generateFeed",function(){s(this).validate(),s(this).valid()&&s(".makeFeedResponse").show().html('<b style="color: darkblue;"><i class="dashicons dashicons-sos wpf_spin"></i> '.concat(c.form.generate,"</b>"))}).on("submit","#updatefeed",function(e,t){s(this).validate(),s(this).valid()&&s(".makeFeedResponse").show().html('<b style="color: darkblue;"><i class="dashicons dashicons-sos wpf_spin"></i> '.concat(t&&t.save?c.form.save:c.form.generate,"</b>"))}).on("change",".ftporsftp",function(){var e=s(this).val(),t=s(".ssh2_status");"sftp"===e?(t.show().css("color","dodgerblue").text(c.form.sftp_checking),i.post("get_ssh2_status",{_ajax_nonce:c.nonce,server:e}).then(function(e){"exists"===e?(t.css("color","#2CC185").text(c.form.sftp_available),setTimeout(function(){t.hide()},1500)):t.show().css("color","red").text(c.form.sftp_warning)}).fail(function(e){t.hide(),f.ajax_fail(e)})):t.hide()}).on("click",'[name="save_feed_config"]',function(e){e.preventDefault(),s("#updatefeed").trigger("submit",{save:!0})}).on("change","#provider",function(e){e.preventDefault();var t=s(this).val(),n=s("#feedType"),a=s("#providerPage"),r=s("#feed_merchant_info");a.html('<h3><span style="float:none;margin: -3px 0 0;" class="spinner is-active"></span> '+c.form.loading_tmpl+"</h3>"),r.find(".spinner").addClass("is-active"),n.disabled(!0),n.parent().find(".spinner").addClass("is-active"),r.find(".merchant-info-section .data").html(""),u.hasOwnProperty(t)?_.renderMerchantInfo(r,n,u[t]):i.send("woo_feed_get_merchant_info",{type:"GET",data:{nonce:c.nonce,provider:t}}).then(function(e){u[t]=e,_.renderMerchantInfo(r,n,e)}).fail(f.ajax_fail),p.hasOwnProperty(t)?_.renderMerchantTemplate(a,p[t]):i.post("get_feed_merchant",{_ajax_nonce:c.nonce,merchant:t}).then(function(e){p[t]=e,_.renderMerchantTemplate(a,e),"bing"===t&&(s("#delimiter option").removeAttr("selected"),s('#delimiter option[value="tab"]').attr("selected","selected"),s("#enclosure option").removeAttr("selected"),s('#enclosure option[value=" "]').attr("selected","selected")),"google_product_review"!==t&&s('.wf_attributes option[value="reviewer_name"]').hide()}).fail(f.ajax_fail)}).on("change",".woo_feed_status_input",function(){var e=s(this);i.post("update_feed_status",{_ajax_nonce:c.nonce,feedName:e.val(),status:e[0].checked?1:0})}),s(r).on("change",'[name="is_outOfStock"], [name="product_visibility"]',function(){var e=s(".out-of-stock-visibility");"n"===s('[name="is_outOfStock"]:checked').val()&&"1"===s('[name="product_visibility"]:checked').val()?e.show():e.hide()}).on("change",".attr_type",function(){var e=s(this),t=e.val(),n=e.closest("tr");"pattern"===t?(n.find(".wf_attr").hide(),n.find(".wf_attr").val(""),n.find(".wf_default").show()):(n.find(".wf_attr").show(),n.find(".wf_default").hide(),n.find(".wf_default").val(""))}).on("change",".wf_mattributes, .attr_type",function(){var e=s(this).closest("tr"),t=e.find(".wf_mattributes"),n=e.find(".attr_type"),a=e.find("td:eq(4)"),r=s("#provider").val();if(c.form.google_category.hasOwnProperty(t.val())&&"pattern"===n.val()&&f.in_array(r,c.form.google_category[t.val()])){if(0===a.find("select.selectize").length){a.find("input.wf_default").remove(),a.append('<span class="wf_default wf_attributes"><select name="default[]" class="selectize"></select></span>'),a.append('<span style="font-size:x-small;"><a style="color: red" href="http://webappick.helpscoutdocs.com/article/19-how-to-map-store-category-with-merchant-category" target="_blank">'.concat(c.learn_more,"</a></span>")),d||a.append('<span class="spinner is-active" style="margin: 0;"></span>');var o=a.find(".wf_attributes select");f.selectize(o,{preload:!0,placeholder:c.form.select_category,load:function(e,t){d?t(d):i.send("get_google_categories",{type:"GET",data:{_ajax_nonce:c.nonce,action:"get_google_categories",provider:r}}).then(function(e){t(d=e),a.find(".spinner").remove()}).fail(f.ajax_fail)}})}}else"current_category"!==t.val()&&0===a.find("input.wf_default").length&&(a.find("span").remove(),a.append('<input autocomplete="off" class="wf_default wf_attributes" type="text" name="default[]" value="">'),"pattern"!==n.val()&&a.find("input.wf_default").hide())}).on("change","#feedType,#provider",function(e){var t=s("#feedType").val(),n=s("#provider").val(),a=s(".itemWrapper"),r=s(".wf_csvtxt");""!==t&&f.in_array(n,c.form.item_wrapper_hidden)&&a.hide(),"feedType"===e.target.id&&("csv"===t||"txt"===t||"tsv"===t?(a.hide(),r.show(),"tsv"===t?s("#delimiter option:last").prop("selected","selected"):"csv"===t&&s("#delimiter option:first").prop("selected","selected")):"xml"===t&&(a.show(),r.hide()))}).trigger("change")})}(jQuery,window,document,wp.ajax,wpf_ajax_obj);
2
  //# sourceMappingURL=woo-feed-admin.min.js.map
admin/partials/woo-feed-content-settings.php CHANGED
@@ -71,32 +71,35 @@ global $feedRules, $wooFeedDropDown, $merchant;
71
  <span class="spinner" style="float: none; margin: 0;"></span>
72
  </td>
73
  </tr>
74
- <tr class="itemWrapper" style="display: none;">
75
- <th><label for="itemsWrapper"><?php esc_html_e( 'Items Wrapper', 'woo-feed' ); ?> <span class="requiredIn">*</span></label></th>
76
- <td>
77
- <input name="itemsWrapper" id="itemsWrapper" type="text" value="<?php echo esc_attr( wp_unslash($feedRules['itemsWrapper']) ); ?>" class="generalInput" required="required">
78
- </td>
79
- </tr>
80
- <tr class="itemWrapper" style="display: none;">
81
- <th><label for="itemWrapper"><?php esc_html_e( 'Single Item Wrapper', 'woo-feed' ); ?> <span class="requiredIn">*</span></label></th>
82
- <td>
83
- <input name="itemWrapper" id="itemWrapper" type="text" value="<?php echo esc_attr( wp_unslash($feedRules['itemWrapper'] )); ?>" class="generalInput" required="required">
84
- </td>
85
- </tr>
86
- <?php
87
- /*
88
- <tr class="itemWrapper" style="display: none;">
89
- <th><label for="extraHeader"><?php _e( 'Extra Header', 'woo-feed' ); ?> </label></th>
90
- <td>
91
- <textarea name="extraHeader" id="extraHeader" style="width: 100%" placeholder="<?php esc_html_e( 'Insert Extra Header value. Press enter at the end of each line.', 'woo-feed' ); ?>" rows="3"><?php
92
- // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
93
- echo isset( $feedRules['extraHeader'] ) ? $feedRules['extraHeader'] : '';
94
- ?></textarea>
95
- </td>
96
- </tr>
97
- */
98
- ?>
99
- <tr class="wf_csvtxt" style="display: none;">
 
 
 
100
  <th><label for="delimiter"><?php esc_html_e( 'Delimiter', 'woo-feed' ); ?> <span class="requiredIn">*</span></label></th>
101
  <td>
102
  <select name="delimiter" id="delimiter" class="generalInput">
@@ -108,7 +111,7 @@ global $feedRules, $wooFeedDropDown, $merchant;
108
  </select>
109
  </td>
110
  </tr>
111
- <tr class="wf_csvtxt" style="display: none;">
112
  <th><label for="enclosure"><?php esc_html_e( 'Enclosure', 'woo-feed' ); ?> <span class="requiredIn">*</span></label></th>
113
  <td>
114
  <select name="enclosure" id="enclosure" class="generalInput">
71
  <span class="spinner" style="float: none; margin: 0;"></span>
72
  </td>
73
  </tr>
74
+ <?php
75
+ $isItemWrapperHide = 'table-row';
76
+ if( isset( $feedRules['feedType'] ) && !empty($feedRules['feedType']) && 'xml' !== $feedRules['feedType'] ) {
77
+ $isItemWrapperHide = 'none';
78
+ }
79
+ ?>
80
+ <tr class="itemWrapper" style="display: <?php echo esc_attr($isItemWrapperHide); ?>;">
81
+ <th><label for="itemsWrapper"><?php esc_html_e( 'Items Wrapper', 'woo-feed' ); ?> <span class="requiredIn">*</span></label></th>
82
+ <td>
83
+ <input name="itemsWrapper" id="itemsWrapper" type="text" value="<?php echo esc_attr( wp_unslash($feedRules['itemsWrapper']) ); ?>" class="generalInput" required="required">
84
+ </td>
85
+ </tr>
86
+
87
+ <tr class="itemWrapper" style="display: <?php echo esc_attr($isItemWrapperHide); ?>;">
88
+ <th><label for="itemWrapper"><?php esc_html_e( 'Single Item Wrapper', 'woo-feed' ); ?> <span class="requiredIn">*</span></label></th>
89
+ <td>
90
+ <input name="itemWrapper" id="itemWrapper" type="text" value="<?php echo esc_attr( wp_unslash($feedRules['itemWrapper'] ) ); ?>" class="generalInput" required="required">
91
+ </td>
92
+ </tr>
93
+
94
+ <?php
95
+ $isDelimiterHide = 'table-row';
96
+ if( isset( $feedRules['feedType'] ) ) {
97
+ if( empty($feedRules['feedType']) || 'xml' === $feedRules['feedType'] ) {
98
+ $isDelimiterHide = 'none';
99
+ }
100
+ }
101
+ ?>
102
+ <tr class="wf_csvtxt" style="display: <?php echo esc_attr($isDelimiterHide); ?>;">
103
  <th><label for="delimiter"><?php esc_html_e( 'Delimiter', 'woo-feed' ); ?> <span class="requiredIn">*</span></label></th>
104
  <td>
105
  <select name="delimiter" id="delimiter" class="generalInput">
111
  </select>
112
  </td>
113
  </tr>
114
+ <tr class="wf_csvtxt" style="display: <?php echo esc_attr($isDelimiterHide); ?>;">
115
  <th><label for="enclosure"><?php esc_html_e( 'Enclosure', 'woo-feed' ); ?> <span class="requiredIn">*</span></label></th>
116
  <td>
117
  <select name="enclosure" id="enclosure" class="generalInput">
includes/classes/class-woo-feed-products-v3.php CHANGED
@@ -2858,18 +2858,10 @@ class Woo_Feed_Products_v3
2858
  $product_prices = array_map(function($id) use ($tax, $type, $is_discounted, $discount) {
2859
  $product = wc_get_product($id);
2860
  $price = $product->get_price();
2861
- $tax_rate_amount = 0;
2862
- $tax_rate = WC_Tax::get_rates( $product->get_tax_class() );
2863
- $tax_rate = reset($tax_rate);
2864
-
2865
- if( isset($tax_rate) && isset($tax_rate['rate']) ) {
2866
- $tax_rate_amount = $tax_rate['rate'];
2867
- }
2868
 
2869
  //when tax is enable
2870
  if( $tax ) {
2871
- $tax_rates_in_percent = $price * ( $tax_rate_amount / 100 );
2872
- $price = (float) $price + $tax_rates_in_percent;
2873
  }
2874
 
2875
  return $price;
2858
  $product_prices = array_map(function($id) use ($tax, $type, $is_discounted, $discount) {
2859
  $product = wc_get_product($id);
2860
  $price = $product->get_price();
 
 
 
 
 
 
 
2861
 
2862
  //when tax is enable
2863
  if( $tax ) {
2864
+ $price = $this->get_price_with_tax($product, $price);
 
2865
  }
2866
 
2867
  return $price;
includes/helper.php CHANGED
@@ -923,6 +923,7 @@ if ( ! function_exists( 'woo_feed_get_csv_delimiters' ) ) {
923
  ' ' => 'Space',
924
  '|' => 'Pipe',
925
  ';' => 'Semi Colon',
 
926
  ];
927
  }
928
  }
@@ -4312,6 +4313,22 @@ if ( ! function_exists( 'woo_feed_wp_options' ) ) {
4312
  }
4313
  }
4314
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4315
 
4316
  if( ! function_exists('woo_feed_get_dynamic_discounted_product_price') ) {
4317
 
@@ -4340,18 +4357,7 @@ if( ! function_exists('woo_feed_get_dynamic_discounted_product_price') ) {
4340
  $price = $product->get_regular_price();
4341
  }
4342
 
4343
- //when tax is enabled
4344
- if( $tax ) {
4345
- $price = ( $product->is_taxable() && ! empty( $price ) ) ? woo_feed_get_price_with_tax(
4346
- $product,
4347
- $price
4348
- ) : $price;
4349
- }
4350
-
4351
- $discounted_price = apply_filters('advanced_woo_discount_rules_get_product_discount_price_from_custom_price', false, $product, 1, $price, 'discounted_price', true, true);
4352
- if(false !== $discounted_price) {
4353
- return $discounted_price;
4354
- }
4355
  }
4356
  }
4357
 
@@ -4359,7 +4365,7 @@ if( ! function_exists('woo_feed_get_dynamic_discounted_product_price') ) {
4359
  // When dynamic discount pricing plugin by Acowebs is activated, bring the discounted price
4360
  if( is_plugin_active('aco-woo-dynamic-pricing/start.php') ) {
4361
  if( class_exists('AWDP_Discount') ) {
4362
- if( !$tax ) {
4363
  $price = AWDP_Discount::instance()->calculate_discount($product->get_price(), $product);
4364
  if ($product->is_taxable()) {
4365
  if (!wc_prices_include_tax()) {
@@ -4367,17 +4373,7 @@ if( ! function_exists('woo_feed_get_dynamic_discounted_product_price') ) {
4367
  $taxes = WC_Tax::calc_tax($product->get_price(), $tax_rates, false);
4368
  $tax_amount = WC_Tax::get_tax_total($taxes);
4369
 
4370
- return $price - ( $price * $tax_amount ) / 100;
4371
- }
4372
- }
4373
- } else {
4374
- $slug_as_id = $product->get_data()['slug'];
4375
- if( isset ( AWDP_Discount::instance()->wdp_discounted_price ) ) {
4376
- $wdp_discount = AWDP_Discount::instance()->wdp_discounted_price;
4377
-
4378
- if( isset( $wdp_discount[$slug_as_id] ) ) {
4379
- $discounted_regular_price = $wdp_discount[$slug_as_id];
4380
- $price = abs(wc_remove_number_precision($discounted_regular_price) );
4381
  }
4382
  }
4383
  }
@@ -4408,16 +4404,24 @@ if( ! function_exists('woo_feed_get_dynamic_discounted_product_price') ) {
4408
  }
4409
 
4410
  $price = floatval($product->get_price()) - floatval($discount_amount);
 
 
4411
 
4412
- //when tax is enable
4413
- if( $tax ) {
4414
- if ($product->is_taxable()) {
4415
- if (!wc_prices_include_tax()) {
4416
- $tax_rates = WC_Tax::get_rates($product->get_tax_class());
4417
- $tax_rates = reset($tax_rates);
4418
- if( isset($tax_rates['rate']) ) {
4419
- $tax_amount = $tax_rates['rate'];
4420
- return $price + ( $price * $tax_amount ) / 100;
 
 
 
 
 
 
4421
  }
4422
  }
4423
  }
@@ -4425,6 +4429,11 @@ if( ! function_exists('woo_feed_get_dynamic_discounted_product_price') ) {
4425
  }
4426
  }
4427
 
 
 
 
 
 
4428
  return $price;
4429
  }
4430
  }
923
  ' ' => 'Space',
924
  '|' => 'Pipe',
925
  ';' => 'Semi Colon',
926
+ ' ' => 'TAB',
927
  ];
928
  }
929
  }
4313
  }
4314
  }
4315
 
4316
+ if( ! function_exists('woo_feed_get_price_with_tax') ) {
4317
+ /**
4318
+ * Get price with tax
4319
+ *
4320
+ * @param WC_Product $product product object
4321
+ * @param $price
4322
+ */
4323
+ function woo_feed_get_price_with_tax($product, $price)
4324
+ {
4325
+ if (woo_feed_wc_version_check(3.0)) {
4326
+ return wc_get_price_including_tax($product, array('price' => $price));
4327
+ } else {
4328
+ return $product->get_price_including_tax(1, $price);
4329
+ }
4330
+ }
4331
+ }
4332
 
4333
  if( ! function_exists('woo_feed_get_dynamic_discounted_product_price') ) {
4334
 
4357
  $price = $product->get_regular_price();
4358
  }
4359
 
4360
+ $price = apply_filters('advanced_woo_discount_rules_get_product_discount_price_from_custom_price', false, $product, 1, $price, 'discounted_price', true, true);
 
 
 
 
 
 
 
 
 
 
 
4361
  }
4362
  }
4363
 
4365
  // When dynamic discount pricing plugin by Acowebs is activated, bring the discounted price
4366
  if( is_plugin_active('aco-woo-dynamic-pricing/start.php') ) {
4367
  if( class_exists('AWDP_Discount') ) {
4368
+ if( ! $tax ) {
4369
  $price = AWDP_Discount::instance()->calculate_discount($product->get_price(), $product);
4370
  if ($product->is_taxable()) {
4371
  if (!wc_prices_include_tax()) {
4373
  $taxes = WC_Tax::calc_tax($product->get_price(), $tax_rates, false);
4374
  $tax_amount = WC_Tax::get_tax_total($taxes);
4375
 
4376
+ $price = $price - ( $price * $tax_amount ) / 100;
 
 
 
 
 
 
 
 
 
 
4377
  }
4378
  }
4379
  }
4404
  }
4405
 
4406
  $price = floatval($product->get_price()) - floatval($discount_amount);
4407
+ }
4408
+ }
4409
 
4410
+ // When Pricing Deals for WooCommerce discount plugin by Vark is activated, bring the discounted price
4411
+ if( is_plugin_active('pricing-deals-for-woocommerce/vt-pricing-deals.php') ) {
4412
+ if( class_exists('VTPRD_Controller') ) {
4413
+ global $vtprd_rules_set;
4414
+ $vtprd_rules_set = get_option( 'vtprd_rules_set' );
4415
+ if( !empty( $vtprd_rules_set) && is_array($vtprd_rules_set) ) {
4416
+ foreach( $vtprd_rules_set as $vtprd_rule_set ) {
4417
+ $status = $vtprd_rule_set->rule_on_off_sw_select;
4418
+ if( 'on' === $status || 'onForever' === $status ) {
4419
+ $discount_type = $vtprd_rule_set->rule_deal_info[0]['discount_amt_type'];
4420
+ $discount = $vtprd_rule_set->rule_deal_info[0]['discount_amt_count'];
4421
+ if( 'currency' === $discount_type || 'fixedPrice'=== $discount_type) {
4422
+ $price = $product->get_price() - $discount;
4423
+ } elseif( 'percent' === $discount_type ) {
4424
+ $price = $product->get_price() - (($product->get_price() * $discount)/100);
4425
  }
4426
  }
4427
  }
4429
  }
4430
  }
4431
 
4432
+ //when tax is enable
4433
+ if( $tax ) {
4434
+ $price = woo_feed_get_price_with_tax($product, $price);
4435
+ }
4436
+
4437
  return $price;
4438
  }
4439
  }
woo-feed.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: CTX Feed
11
  * Plugin URI: https://webappick.com/
12
  * Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
13
- * Version: 4.3.56
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
@@ -39,7 +39,7 @@ if ( ! defined( 'WOO_FEED_FREE_VERSION' ) ) {
39
  * @var string
40
  * @since 3.1.6
41
  */
42
- define( 'WOO_FEED_FREE_VERSION', '4.3.56' );
43
  }
44
 
45
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
10
  * Plugin Name: CTX Feed
11
  * Plugin URI: https://webappick.com/
12
  * Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
13
+ * Version: 4.3.57
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
39
  * @var string
40
  * @since 3.1.6
41
  */
42
+ define( 'WOO_FEED_FREE_VERSION', '4.3.57' );
43
  }
44
 
45
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {