PluginProbe ʕ •ᴥ•ʔ
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel / 1.3.6
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel v1.3.6
trunk 0.9.0 0.9.1 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0 1.2.1 1.2.10 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.14 1.4.15 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0
wp-all-export / views / admin / export / variation_options.php
wp-all-export / views / admin / export Last commit date
blocks 4 years ago options 4 years ago template 4 years ago google.php 4 years ago index.php 4 years ago options.php 4 years ago process.php 4 years ago success_page.php 4 years ago template.php 4 years ago variation_options.php 4 years ago variation_options_common.php 4 years ago
variation_options.php
101 lines
1 <?php
2 if(!defined('ABSPATH')) {
3 die();
4 }
5 /** @var $post */
6 /** @var string $random */
7 $random = uniqid();
8 ?>
9 <div class="product_variations">
10 <h4 style="margin-top: 20px;"><?php esc_html_e('Product Variations', 'wp_all_export_plugin'); ?>
11 <a href="#help" class="wpallexport-help"
12 style="position: relative; top: 0px;"
13 title="<?php esc_html_e('WooCommerce stores each product variation as a separate product in the database, along with a parent product to tie all of the variations together.<br/><br/>If the product title is \'T-Shirt\', then the parent product will be titled \'T-Shirt\', and in the database each size/color combination will be a separate product with a title like \'Variation #23 of T-Shirt\'.', 'wp_all_export_plugin'); ?>">?</a></h4>
14 <div class="input" style="display: inline-block; width: 100%;">
15 <div>
16 <label>
17 <input disabled type="radio" class="export_variations <?php if (PMXE_EDITION != 'paid') {
18 echo "variations_disabled";
19 } ?>"
20 value="<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_PARENT_AND_VARIATION; ?>"
21 name="<?php echo esc_attr($random); ?>_export_variations"/><?php esc_html_e("Export product variations and their parent products", 'wp_all_export_plugin'); ?>
22 </label>
23 <div style="display: none;" class="sub-options sub-options-<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_PARENT_AND_VARIATION;?>">
24 <label style="display: block; margin-bottom: 8px;">
25 <input type="radio" disabled
26 name="<?php echo esc_attr($random); ?>_export_variations_title_1"
27 value="<?php echo XmlExportEngine::VARIATION_USE_PARENT_TITLE; ?>"
28
29 class="export_variations_title">
30 <?php esc_html_e("Product variations use the parent product title", 'wp_all_export_plugin');?>
31 </label>
32 <div class="clear"></div>
33 <label style="display: block; margin-bottom: 8px;">
34 <input type="radio"
35 name="<?php echo esc_attr($random); ?>_export_variations_title_1"
36 value="<?php echo XmlExportEngine::VARIATION_USE_DEFAULT_TITLE; ?>"
37
38 class="export_variations_title" disabled>
39 <?php esc_html_e("Product variations use the default variation product title", 'wp_all_export_plugin'); ?>
40 </label>
41 </div>
42 </div>
43 <div class="clear"></div>
44 <div style="margin: 6px 0;">
45 <label>
46 <input disabled type="radio" class="export_variations"
47 value="<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_VARIATION; ?>"
48 name="<?php echo esc_attr($random); ?>_export_variations"/><?php esc_html_e("Only export product variations", 'wp_all_export_plugin'); ?>
49 </label>
50 <div class="sub-options sub-options-<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_VARIATION; ?>">
51 <label style="display: block; margin-bottom: 8px;">
52 <input disabled type="radio"
53 name="<?php echo esc_attr($random); ?>_export_variations_title_2"
54 value="<?php echo XmlExportEngine::VARIATION_USE_PARENT_TITLE; ?>"
55 <?php if($post['export_variations_title'] == XmlExportEngine::VARIATION_USE_PARENT_TITLE) {?>
56 checked="checked"
57 <?php }?>
58 class="export_variations_title">
59 <?php esc_html_e("Product variations use the parent product title", 'wp_all_export_plugin'); ?>
60 </label>
61 <div class="clear"></div>
62 <label>
63 <input disabled type="radio"
64 name="<?php echo esc_attr($random); ?>_export_variations_title_2"
65 value="<?php echo XmlExportEngine::VARIATION_USE_DEFAULT_TITLE; ?>"
66 <?php if($post['export_variations_title'] == XmlExportEngine::VARIATION_USE_DEFAULT_TITLE) {?>
67 checked="checked"
68 <?php } ?>
69 class="export_variations_title">
70 <?php esc_html_e("Product variations use the default variation product title", 'wp_all_export_plugin'); ?>
71 </label>
72 </div>
73 </div>
74 <div class="clear"></div>
75 <div style="margin: 6px 0;">
76 <label>
77 <input type="radio" checked="checked" disabled class="export_variations <?php if (PMXE_EDITION != 'paid') {
78 echo "variations_disabled";
79 } ?>"
80 value="<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_PARENT; ?>"
81 name="<?php echo esc_attr($random)?>_export_variations"/><?php esc_html_e("Only export parent products", 'wp_all_export_plugin'); ?>
82 </label>
83 </div>
84
85 <?php if(XmlExportEngine::get_addons_service()->isWooCommerceAddonActive()) { ?>
86 <div class="wpallexport-free-edition-notice" style="padding: 20px; margin-bottom: 10px;">
87 <a class="upgrade_link" style="font-size:15px !important;" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&amp;download_id=2707173&amp;edd_options%5Bprice_id%5D=1&amp;utm_source=export-plugin-free&amp;utm_medium=upgrade-notice&amp;utm_campaign=variation_options">
88 Upgrade to the Pro edition of WP All Export to filter variable products</a>
89 <p>If you already own it, remove the free edition and install the Pro edition.</p>
90 </div>
91 <?php } else { ?>
92 <div class="wpallexport-free-edition-notice" style="padding: 20px 20px 35px 20px; margin-bottom: 10px;">
93 <p>The WooCommerce Export Package is required to export variations.</p>
94 <p>
95 <a style="margin: 1em 0; font-size:1em !important" class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206899&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-variations">
96 Purchase the WooCommerce Export Package</a>
97 </p>
98 </div>
99 <?php } ?>
100 </div>
101 </div>