Version Description
2022-10-25 = * WooCommerce 7.0 Tested OK. * Enhancement: Set Min and Max limit for import and export default batch count in General setting page.
Download this release
Release Info
Developer | webtoffee |
Plugin | Product Import Export for WooCommerce |
Version | 2.2.5 |
Comparing to | |
See all releases |
Code changes from version 2.2.4 to 2.2.5
- admin/class-wt-import-export-for-woo-admin.php +12 -0
- admin/css/wt-import-export-for-woo-admin.css +272 -7
- admin/modules/export/assets/js/main.js +12 -1
- admin/modules/export/export.php +2 -1
- admin/modules/export/views/main.php +7 -15
- admin/modules/import/assets/js/main.js +14 -6
- admin/modules/import/import.php +3 -2
- admin/modules/import/views/main.php +9 -3
- admin/modules/product/data/data/data-wf-reserved-fields-pair.php +1 -1
- admin/modules/product/import/import.php +1 -1
- admin/modules/product/product.php +7 -7
- admin/modules/product_categories/product_categories.php +7 -7
- admin/modules/product_review/product_review.php +7 -7
- admin/modules/product_tags/product_tags.php +7 -7
- admin/views/market.php +60 -11
- admin/views/market_front.php +79 -0
- class-wt-product-review-request.php +1 -1
- includes/class-wt-import-export-for-woo.php +1 -1
- product-import-export-for-woo.php +4 -4
- readme.txt +8 -6
admin/class-wt-import-export-for-woo-admin.php
CHANGED
@@ -244,6 +244,9 @@ class Wt_Import_Export_For_Woo_Admin_Basic {
|
|
244 |
}
|
245 |
}
|
246 |
}
|
|
|
|
|
|
|
247 |
if(function_exists('remove_submenu_page')){
|
248 |
//remove_submenu_page(WT_PIEW_POST_TYPE, WT_PIEW_POST_TYPE);
|
249 |
}
|
@@ -264,6 +267,15 @@ class Wt_Import_Export_For_Woo_Admin_Basic {
|
|
264 |
{
|
265 |
include(plugin_dir_path( __FILE__ ).'partials/wt-import-export-for-woo-admin-display.php');
|
266 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
|
268 |
/**
|
269 |
* Save admin settings and module settings ajax hook
|
244 |
}
|
245 |
}
|
246 |
}
|
247 |
+
|
248 |
+
add_submenu_page( $parent_menu_key, esc_html__('Pro upgrade'), '<span class="wt-go-premium">' . esc_html__('Pro upgrade') . '</span>', 'import', $parent_menu_key . '-premium', array( $this, 'admin_upgrade_premium_settings' ) );
|
249 |
+
|
250 |
if(function_exists('remove_submenu_page')){
|
251 |
//remove_submenu_page(WT_PIEW_POST_TYPE, WT_PIEW_POST_TYPE);
|
252 |
}
|
267 |
{
|
268 |
include(plugin_dir_path( __FILE__ ).'partials/wt-import-export-for-woo-admin-display.php');
|
269 |
}
|
270 |
+
|
271 |
+
|
272 |
+
public function admin_upgrade_premium_settings()
|
273 |
+
{
|
274 |
+
|
275 |
+
wp_safe_redirect(admin_url('admin.php?page=wt_import_export_for_woo_basic#wt-pro-upgrade'));
|
276 |
+
exit();
|
277 |
+
}
|
278 |
+
|
279 |
|
280 |
/**
|
281 |
* Save admin settings and module settings ajax hook
|
admin/css/wt-import-export-for-woo-admin.css
CHANGED
@@ -649,12 +649,11 @@ img.tips {
|
|
649 |
.wt-ierpro-header{
|
650 |
background: #FFFFFF;
|
651 |
box-shadow: 0px 4px 19px rgba(49, 117, 252, 0.2);
|
652 |
-
border-radius: 7px;
|
653 |
padding: 8px;
|
654 |
margin: 0;
|
655 |
}
|
656 |
.wt-ierpro-name{
|
657 |
-
background: linear-gradient(
|
658 |
border-radius: 3px;
|
659 |
margin: 0;
|
660 |
padding: 16px;
|
@@ -662,7 +661,7 @@ img.tips {
|
|
662 |
align-items: center;
|
663 |
}
|
664 |
.wt-ierpro-name img{
|
665 |
-
width:
|
666 |
height: auto;
|
667 |
box-shadow: 4px 4px 4px rgba(92, 98, 215, 0.23);
|
668 |
border-radius: 7px;
|
@@ -670,11 +669,14 @@ img.tips {
|
|
670 |
.wt-ierpro-name h4{
|
671 |
font-style: normal;
|
672 |
font-weight: 600;
|
673 |
-
font-size:
|
674 |
line-height: 15px;
|
675 |
-
margin: 0 0
|
676 |
color: #5D63D9;
|
677 |
}
|
|
|
|
|
|
|
678 |
.wt-ierpro-mainfeatures ul{
|
679 |
padding: 0;
|
680 |
margin: 15px 25px 20px 25px;
|
@@ -752,7 +754,7 @@ img.tips {
|
|
752 |
color: #FFFFFF;
|
753 |
}
|
754 |
.wt-ierpro-features{
|
755 |
-
padding:
|
756 |
}
|
757 |
.wt-ierpro-features ul{
|
758 |
padding: 0;
|
@@ -831,6 +833,52 @@ ul.wt-ierpro-newfeat li {
|
|
831 |
transition: all .2s ease;
|
832 |
color: #FFFFFF;
|
833 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
834 |
|
835 |
|
836 |
|
@@ -1171,4 +1219,221 @@ ul.wt-ierpro-newfeat li {
|
|
1171 |
}
|
1172 |
}
|
1173 |
/* end marketing */
|
1174 |
-
.wt-iew-upgrade-to-pro-new-feature{ display:inline-block; width:60px; height:21px; background: url(../../assets/images/gopro/new_flag.svg) no-repeat; color:#fff; text-align:center; font-weight:normal; padding-left:4px; line-height:20px; font-size:12px; text-shadow:0px 2px 4px rgba(0, 0, 0, 0.35);}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
649 |
.wt-ierpro-header{
|
650 |
background: #FFFFFF;
|
651 |
box-shadow: 0px 4px 19px rgba(49, 117, 252, 0.2);
|
|
|
652 |
padding: 8px;
|
653 |
margin: 0;
|
654 |
}
|
655 |
.wt-ierpro-name{
|
656 |
+
background: linear-gradient(178deg, #F4F1FF 3%, rgba(238, 240, 255, 0) 93.18%);
|
657 |
border-radius: 3px;
|
658 |
margin: 0;
|
659 |
padding: 16px;
|
661 |
align-items: center;
|
662 |
}
|
663 |
.wt-ierpro-name img{
|
664 |
+
width: 50px;
|
665 |
height: auto;
|
666 |
box-shadow: 4px 4px 4px rgba(92, 98, 215, 0.23);
|
667 |
border-radius: 7px;
|
669 |
.wt-ierpro-name h4{
|
670 |
font-style: normal;
|
671 |
font-weight: 600;
|
672 |
+
font-size: 15px;
|
673 |
line-height: 15px;
|
674 |
+
margin: 0 0 5px 12px;
|
675 |
color: #5D63D9;
|
676 |
}
|
677 |
+
.wt-ierpro-name .star-rating{
|
678 |
+
float: left;
|
679 |
+
}
|
680 |
.wt-ierpro-mainfeatures ul{
|
681 |
padding: 0;
|
682 |
margin: 15px 25px 20px 25px;
|
754 |
color: #FFFFFF;
|
755 |
}
|
756 |
.wt-ierpro-features{
|
757 |
+
padding: 20px 10px 10px 10px;
|
758 |
}
|
759 |
.wt-ierpro-features ul{
|
760 |
padding: 0;
|
833 |
transition: all .2s ease;
|
834 |
color: #FFFFFF;
|
835 |
}
|
836 |
+
.wt-ier-rating-number{
|
837 |
+
float: left;
|
838 |
+
margin-left:10px;
|
839 |
+
margin-right:10px;
|
840 |
+
margin-top: 3px;
|
841 |
+
}
|
842 |
+
.wt-ier-all-in-one-text{
|
843 |
+
text-align: center;
|
844 |
+
}
|
845 |
+
.wt-ier-all-in-one-text-sp{
|
846 |
+
padding: 10px;
|
847 |
+
font-weight: bold;
|
848 |
+
font-size: 12px;
|
849 |
+
}
|
850 |
+
.wt-ierpro-blue-btn-suite, .wt-ierpro-blue-btn-suite:visited{
|
851 |
+
background: linear-gradient(90.67deg, #2608DF -34.86%, #3284FF 115.74%);
|
852 |
+
box-shadow: 0px 4px 13px rgba(46, 80, 242, 0.39);
|
853 |
+
border-radius: 5px;
|
854 |
+
padding: 10px 15px 10px 38px;
|
855 |
+
display: inline-block;
|
856 |
+
font-style: normal;
|
857 |
+
font-weight: bold;
|
858 |
+
font-size: 14px;
|
859 |
+
line-height: 18px;
|
860 |
+
color: #FFFFFF;
|
861 |
+
text-decoration: none;
|
862 |
+
transition: all .2s ease;
|
863 |
+
position: relative;
|
864 |
+
border: none;
|
865 |
+
width: 70%;
|
866 |
+
}
|
867 |
+
|
868 |
+
.wt-ierpro-blue-btn-suite:hover{
|
869 |
+
box-shadow: 0px 4px 13px rgba(46, 80, 242, 0.5);
|
870 |
+
text-decoration: none;
|
871 |
+
transform: translateY(2px);
|
872 |
+
transition: all .2s ease;
|
873 |
+
color: #FFFFFF;
|
874 |
+
}
|
875 |
+
|
876 |
+
.wt-ier-suite-moneyback-wrap{
|
877 |
+
padding: 5px !important;
|
878 |
+
margin-bottom: 5px !important;
|
879 |
+
background: linear-gradient(178deg, #F4F1FF 3%, rgba(238, 240, 255, 0) 93.18%);
|
880 |
+
}
|
881 |
+
|
882 |
|
883 |
|
884 |
|
1219 |
}
|
1220 |
}
|
1221 |
/* end marketing */
|
1222 |
+
.wt-iew-upgrade-to-pro-new-feature{ display:inline-block; width:60px; height:21px; background: url(../../assets/images/gopro/new_flag.svg) no-repeat; color:#fff; text-align:center; font-weight:normal; padding-left:4px; line-height:20px; font-size:12px; text-shadow:0px 2px 4px rgba(0, 0, 0, 0.35);}
|
1223 |
+
|
1224 |
+
|
1225 |
+
|
1226 |
+
/* start small marketing section */
|
1227 |
+
.ier_pro_plugins_section_small{
|
1228 |
+
float: left;margin: 30px 2.5%;
|
1229 |
+
width: 100%;
|
1230 |
+
}
|
1231 |
+
.wt-import-export-upsell-small-wrapper.market-box{
|
1232 |
+
width:32%;
|
1233 |
+
float: left;
|
1234 |
+
margin-right: 15px;
|
1235 |
+
height:440px;
|
1236 |
+
background-color: #fff;
|
1237 |
+
}
|
1238 |
+
.wrap .wt-import-export-small-upsell-wrapper .ier-premium-upgrade {
|
1239 |
+
margin-top: 0px;
|
1240 |
+
margin-right: 0px;
|
1241 |
+
}
|
1242 |
+
.wt-import-export-upsell-small-wrapper .ier-premium-upgrade {
|
1243 |
+
margin-top: 0px;
|
1244 |
+
margin-right: 0px;
|
1245 |
+
}
|
1246 |
+
|
1247 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-sidebar{
|
1248 |
+
background: #FFFFFF;
|
1249 |
+
border-radius: 7px;
|
1250 |
+
padding: 0;
|
1251 |
+
}
|
1252 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-header{
|
1253 |
+
background: #FFFFFF;
|
1254 |
+
box-shadow: none;
|
1255 |
+
border-radius: 0px;
|
1256 |
+
padding: 0px;
|
1257 |
+
margin: 0;
|
1258 |
+
}
|
1259 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-name-small{
|
1260 |
+
margin: 0;
|
1261 |
+
padding: 16px;
|
1262 |
+
display: flex;
|
1263 |
+
align-items: center;
|
1264 |
+
}
|
1265 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-name-small img{
|
1266 |
+
width: 36px;
|
1267 |
+
height: auto;
|
1268 |
+
box-shadow: 4px 4px 4px rgba(92, 98, 215, 0.23);
|
1269 |
+
border-radius: 7px;
|
1270 |
+
}
|
1271 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-name-small h4{
|
1272 |
+
font-style: normal;
|
1273 |
+
font-weight: 600;
|
1274 |
+
font-size: 14px;
|
1275 |
+
line-height: 16px;
|
1276 |
+
margin: 0 0 0 12px;
|
1277 |
+
color: #5D63D9;
|
1278 |
+
}
|
1279 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-mainfeatures ul{
|
1280 |
+
padding: 0;
|
1281 |
+
margin: 15px 25px 20px 25px;
|
1282 |
+
}
|
1283 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-mainfeatures li{
|
1284 |
+
font-style: normal;
|
1285 |
+
font-weight: bold;
|
1286 |
+
font-size: 14px;
|
1287 |
+
line-height:24px;
|
1288 |
+
letter-spacing: -0.01em;
|
1289 |
+
list-style: none;
|
1290 |
+
position: relative;
|
1291 |
+
color: #091E80;
|
1292 |
+
padding-left: 28px;
|
1293 |
+
}
|
1294 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-mainfeatures li.money-back:before{
|
1295 |
+
content: '';
|
1296 |
+
position: absolute;
|
1297 |
+
left: 0;
|
1298 |
+
height:24px ;
|
1299 |
+
width: 16px;
|
1300 |
+
background-image: url(../../assets/images/gopro/money-back.svg);
|
1301 |
+
background-position: center;
|
1302 |
+
background-repeat: no-repeat;
|
1303 |
+
background-size: contain;
|
1304 |
+
}
|
1305 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-mainfeatures li.support:before{
|
1306 |
+
content: '';
|
1307 |
+
position: absolute;
|
1308 |
+
left: 0;
|
1309 |
+
height:24px ;
|
1310 |
+
width: 16px;
|
1311 |
+
background-image: url(../../assets/images/gopro/support.svg);
|
1312 |
+
background-position: center;
|
1313 |
+
background-repeat: no-repeat;
|
1314 |
+
background-size: contain;
|
1315 |
+
}
|
1316 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-btn-wrapper{
|
1317 |
+
display: block;
|
1318 |
+
margin: 20px auto 20px;
|
1319 |
+
text-align: center;
|
1320 |
+
}
|
1321 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-blue-btn, .wt-ierpro-blue-btn:visited{
|
1322 |
+
background: linear-gradient(90.67deg, #2608DF -34.86%, #3284FF 115.74%);
|
1323 |
+
box-shadow: 0px 4px 13px rgba(46, 80, 242, 0.39);
|
1324 |
+
border-radius: 5px;
|
1325 |
+
padding: 10px 15px 10px 38px;
|
1326 |
+
display: inline-block;
|
1327 |
+
font-style: normal;
|
1328 |
+
font-weight: bold;
|
1329 |
+
font-size: 14px;
|
1330 |
+
line-height: 18px;
|
1331 |
+
color: #FFFFFF;
|
1332 |
+
text-decoration: none;
|
1333 |
+
transition: all .2s ease;
|
1334 |
+
position: relative;
|
1335 |
+
border: none;
|
1336 |
+
}
|
1337 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-blue-btn:before{
|
1338 |
+
content: '';
|
1339 |
+
position: absolute;
|
1340 |
+
height: 15px;
|
1341 |
+
width: 18px;
|
1342 |
+
background-image: url(../../assets/images/gopro/white-crown.svg);
|
1343 |
+
background-size: contain;
|
1344 |
+
background-repeat: no-repeat;
|
1345 |
+
background-position: center;
|
1346 |
+
left: 15px;
|
1347 |
+
}
|
1348 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-blue-btn:hover{
|
1349 |
+
box-shadow: 0px 4px 13px rgba(46, 80, 242, 0.5);
|
1350 |
+
text-decoration: none;
|
1351 |
+
transform: translateY(2px);
|
1352 |
+
transition: all .2s ease;
|
1353 |
+
color: #FFFFFF;
|
1354 |
+
}
|
1355 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-features{
|
1356 |
+
padding: 0px 5px 5px 10px;
|
1357 |
+
}
|
1358 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-features ul{
|
1359 |
+
padding: 0;
|
1360 |
+
margin: 0;
|
1361 |
+
}
|
1362 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-features li{
|
1363 |
+
font-style: normal;
|
1364 |
+
font-weight: 500;
|
1365 |
+
font-size: 13px;
|
1366 |
+
line-height: 17px;
|
1367 |
+
color: #001A69;
|
1368 |
+
list-style: none;
|
1369 |
+
position: relative;
|
1370 |
+
padding-left: 35px;
|
1371 |
+
padding-right: 5px;
|
1372 |
+
margin: 0 0 15px 0;
|
1373 |
+
display: flex;
|
1374 |
+
align-items: center;
|
1375 |
+
}
|
1376 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-newfeat li:before{
|
1377 |
+
content: '';
|
1378 |
+
position: absolute;
|
1379 |
+
height: 39px;
|
1380 |
+
width: 39px;
|
1381 |
+
background-image: url(../../assets/images/gopro/new-badge.svg);
|
1382 |
+
background-size: contain;
|
1383 |
+
background-repeat: no-repeat;
|
1384 |
+
background-position: center;
|
1385 |
+
left: 0;
|
1386 |
+
}
|
1387 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-allfeat li:before{
|
1388 |
+
content: '';
|
1389 |
+
position: absolute;
|
1390 |
+
height: 16px;
|
1391 |
+
width: 16px;
|
1392 |
+
background-image: url(../../assets/images/gopro/tick.svg);
|
1393 |
+
background-size: contain;
|
1394 |
+
background-repeat: no-repeat;
|
1395 |
+
background-position: center;
|
1396 |
+
left: 10px;
|
1397 |
+
}
|
1398 |
+
.wt-import-export-upsell-small-wrapper ul.wt-ierpro-newfeat li {
|
1399 |
+
margin-bottom: 30px;
|
1400 |
+
}
|
1401 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-outline-btn, .wt-ierpro-outline-btn:visited{
|
1402 |
+
background: linear-gradient(90.67deg, #2608DF -34.86%, #3284FF 115.74%);
|
1403 |
+
box-shadow: 0px 4px 13px rgba(46, 80, 242, 0.39);
|
1404 |
+
border-radius: 5px;
|
1405 |
+
padding: 10px 15px 10px 38px;
|
1406 |
+
display: inline-block;
|
1407 |
+
font-style: normal;
|
1408 |
+
font-weight: bold;
|
1409 |
+
font-size: 14px;
|
1410 |
+
line-height: 18px;
|
1411 |
+
color: #FFFFFF;
|
1412 |
+
text-decoration: none;
|
1413 |
+
transition: all .2s ease;
|
1414 |
+
position: relative;
|
1415 |
+
border: none;
|
1416 |
+
}
|
1417 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-outline-btn:before{
|
1418 |
+
content: '';
|
1419 |
+
position: absolute;
|
1420 |
+
height: 15px;
|
1421 |
+
width: 18px;
|
1422 |
+
background-image: url(../../assets/images/gopro/white-crown.svg);
|
1423 |
+
background-size: contain;
|
1424 |
+
background-repeat: no-repeat;
|
1425 |
+
background-position: center;
|
1426 |
+
left: 15px;
|
1427 |
+
}
|
1428 |
+
.wt-import-export-upsell-small-wrapper .wt-ierpro-outline-btn:hover{
|
1429 |
+
box-shadow: 0px 4px 13px rgba(46, 80, 242, 0.5);
|
1430 |
+
text-decoration: none;
|
1431 |
+
transform: translateY(2px);
|
1432 |
+
transition: all .2s ease;
|
1433 |
+
color: #FFFFFF;
|
1434 |
+
}
|
1435 |
+
|
1436 |
+
.wp-submenu li span.wt-go-premium {
|
1437 |
+
font-weight: 700;
|
1438 |
+
color: #28e499;
|
1439 |
+
}
|
admin/modules/export/assets/js/main.js
CHANGED
@@ -327,6 +327,12 @@ var wt_iew_basic_export=(function( $ ) {
|
|
327 |
// return false;
|
328 |
// }
|
329 |
|
|
|
|
|
|
|
|
|
|
|
|
|
330 |
if(action_type=='step')
|
331 |
{
|
332 |
wt_iew_basic_export.change_step(action);
|
@@ -641,21 +647,25 @@ var wt_iew_basic_export=(function( $ ) {
|
|
641 |
$('#product-type-message').show();
|
642 |
|
643 |
$('.wt_iew_step_head_post_type_name').html(this.to_export_title);
|
|
|
644 |
$('.wt-ierpro-blue-btn').attr("href", wt_iew_basic_params.pro_plugins[this.to_export]['url']);
|
645 |
$('.wt-ier-product-name').html(wt_iew_basic_params.pro_plugins[this.to_export]['name']);
|
646 |
$('.wt-ierpro-name>img').attr("src", wt_iew_basic_params.pro_plugins[this.to_export]['icon_url']);
|
647 |
$('.wt-ier-gopro-cta').hide();
|
648 |
$('.wt-ier-'+this.to_export).show();
|
649 |
-
|
650 |
$('.wt_iew_free_addon').hide();
|
|
|
|
|
651 |
$('.wt_iew_export_action_btn').prop('disabled', false);
|
652 |
if(!wt_iew_basic_params.pro_plugins[this.to_export]['is_active']){
|
653 |
$('.wt_iew_type_'+this.to_export).show();
|
654 |
$('.wt_iew_export_action_btn').prop('disabled', true);
|
655 |
}
|
|
|
656 |
},
|
657 |
page_actions:function(step)
|
658 |
{
|
|
|
659 |
if(step=='post_type') /* post type page */
|
660 |
{
|
661 |
$('[name="wt_iew_export_post_type"]').unbind('change').change(function(){
|
@@ -799,6 +809,7 @@ var wt_iew_basic_export=(function( $ ) {
|
|
799 |
{
|
800 |
$('.wt_iew_datepicker').datepicker({dateFormat: 'yy-mm-dd'});
|
801 |
}
|
|
|
802 |
wt_field_group.Set();
|
803 |
wt_iew_form_toggler.Set();
|
804 |
wt_iew_conditional_help_text.Set(this.get_page_dom_object(step));
|
327 |
// return false;
|
328 |
// }
|
329 |
|
330 |
+
if(action!='post_type'){
|
331 |
+
$('.ier_pro_plugins_section_small').hide();
|
332 |
+
}else{
|
333 |
+
$('.ier_pro_plugins_section_small').show();
|
334 |
+
}
|
335 |
+
|
336 |
if(action_type=='step')
|
337 |
{
|
338 |
wt_iew_basic_export.change_step(action);
|
647 |
$('#product-type-message').show();
|
648 |
|
649 |
$('.wt_iew_step_head_post_type_name').html(this.to_export_title);
|
650 |
+
/*
|
651 |
$('.wt-ierpro-blue-btn').attr("href", wt_iew_basic_params.pro_plugins[this.to_export]['url']);
|
652 |
$('.wt-ier-product-name').html(wt_iew_basic_params.pro_plugins[this.to_export]['name']);
|
653 |
$('.wt-ierpro-name>img').attr("src", wt_iew_basic_params.pro_plugins[this.to_export]['icon_url']);
|
654 |
$('.wt-ier-gopro-cta').hide();
|
655 |
$('.wt-ier-'+this.to_export).show();
|
|
|
656 |
$('.wt_iew_free_addon').hide();
|
657 |
+
*/
|
658 |
+
$('.wt_iew_free_addon').hide();
|
659 |
$('.wt_iew_export_action_btn').prop('disabled', false);
|
660 |
if(!wt_iew_basic_params.pro_plugins[this.to_export]['is_active']){
|
661 |
$('.wt_iew_type_'+this.to_export).show();
|
662 |
$('.wt_iew_export_action_btn').prop('disabled', true);
|
663 |
}
|
664 |
+
|
665 |
},
|
666 |
page_actions:function(step)
|
667 |
{
|
668 |
+
|
669 |
if(step=='post_type') /* post type page */
|
670 |
{
|
671 |
$('[name="wt_iew_export_post_type"]').unbind('change').change(function(){
|
809 |
{
|
810 |
$('.wt_iew_datepicker').datepicker({dateFormat: 'yy-mm-dd'});
|
811 |
}
|
812 |
+
|
813 |
wt_field_group.Set();
|
814 |
wt_iew_form_toggler.Set();
|
815 |
wt_iew_conditional_help_text.Set(this.get_page_dom_object(step));
|
admin/modules/export/export.php
CHANGED
@@ -139,10 +139,11 @@ class Wt_Import_Export_For_Woo_Basic_Export
|
|
139 |
$fields['default_export_batch']=array(
|
140 |
'label'=>__("Default Export batch count"),
|
141 |
'type'=>'number',
|
142 |
-
|
143 |
'field_name'=>'default_export_batch',
|
144 |
'help_text'=>__('Provide the default count for the records to be exported in a batch.'),
|
145 |
'validation_rule'=>array('type'=>'absint'),
|
|
|
146 |
);
|
147 |
return $fields;
|
148 |
}
|
139 |
$fields['default_export_batch']=array(
|
140 |
'label'=>__("Default Export batch count"),
|
141 |
'type'=>'number',
|
142 |
+
'value' =>30,
|
143 |
'field_name'=>'default_export_batch',
|
144 |
'help_text'=>__('Provide the default count for the records to be exported in a batch.'),
|
145 |
'validation_rule'=>array('type'=>'absint'),
|
146 |
+
'attr' => array('min' => 1, 'max' => 200),
|
147 |
);
|
148 |
return $fields;
|
149 |
}
|
admin/modules/export/views/main.php
CHANGED
@@ -46,7 +46,8 @@ Wt_Iew_IE_Basic_Helper::debug_panel($this->module_base);
|
|
46 |
|
47 |
<div class="wt_iew_loader_info_box"></div>
|
48 |
<div class="wt_iew_overlayed_loader"></div>
|
49 |
-
<div class="
|
|
|
50 |
<?php
|
51 |
foreach($this->steps as $stepk=>$stepv)
|
52 |
{
|
@@ -54,19 +55,10 @@ Wt_Iew_IE_Basic_Helper::debug_panel($this->module_base);
|
|
54 |
<div class="wt_iew_export_step wt_iew_export_step_<?php echo $stepk;?>" data-loaded="0"></div>
|
55 |
<?php
|
56 |
}
|
57 |
-
?>
|
58 |
</div>
|
|
|
|
|
|
|
59 |
<?php
|
60 |
-
include $wf_admin_view_path."market.php";
|
61 |
-
/*
|
62 |
-
<script type="text/javascript">
|
63 |
-
/* external modules can hook
|
64 |
-
function wt_iew_exporter_validate(action, action_type, is_previous_step)
|
65 |
-
{
|
66 |
-
var is_continue=true;
|
67 |
-
<?php
|
68 |
-
do_action('wt_iew_exporter_validate');
|
69 |
-
?>
|
70 |
-
return is_continue;
|
71 |
-
}
|
72 |
-
</script> */ ?>
|
46 |
|
47 |
<div class="wt_iew_loader_info_box"></div>
|
48 |
<div class="wt_iew_overlayed_loader"></div>
|
49 |
+
<div class="wt_iew_export_step_main_wrapper" style="width:68%; float: left">
|
50 |
+
<div class="wt_iew_export_step_main" style = "width:100%; float: left">
|
51 |
<?php
|
52 |
foreach($this->steps as $stepk=>$stepv)
|
53 |
{
|
55 |
<div class="wt_iew_export_step wt_iew_export_step_<?php echo $stepk;?>" data-loaded="0"></div>
|
56 |
<?php
|
57 |
}
|
58 |
+
?>
|
59 |
</div>
|
60 |
+
|
61 |
+
<?php include $wf_admin_view_path."market_front.php" ?>
|
62 |
+
</div>
|
63 |
<?php
|
64 |
+
include $wf_admin_view_path."market.php";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/modules/import/assets/js/main.js
CHANGED
@@ -506,7 +506,13 @@ var wt_iew_basic_import=(function( $ ) {
|
|
506 |
{
|
507 |
return false;
|
508 |
}
|
509 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
510 |
if(action_type=='step')
|
511 |
{
|
512 |
wt_iew_basic_import.change_step(action);
|
@@ -895,16 +901,18 @@ var wt_iew_basic_import=(function( $ ) {
|
|
895 |
this.to_import_title=$('[name="wt_iew_import_post_type"] option:selected').text();
|
896 |
}
|
897 |
$('.wt_iew_step_head_post_type_name').html(this.to_import_title);
|
|
|
|
|
898 |
$('.wt-ierpro-blue-btn').attr("href", wt_iew_basic_params.pro_plugins[this.to_import]['url']);
|
899 |
$('.wt-ier-product-name').html(wt_iew_basic_params.pro_plugins[this.to_import]['name']);
|
900 |
-
$('.wt-ierpro-name>img').attr("src", wt_iew_basic_params.pro_plugins[this.to_import]['icon_url']);
|
901 |
-
$('#sample-csv-file').attr("href", wt_iew_basic_params.pro_plugins[this.to_import]['sample_csv_url']);
|
902 |
-
if(this.to_import_title.includes('User'))
|
903 |
-
$('#user-required-field-message').show();
|
904 |
-
|
905 |
$('.wt-ier-gopro-cta').hide();
|
906 |
$('.wt-ier-'+this.to_import).show();
|
|
|
907 |
|
|
|
|
|
|
|
908 |
$('.wt_iew_free_addon').hide();
|
909 |
$('.wt_iew_import_action_btn').prop('disabled', false);
|
910 |
if(!wt_iew_basic_params.pro_plugins[this.to_import]['is_active']){
|
506 |
{
|
507 |
return false;
|
508 |
}
|
509 |
+
|
510 |
+
if(action!='post_type'){
|
511 |
+
$('.ier_pro_plugins_section_small').hide();
|
512 |
+
}else{
|
513 |
+
$('.ier_pro_plugins_section_small').show();
|
514 |
+
}
|
515 |
+
|
516 |
if(action_type=='step')
|
517 |
{
|
518 |
wt_iew_basic_import.change_step(action);
|
901 |
this.to_import_title=$('[name="wt_iew_import_post_type"] option:selected').text();
|
902 |
}
|
903 |
$('.wt_iew_step_head_post_type_name').html(this.to_import_title);
|
904 |
+
|
905 |
+
/*
|
906 |
$('.wt-ierpro-blue-btn').attr("href", wt_iew_basic_params.pro_plugins[this.to_import]['url']);
|
907 |
$('.wt-ier-product-name').html(wt_iew_basic_params.pro_plugins[this.to_import]['name']);
|
908 |
+
$('.wt-ierpro-name>img').attr("src", wt_iew_basic_params.pro_plugins[this.to_import]['icon_url']);
|
|
|
|
|
|
|
|
|
909 |
$('.wt-ier-gopro-cta').hide();
|
910 |
$('.wt-ier-'+this.to_import).show();
|
911 |
+
*/
|
912 |
|
913 |
+
$('#sample-csv-file').attr("href", wt_iew_basic_params.pro_plugins[this.to_import]['sample_csv_url']);
|
914 |
+
if(this.to_import_title.includes('User'))
|
915 |
+
$('#user-required-field-message').show();
|
916 |
$('.wt_iew_free_addon').hide();
|
917 |
$('.wt_iew_import_action_btn').prop('disabled', false);
|
918 |
if(!wt_iew_basic_params.pro_plugins[this.to_import]['is_active']){
|
admin/modules/import/import.php
CHANGED
@@ -130,7 +130,7 @@ class Wt_Import_Export_For_Woo_Basic_Import
|
|
130 |
'label'=>__("Default Import method"),
|
131 |
'type'=>'select',
|
132 |
'sele_vals'=>$import_methods,
|
133 |
-
|
134 |
'field_name'=>'default_import_method',
|
135 |
'field_group'=>'advanced_field',
|
136 |
'help_text'=>__('Select the default method of import.'),
|
@@ -138,10 +138,11 @@ class Wt_Import_Export_For_Woo_Basic_Import
|
|
138 |
$fields['default_import_batch']=array(
|
139 |
'label'=>__("Default Import batch count"),
|
140 |
'type'=>'number',
|
141 |
-
|
142 |
'field_name'=>'default_import_batch',
|
143 |
'help_text'=>__('Provide the default count for the records to be imported in a batch.'),
|
144 |
'validation_rule'=>array('type'=>'absint'),
|
|
|
145 |
);
|
146 |
|
147 |
|
130 |
'label'=>__("Default Import method"),
|
131 |
'type'=>'select',
|
132 |
'sele_vals'=>$import_methods,
|
133 |
+
'value' =>'new',
|
134 |
'field_name'=>'default_import_method',
|
135 |
'field_group'=>'advanced_field',
|
136 |
'help_text'=>__('Select the default method of import.'),
|
138 |
$fields['default_import_batch']=array(
|
139 |
'label'=>__("Default Import batch count"),
|
140 |
'type'=>'number',
|
141 |
+
'value' =>10, /* If altering then please also change batch count field help text section */
|
142 |
'field_name'=>'default_import_batch',
|
143 |
'help_text'=>__('Provide the default count for the records to be imported in a batch.'),
|
144 |
'validation_rule'=>array('type'=>'absint'),
|
145 |
+
'attr' => array('min' => 1, 'max' => 50),
|
146 |
);
|
147 |
|
148 |
|
admin/modules/import/views/main.php
CHANGED
@@ -111,7 +111,8 @@ Wt_Iew_IE_Basic_Helper::debug_panel($this->module_base);
|
|
111 |
<div class="wt_iew_loader_info_box"></div>
|
112 |
<div class="wt_iew_overlayed_loader"></div>
|
113 |
|
114 |
-
<div class="
|
|
|
115 |
<?php
|
116 |
foreach($this->steps as $stepk=>$stepv)
|
117 |
{
|
@@ -119,9 +120,14 @@ Wt_Iew_IE_Basic_Helper::debug_panel($this->module_base);
|
|
119 |
<div class="wt_iew_import_step wt_iew_import_step_<?php echo $stepk;?>" data-loaded="0"></div>
|
120 |
<?php
|
121 |
}
|
122 |
-
?>
|
123 |
</div>
|
124 |
-
|
|
|
|
|
|
|
|
|
|
|
125 |
<script type="text/javascript">
|
126 |
/* external modules can hook */
|
127 |
function wt_iew_importer_validate_basic(action, action_type, is_previous_step)
|
111 |
<div class="wt_iew_loader_info_box"></div>
|
112 |
<div class="wt_iew_overlayed_loader"></div>
|
113 |
|
114 |
+
<div class="wt_iew_import_step_main_wrapper" style="width:68%; float: left">
|
115 |
+
<div class="wt_iew_import_step_main" style = "width:100%; float: left">
|
116 |
<?php
|
117 |
foreach($this->steps as $stepk=>$stepv)
|
118 |
{
|
120 |
<div class="wt_iew_import_step wt_iew_import_step_<?php echo $stepk;?>" data-loaded="0"></div>
|
121 |
<?php
|
122 |
}
|
123 |
+
?>
|
124 |
</div>
|
125 |
+
|
126 |
+
<?php include $wf_admin_view_path."market_front.php" ?>
|
127 |
+
</div>
|
128 |
+
<?php
|
129 |
+
include $wf_admin_view_path."market.php";
|
130 |
+
?>
|
131 |
<script type="text/javascript">
|
132 |
/* external modules can hook */
|
133 |
function wt_iew_importer_validate_basic(action, action_type, is_previous_step)
|
admin/modules/product/data/data/data-wf-reserved-fields-pair.php
CHANGED
@@ -28,7 +28,7 @@ $post_columns = array(
|
|
28 |
'virtual' => array('title'=>'Type: Virtual','description'=>'Is Product is virtual'),
|
29 |
'visibility' => array('title'=>'Visibility: Visibility','description'=>'Visibility status ( hidden or visible)', 'field_type' => 'alternates', 'similar_fields' => array('Visibility in catalog')),
|
30 |
'purchase_note' => array('title'=>'Purchase note','description'=>'Purchase note', 'field_type' => 'alternates', 'similar_fields' => array('Purchase note')),
|
31 |
-
'stock' => array('title'=>'Inventory: Stock','description'=>'Stock quantity'),
|
32 |
'stock_status' => array('title'=>'Inventory: Stock status','description'=>'InStock or OutofStock', 'field_type' => 'alternates', 'similar_fields' => array('In stock?')),
|
33 |
'backorders' => array('title'=>'Inventory: Backorders','description'=>'Backorders', 'field_type' => 'alternates', 'similar_fields' => array('Backorders allowed?')),
|
34 |
'sold_individually' => array('title'=>'Inventory: Sold individually','description'=>'Sold individually', 'field_type' => 'alternates', 'similar_fields' => array('Sold individually?')),
|
28 |
'virtual' => array('title'=>'Type: Virtual','description'=>'Is Product is virtual'),
|
29 |
'visibility' => array('title'=>'Visibility: Visibility','description'=>'Visibility status ( hidden or visible)', 'field_type' => 'alternates', 'similar_fields' => array('Visibility in catalog')),
|
30 |
'purchase_note' => array('title'=>'Purchase note','description'=>'Purchase note', 'field_type' => 'alternates', 'similar_fields' => array('Purchase note')),
|
31 |
+
'stock' => array('title'=>'Inventory: Stock','description'=>'Stock quantity', 'field_type' => 'alternates', 'similar_fields' => array('quantity', 'qty')),
|
32 |
'stock_status' => array('title'=>'Inventory: Stock status','description'=>'InStock or OutofStock', 'field_type' => 'alternates', 'similar_fields' => array('In stock?')),
|
33 |
'backorders' => array('title'=>'Inventory: Backorders','description'=>'Backorders', 'field_type' => 'alternates', 'similar_fields' => array('Backorders allowed?')),
|
34 |
'sold_individually' => array('title'=>'Inventory: Sold individually','description'=>'Sold individually', 'field_type' => 'alternates', 'similar_fields' => array('Sold individually?')),
|
admin/modules/product/import/import.php
CHANGED
@@ -227,7 +227,7 @@ class Wt_Import_Export_For_Woo_Basic_Product_Import {
|
|
227 |
continue;
|
228 |
}
|
229 |
|
230 |
-
if (!strstr($column, 'attribute:')) { // to escape case change of attribute name
|
231 |
$column = strtolower($column);
|
232 |
}
|
233 |
|
227 |
continue;
|
228 |
}
|
229 |
|
230 |
+
if (!strstr($column, 'attribute:') && !strstr($column, 'tax:')) { // to escape case change of attribute name
|
231 |
$column = strtolower($column);
|
232 |
}
|
233 |
|
admin/modules/product/product.php
CHANGED
@@ -214,13 +214,13 @@ class Wt_Import_Export_For_Woo_Basic_Product {
|
|
214 |
*
|
215 |
*/
|
216 |
public function wt_iew_exporter_post_types_basic($arr) {
|
217 |
-
$arr['order'] = __('Order');
|
218 |
-
$arr['coupon'] = __('Coupon');
|
219 |
-
$arr['product'] = __('Product');
|
220 |
-
$arr['product_review'] = __('Product Review');
|
221 |
-
$arr['product_categories'] = __('Product Categories');
|
222 |
-
$arr['product_tags'] = __('Product Tags');
|
223 |
-
$arr['user'] = __('User/Customer');
|
224 |
return $arr;
|
225 |
}
|
226 |
|
214 |
*
|
215 |
*/
|
216 |
public function wt_iew_exporter_post_types_basic($arr) {
|
217 |
+
$arr['order'] = __('Order', 'product-import-export-for-woo');
|
218 |
+
$arr['coupon'] = __('Coupon', 'product-import-export-for-woo');
|
219 |
+
$arr['product'] = __('Product', 'product-import-export-for-woo');
|
220 |
+
$arr['product_review'] = __('Product Review', 'product-import-export-for-woo');
|
221 |
+
$arr['product_categories'] = __('Product Categories', 'product-import-export-for-woo');
|
222 |
+
$arr['product_tags'] = __('Product Tags', 'product-import-export-for-woo');
|
223 |
+
$arr['user'] = __('User/Customer', 'product-import-export-for-woo');
|
224 |
return $arr;
|
225 |
}
|
226 |
|
admin/modules/product_categories/product_categories.php
CHANGED
@@ -171,13 +171,13 @@ class Wt_Import_Export_For_Woo_Basic_Product_Categories {
|
|
171 |
*
|
172 |
*/
|
173 |
public function wt_iew_exporter_post_types($arr) {
|
174 |
-
$arr['order'] = __('Order');
|
175 |
-
$arr['coupon'] = __('Coupon');
|
176 |
-
$arr['product'] = __('Product');
|
177 |
-
$arr['product_review'] = __('Product Review');
|
178 |
-
$arr['product_categories'] = __('Product Categories');
|
179 |
-
$arr['product_tags'] = __('Product Tags');
|
180 |
-
$arr['user'] = __('User/Customer');
|
181 |
return $arr;
|
182 |
}
|
183 |
|
171 |
*
|
172 |
*/
|
173 |
public function wt_iew_exporter_post_types($arr) {
|
174 |
+
$arr['order'] = __('Order', 'product-import-export-for-woo');
|
175 |
+
$arr['coupon'] = __('Coupon', 'product-import-export-for-woo');
|
176 |
+
$arr['product'] = __('Product', 'product-import-export-for-woo');
|
177 |
+
$arr['product_review'] = __('Product Review', 'product-import-export-for-woo');
|
178 |
+
$arr['product_categories'] = __('Product Categories', 'product-import-export-for-woo');
|
179 |
+
$arr['product_tags'] = __('Product Tags', 'product-import-export-for-woo');
|
180 |
+
$arr['user'] = __('User/Customer', 'product-import-export-for-woo');
|
181 |
return $arr;
|
182 |
}
|
183 |
|
admin/modules/product_review/product_review.php
CHANGED
@@ -171,13 +171,13 @@ class Wt_Import_Export_For_Woo_Basic_Product_Review {
|
|
171 |
*
|
172 |
*/
|
173 |
public function wt_iew_exporter_post_types($arr) {
|
174 |
-
$arr['order'] = __('Order');
|
175 |
-
$arr['coupon'] = __('Coupon');
|
176 |
-
$arr['product'] = __('Product');
|
177 |
-
$arr['product_review'] = __('Product Review');
|
178 |
-
$arr['product_categories'] = __('Product Categories');
|
179 |
-
$arr['product_tags'] = __('Product Tags');
|
180 |
-
$arr['user'] = __('User/Customer');
|
181 |
return $arr;
|
182 |
}
|
183 |
|
171 |
*
|
172 |
*/
|
173 |
public function wt_iew_exporter_post_types($arr) {
|
174 |
+
$arr['order'] = __('Order', 'product-import-export-for-woo');
|
175 |
+
$arr['coupon'] = __('Coupon', 'product-import-export-for-woo');
|
176 |
+
$arr['product'] = __('Product', 'product-import-export-for-woo');
|
177 |
+
$arr['product_review'] = __('Product Review', 'product-import-export-for-woo');
|
178 |
+
$arr['product_categories'] = __('Product Categories', 'product-import-export-for-woo');
|
179 |
+
$arr['product_tags'] = __('Product Tags', 'product-import-export-for-woo');
|
180 |
+
$arr['user'] = __('User/Customer', 'product-import-export-for-woo');
|
181 |
return $arr;
|
182 |
}
|
183 |
|
admin/modules/product_tags/product_tags.php
CHANGED
@@ -171,13 +171,13 @@ class Wt_Import_Export_For_Woo_Basic_Product_Tags {
|
|
171 |
*
|
172 |
*/
|
173 |
public function wt_iew_exporter_post_types($arr) {
|
174 |
-
$arr['order'] = __('Order');
|
175 |
-
$arr['coupon'] = __('Coupon');
|
176 |
-
$arr['product'] = __('Product');
|
177 |
-
$arr['product_review'] = __('Product Review');
|
178 |
-
$arr['product_categories'] = __('Product Categories');
|
179 |
-
$arr['product_tags'] = __('Product Tags');
|
180 |
-
$arr['user'] = __('User/Customer');
|
181 |
return $arr;
|
182 |
}
|
183 |
|
171 |
*
|
172 |
*/
|
173 |
public function wt_iew_exporter_post_types($arr) {
|
174 |
+
$arr['order'] = __('Order', 'product-import-export-for-woo');
|
175 |
+
$arr['coupon'] = __('Coupon', 'product-import-export-for-woo');
|
176 |
+
$arr['product'] = __('Product', 'product-import-export-for-woo');
|
177 |
+
$arr['product_review'] = __('Product Review', 'product-import-export-for-woo');
|
178 |
+
$arr['product_categories'] = __('Product Categories', 'product-import-export-for-woo');
|
179 |
+
$arr['product_tags'] = __('Product Tags', 'product-import-export-for-woo');
|
180 |
+
$arr['user'] = __('User/Customer', 'product-import-export-for-woo');
|
181 |
return $arr;
|
182 |
}
|
183 |
|
admin/views/market.php
CHANGED
@@ -7,23 +7,72 @@ if (!defined('ABSPATH')) {
|
|
7 |
<div class="wt-import-export-upsell-wrapper market-box table-box-main">
|
8 |
<div class="ier-premium-upgrade wt-ierpro-sidebar">
|
9 |
|
10 |
-
|
11 |
<div class="wt-ierpro-name">
|
12 |
-
<img src="<?php echo WT_P_IEW_PLUGIN_URL; ?>assets/images/gopro/
|
13 |
-
<
|
|
|
|
|
|
|
14 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
<div class="wt-ierpro-mainfeatures">
|
16 |
-
|
|
|
|
|
|
|
17 |
<li class="money-back"><?php _e('30 Day Money Back Guarantee'); ?></li>
|
18 |
<li class="support"><?php _e('Fast and Superior Support'); ?></li>
|
19 |
-
</ul>
|
20 |
-
<div class="wt-ierpro-btn-wrapper">
|
21 |
-
<a href="<?php echo admin_url('admin.php?page=wt_import_export_for_woo_basic#wt-pro-upgrade'); ?>" class="wt-ierpro-blue-btn" target="_blank"><?php _e('UPGRADE TO PREMIUM'); ?></a>
|
22 |
-
</div>
|
23 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
</div>
|
25 |
-
|
26 |
-
|
27 |
-
|
|
|
28 |
</div>
|
29 |
</div>
|
7 |
<div class="wt-import-export-upsell-wrapper market-box table-box-main">
|
8 |
<div class="ier-premium-upgrade wt-ierpro-sidebar">
|
9 |
|
10 |
+
<div class="wt-ierpro-header">
|
11 |
<div class="wt-ierpro-name">
|
12 |
+
<div style="float: left"><img src="<?php echo WT_P_IEW_PLUGIN_URL; ?>assets/images/gopro/suite.svg" alt="featured img" width="36" height="36"></div>
|
13 |
+
<div style="float: right">
|
14 |
+
<h4 class="wt-ier-product-name"><?php _e('Import Export Suite for WooCommerce'); ?></h4>
|
15 |
+
<span class="wt-ier-rating-number">4.8 </span> <?php wp_star_rating( array( 'rating' => 4.8, 'number'=> 5 ) ); ?>
|
16 |
+
</div>
|
17 |
</div>
|
18 |
+
<div class="wt-ier-all-in-one-text">
|
19 |
+
<span class="wt-ier-all-in-one-text-sp">
|
20 |
+
<?php esc_html_e('An All-In-One Plugin To Import & Export All Your WooCommerce Store Data'); ?>
|
21 |
+
</span>
|
22 |
+
</div>
|
23 |
+
|
24 |
+
|
25 |
+
<div class="wt-ier-product wt-ier-product_review wt-ier-product_tags wt-ier-product_categories wt-ier-gopro-cta wt-ierpro-features">
|
26 |
+
<div class="wt-ier-suite-main-points">
|
27 |
+
<div class="wt-ier-suite-sub-points-left" style="float:left;">
|
28 |
+
<ul class="ticked-list wt-ierpro-allfeat">
|
29 |
+
<li><?php _e('Products'); ?></li>
|
30 |
+
<li><?php _e('Orders '); ?></li>
|
31 |
+
<li><?php _e('Subscriptions '); ?></li>
|
32 |
+
<li><?php _e('Coupons '); ?></li>
|
33 |
+
</ul>
|
34 |
+
</div>
|
35 |
+
<div class="wt-ier-suite-sub-points-right" style="float: right;">
|
36 |
+
<ul class="ticked-list wt-ierpro-allfeat">
|
37 |
+
<li><?php _e('Customers'); ?></li>
|
38 |
+
<li><?php _e('WordPress Users'); ?></li>
|
39 |
+
<li><?php _e('Categories & Tags '); ?></li>
|
40 |
+
<li><?php _e('Reviews'); ?></li>
|
41 |
+
</ul>
|
42 |
+
</div>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
|
47 |
<div class="wt-ierpro-mainfeatures">
|
48 |
+
<div class="wt-ierpro-btn-wrapper">
|
49 |
+
<a href="<?php echo esc_url( "https://www.webtoffee.com/product/woocommerce-import-export-suite/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Import_Export_Suite&utm_content=".WT_P_IEW_VERSION ); ?>" class="wt-ierpro-blue-btn-suite" target="_blank"><?php _e('GET THE PLUGIN'); ?> <span class="dashicons dashicons-arrow-right-alt"></span></a>
|
50 |
+
</div>
|
51 |
+
<ul class="wt-ier-suite-moneyback-wrap">
|
52 |
<li class="money-back"><?php _e('30 Day Money Back Guarantee'); ?></li>
|
53 |
<li class="support"><?php _e('Fast and Superior Support'); ?></li>
|
54 |
+
</ul>
|
|
|
|
|
|
|
55 |
</div>
|
56 |
+
|
57 |
+
|
58 |
+
|
59 |
+
<div class="wt-ier-product wt-ier-product_review wt-ier-product_tags wt-ier-product_categories wt-ier-gopro-cta wt-ierpro-features">
|
60 |
+
<ul class="ticked-list wt-ierpro-allfeat">
|
61 |
+
<li><?php _e('Supports Excel, XML, CSV, and TSV file formats'); ?></li>
|
62 |
+
<li><?php _e('Schedule automated import & export'); ?></li>
|
63 |
+
<li><?php _e('Import and export from URL, FTP/SFTP '); ?></li>
|
64 |
+
<li><?php _e('Import & export custom fields and values'); ?></li>
|
65 |
+
<li><?php _e('Advanced filters and customizations for import & export'); ?></li>
|
66 |
+
<li><?php _e('Add & update data while importing'); ?></li>
|
67 |
+
<li><?php _e('Maintains action history and debug logs'); ?></li>
|
68 |
+
<li><?php _e('Simple and easy-to-use interface'); ?></li>
|
69 |
+
<li><?php _e('Compatible with major 3rd-party plugins'); ?></li>
|
70 |
+
<li><?php _e('Timely updates and fixes'); ?></li>
|
71 |
+
</ul>
|
72 |
</div>
|
73 |
+
|
74 |
+
|
75 |
+
</div>
|
76 |
+
|
77 |
</div>
|
78 |
</div>
|
admin/views/market_front.php
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit;
|
4 |
+
}
|
5 |
+
?>
|
6 |
+
|
7 |
+
<div class="ier_pro_plugins_section_small">
|
8 |
+
<div class="wt-import-export-upsell-small-wrapper market-box table-box-main">
|
9 |
+
<div class="ier-premium-upgrade wt-ierpro-sidebar">
|
10 |
+
<div class="wt-ierpro-header">
|
11 |
+
<div class="wt-ierpro-name-small">
|
12 |
+
<img src="<?php echo WT_P_IEW_PLUGIN_URL; ?>assets/images/gopro/order-ie.svg" alt="featured img" width="36" height="36">
|
13 |
+
<h4 class="wt-ier-product-name-small"><?php _e('Order, Coupon, Subscription Import Export for WooCommerce'); ?></h4>
|
14 |
+
</div>
|
15 |
+
<p style="margin-left:25px;"><b><?php _e('All free version features'); ?> +</b></p>
|
16 |
+
<div class="wt-ier-product-features wt-ier-gopro-cta-small wt-ierpro-features">
|
17 |
+
<ul class="ticked-list wt-ierpro-allfeat">
|
18 |
+
<li><?php _e('Import & export in Excel, XML, CSV, and TSV formats'); ?></li>
|
19 |
+
<li><?php _e('Schedule automated import & export'); ?></li>
|
20 |
+
<li><?php _e('Advanced filters and customizations for better control'); ?></li>
|
21 |
+
<li><?php _e('Email customers on order status change'); ?></li>
|
22 |
+
<li><?php _e('Create users on order import'); ?></li>
|
23 |
+
</ul>
|
24 |
+
<div class="wt-ierpro-btn-wrapper">
|
25 |
+
<a href="<?php echo esc_url( "https://www.webtoffee.com/product/order-import-export-plugin-for-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Order_Import_Export&utm_content=" . WT_P_IEW_VERSION ); ?>" target="_blank" class="wt-ierpro-outline-btn"><?php _e('UPGRADE TO PREMIUM'); ?></a>
|
26 |
+
</div>
|
27 |
+
</div>
|
28 |
+
</div>
|
29 |
+
</div>
|
30 |
+
</div>
|
31 |
+
|
32 |
+
<div class="wt-import-export-upsell-small-wrapper market-box table-box-main">
|
33 |
+
<div class="ier-premium-upgrade wt-ierpro-sidebar">
|
34 |
+
<div class="wt-ierpro-header">
|
35 |
+
<div class="wt-ierpro-name-small">
|
36 |
+
<img src="<?php echo WT_P_IEW_PLUGIN_URL; ?>assets/images/gopro/product-ie.svg" alt="featured img" width="36" height="36">
|
37 |
+
<h4 class="wt-ier-product-name-small"><?php _e('Product Import Export Plugin For WooCommerce'); ?></h4>
|
38 |
+
</div>
|
39 |
+
<p style="margin-left:25px;"><b><?php _e('All free version features'); ?> +</b></p>
|
40 |
+
<div class="wt-ier-product-features wt-ier-gopro-cta-small wt-ierpro-features">
|
41 |
+
<ul class="ticked-list wt-ierpro-allfeat">
|
42 |
+
<li><?php _e('Export and import variable products, subscription'); ?></li>
|
43 |
+
<li><?php _e('Import & export in Excel, XML, CSV, and TSV formats'); ?></li>
|
44 |
+
<li><?php _e('Schedule automated import & export'); ?></li>
|
45 |
+
<li><?php _e('Advanced filters and customizations for better control'); ?></li>
|
46 |
+
<li><?php _e('Export product images in a separate zip file'); ?></li>
|
47 |
+
</ul>
|
48 |
+
<div class="wt-ierpro-btn-wrapper">
|
49 |
+
<a href="<?php echo esc_url( "https://www.webtoffee.com/product/product-import-export-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Product_Import_Export&utm_content=" . WT_P_IEW_VERSION ); ?>" target="_blank" class="wt-ierpro-outline-btn"><?php _e('UPGRADE TO PREMIUM'); ?></a>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
</div>
|
53 |
+
</div>
|
54 |
+
</div>
|
55 |
+
|
56 |
+
<div class="wt-import-export-upsell-small-wrapper market-box table-box-main" style="margin:0px;">
|
57 |
+
<div class="ier-premium-upgrade wt-ierpro-sidebar">
|
58 |
+
<div class="wt-ierpro-header">
|
59 |
+
<div class="wt-ierpro-name-small">
|
60 |
+
<img src="<?php echo WT_P_IEW_PLUGIN_URL; ?>assets/images/gopro/user-ie.svg" alt="featured img" width="36" height="36">
|
61 |
+
<h4 class="wt-ier-product-name-small"><?php _e('WordPress Users & WooCommerce Customers Import Export'); ?></h4>
|
62 |
+
</div>
|
63 |
+
<p style="margin-left:25px;"><b><?php _e('All free version features'); ?> +</b></p>
|
64 |
+
<div class="wt-ier-product-features wt-ier-gopro-cta-small wt-ierpro-features">
|
65 |
+
<ul class="ticked-list wt-ierpro-allfeat">
|
66 |
+
<li><?php _e('Import & export in Excel, XML, CSV, and TSV formats'); ?></li>
|
67 |
+
<li><?php _e('Advanced filters and customizations for better control'); ?></li>
|
68 |
+
<li><?php _e('Customize and send emails to new users on import'); ?></li>
|
69 |
+
<li><?php _e('Export and import custom fields and third-party plugin fields'); ?></li>
|
70 |
+
<li><?php _e('Schedule automated import & export '); ?></li>
|
71 |
+
</ul>
|
72 |
+
<div class="wt-ierpro-btn-wrapper">
|
73 |
+
<a href="<?php echo esc_url( "https://www.webtoffee.com/product/wordpress-users-woocommerce-customers-import-export/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=User_Import_Export&utm_content=" . WT_P_IEW_VERSION ); ?>" target="_blank" class="wt-ierpro-outline-btn"><?php _e('UPGRADE TO PREMIUM'); ?></a>
|
74 |
+
</div>
|
75 |
+
</div>
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
+
</div>
|
79 |
+
</div>
|
class-wt-product-review-request.php
CHANGED
@@ -14,7 +14,7 @@ class Product_Import_Export_Review_Request
|
|
14 |
/**
|
15 |
* config options
|
16 |
*/
|
17 |
-
private $plugin_title = "Product
|
18 |
private $review_url = "https://wordpress.org/support/plugin/product-import-export-for-woo/reviews/#new-post";
|
19 |
private $plugin_prefix = "wt_p_iew_basic"; /* must be unique name */
|
20 |
private $activation_hook = "wt_p_iew_basic_activate"; /* hook for activation, to store activated date */
|
14 |
/**
|
15 |
* config options
|
16 |
*/
|
17 |
+
private $plugin_title = "Product Import Export for WooCommerce";
|
18 |
private $review_url = "https://wordpress.org/support/plugin/product-import-export-for-woo/reviews/#new-post";
|
19 |
private $plugin_prefix = "wt_p_iew_basic"; /* must be unique name */
|
20 |
private $activation_hook = "wt_p_iew_basic_activate"; /* hook for activation, to store activated date */
|
includes/class-wt-import-export-for-woo.php
CHANGED
@@ -80,7 +80,7 @@ class Wt_Import_Export_For_Woo_Basic {
|
|
80 |
if ( defined( 'WT_P_IEW_VERSION' ) ) {
|
81 |
$this->version = WT_P_IEW_VERSION;
|
82 |
} else {
|
83 |
-
$this->version = '2.2.
|
84 |
}
|
85 |
$this->plugin_name = 'wt-import-export-for-woo-basic';
|
86 |
|
80 |
if ( defined( 'WT_P_IEW_VERSION' ) ) {
|
81 |
$this->version = WT_P_IEW_VERSION;
|
82 |
} else {
|
83 |
+
$this->version = '2.2.5';
|
84 |
}
|
85 |
$this->plugin_name = 'wt-import-export-for-woo-basic';
|
86 |
|
product-import-export-for-woo.php
CHANGED
@@ -5,12 +5,12 @@
|
|
5 |
Description: Import and Export Products From and To your WooCommerce Store.
|
6 |
Author: WebToffee
|
7 |
Author URI: https://www.webtoffee.com/product/product-import-export-woocommerce/
|
8 |
-
Version: 2.2.
|
9 |
License: GPLv3
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
Text Domain: product-import-export-for-woo
|
12 |
Domain Path: /languages
|
13 |
-
WC tested up to:
|
14 |
Requires at least: 3.0
|
15 |
Requires PHP: 5.6
|
16 |
*/
|
@@ -46,7 +46,7 @@ if ( !defined( 'WT_IEW_DEBUG_BASIC_TROUBLESHOOT' ) ) {
|
|
46 |
* Start at version 1.0.0 and use SemVer - https://semver.org
|
47 |
* Rename this for your plugin and update it as you release new versions.
|
48 |
*/
|
49 |
-
define( 'WT_P_IEW_VERSION', '2.2.
|
50 |
|
51 |
/**
|
52 |
* The code that runs during plugin activation.
|
@@ -251,7 +251,7 @@ add_action( 'wt_product_addon_basic_gopro_content', 'wt_product_addon_basic_gopr
|
|
251 |
function wt_product_addon_basic_gopro_content() {
|
252 |
if ( defined( 'WT_IEW_PLUGIN_ID_BASIC' ) ) {
|
253 |
?>
|
254 |
-
<div class="wt-ier-product wt-ier-product_review wt-ier-product_tags wt-ier-product_categories wt-ier-gopro-cta wt-ierpro-features"
|
255 |
<ul class="ticked-list wt-ierpro-allfeat">
|
256 |
<li><?php _e('Import and export in XLS and XLSX formats'); ?><span class="wt-iew-upgrade-to-pro-new-feature"><?php esc_html_e( 'New' ); ?></span></li>
|
257 |
<li><?php _e('All free version features'); ?></li>
|
5 |
Description: Import and Export Products From and To your WooCommerce Store.
|
6 |
Author: WebToffee
|
7 |
Author URI: https://www.webtoffee.com/product/product-import-export-woocommerce/
|
8 |
+
Version: 2.2.5
|
9 |
License: GPLv3
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
Text Domain: product-import-export-for-woo
|
12 |
Domain Path: /languages
|
13 |
+
WC tested up to: 7.0
|
14 |
Requires at least: 3.0
|
15 |
Requires PHP: 5.6
|
16 |
*/
|
46 |
* Start at version 1.0.0 and use SemVer - https://semver.org
|
47 |
* Rename this for your plugin and update it as you release new versions.
|
48 |
*/
|
49 |
+
define( 'WT_P_IEW_VERSION', '2.2.5' );
|
50 |
|
51 |
/**
|
52 |
* The code that runs during plugin activation.
|
251 |
function wt_product_addon_basic_gopro_content() {
|
252 |
if ( defined( 'WT_IEW_PLUGIN_ID_BASIC' ) ) {
|
253 |
?>
|
254 |
+
<div class="wt-ier-product wt-ier-product_review wt-ier-product_tags wt-ier-product_categories wt-ier-gopro-cta wt-ierpro-features" style="display: none;">
|
255 |
<ul class="ticked-list wt-ierpro-allfeat">
|
256 |
<li><?php _e('Import and export in XLS and XLSX formats'); ?><span class="wt-iew-upgrade-to-pro-new-feature"><?php esc_html_e( 'New' ); ?></span></li>
|
257 |
<li><?php _e('All free version features'); ?></li>
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: product export, product import, CSV import export, woocommerce, CSV, produ
|
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.2.
|
9 |
License: GPLv3 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -57,7 +57,7 @@ With this plugin, you can export and import WooCommerce products to and from a C
|
|
57 |
* <strong>Save frequently used import/export configurations</strong> as templates and use the template for future imports and exports.
|
58 |
* The plugin <strong>stores all the past imports and exports</strong> and <strong>lets you re-run</strong> them when needed.
|
59 |
* <strong>Easy debugging:</strong> View and download import log for debugging purpose.
|
60 |
-
* Tested OK with WooCommerce
|
61 |
|
62 |
###COMPATIBLE PLUGINS###
|
63 |
|
@@ -242,6 +242,9 @@ Yes, you can import grouped, affiliate/external products in addition to simple p
|
|
242 |
|
243 |
== CHANGELOG ==
|
244 |
|
|
|
|
|
|
|
245 |
= 2.2.4 2022-08-26 =
|
246 |
* Bugfix: Product - Filter data does not work on product tags/categories for non-latin languages
|
247 |
* Bugfix: Category - Child category import with parent connection
|
@@ -619,7 +622,6 @@ Yes, you can import grouped, affiliate/external products in addition to simple p
|
|
619 |
|
620 |
== Upgrade Notice ==
|
621 |
|
622 |
-
= 2.2.
|
623 |
-
*
|
624 |
-
*
|
625 |
-
* WooCommerce 6.8 Tested OK.
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.2.5
|
9 |
License: GPLv3 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
57 |
* <strong>Save frequently used import/export configurations</strong> as templates and use the template for future imports and exports.
|
58 |
* The plugin <strong>stores all the past imports and exports</strong> and <strong>lets you re-run</strong> them when needed.
|
59 |
* <strong>Easy debugging:</strong> View and download import log for debugging purpose.
|
60 |
+
* Tested OK with WooCommerce 7.0
|
61 |
|
62 |
###COMPATIBLE PLUGINS###
|
63 |
|
242 |
|
243 |
== CHANGELOG ==
|
244 |
|
245 |
+
= 2.2.5 2022-10-25 =
|
246 |
+
* WooCommerce 7.0 Tested OK.
|
247 |
+
* Enhancement: Set Min and Max limit for import and export default batch count in General setting page.
|
248 |
= 2.2.4 2022-08-26 =
|
249 |
* Bugfix: Product - Filter data does not work on product tags/categories for non-latin languages
|
250 |
* Bugfix: Category - Child category import with parent connection
|
622 |
|
623 |
== Upgrade Notice ==
|
624 |
|
625 |
+
= 2.2.5 =
|
626 |
+
* WooCommerce 7.0 Tested OK.
|
627 |
+
* Enhancement: Set Min and Max limit for import and export default batch count in General setting page.
|
|