blocks
5 years ago
options
4 years ago
template
5 years ago
google.php
9 years ago
index.php
4 years ago
options.php
4 years ago
process.php
4 years ago
success_page.php
5 years ago
template.php
4 years ago
variation_options.php
4 years ago
variation_options_common.php
4 years ago
variation_options.php
87 lines
| 1 | <?php |
| 2 | /** @var $post */ |
| 3 | /** @var string $random */ |
| 4 | $random = uniqid(); |
| 5 | ?> |
| 6 | <div class="product_variations"> |
| 7 | <h4 style="margin-top: 20px;"><?php _e('Product Variations', 'wp_all_export_plugin'); ?> |
| 8 | <a href="#help" class="wpallexport-help" |
| 9 | style="position: relative; top: 0px;" |
| 10 | title="<?php _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> |
| 11 | <div class="input" style="display: inline-block; width: 100%;"> |
| 12 | <div> |
| 13 | <label> |
| 14 | <input disabled type="radio" class="export_variations <?php if (PMXE_EDITION != 'paid') { |
| 15 | echo "variations_disabled"; |
| 16 | } ?>" |
| 17 | value="<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_PARENT_AND_VARIATION; ?>" |
| 18 | name="<?php echo $random?>_export_variations"/><?php _e("Export product variations and their parent products", 'wp_all_export_plugin'); ?> |
| 19 | </label> |
| 20 | <div style="display: none;" class="sub-options sub-options-<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_PARENT_AND_VARIATION;?>"> |
| 21 | <label style="display: block; margin-bottom: 8px;"> |
| 22 | <input type="radio" disabled |
| 23 | name="<?php echo $random; ?>_export_variations_title_1" |
| 24 | value="<?php echo XmlExportEngine::VARIATION_USE_PARENT_TITLE; ?>" |
| 25 | |
| 26 | class="export_variations_title"> |
| 27 | <?php _e("Product variations use the parent product title", 'wp_all_export_plugin');?> |
| 28 | </label> |
| 29 | <div class="clear"></div> |
| 30 | <label style="display: block; margin-bottom: 8px;"> |
| 31 | <input type="radio" |
| 32 | name="<?php echo $random; ?>_export_variations_title_1" |
| 33 | value="<?php echo XmlExportEngine::VARIATION_USE_DEFAULT_TITLE; ?>" |
| 34 | |
| 35 | class="export_variations_title" disabled> |
| 36 | <?php _e("Product variations use the default variation product title", 'wp_all_export_plugin'); ?> |
| 37 | </label> |
| 38 | </div> |
| 39 | </div> |
| 40 | <div class="clear"></div> |
| 41 | <div style="margin: 6px 0;"> |
| 42 | <label> |
| 43 | <input disabled type="radio" class="export_variations" |
| 44 | value="<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_VARIATION; ?>" |
| 45 | name="<?php echo $random; ?>_export_variations"/><?php _e("Only export product variations", 'wp_all_export_plugin'); ?> |
| 46 | </label> |
| 47 | <div class="sub-options sub-options-<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_VARIATION; ?>"> |
| 48 | <label style="display: block; margin-bottom: 8px;"> |
| 49 | <input disabled type="radio" |
| 50 | name="<?php echo $random; ?>_export_variations_title_2" |
| 51 | value="<?php echo XmlExportEngine::VARIATION_USE_PARENT_TITLE; ?>" |
| 52 | <?php if($post['export_variations_title'] == XmlExportEngine::VARIATION_USE_PARENT_TITLE) {?> |
| 53 | checked="checked" |
| 54 | <?php }?> |
| 55 | class="export_variations_title"> |
| 56 | <?php _e("Product variations use the parent product title", 'wp_all_export_plugin'); ?> |
| 57 | </label> |
| 58 | <div class="clear"></div> |
| 59 | <label> |
| 60 | <input disabled type="radio" |
| 61 | name="<?php echo $random; ?>_export_variations_title_2" |
| 62 | value="<?php echo XmlExportEngine::VARIATION_USE_DEFAULT_TITLE; ?>" |
| 63 | <?php if($post['export_variations_title'] == XmlExportEngine::VARIATION_USE_DEFAULT_TITLE) {?> |
| 64 | checked="checked" |
| 65 | <?php } ?> |
| 66 | class="export_variations_title"> |
| 67 | <?php _e("Product variations use the default variation product title", 'wp_all_export_plugin'); ?> |
| 68 | </label> |
| 69 | </div> |
| 70 | </div> |
| 71 | <div class="clear"></div> |
| 72 | <div style="margin: 6px 0;"> |
| 73 | <label> |
| 74 | <input type="radio" disabled class="export_variations <?php if (PMXE_EDITION != 'paid') { |
| 75 | echo "variations_disabled"; |
| 76 | } ?>" |
| 77 | value="<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_PARENT; ?>" |
| 78 | name="<?php echo $random?>_export_variations"/><?php _e("Only export parent products", 'wp_all_export_plugin'); ?> |
| 79 | </label> |
| 80 | </div> |
| 81 | |
| 82 | <div class="wpallexport-free-edition-notice" style="padding: 20px; margin-bottom: 10px;"> |
| 83 | <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=variation_options">Upgrade to the Pro edition of WP All Export to filter variable products</a> |
| 84 | <p>If you already own it, remove the free edition and install the Pro edition.</p> |
| 85 | </div> |
| 86 | </div> |
| 87 | </div> |