Version Description
- fixed setting up shipping class to -1 when No shipping class option chosen
Download this release
Release Info
Developer | soflyy |
Plugin | Import Products from any XML or CSV to WooCommerce |
Version | 1.2.6 |
Comparing to | |
See all releases |
Code changes from version 1.2.5 to 1.2.6
- actions/admin_notices.php +4 -4
- actions/pmxi_reimport.php +6 -6
- controllers/controller/admin.php +23 -23
- filters/pmxi_custom_field_to_delete.php +6 -0
- filters/pmxi_custom_types.php +1 -1
- helpers/pmwi_prepare_price.php +2 -2
- i18n/languages/wpai_woocommerce_addon_plugin-de_DE.mo +0 -0
- i18n/languages/wpai_woocommerce_addon_plugin-de_DE.po +1418 -0
- i18n/languages/wpai_woocommerce_addon_plugin-es_ES.mo +0 -0
- i18n/languages/wpai_woocommerce_addon_plugin-es_ES.po +1414 -0
- models/import/record.php +81 -471
- plugin.php +25 -5
- readme.txt +5 -2
- static/css/admin.css +4 -0
- views/admin/import/_tabs/_advanced.php +17 -16
- views/admin/import/_tabs/_attributes.php +71 -70
- views/admin/import/_tabs/_general.php +84 -56
- views/admin/import/_tabs/_inventory.php +24 -22
- views/admin/import/_tabs/_linked_product.php +15 -14
- views/admin/import/_tabs/_options.php +9 -8
- views/admin/import/_tabs/_shipping.php +12 -11
- views/admin/import/_tabs/_variations.php +203 -112
- views/admin/import/index.php +18 -18
actions/admin_notices.php
CHANGED
@@ -7,7 +7,7 @@ function pmwi_admin_notices() {
|
|
7 |
?>
|
8 |
<div class="error"><p>
|
9 |
<?php printf(
|
10 |
-
__('<b>%s Plugin</b>: WooCommerce must be installed.', '
|
11 |
PMWI_Plugin::getInstance()->getName()
|
12 |
) ?>
|
13 |
</p></div>
|
@@ -21,7 +21,7 @@ function pmwi_admin_notices() {
|
|
21 |
?>
|
22 |
<div class="error"><p>
|
23 |
<?php printf(
|
24 |
-
__('<b>%s Plugin</b>: WP All Import must be installed. Free edition of WP All Import at <a href="http://wordpress.org/plugins/wp-all-import/" target="_blank">http://wordpress.org/plugins/wp-all-import/</a> and the paid edition at <a href="http://www.wpallimport.com/">http://www.wpallimport.com/</a>', '
|
25 |
PMWI_Plugin::getInstance()->getName()
|
26 |
) ?>
|
27 |
</p></div>
|
@@ -35,7 +35,7 @@ function pmwi_admin_notices() {
|
|
35 |
?>
|
36 |
<div class="error"><p>
|
37 |
<?php printf(
|
38 |
-
__('<b>%s Plugin</b>: Please update your WP All Import to the latest version', '
|
39 |
PMWI_Plugin::getInstance()->getName()
|
40 |
) ?>
|
41 |
</p></div>
|
@@ -48,7 +48,7 @@ function pmwi_admin_notices() {
|
|
48 |
?>
|
49 |
<div class="error"><p>
|
50 |
<?php printf(
|
51 |
-
__('<b>%s Plugin</b>: Please update your WooCommerce to the latest version', '
|
52 |
PMWI_Plugin::getInstance()->getName()
|
53 |
) ?>
|
54 |
</p></div>
|
7 |
?>
|
8 |
<div class="error"><p>
|
9 |
<?php printf(
|
10 |
+
__('<b>%s Plugin</b>: WooCommerce must be installed.', 'wpai_woocommerce_addon_plugin'),
|
11 |
PMWI_Plugin::getInstance()->getName()
|
12 |
) ?>
|
13 |
</p></div>
|
21 |
?>
|
22 |
<div class="error"><p>
|
23 |
<?php printf(
|
24 |
+
__('<b>%s Plugin</b>: WP All Import must be installed. Free edition of WP All Import at <a href="http://wordpress.org/plugins/wp-all-import/" target="_blank">http://wordpress.org/plugins/wp-all-import/</a> and the paid edition at <a href="http://www.wpallimport.com/">http://www.wpallimport.com/</a>', 'wpai_woocommerce_addon_plugin'),
|
25 |
PMWI_Plugin::getInstance()->getName()
|
26 |
) ?>
|
27 |
</p></div>
|
35 |
?>
|
36 |
<div class="error"><p>
|
37 |
<?php printf(
|
38 |
+
__('<b>%s Plugin</b>: Please update your WP All Import to the latest version', 'wpai_woocommerce_addon_plugin'),
|
39 |
PMWI_Plugin::getInstance()->getName()
|
40 |
) ?>
|
41 |
</p></div>
|
48 |
?>
|
49 |
<div class="error"><p>
|
50 |
<?php printf(
|
51 |
+
__('<b>%s Plugin</b>: Please update your WooCommerce to the latest version', 'wpai_woocommerce_addon_plugin'),
|
52 |
PMWI_Plugin::getInstance()->getName()
|
53 |
) ?>
|
54 |
</p></div>
|
actions/pmxi_reimport.php
CHANGED
@@ -21,22 +21,22 @@ function pmwi_pmxi_reimport($entry, $post){
|
|
21 |
<div class="input">
|
22 |
<input type="hidden" name="is_update_product_type" value="0" />
|
23 |
<input type="checkbox" id="is_update_product_type_<?php echo $entry; ?>" name="is_update_product_type" value="1" <?php echo $post['is_update_product_type'] ? 'checked="checked"': '' ?> class="switcher"/>
|
24 |
-
<label for="is_update_product_type_<?php echo $entry; ?>"><?php _e('Product Type', '
|
25 |
</div>
|
26 |
<div class="input">
|
27 |
<input type="hidden" name="attributes_list" value="0" />
|
28 |
<input type="hidden" name="is_update_attributes" value="0" />
|
29 |
<input type="checkbox" id="is_update_attributes_<?php echo $entry; ?>" name="is_update_attributes" value="1" <?php echo $post['is_update_attributes'] ? 'checked="checked"': '' ?> class="switcher"/>
|
30 |
-
<label for="is_update_attributes_<?php echo $entry; ?>"><?php _e('Attributes', '
|
31 |
-
<!--a href="#help" class="help" title="<?php _e('If Keep Custom Fields box is checked, it will keep all Custom Fields, and add any new Custom Fields specified in Custom Fields section, as long as they do not overwrite existing fields. If \'Only keep this Custom Fields\' is specified, it will only keep the specified fields.', '
|
32 |
<div class="switcher-target-is_update_attributes_<?php echo $entry; ?>" style="padding-left:17px;">
|
33 |
<div class="input">
|
34 |
<input type="radio" id="update_attributes_logic_full_update_<?php echo $entry; ?>" name="update_attributes_logic" value="full_update" <?php echo ( "full_update" == $post['update_attributes_logic'] ) ? 'checked="checked"': '' ?> class="switcher"/>
|
35 |
-
<label for="update_attributes_logic_full_update_<?php echo $entry; ?>"><?php _e('Update all Attributes', '
|
36 |
</div>
|
37 |
<div class="input">
|
38 |
<input type="radio" id="update_attributes_logic_only_<?php echo $entry; ?>" name="update_attributes_logic" value="only" <?php echo ( "only" == $post['update_attributes_logic'] ) ? 'checked="checked"': '' ?> class="switcher"/>
|
39 |
-
<label for="update_attributes_logic_only_<?php echo $entry; ?>"><?php _e('Update only these Attributes, leave the rest alone', '
|
40 |
<div class="switcher-target-update_attributes_logic_only_<?php echo $entry; ?> pmxi_choosen" style="padding-left:17px;">
|
41 |
|
42 |
<span class="hidden choosen_values"><?php if (!empty($all_existing_attributes)) echo implode(',', $all_existing_attributes);?></span>
|
@@ -45,7 +45,7 @@ function pmwi_pmxi_reimport($entry, $post){
|
|
45 |
</div>
|
46 |
<div class="input">
|
47 |
<input type="radio" id="update_attributes_logic_all_except_<?php echo $entry; ?>" name="update_attributes_logic" value="all_except" <?php echo ( "all_except" == $post['update_attributes_logic'] ) ? 'checked="checked"': '' ?> class="switcher"/>
|
48 |
-
<label for="update_attributes_logic_all_except_<?php echo $entry; ?>"><?php _e('Leave these attributes alone, update all other Attributes', '
|
49 |
<div class="switcher-target-update_attributes_logic_all_except_<?php echo $entry; ?> pmxi_choosen" style="padding-left:17px;">
|
50 |
|
51 |
<span class="hidden choosen_values"><?php if (!empty($all_existing_attributes)) echo implode(',', $all_existing_attributes);?></span>
|
21 |
<div class="input">
|
22 |
<input type="hidden" name="is_update_product_type" value="0" />
|
23 |
<input type="checkbox" id="is_update_product_type_<?php echo $entry; ?>" name="is_update_product_type" value="1" <?php echo $post['is_update_product_type'] ? 'checked="checked"': '' ?> class="switcher"/>
|
24 |
+
<label for="is_update_product_type_<?php echo $entry; ?>"><?php _e('Product Type', 'wpai_woocommerce_addon_plugin') ?></label>
|
25 |
</div>
|
26 |
<div class="input">
|
27 |
<input type="hidden" name="attributes_list" value="0" />
|
28 |
<input type="hidden" name="is_update_attributes" value="0" />
|
29 |
<input type="checkbox" id="is_update_attributes_<?php echo $entry; ?>" name="is_update_attributes" value="1" <?php echo $post['is_update_attributes'] ? 'checked="checked"': '' ?> class="switcher"/>
|
30 |
+
<label for="is_update_attributes_<?php echo $entry; ?>"><?php _e('Attributes', 'wpai_woocommerce_addon_plugin') ?></label>
|
31 |
+
<!--a href="#help" class="help" title="<?php _e('If Keep Custom Fields box is checked, it will keep all Custom Fields, and add any new Custom Fields specified in Custom Fields section, as long as they do not overwrite existing fields. If \'Only keep this Custom Fields\' is specified, it will only keep the specified fields.', 'wpai_woocommerce_addon_plugin') ?>">?</a-->
|
32 |
<div class="switcher-target-is_update_attributes_<?php echo $entry; ?>" style="padding-left:17px;">
|
33 |
<div class="input">
|
34 |
<input type="radio" id="update_attributes_logic_full_update_<?php echo $entry; ?>" name="update_attributes_logic" value="full_update" <?php echo ( "full_update" == $post['update_attributes_logic'] ) ? 'checked="checked"': '' ?> class="switcher"/>
|
35 |
+
<label for="update_attributes_logic_full_update_<?php echo $entry; ?>"><?php _e('Update all Attributes', 'wpai_woocommerce_addon_plugin') ?></label>
|
36 |
</div>
|
37 |
<div class="input">
|
38 |
<input type="radio" id="update_attributes_logic_only_<?php echo $entry; ?>" name="update_attributes_logic" value="only" <?php echo ( "only" == $post['update_attributes_logic'] ) ? 'checked="checked"': '' ?> class="switcher"/>
|
39 |
+
<label for="update_attributes_logic_only_<?php echo $entry; ?>"><?php _e('Update only these Attributes, leave the rest alone', 'wpai_woocommerce_addon_plugin') ?></label>
|
40 |
<div class="switcher-target-update_attributes_logic_only_<?php echo $entry; ?> pmxi_choosen" style="padding-left:17px;">
|
41 |
|
42 |
<span class="hidden choosen_values"><?php if (!empty($all_existing_attributes)) echo implode(',', $all_existing_attributes);?></span>
|
45 |
</div>
|
46 |
<div class="input">
|
47 |
<input type="radio" id="update_attributes_logic_all_except_<?php echo $entry; ?>" name="update_attributes_logic" value="all_except" <?php echo ( "all_except" == $post['update_attributes_logic'] ) ? 'checked="checked"': '' ?> class="switcher"/>
|
48 |
+
<label for="update_attributes_logic_all_except_<?php echo $entry; ?>"><?php _e('Leave these attributes alone, update all other Attributes', 'wpai_woocommerce_addon_plugin') ?></label>
|
49 |
<div class="switcher-target-update_attributes_logic_all_except_<?php echo $entry; ?> pmxi_choosen" style="padding-left:17px;">
|
50 |
|
51 |
<span class="hidden choosen_values"><?php if (!empty($all_existing_attributes)) echo implode(',', $all_existing_attributes);?></span>
|
controllers/controller/admin.php
CHANGED
@@ -52,32 +52,32 @@ abstract class PMWI_Controller_Admin extends PMWI_Controller {
|
|
52 |
global $woocommerce;
|
53 |
|
54 |
$woocommerce_witepanel_params = array(
|
55 |
-
'remove_item_notice' => __("Remove this item? If you have previously reduced this item's stock, or this order was submitted by a customer, will need to manually restore the item's stock.", '
|
56 |
-
'remove_attribute' => __('Remove this attribute?', '
|
57 |
-
'name_label' => __('Name', '
|
58 |
-
'remove_label' => __('Remove', '
|
59 |
-
'click_to_toggle' => __('Click to toggle', '
|
60 |
-
'values_label' => __('Value(s)', '
|
61 |
-
'text_attribute_tip' => __('Enter some text, or some attributes by pipe (|) separating values.', '
|
62 |
-
'visible_label' => __('Visible on the product page', '
|
63 |
-
'used_for_variations_label' => __('Used for variations', '
|
64 |
-
'new_attribute_prompt' => __('Enter a name for the new attribute term:', '
|
65 |
-
'calc_totals' => __("Calculate totals based on order items, discount amount, and shipping? Note, you will need to (optionally) calculate tax rows and cart discounts manually.", '
|
66 |
-
'calc_line_taxes' => __("Calculate line taxes? This will calculate taxes based on the customers country. If no billing/shipping is set it will use the store base country.", '
|
67 |
-
'copy_billing' => __("Copy billing information to shipping information? This will remove any currently entered shipping information.", '
|
68 |
-
'load_billing' => __("Load the customer's billing information? This will remove any currently entered billing information.", '
|
69 |
-
'load_shipping' => __("Load the customer's shipping information? This will remove any currently entered shipping information.", '
|
70 |
-
'featured_label' => __('Featured', '
|
71 |
'tax_or_vat' => $woocommerce->countries->tax_or_vat(),
|
72 |
'prices_include_tax' => get_option('woocommerce_prices_include_tax'),
|
73 |
'round_at_subtotal' => get_option( 'woocommerce_tax_round_at_subtotal' ),
|
74 |
-
'meta_name' => __('Meta Name', '
|
75 |
-
'meta_value' => __('Meta Value', '
|
76 |
-
'no_customer_selected' => __('No customer selected', '
|
77 |
-
'tax_label' => __('Tax Label:', '
|
78 |
-
'compound_label' => __('Compound:', '
|
79 |
-
'cart_tax_label' => __('Cart Tax:', '
|
80 |
-
'shipping_tax_label' => __('Shipping Tax:', '
|
81 |
'plugin_url' => $woocommerce->plugin_url(),
|
82 |
'ajax_url' => admin_url('admin-ajax.php'),
|
83 |
'add_order_item_nonce' => wp_create_nonce("add-order-item"),
|
52 |
global $woocommerce;
|
53 |
|
54 |
$woocommerce_witepanel_params = array(
|
55 |
+
'remove_item_notice' => __("Remove this item? If you have previously reduced this item's stock, or this order was submitted by a customer, will need to manually restore the item's stock.", 'wpai_woocommerce_addon_plugin'),
|
56 |
+
'remove_attribute' => __('Remove this attribute?', 'wpai_woocommerce_addon_plugin'),
|
57 |
+
'name_label' => __('Name', 'wpai_woocommerce_addon_plugin'),
|
58 |
+
'remove_label' => __('Remove', 'wpai_woocommerce_addon_plugin'),
|
59 |
+
'click_to_toggle' => __('Click to toggle', 'wpai_woocommerce_addon_plugin'),
|
60 |
+
'values_label' => __('Value(s)', 'wpai_woocommerce_addon_plugin'),
|
61 |
+
'text_attribute_tip' => __('Enter some text, or some attributes by pipe (|) separating values.', 'wpai_woocommerce_addon_plugin'),
|
62 |
+
'visible_label' => __('Visible on the product page', 'wpai_woocommerce_addon_plugin'),
|
63 |
+
'used_for_variations_label' => __('Used for variations', 'wpai_woocommerce_addon_plugin'),
|
64 |
+
'new_attribute_prompt' => __('Enter a name for the new attribute term:', 'wpai_woocommerce_addon_plugin'),
|
65 |
+
'calc_totals' => __("Calculate totals based on order items, discount amount, and shipping? Note, you will need to (optionally) calculate tax rows and cart discounts manually.", 'wpai_woocommerce_addon_plugin'),
|
66 |
+
'calc_line_taxes' => __("Calculate line taxes? This will calculate taxes based on the customers country. If no billing/shipping is set it will use the store base country.", 'wpai_woocommerce_addon_plugin'),
|
67 |
+
'copy_billing' => __("Copy billing information to shipping information? This will remove any currently entered shipping information.", 'wpai_woocommerce_addon_plugin'),
|
68 |
+
'load_billing' => __("Load the customer's billing information? This will remove any currently entered billing information.", 'wpai_woocommerce_addon_plugin'),
|
69 |
+
'load_shipping' => __("Load the customer's shipping information? This will remove any currently entered shipping information.", 'wpai_woocommerce_addon_plugin'),
|
70 |
+
'featured_label' => __('Featured', 'wpai_woocommerce_addon_plugin'),
|
71 |
'tax_or_vat' => $woocommerce->countries->tax_or_vat(),
|
72 |
'prices_include_tax' => get_option('woocommerce_prices_include_tax'),
|
73 |
'round_at_subtotal' => get_option( 'woocommerce_tax_round_at_subtotal' ),
|
74 |
+
'meta_name' => __('Meta Name', 'wpai_woocommerce_addon_plugin'),
|
75 |
+
'meta_value' => __('Meta Value', 'wpai_woocommerce_addon_plugin'),
|
76 |
+
'no_customer_selected' => __('No customer selected', 'wpai_woocommerce_addon_plugin'),
|
77 |
+
'tax_label' => __('Tax Label:', 'wpai_woocommerce_addon_plugin'),
|
78 |
+
'compound_label' => __('Compound:', 'wpai_woocommerce_addon_plugin'),
|
79 |
+
'cart_tax_label' => __('Cart Tax:', 'wpai_woocommerce_addon_plugin'),
|
80 |
+
'shipping_tax_label' => __('Shipping Tax:', 'wpai_woocommerce_addon_plugin'),
|
81 |
'plugin_url' => $woocommerce->plugin_url(),
|
82 |
'ajax_url' => admin_url('admin-ajax.php'),
|
83 |
'add_order_item_nonce' => wp_create_nonce("add-order-item"),
|
filters/pmxi_custom_field_to_delete.php
CHANGED
@@ -5,6 +5,12 @@ function pmwi_pmxi_custom_field_to_delete($field_to_delete, $pid, $post_type, $o
|
|
5 |
|
6 |
if ($cur_meta_key == 'total_sales') return false;
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
// Do not update attributes
|
9 |
if ($options['update_all_data'] == 'no' and ! $options['is_update_attributes'] and (in_array($cur_meta_key, array('_default_attributes', '_product_attributes')) or strpos($cur_meta_key, "attribute_") === 0)) return false;
|
10 |
|
5 |
|
6 |
if ($cur_meta_key == 'total_sales') return false;
|
7 |
|
8 |
+
if ($cur_meta_key == '_is_first_variation_created')
|
9 |
+
{
|
10 |
+
delete_post_meta($pid, $cur_meta_key);
|
11 |
+
return false;
|
12 |
+
}
|
13 |
+
|
14 |
// Do not update attributes
|
15 |
if ($options['update_all_data'] == 'no' and ! $options['is_update_attributes'] and (in_array($cur_meta_key, array('_default_attributes', '_product_attributes')) or strpos($cur_meta_key, "attribute_") === 0)) return false;
|
16 |
|
filters/pmxi_custom_types.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
function pmwi_pmxi_custom_types($custom_types){
|
3 |
-
if ( ! empty($custom_types['product']) ) $custom_types['product']->labels->name = __('WooCommerce Products','
|
4 |
if ( ! empty($custom_types['product_variation'])) unset($custom_types['product_variation']);
|
5 |
return $custom_types;
|
6 |
}
|
1 |
<?php
|
2 |
function pmwi_pmxi_custom_types($custom_types){
|
3 |
+
if ( ! empty($custom_types['product']) ) $custom_types['product']->labels->name = __('WooCommerce Products','wpai_woocommerce_addon_plugin');
|
4 |
if ( ! empty($custom_types['product_variation'])) unset($custom_types['product_variation']);
|
5 |
return $custom_types;
|
6 |
}
|
helpers/pmwi_prepare_price.php
CHANGED
@@ -7,7 +7,7 @@ function pmwi_prepare_price( $price, $disable_prepare_price, $prepare_price_to_w
|
|
7 |
|
8 |
}
|
9 |
|
10 |
-
if ( $convert_decimal_separator )
|
11 |
{
|
12 |
$decimal_sep = get_option( 'woocommerce_price_decimal_sep', '.' );
|
13 |
$thousand_sep = get_option( 'woocommerce_price_thousand_sep', ',' );
|
@@ -27,7 +27,7 @@ function pmwi_prepare_price( $price, $disable_prepare_price, $prepare_price_to_w
|
|
27 |
{
|
28 |
$price = str_replace(",", "", $price);
|
29 |
}
|
30 |
-
|
31 |
{
|
32 |
$comma_position = strrpos($price, ",", strlen($price) - 4);
|
33 |
|
7 |
|
8 |
}
|
9 |
|
10 |
+
if ( $convert_decimal_separator and strlen($price) > 3)
|
11 |
{
|
12 |
$decimal_sep = get_option( 'woocommerce_price_decimal_sep', '.' );
|
13 |
$thousand_sep = get_option( 'woocommerce_price_thousand_sep', ',' );
|
27 |
{
|
28 |
$price = str_replace(",", "", $price);
|
29 |
}
|
30 |
+
elseif(strlen($price) > 4)
|
31 |
{
|
32 |
$comma_position = strrpos($price, ",", strlen($price) - 4);
|
33 |
|
i18n/languages/wpai_woocommerce_addon_plugin-de_DE.mo
ADDED
Binary file
|
i18n/languages/wpai_woocommerce_addon_plugin-de_DE.po
ADDED
@@ -0,0 +1,1418 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: WP All Import - WooCommerce Add-On Pro\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: Sun Nov 08 2015 17:17:28 GMT+0200 (EET)\n"
|
6 |
+
"PO-Revision-Date: Mon Dec 21 2015 19:49:49 GMT+0200 (EET)\n"
|
7 |
+
"Last-Translator: admin <makstsiplyskov@gmail.loc>\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"Language: German\n"
|
10 |
+
"Plural-Forms: nplurals=2; plural=n != 1\n"
|
11 |
+
"MIME-Version: 1.0\n"
|
12 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
+
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"X-Poedit-Basepath: .\n"
|
16 |
+
"X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
|
17 |
+
"__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
|
18 |
+
"_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
|
19 |
+
"esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
|
20 |
+
"esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
|
21 |
+
"X-Loco-Target-Locale: de_DE\n"
|
22 |
+
"X-Generator: Loco - https://localise.biz/\n"
|
23 |
+
"X-Poedit-SearchPath-0: ."
|
24 |
+
|
25 |
+
#: ../../views/admin/import/_tabs/_general.php:25 ../..
|
26 |
+
#: /views/admin/import/_tabs/_general.php:49
|
27 |
+
#, php-format
|
28 |
+
msgid "Regular Price (%s)"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: ../../views/admin/import/_tabs/_general.php:29 ../..
|
32 |
+
#: /views/admin/import/_tabs/_general.php:61
|
33 |
+
#, php-format
|
34 |
+
msgid "Sale Price (%s)"
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:5 ../..
|
38 |
+
#: /views/admin/import/_tabs/_linked_product.php:9
|
39 |
+
msgid "Product SKUs, comma separated"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: ../../views/admin/import/_tabs/_shipping.php:5
|
43 |
+
#, php-format
|
44 |
+
msgid "Weight (%s)"
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#: ../../views/admin/import/_tabs/_shipping.php:9
|
48 |
+
#, php-format
|
49 |
+
msgid "Dimensions (%s)"
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: ../../views/admin/import/_tabs/_shipping.php:10
|
53 |
+
msgid "Length"
|
54 |
+
msgstr ""
|
55 |
+
|
56 |
+
#: ../../views/admin/import/_tabs/_shipping.php:11
|
57 |
+
msgid "Width"
|
58 |
+
msgstr ""
|
59 |
+
|
60 |
+
#: ../../views/admin/import/_tabs/_shipping.php:12
|
61 |
+
msgid "Height"
|
62 |
+
msgstr ""
|
63 |
+
|
64 |
+
msgid "WP All Import - WooCommerce Add-On Pro"
|
65 |
+
msgstr "WP All Import - WooCommerce Add-On Pro"
|
66 |
+
|
67 |
+
msgid "http://www.wpallimport.com"
|
68 |
+
msgstr "http://www.wpallimport.com"
|
69 |
+
|
70 |
+
msgid ""
|
71 |
+
"Import to WooCommerce. Adds a section to WP All Import that looks just like "
|
72 |
+
"WooCommerce. Requires WP All Import."
|
73 |
+
msgstr ""
|
74 |
+
"Importiere zu WooCommerce. Fügt einen Abschnitt zu WP All Import hinzu der "
|
75 |
+
"genau wie WooCommerce aussieht. Benötigt WP All Import"
|
76 |
+
|
77 |
+
msgid "Soflyy"
|
78 |
+
msgstr "Soflyy"
|
79 |
+
|
80 |
+
#: ../../wpai-woocommerce-add-on.php:35
|
81 |
+
msgid ""
|
82 |
+
"Please de-activate and remove the free version of the WooCommere add-on "
|
83 |
+
"before activating the paid version."
|
84 |
+
msgstr ""
|
85 |
+
"Bitte deaktivieren und entfernen Sie die freie Version von WP All Import "
|
86 |
+
"bevor Sie die bezahlte Version aktivieren."
|
87 |
+
|
88 |
+
#: ../../actions/admin_notices.php:10
|
89 |
+
#, php-format
|
90 |
+
msgid "<b>%s Plugin</b>: WooCommerce must be installed."
|
91 |
+
msgstr "<b>%s Plugin:</b> WooCommerce muss installiert sein."
|
92 |
+
|
93 |
+
#: ../../actions/admin_notices.php:24
|
94 |
+
#, php-format
|
95 |
+
msgid ""
|
96 |
+
"<b>%s Plugin</b>: WP All Import must be installed. Free edition of WP All "
|
97 |
+
"Import at <a href=\"http://wordpress.org/plugins/wp-all-import/\" "
|
98 |
+
"target=\"_blank\">http://wordpress.org/plugins/wp-all-import/</a> and the paid "
|
99 |
+
"edition at <a href=\"http://www.wpallimport.com/\">http://www.wpallimport."
|
100 |
+
"com/</a>"
|
101 |
+
msgstr ""
|
102 |
+
"<b>%s Plugin:</b> WP All Import muss installiert sein. Die Kostenlose "
|
103 |
+
"Version von WP All Import finden Sie unter <a href=\"http://wordpress."
|
104 |
+
"org/plugins/wp-all-import/\" target=\"_blank\">http://wordpress.org/plugins/wp-"
|
105 |
+
"all-import/</a> und die bezahlte Version unter <a href=\"http://www."
|
106 |
+
"wpallimport.com/\">http://www.wpallimport.com/</a>"
|
107 |
+
|
108 |
+
#: ../../actions/admin_notices.php:38
|
109 |
+
#, php-format
|
110 |
+
msgid "<b>%s Plugin</b>: Please update your WP All Import to the latest version"
|
111 |
+
msgstr ""
|
112 |
+
"<b>%s Plugin:</b> Bitte aktualisieren Sie Ihren WP All Import auf die "
|
113 |
+
"neueste Version"
|
114 |
+
|
115 |
+
#: ../../actions/admin_notices.php:51
|
116 |
+
#, php-format
|
117 |
+
msgid "<b>%s Plugin</b>: Please update your WooCommerce to the latest version"
|
118 |
+
msgstr ""
|
119 |
+
"<b>%s Plugin:</b> Bitte aktualisieren Sie Ihr WooCommerce auf die neueste "
|
120 |
+
"Version"
|
121 |
+
|
122 |
+
#: ../../actions/pmxi_reimport.php:24 ../../views/admin/import/index.php:16
|
123 |
+
msgid "Product Type"
|
124 |
+
msgstr "Produkttyp"
|
125 |
+
|
126 |
+
#: ../../actions/pmxi_reimport.php:30 ../../views/admin/import/index.php:73
|
127 |
+
msgid "Attributes"
|
128 |
+
msgstr "Merkmale"
|
129 |
+
|
130 |
+
#: ../../actions/pmxi_reimport.php:31
|
131 |
+
msgid ""
|
132 |
+
"If Keep Custom Fields box is checked, it will keep all Custom Fields, and "
|
133 |
+
"add any new Custom Fields specified in Custom Fields section, as long as "
|
134 |
+
"they do not overwrite existing fields. If 'Only keep this Custom Fields' is "
|
135 |
+
"specified, it will only keep the specified fields."
|
136 |
+
msgstr ""
|
137 |
+
"Wenn die Box: 'Behalte individuelle Felder' markiert ist, wird es alle "
|
138 |
+
"individuellen Felder behalten und neue hinzufügen die im Abschnitt "
|
139 |
+
"individuelle Felder bestimmt wurden, solange sie bestehende Felder nicht "
|
140 |
+
"überschreiben. Wenn 'Nur dieses individuelle Feld behalten' markiert ist, "
|
141 |
+
"wird es nur die bestimmten Felder behalten."
|
142 |
+
|
143 |
+
#: ../../actions/pmxi_reimport.php:35
|
144 |
+
msgid "Update all Attributes"
|
145 |
+
msgstr "Aktualisiere alle Merkmale"
|
146 |
+
|
147 |
+
#: ../../actions/pmxi_reimport.php:39
|
148 |
+
msgid "Update only these Attributes, leave the rest alone"
|
149 |
+
msgstr "Aktualisiere nur diese Merkmale, lasse den Rest in Ruhe"
|
150 |
+
|
151 |
+
#: ../../actions/pmxi_reimport.php:48
|
152 |
+
msgid "Leave these attributes alone, update all other Attributes"
|
153 |
+
msgstr "Lasse diese Merkmale in Ruhe, aktualisiere alle anderen Merkmale"
|
154 |
+
|
155 |
+
#: ../../classes/updater.php:238
|
156 |
+
#, php-format
|
157 |
+
msgid ""
|
158 |
+
"There is a new version of %1$s available. <a target=\"_blank\" "
|
159 |
+
"class=\"thickbox\" href=\"%2$s\">View version %3$s details</a>."
|
160 |
+
msgstr ""
|
161 |
+
"Eine neue Version von %1$s ist verfügbar. <a target=\"_blank\" "
|
162 |
+
"class=\"thickbox\" href=\"%2$s\">Details ansehen von %3$s</a>."
|
163 |
+
|
164 |
+
#: ../../classes/updater.php:245
|
165 |
+
#, php-format
|
166 |
+
msgid ""
|
167 |
+
"There is a new version of %1$s available. <a target=\"_blank\" "
|
168 |
+
"class=\"thickbox\" href=\"%2$s\">View version %3$s details</a> or <a "
|
169 |
+
"href=\"%4$s\">update now</a>."
|
170 |
+
msgstr ""
|
171 |
+
"Eine neue Version von %1$s ist verfügbar. <a target=\"_blank\" "
|
172 |
+
"class=\"thickbox\" href=\"%2$s\">Details ansehen von %3$s</a> oder <a "
|
173 |
+
"href=\"%4$s\">jetzt aktualisieren</a>."
|
174 |
+
|
175 |
+
#: ../../classes/updater.php:428
|
176 |
+
msgid "You do not have permission to install plugin updates"
|
177 |
+
msgstr "Sie haben keine Berechtigung um Plug-In Aktualisierungen durchzuführen."
|
178 |
+
|
179 |
+
#: ../../classes/updater.php:428
|
180 |
+
msgid "Error"
|
181 |
+
msgstr "Fehler"
|
182 |
+
|
183 |
+
#: ../../controllers/controller/admin.php:55
|
184 |
+
msgid ""
|
185 |
+
"Remove this item? If you have previously reduced this item's stock, or this "
|
186 |
+
"order was submitted by a customer, will need to manually restore the item's "
|
187 |
+
"stock."
|
188 |
+
msgstr ""
|
189 |
+
"Dieses Produkt entfernen? Wenn Sie vorher den Lagerbestand dieses Produktes "
|
190 |
+
"verringert haben, oder ein Kunde etwas bestellt hat, wird eine manuelle "
|
191 |
+
"Bearbeitung des Lagerbestandes nötig."
|
192 |
+
|
193 |
+
#: ../../controllers/controller/admin.php:56
|
194 |
+
msgid "Remove this attribute?"
|
195 |
+
msgstr "Dieses Merkmal entfernen?"
|
196 |
+
|
197 |
+
#: ../../controllers/controller/admin.php:57 ../..
|
198 |
+
#: /views/admin/import/_tabs/_attributes.php:6 ../..
|
199 |
+
#: /views/admin/import/_tabs/_linked_product.php:88 ../..
|
200 |
+
#: /views/admin/import/_tabs/_variations.php:516
|
201 |
+
msgid "Name"
|
202 |
+
msgstr "Name"
|
203 |
+
|
204 |
+
#: ../../controllers/controller/admin.php:58
|
205 |
+
msgid "Remove"
|
206 |
+
msgstr "Entfernen"
|
207 |
+
|
208 |
+
#: ../../controllers/controller/admin.php:59
|
209 |
+
msgid "Click to toggle"
|
210 |
+
msgstr "Klicken zum Schalten"
|
211 |
+
|
212 |
+
#: ../../controllers/controller/admin.php:60
|
213 |
+
msgid "Value(s)"
|
214 |
+
msgstr "Wert(e)"
|
215 |
+
|
216 |
+
#: ../../controllers/controller/admin.php:61
|
217 |
+
msgid "Enter some text, or some attributes by pipe (|) separating values."
|
218 |
+
msgstr "Text eingeben, oder einige Merkmale getrennt durch eine Pipe (|)."
|
219 |
+
|
220 |
+
#: ../../controllers/controller/admin.php:62
|
221 |
+
msgid "Visible on the product page"
|
222 |
+
msgstr "Sichtbar auf der Produktseite"
|
223 |
+
|
224 |
+
#: ../../controllers/controller/admin.php:63
|
225 |
+
msgid "Used for variations"
|
226 |
+
msgstr "Genutzt für Variationen"
|
227 |
+
|
228 |
+
#: ../../controllers/controller/admin.php:64
|
229 |
+
msgid "Enter a name for the new attribute term:"
|
230 |
+
msgstr "Namen für das neue Merkmal eingeben"
|
231 |
+
|
232 |
+
#: ../../controllers/controller/admin.php:65
|
233 |
+
msgid ""
|
234 |
+
"Calculate totals based on order items, discount amount, and shipping? Note, "
|
235 |
+
"you will need to (optionally) calculate tax rows and cart discounts manually."
|
236 |
+
msgstr ""
|
237 |
+
"Berechne Summen basierend auf bestellten Produkten, Rabatten und "
|
238 |
+
"Lieferkosten? Hinweis, Sie werden (optional) die Spalte der Steuern und "
|
239 |
+
"Einkaufswagen Rabatte manuell berechnen müssen. "
|
240 |
+
|
241 |
+
#: ../../controllers/controller/admin.php:66
|
242 |
+
msgid ""
|
243 |
+
"Calculate line taxes? This will calculate taxes based on the customers "
|
244 |
+
"country. If no billing/shipping is set it will use the store base country."
|
245 |
+
msgstr ""
|
246 |
+
"Berechne Produktbezogene Steuern? Das wird die Steuern basierend auf das "
|
247 |
+
"Kundenland berechnen. Wenn keine Rechnung/Versendung gesetzt ist, wird das "
|
248 |
+
"Basisland des Shops genutzt."
|
249 |
+
|
250 |
+
#: ../../controllers/controller/admin.php:67
|
251 |
+
msgid ""
|
252 |
+
"Copy billing information to shipping information? This will remove any "
|
253 |
+
"currently entered shipping information."
|
254 |
+
msgstr ""
|
255 |
+
"Kopiere Rechnungsinformationen zur Versandinformation? Das wird alle bisher "
|
256 |
+
"eingegebenen Versandinformationen entfernen."
|
257 |
+
|
258 |
+
#: ../../controllers/controller/admin.php:68
|
259 |
+
msgid ""
|
260 |
+
"Load the customer's billing information? This will remove any currently "
|
261 |
+
"entered billing information."
|
262 |
+
msgstr ""
|
263 |
+
"Lade des Kunden Rechnungsinformation? Das wird alle bisher eingegebenen "
|
264 |
+
"Rechnungsinformationen entfernen."
|
265 |
+
|
266 |
+
#: ../../controllers/controller/admin.php:69
|
267 |
+
msgid ""
|
268 |
+
"Load the customer's shipping information? This will remove any currently "
|
269 |
+
"entered shipping information."
|
270 |
+
msgstr ""
|
271 |
+
"Lade des Kunden Versandinformation? Das wird alle bisher eingegebenen "
|
272 |
+
"Versandinformationen entfernen."
|
273 |
+
|
274 |
+
#: ../../controllers/controller/admin.php:70 ../..
|
275 |
+
#: /views/admin/import/_tabs/_advanced.php:44
|
276 |
+
msgid "Featured"
|
277 |
+
msgstr "Featured"
|
278 |
+
|
279 |
+
#: ../../controllers/controller/admin.php:74
|
280 |
+
msgid "Meta Name"
|
281 |
+
msgstr "Meta Name"
|
282 |
+
|
283 |
+
#: ../../controllers/controller/admin.php:75
|
284 |
+
msgid "Meta Value"
|
285 |
+
msgstr "Meta Wert"
|
286 |
+
|
287 |
+
#: ../../controllers/controller/admin.php:76
|
288 |
+
msgid "No customer selected"
|
289 |
+
msgstr "Kein Kunde gewählt"
|
290 |
+
|
291 |
+
#: ../../controllers/controller/admin.php:77
|
292 |
+
msgid "Tax Label:"
|
293 |
+
msgstr "Steuer Kennzeichnung"
|
294 |
+
|
295 |
+
#: ../../controllers/controller/admin.php:78
|
296 |
+
msgid "Compound:"
|
297 |
+
msgstr "Mischung:"
|
298 |
+
|
299 |
+
#: ../../controllers/controller/admin.php:79
|
300 |
+
msgid "Cart Tax:"
|
301 |
+
msgstr "Einkaufswagen Steuern:"
|
302 |
+
|
303 |
+
#: ../../controllers/controller/admin.php:80
|
304 |
+
msgid "Shipping Tax:"
|
305 |
+
msgstr "Versand Steuern:"
|
306 |
+
|
307 |
+
#: ../../filters/pmxi_custom_types.php:3
|
308 |
+
msgid "WooCommerce Products"
|
309 |
+
msgstr "WooCommerce Produkte"
|
310 |
+
|
311 |
+
#: ../../models/import/record.php:63
|
312 |
+
msgid "Composing product data..."
|
313 |
+
msgstr "Zusammengesetzte Produkt Daten..."
|
314 |
+
|
315 |
+
#: ../../models/import/record.php:471
|
316 |
+
msgid "Composing variations attributes..."
|
317 |
+
msgstr "Zusammengesetzte Merkmal Variationen..."
|
318 |
+
|
319 |
+
#: ../../models/import/record.php:812
|
320 |
+
msgid "<b>WARNING</b>: Product SKU must be unique."
|
321 |
+
msgstr "<b>WARNING</b>: Produkt ID muss einzigartig sein."
|
322 |
+
|
323 |
+
#: ../../models/import/record.php:1421 ../../models/import/record.php:2540 ../..
|
324 |
+
#: /models/import/record.php:2587
|
325 |
+
#, php-format
|
326 |
+
msgid "Variation #%s of %s"
|
327 |
+
msgstr "Variation #%s von %s"
|
328 |
+
|
329 |
+
#: ../../models/import/record.php:2149
|
330 |
+
#, php-format
|
331 |
+
msgid "<b>CREATED</b>: %s variations for parent product %s."
|
332 |
+
msgstr "<b>CREATED</b>: %s Variationen für gegenwärtiges Produkt %s."
|
333 |
+
|
334 |
+
#: ../../models/import/record.php:2171
|
335 |
+
msgid "- Importing Variations"
|
336 |
+
msgstr "- Importiere Variationen"
|
337 |
+
|
338 |
+
#: ../../models/import/record.php:2587
|
339 |
+
#, php-format
|
340 |
+
msgid "- `%s`: variation created successfully"
|
341 |
+
msgstr "- `%s`: Variation erfolgreich erstellt"
|
342 |
+
|
343 |
+
#: ../../models/import/record.php:2593
|
344 |
+
#, php-format
|
345 |
+
msgid "- `%s`: variation updated successfully"
|
346 |
+
msgstr "- `%s`: Variation erfolgreich aktualisiert"
|
347 |
+
|
348 |
+
#: ../../models/import/record.php:2750
|
349 |
+
msgid "- <b>WARNING</b>: Product SKU must be unique."
|
350 |
+
msgstr "<b>WARNING</b>: Produkt ID muss einzigartig sein."
|
351 |
+
|
352 |
+
#: ../../models/import/record.php:2987
|
353 |
+
#, php-format
|
354 |
+
msgid "- <b>Image SKIPPED</b>: The image %s is always exists for the %s"
|
355 |
+
msgstr "- <b>Image SKIPPED</b>: Das Bild %s existiert immer für %s"
|
356 |
+
|
357 |
+
#: ../../models/import/record.php:3034 ../../models/import/record.php:3063
|
358 |
+
#, php-format
|
359 |
+
msgid ""
|
360 |
+
"- <b>WARNING</b>: File %s is not a valid image and cannot be set as featured "
|
361 |
+
"one"
|
362 |
+
msgstr ""
|
363 |
+
"- <b>WARNUNG</b>: Datei %s ist kein zulässiges Bild und kann nicht als "
|
364 |
+
"Featured-Bild gesetzt werden"
|
365 |
+
|
366 |
+
#: ../../models/import/record.php:3060
|
367 |
+
#, php-format
|
368 |
+
msgid "- <b>WARNING</b>: File %s cannot be saved locally as %s"
|
369 |
+
msgstr "- <b>WARNUNG</b>: Datei %s kann lokal nicht gespeichert werden als %s"
|
370 |
+
|
371 |
+
#: ../../models/import/record.php:3094
|
372 |
+
msgid "- <b>WARNING</b>"
|
373 |
+
msgstr "- <b>WARNUNG</b>"
|
374 |
+
|
375 |
+
#: ../../models/import/record.php:3607
|
376 |
+
msgid "<b>ERROR</b> Could not insert term relationship into the database"
|
377 |
+
msgstr "<b>ERROR</b> Einfügen von Beziehungen in die Datenbank nicht möglich"
|
378 |
+
|
379 |
+
#: ../../models/import/record.php:3709
|
380 |
+
#, php-format
|
381 |
+
msgid ""
|
382 |
+
"- <b>WARNING</b>: Slug “%s” is not allowed because it is a reserved term. "
|
383 |
+
"Change it, please."
|
384 |
+
msgstr ""
|
385 |
+
"- <b>WARNING</b>: Slug “%s” ist nicht zulässig da es ein reservierter "
|
386 |
+
"Begriff ist. Bitte ändern."
|
387 |
+
|
388 |
+
#: ../../models/import/record.php:3742
|
389 |
+
#, php-format
|
390 |
+
msgid "- <b>CREATED</b>: Taxonomy attribute “%s” have been successfully created."
|
391 |
+
msgstr "- <b>CREATED</b>: Taxonomie Merkmal \"%s\" wurde erfolgreich erstellt."
|
392 |
+
|
393 |
+
#: ../../models/import/record.php:3746
|
394 |
+
#, php-format
|
395 |
+
msgid ""
|
396 |
+
"- <b>WARNING</b>: Taxonomy “%s” name is more than 32 characters. Change it, "
|
397 |
+
"please."
|
398 |
+
msgstr ""
|
399 |
+
"- <b>WARNING</b>: Taxonomie \"%s\" Name ist länger als 32 Zeichen. Bitte "
|
400 |
+
"ändern."
|
401 |
+
|
402 |
+
#: ../../models/import/record.php:4059
|
403 |
+
#, php-format
|
404 |
+
msgid "- <b>WARNING</b>: Unable to create cloaked link for %s"
|
405 |
+
msgstr "<b>WARNING</b>:Verhüllten Link erstellen nicht möglich %s"
|
406 |
+
|
407 |
+
#: ../../views/admin/import/index.php:4
|
408 |
+
msgid "WooCommerce Add-On"
|
409 |
+
msgstr "WooCommerce Add-On"
|
410 |
+
|
411 |
+
#: ../../views/admin/import/index.php:22
|
412 |
+
msgid "Simple product"
|
413 |
+
msgstr "Einfaches Produkt"
|
414 |
+
|
415 |
+
#: ../../views/admin/import/index.php:23
|
416 |
+
msgid "Grouped product"
|
417 |
+
msgstr "Gruppiertes Produkt"
|
418 |
+
|
419 |
+
#: ../../views/admin/import/index.php:24
|
420 |
+
msgid "External/Affiliate product"
|
421 |
+
msgstr "Externes/Affiliate Produkt"
|
422 |
+
|
423 |
+
#: ../../views/admin/import/index.php:25
|
424 |
+
msgid "Variable product"
|
425 |
+
msgstr "Variables Produkt"
|
426 |
+
|
427 |
+
#: ../../views/admin/import/index.php:39
|
428 |
+
msgid "Set Product Type With XPath"
|
429 |
+
msgstr "Setze Produkt Typ mit XPath"
|
430 |
+
|
431 |
+
#: ../../views/admin/import/index.php:44
|
432 |
+
msgid ""
|
433 |
+
"The value of presented XPath should be one of the following: ('simple', "
|
434 |
+
"'grouped', 'external', 'variable')."
|
435 |
+
msgstr ""
|
436 |
+
"Der Wert des gegenwärtigen XPath sollte einer der folgenden sein:('simple', "
|
437 |
+
"'grouped', 'external', 'variable')."
|
438 |
+
|
439 |
+
#: ../../views/admin/import/index.php:50 ../../views/admin/import/_tabs/_general.
|
440 |
+
#: php:138 ../../views/admin/import/_tabs/_variations.php:108 ../..
|
441 |
+
#: /views/admin/import/_tabs/_variations.php:277
|
442 |
+
msgid "Virtual"
|
443 |
+
msgstr "Virtuell"
|
444 |
+
|
445 |
+
#: ../../views/admin/import/index.php:54 ../../views/admin/import/_tabs/_general.
|
446 |
+
#: php:161 ../../views/admin/import/_tabs/_variations.php:112 ../..
|
447 |
+
#: /views/admin/import/_tabs/_variations.php:421
|
448 |
+
msgid "Downloadable"
|
449 |
+
msgstr "Herunterladbar"
|
450 |
+
|
451 |
+
#: ../../views/admin/import/index.php:65
|
452 |
+
msgid "General"
|
453 |
+
msgstr "Allgemein"
|
454 |
+
|
455 |
+
#: ../../views/admin/import/index.php:67
|
456 |
+
msgid "Inventory"
|
457 |
+
msgstr "Inventar"
|
458 |
+
|
459 |
+
#: ../../views/admin/import/index.php:69
|
460 |
+
msgid "Shipping"
|
461 |
+
msgstr "Versand"
|
462 |
+
|
463 |
+
#: ../../views/admin/import/index.php:71
|
464 |
+
msgid "Linked Products"
|
465 |
+
msgstr "Verlinkte Produkte"
|
466 |
+
|
467 |
+
#: ../../views/admin/import/index.php:75 ../..
|
468 |
+
#: /views/admin/import/_tabs/_attributes.php:26 ../..
|
469 |
+
#: /views/admin/import/_tabs/_attributes.php:158 ../..
|
470 |
+
#: /views/admin/import/_tabs/_attributes.php:286
|
471 |
+
msgid "Advanced"
|
472 |
+
msgstr "Erweitert"
|
473 |
+
|
474 |
+
#: ../../views/admin/import/index.php:77
|
475 |
+
msgid "Variations"
|
476 |
+
msgstr "Variationen"
|
477 |
+
|
478 |
+
#: ../../views/admin/import/index.php:79
|
479 |
+
msgid "Add-On Options"
|
480 |
+
msgstr "Add-On Optionen"
|
481 |
+
|
482 |
+
#: ../../views/admin/import/_tabs/_advanced.php:5
|
483 |
+
msgid "Purchase Note"
|
484 |
+
msgstr "Hinweis für die Bezahlung"
|
485 |
+
|
486 |
+
#: ../../views/admin/import/_tabs/_advanced.php:11
|
487 |
+
msgid "Menu order"
|
488 |
+
msgstr "Menü Reihenfolge"
|
489 |
+
|
490 |
+
#: ../../views/admin/import/_tabs/_advanced.php:18
|
491 |
+
msgid "Enable reviews"
|
492 |
+
msgstr "Aktiviere Rezensionen"
|
493 |
+
|
494 |
+
#: ../../views/admin/import/_tabs/_advanced.php:22 ../..
|
495 |
+
#: /views/admin/import/_tabs/_advanced.php:48 ../..
|
496 |
+
#: /views/admin/import/_tabs/_general.php:115 ../..
|
497 |
+
#: /views/admin/import/_tabs/_inventory.php:8 ../..
|
498 |
+
#: /views/admin/import/_tabs/_inventory.php:99 ../..
|
499 |
+
#: /views/admin/import/_tabs/_variations.php:154 ../..
|
500 |
+
#: /views/admin/import/_tabs/_variations.php:486 ../..
|
501 |
+
#: /views/admin/import/_tabs/_variations.php:653 ../..
|
502 |
+
#: /views/admin/import/_tabs/_variations.php:715
|
503 |
+
msgid "Yes"
|
504 |
+
msgstr "Ja"
|
505 |
+
|
506 |
+
#: ../../views/admin/import/_tabs/_advanced.php:26 ../..
|
507 |
+
#: /views/admin/import/_tabs/_advanced.php:52 ../..
|
508 |
+
#: /views/admin/import/_tabs/_general.php:119 ../..
|
509 |
+
#: /views/admin/import/_tabs/_inventory.php:12 ../..
|
510 |
+
#: /views/admin/import/_tabs/_inventory.php:103 ../..
|
511 |
+
#: /views/admin/import/_tabs/_variations.php:158 ../..
|
512 |
+
#: /views/admin/import/_tabs/_variations.php:490 ../..
|
513 |
+
#: /views/admin/import/_tabs/_variations.php:657 ../..
|
514 |
+
#: /views/admin/import/_tabs/_variations.php:719
|
515 |
+
msgid "No"
|
516 |
+
msgstr "Nein"
|
517 |
+
|
518 |
+
#: ../../views/admin/import/_tabs/_advanced.php:30 ../..
|
519 |
+
#: /views/admin/import/_tabs/_advanced.php:56 ../..
|
520 |
+
#: /views/admin/import/_tabs/_advanced.php:90 ../..
|
521 |
+
#: /views/admin/import/_tabs/_attributes.php:64 ../..
|
522 |
+
#: /views/admin/import/_tabs/_attributes.php:86 ../..
|
523 |
+
#: /views/admin/import/_tabs/_attributes.php:108 ../..
|
524 |
+
#: /views/admin/import/_tabs/_attributes.php:130 ../..
|
525 |
+
#: /views/admin/import/_tabs/_attributes.php:193 ../..
|
526 |
+
#: /views/admin/import/_tabs/_attributes.php:215 ../..
|
527 |
+
#: /views/admin/import/_tabs/_attributes.php:237 ../..
|
528 |
+
#: /views/admin/import/_tabs/_attributes.php:259 ../..
|
529 |
+
#: /views/admin/import/_tabs/_attributes.php:321 ../..
|
530 |
+
#: /views/admin/import/_tabs/_attributes.php:343 ../..
|
531 |
+
#: /views/admin/import/_tabs/_attributes.php:365 ../..
|
532 |
+
#: /views/admin/import/_tabs/_attributes.php:387 ../..
|
533 |
+
#: /views/admin/import/_tabs/_general.php:123 ../..
|
534 |
+
#: /views/admin/import/_tabs/_general.php:146 ../..
|
535 |
+
#: /views/admin/import/_tabs/_general.php:169 ../..
|
536 |
+
#: /views/admin/import/_tabs/_inventory.php:16 ../..
|
537 |
+
#: /views/admin/import/_tabs/_inventory.php:52 ../..
|
538 |
+
#: /views/admin/import/_tabs/_inventory.php:82 ../..
|
539 |
+
#: /views/admin/import/_tabs/_inventory.php:107 ../..
|
540 |
+
#: /views/admin/import/_tabs/_variations.php:162 ../..
|
541 |
+
#: /views/admin/import/_tabs/_variations.php:210 ../..
|
542 |
+
#: /views/admin/import/_tabs/_variations.php:285 ../..
|
543 |
+
#: /views/admin/import/_tabs/_variations.php:429 ../..
|
544 |
+
#: /views/admin/import/_tabs/_variations.php:494 ../..
|
545 |
+
#: /views/admin/import/_tabs/_variations.php:661 ../..
|
546 |
+
#: /views/admin/import/_tabs/_variations.php:698 ../..
|
547 |
+
#: /views/admin/import/_tabs/_variations.php:723
|
548 |
+
msgid "Set with XPath"
|
549 |
+
msgstr "Gesetzt mit XPath"
|
550 |
+
|
551 |
+
#: ../../views/admin/import/_tabs/_advanced.php:35 ../..
|
552 |
+
#: /views/admin/import/_tabs/_advanced.php:61 ../..
|
553 |
+
#: /views/admin/import/_tabs/_attributes.php:69 ../..
|
554 |
+
#: /views/admin/import/_tabs/_attributes.php:91 ../..
|
555 |
+
#: /views/admin/import/_tabs/_attributes.php:113 ../..
|
556 |
+
#: /views/admin/import/_tabs/_attributes.php:135 ../..
|
557 |
+
#: /views/admin/import/_tabs/_attributes.php:198 ../..
|
558 |
+
#: /views/admin/import/_tabs/_attributes.php:220 ../..
|
559 |
+
#: /views/admin/import/_tabs/_attributes.php:242 ../..
|
560 |
+
#: /views/admin/import/_tabs/_attributes.php:264 ../..
|
561 |
+
#: /views/admin/import/_tabs/_attributes.php:326 ../..
|
562 |
+
#: /views/admin/import/_tabs/_attributes.php:348 ../..
|
563 |
+
#: /views/admin/import/_tabs/_attributes.php:370 ../..
|
564 |
+
#: /views/admin/import/_tabs/_attributes.php:392 ../..
|
565 |
+
#: /views/admin/import/_tabs/_general.php:128 ../..
|
566 |
+
#: /views/admin/import/_tabs/_general.php:151 ../..
|
567 |
+
#: /views/admin/import/_tabs/_general.php:174 ../..
|
568 |
+
#: /views/admin/import/_tabs/_inventory.php:21 ../..
|
569 |
+
#: /views/admin/import/_tabs/_inventory.php:112 ../..
|
570 |
+
#: /views/admin/import/_tabs/_variations.php:167 ../..
|
571 |
+
#: /views/admin/import/_tabs/_variations.php:290 ../..
|
572 |
+
#: /views/admin/import/_tabs/_variations.php:434 ../..
|
573 |
+
#: /views/admin/import/_tabs/_variations.php:499 ../..
|
574 |
+
#: /views/admin/import/_tabs/_variations.php:666 ../..
|
575 |
+
#: /views/admin/import/_tabs/_variations.php:728
|
576 |
+
msgid "The value of presented XPath should be one of the following: ('yes', 'no')."
|
577 |
+
msgstr ""
|
578 |
+
"Der Wert des gegenwärtigen XPath sollte einer der folgenden sein: ('yes', "
|
579 |
+
"'no')."
|
580 |
+
|
581 |
+
#: ../../views/admin/import/_tabs/_advanced.php:70
|
582 |
+
msgid "Catalog visibility"
|
583 |
+
msgstr "Katalog sichtbarkeit"
|
584 |
+
|
585 |
+
#: ../../views/admin/import/_tabs/_advanced.php:74
|
586 |
+
msgid "Catalog/search"
|
587 |
+
msgstr "Katalog/Suche"
|
588 |
+
|
589 |
+
#: ../../views/admin/import/_tabs/_advanced.php:78
|
590 |
+
msgid "Catalog"
|
591 |
+
msgstr "Katalog"
|
592 |
+
|
593 |
+
#: ../../views/admin/import/_tabs/_advanced.php:82
|
594 |
+
msgid "Search"
|
595 |
+
msgstr "Suche"
|
596 |
+
|
597 |
+
#: ../../views/admin/import/_tabs/_advanced.php:86
|
598 |
+
msgid "Hidden"
|
599 |
+
msgstr "Versteckt"
|
600 |
+
|
601 |
+
#: ../../views/admin/import/_tabs/_advanced.php:95
|
602 |
+
msgid ""
|
603 |
+
"The value of presented XPath should be one of the following: ('visible', "
|
604 |
+
"'catalog', 'search', 'hidden')."
|
605 |
+
msgstr ""
|
606 |
+
"Der Wert des gegenwärtigen XPath sollte einer der folgenden sein: ('visible',"
|
607 |
+
" 'catalog', 'search', 'hidden')."
|
608 |
+
|
609 |
+
#: ../../views/admin/import/_tabs/_attributes.php:8 ../..
|
610 |
+
#: /views/admin/import/_tabs/_variations.php:517
|
611 |
+
msgid "Values"
|
612 |
+
msgstr "Werte"
|
613 |
+
|
614 |
+
#: ../../views/admin/import/_tabs/_attributes.php:9
|
615 |
+
msgid "Separate mutiple values with a |"
|
616 |
+
msgstr "Teile mehrere Werte mit |"
|
617 |
+
|
618 |
+
#: ../../views/admin/import/_tabs/_attributes.php:32 ../..
|
619 |
+
#: /views/admin/import/_tabs/_attributes.php:56 ../..
|
620 |
+
#: /views/admin/import/_tabs/_attributes.php:164 ../..
|
621 |
+
#: /views/admin/import/_tabs/_attributes.php:185 ../..
|
622 |
+
#: /views/admin/import/_tabs/_attributes.php:292 ../..
|
623 |
+
#: /views/admin/import/_tabs/_attributes.php:313 ../..
|
624 |
+
#: /views/admin/import/_tabs/_variations.php:535 ../..
|
625 |
+
#: /views/admin/import/_tabs/_variations.php:569 ../..
|
626 |
+
#: /views/admin/import/_tabs/_variations.php:599
|
627 |
+
msgid "In Variations"
|
628 |
+
msgstr "In Variationen"
|
629 |
+
|
630 |
+
#: ../../views/admin/import/_tabs/_attributes.php:37 ../..
|
631 |
+
#: /views/admin/import/_tabs/_attributes.php:78 ../..
|
632 |
+
#: /views/admin/import/_tabs/_attributes.php:168 ../..
|
633 |
+
#: /views/admin/import/_tabs/_attributes.php:207 ../..
|
634 |
+
#: /views/admin/import/_tabs/_attributes.php:296 ../..
|
635 |
+
#: /views/admin/import/_tabs/_attributes.php:335 ../..
|
636 |
+
#: /views/admin/import/_tabs/_variations.php:540 ../..
|
637 |
+
#: /views/admin/import/_tabs/_variations.php:573 ../..
|
638 |
+
#: /views/admin/import/_tabs/_variations.php:603
|
639 |
+
msgid "Is Visible"
|
640 |
+
msgstr "Ist Sichtbar"
|
641 |
+
|
642 |
+
#: ../../views/admin/import/_tabs/_attributes.php:42 ../..
|
643 |
+
#: /views/admin/import/_tabs/_attributes.php:100 ../..
|
644 |
+
#: /views/admin/import/_tabs/_attributes.php:172 ../..
|
645 |
+
#: /views/admin/import/_tabs/_attributes.php:229 ../..
|
646 |
+
#: /views/admin/import/_tabs/_attributes.php:300 ../..
|
647 |
+
#: /views/admin/import/_tabs/_attributes.php:357
|
648 |
+
msgid "Is Taxonomy"
|
649 |
+
msgstr "Ist Taxonomie"
|
650 |
+
|
651 |
+
#: ../../views/admin/import/_tabs/_attributes.php:47 ../..
|
652 |
+
#: /views/admin/import/_tabs/_attributes.php:122 ../..
|
653 |
+
#: /views/admin/import/_tabs/_attributes.php:176 ../..
|
654 |
+
#: /views/admin/import/_tabs/_attributes.php:251 ../..
|
655 |
+
#: /views/admin/import/_tabs/_attributes.php:304 ../..
|
656 |
+
#: /views/admin/import/_tabs/_attributes.php:379 ../..
|
657 |
+
#: /views/admin/import/_tabs/_variations.php:550 ../..
|
658 |
+
#: /views/admin/import/_tabs/_variations.php:581 ../..
|
659 |
+
#: /views/admin/import/_tabs/_variations.php:611
|
660 |
+
msgid "Auto-Create Terms"
|
661 |
+
msgstr "Werte automatisch erstellen"
|
662 |
+
|
663 |
+
#: ../../views/admin/import/_tabs/_attributes.php:60 ../..
|
664 |
+
#: /views/admin/import/_tabs/_attributes.php:189 ../..
|
665 |
+
#: /views/admin/import/_tabs/_attributes.php:317
|
666 |
+
msgid "Not In Variations"
|
667 |
+
msgstr "Nicht in Variationen"
|
668 |
+
|
669 |
+
#: ../../views/admin/import/_tabs/_attributes.php:82 ../..
|
670 |
+
#: /views/admin/import/_tabs/_attributes.php:211 ../..
|
671 |
+
#: /views/admin/import/_tabs/_attributes.php:339
|
672 |
+
msgid "Not Visible"
|
673 |
+
msgstr "Nicht Sichtbar"
|
674 |
+
|
675 |
+
#: ../../views/admin/import/_tabs/_attributes.php:104 ../..
|
676 |
+
#: /views/admin/import/_tabs/_attributes.php:233 ../..
|
677 |
+
#: /views/admin/import/_tabs/_attributes.php:361
|
678 |
+
msgid "Not Taxonomy"
|
679 |
+
msgstr "Keine Taxonomie"
|
680 |
+
|
681 |
+
#: ../../views/admin/import/_tabs/_attributes.php:126 ../..
|
682 |
+
#: /views/admin/import/_tabs/_attributes.php:255 ../..
|
683 |
+
#: /views/admin/import/_tabs/_attributes.php:383
|
684 |
+
msgid "Do Not Create Terms"
|
685 |
+
msgstr "Werte nicht erstellen"
|
686 |
+
|
687 |
+
#: ../../views/admin/import/_tabs/_attributes.php:405 ../..
|
688 |
+
#: /views/admin/import/_tabs/_variations.php:618
|
689 |
+
msgid "add"
|
690 |
+
msgstr "Hinzufügen"
|
691 |
+
|
692 |
+
#: ../../views/admin/import/_tabs/_attributes.php:405 ../..
|
693 |
+
#: /views/admin/import/_tabs/_variations.php:618
|
694 |
+
msgid "Add more"
|
695 |
+
msgstr "Mehr Hinzufügen"
|
696 |
+
|
697 |
+
#: ../../views/admin/import/_tabs/_attributes.php:414
|
698 |
+
msgid "Link all variations"
|
699 |
+
msgstr "Verbinde alle Variationen"
|
700 |
+
|
701 |
+
#: ../../views/admin/import/_tabs/_attributes.php:415
|
702 |
+
msgid ""
|
703 |
+
"This option will create all possible variations for the presented attributes."
|
704 |
+
" Works just like the Link All Variations option inside WooCommerce."
|
705 |
+
msgstr ""
|
706 |
+
"Diese Option wird alle möglichen Variationen für die gegenwärtigen Merkmale "
|
707 |
+
"erstellen. Funktioniert genau so wie die \"Verbinde alle Variationen\" Option "
|
708 |
+
"in WooCommerce."
|
709 |
+
|
710 |
+
#: ../../views/admin/import/_tabs/_general.php:4 ../..
|
711 |
+
#: /views/admin/import/_tabs/_variations.php:119
|
712 |
+
msgid "SKU"
|
713 |
+
msgstr "ID"
|
714 |
+
|
715 |
+
#: ../../views/admin/import/_tabs/_general.php:10
|
716 |
+
msgid "Product URL"
|
717 |
+
msgstr "Produkt URL"
|
718 |
+
|
719 |
+
#: ../../views/admin/import/_tabs/_general.php:12
|
720 |
+
msgid "The external/affiliate link URL to the product."
|
721 |
+
msgstr "Der Externe/Affiliate Link zum Produkt"
|
722 |
+
|
723 |
+
#: ../../views/admin/import/_tabs/_general.php:15
|
724 |
+
msgid "Button text"
|
725 |
+
msgstr "Button Text"
|
726 |
+
|
727 |
+
#: ../../views/admin/import/_tabs/_general.php:17
|
728 |
+
msgid "This text will be shown on the button linking to the external product."
|
729 |
+
msgstr ""
|
730 |
+
"Dieser Text wird auf dem Button gezeigt, der auf das externe Produkt "
|
731 |
+
"verlinkt."
|
732 |
+
|
733 |
+
#: ../../views/admin/import/_tabs/_general.php:22
|
734 |
+
msgid ""
|
735 |
+
"Prices should be presented as you would enter them manually in WooCommerce - "
|
736 |
+
"with no currency symbol."
|
737 |
+
msgstr ""
|
738 |
+
"Preise sollten so vorgelegt werden als würden Sie sie manuell in WooCommerce "
|
739 |
+
"eingeben- ohne Währungs Symbol."
|
740 |
+
|
741 |
+
#: ../../views/admin/import/_tabs/_general.php:26
|
742 |
+
msgid "required"
|
743 |
+
msgstr "Benötigt"
|
744 |
+
|
745 |
+
#: ../../views/admin/import/_tabs/_general.php:30 ../..
|
746 |
+
#: /views/admin/import/_tabs/_variations.php:233
|
747 |
+
msgid "schedule"
|
748 |
+
msgstr "Planung"
|
749 |
+
|
750 |
+
#: ../../views/admin/import/_tabs/_general.php:35
|
751 |
+
msgid "Sale Price Dates"
|
752 |
+
msgstr "Angebotspreis Datum"
|
753 |
+
|
754 |
+
#: ../../views/admin/import/_tabs/_general.php:37 ../..
|
755 |
+
#: /views/admin/import/_tabs/_variations.php:266
|
756 |
+
msgid "and"
|
757 |
+
msgstr "und"
|
758 |
+
|
759 |
+
#: ../../views/admin/import/_tabs/_general.php:39 ../..
|
760 |
+
#: /views/admin/import/_tabs/_variations.php:268
|
761 |
+
msgid "cancel"
|
762 |
+
msgstr "Abbrechen"
|
763 |
+
|
764 |
+
#: ../../views/admin/import/_tabs/_general.php:45
|
765 |
+
msgid "Adjust Prices (mark up, mark down, convert currency)"
|
766 |
+
msgstr "Preise anpassen ( erhöhen, verringern, Währung wechseln)"
|
767 |
+
|
768 |
+
#: ../../views/admin/import/_tabs/_general.php:55 ../..
|
769 |
+
#: /views/admin/import/_tabs/_general.php:67
|
770 |
+
msgid ""
|
771 |
+
"Leave blank or enter in 100% to keep the price as is. Enter in 110% to "
|
772 |
+
"markup by 10%. Enter in 50% to cut prices in half."
|
773 |
+
msgstr ""
|
774 |
+
"Leer lassen oder 100% eingeben um den Preis zu lassen. Geben Sie 110% ein "
|
775 |
+
"für 10% Preissteigerung. Geben Sie 50% ein für eine Preishalbierung."
|
776 |
+
|
777 |
+
#: ../../views/admin/import/_tabs/_general.php:56 ../..
|
778 |
+
#: /views/admin/import/_tabs/_general.php:68
|
779 |
+
msgid "Enter a negative number to reduce prices."
|
780 |
+
msgstr "Geben Sie eine negative Zahl ein zur Preisreduktion."
|
781 |
+
|
782 |
+
#: ../../views/admin/import/_tabs/_general.php:78
|
783 |
+
msgid "Remove currency symbols from price"
|
784 |
+
msgstr "Entfernen Sie die Währungssymbole vom Preis"
|
785 |
+
|
786 |
+
#: ../../views/admin/import/_tabs/_general.php:79
|
787 |
+
msgid "WP All Import attempt to remove currency symbols from prices."
|
788 |
+
msgstr "WP All Import versucht die Währungssymbole vom Preis zu entfernen."
|
789 |
+
|
790 |
+
#: ../../views/admin/import/_tabs/_general.php:85
|
791 |
+
msgid "Convert decimal separator to a period"
|
792 |
+
msgstr "Konvertiere Dezimaltrennzeichen zu einem Punkt"
|
793 |
+
|
794 |
+
#: ../../views/admin/import/_tabs/_general.php:86
|
795 |
+
msgid ""
|
796 |
+
"Prices must be imported using a period as the decimal separator. If you'd "
|
797 |
+
"like to change the decimal separator you can do so by editing your "
|
798 |
+
"WooCommerce settings."
|
799 |
+
msgstr ""
|
800 |
+
"Preise müssen mit einem Punkt als Dezimaltrennzeichen importiert werden. "
|
801 |
+
"Wenn Sie Ihr Dezimaltrennzeichen ändern möchten, können Sie das in den "
|
802 |
+
"WooCommerce Einstellungen machen."
|
803 |
+
|
804 |
+
#: ../../views/admin/import/_tabs/_general.php:92
|
805 |
+
msgid "Attempt to convert incorrectly formatted prices to WooCommerce format"
|
806 |
+
msgstr ""
|
807 |
+
"Versuche nicht korrekt formatierte Preise in das WooCommerce Format zu "
|
808 |
+
"Konvertieren."
|
809 |
+
|
810 |
+
#: ../../views/admin/import/_tabs/_general.php:93
|
811 |
+
msgid ""
|
812 |
+
"WP All Import will attempt to correct the formatting of prices presented "
|
813 |
+
"incorrectly, but this doesn't always work. Try unchecking this option if "
|
814 |
+
"your prices are not appearing correctly, or enter your prices in your import "
|
815 |
+
"file using the same format you would when entering them in WooCommerce."
|
816 |
+
msgstr ""
|
817 |
+
"WP All Import wird versuchen alle unkorrekt formatierten Preise zu "
|
818 |
+
"konvertieren, aber das funktioniert nicht immer. Heben Sie diese Auswahl auf,"
|
819 |
+
" wenn Ihre Preise nicht korrekt erscheinen, oder ändern Sie die Preise in "
|
820 |
+
"dem Importfile indem Sie das selbe Format benutzen das Sie auch in "
|
821 |
+
"WooCommerce eingeben."
|
822 |
+
|
823 |
+
#: ../../views/admin/import/_tabs/_general.php:97
|
824 |
+
msgid "Preview Prices"
|
825 |
+
msgstr "Vorschau Preise"
|
826 |
+
|
827 |
+
#: ../../views/admin/import/_tabs/_general.php:104 ../..
|
828 |
+
#: /views/admin/import/_tabs/_variations.php:138
|
829 |
+
msgid "Variation Description"
|
830 |
+
msgstr "Verändere Beschreibung"
|
831 |
+
|
832 |
+
#: ../../views/admin/import/_tabs/_general.php:111 ../..
|
833 |
+
#: /views/admin/import/_tabs/_variations.php:480 ../..
|
834 |
+
#: /views/admin/import/_tabs/_variations.php:711
|
835 |
+
msgid "Variation Enabled"
|
836 |
+
msgstr "Variationen aktiviert"
|
837 |
+
|
838 |
+
#: ../../views/admin/import/_tabs/_general.php:111 ../..
|
839 |
+
#: /views/admin/import/_tabs/_variations.php:711
|
840 |
+
msgid ""
|
841 |
+
"This option is the same as the Enabled checkbox when editing an individual "
|
842 |
+
"variation in WooCommerce."
|
843 |
+
msgstr ""
|
844 |
+
"Die Option ist die gleiche wie die aktivierte Checkbox, wenn eine "
|
845 |
+
"individuelle Variation in WooCommerce editiert wird."
|
846 |
+
|
847 |
+
#: ../../views/admin/import/_tabs/_general.php:142 ../..
|
848 |
+
#: /views/admin/import/_tabs/_variations.php:281
|
849 |
+
msgid "Not Virtual"
|
850 |
+
msgstr "Nicht Virtuell"
|
851 |
+
|
852 |
+
#: ../../views/admin/import/_tabs/_general.php:165 ../..
|
853 |
+
#: /views/admin/import/_tabs/_variations.php:425
|
854 |
+
msgid "Not Downloadable"
|
855 |
+
msgstr "Nicht Herunterladbar"
|
856 |
+
|
857 |
+
#: ../../views/admin/import/_tabs/_general.php:182 ../..
|
858 |
+
#: /views/admin/import/_tabs/_variations.php:447
|
859 |
+
msgid "File paths"
|
860 |
+
msgstr "Datei Pfad"
|
861 |
+
|
862 |
+
#: ../../views/admin/import/_tabs/_general.php:185
|
863 |
+
msgid ""
|
864 |
+
"File paths/URLs, comma separated. The delimiter is used when an XML element "
|
865 |
+
"contains multiple URLs/paths - i.e. <code>http://files.com/1.doc, http:"
|
866 |
+
"//files.com/2.doc</code>."
|
867 |
+
msgstr ""
|
868 |
+
"Datei Pfad/URLs, durch Komma getrennt. Das Trennzeichen wird genutzt wenn "
|
869 |
+
"ein XML Element mehrere URLs/Pfade hat. Bsp.:<code>http://files.com/1.doc, "
|
870 |
+
"http://files.com/2.doc</code>."
|
871 |
+
|
872 |
+
#: ../../views/admin/import/_tabs/_general.php:188 ../..
|
873 |
+
#: /views/admin/import/_tabs/_variations.php:453
|
874 |
+
msgid "File names"
|
875 |
+
msgstr "Datei Namen"
|
876 |
+
|
877 |
+
#: ../../views/admin/import/_tabs/_general.php:191 ../..
|
878 |
+
#: /views/admin/import/_tabs/_variations.php:456
|
879 |
+
msgid ""
|
880 |
+
"File names, comma separated. The delimiter is used when an XML element "
|
881 |
+
"contains multiple names - i.e. <code>1.doc, 2.doc</code>."
|
882 |
+
msgstr ""
|
883 |
+
"Datei Namen, durch Komma getrennt. Das Trennzeichen wird genutzt wenn ein "
|
884 |
+
"XML Element mehrere Dateinamen hat. Bsp.: <code>1.doc, 2.doc</code>."
|
885 |
+
|
886 |
+
#: ../../views/admin/import/_tabs/_general.php:194 ../..
|
887 |
+
#: /views/admin/import/_tabs/_variations.php:459
|
888 |
+
msgid "Download Limit"
|
889 |
+
msgstr "Herunterlade Beschränkung"
|
890 |
+
|
891 |
+
#: ../../views/admin/import/_tabs/_general.php:196
|
892 |
+
msgid "Leave blank for unlimited re-downloads."
|
893 |
+
msgstr "Leer lassen für unbeschränkte erneute Downloads."
|
894 |
+
|
895 |
+
#: ../../views/admin/import/_tabs/_general.php:199 ../..
|
896 |
+
#: /views/admin/import/_tabs/_variations.php:468
|
897 |
+
msgid "Download Expiry"
|
898 |
+
msgstr "Download Verfalldatum"
|
899 |
+
|
900 |
+
#: ../../views/admin/import/_tabs/_general.php:201
|
901 |
+
msgid "Enter the number of days before a download link expires, or leave blank."
|
902 |
+
msgstr ""
|
903 |
+
"Geben Sie die Zahl der Tage ein, bevor ein Download Link verfällt, oder leer "
|
904 |
+
"lassen."
|
905 |
+
|
906 |
+
#: ../../views/admin/import/_tabs/_general.php:204
|
907 |
+
msgid "Download Type"
|
908 |
+
msgstr "Download Typ"
|
909 |
+
|
910 |
+
#: ../../views/admin/import/_tabs/_general.php:206
|
911 |
+
msgid ""
|
912 |
+
"The value of presented XPath should be one of the following: ('application', "
|
913 |
+
"'music')."
|
914 |
+
msgstr ""
|
915 |
+
"Der Wert des gegenwärtigen XPath sollte einer der folgenden sein: "
|
916 |
+
"('application', 'music')."
|
917 |
+
|
918 |
+
#: ../../views/admin/import/_tabs/_general.php:214
|
919 |
+
msgid "Tax Status"
|
920 |
+
msgstr "Steuer Status"
|
921 |
+
|
922 |
+
#: ../../views/admin/import/_tabs/_general.php:219
|
923 |
+
msgid "Taxable"
|
924 |
+
msgstr "Besteuerbar"
|
925 |
+
|
926 |
+
#: ../../views/admin/import/_tabs/_general.php:220
|
927 |
+
msgid "Shipping only"
|
928 |
+
msgstr "Nur Versand"
|
929 |
+
|
930 |
+
#: ../../views/admin/import/_tabs/_general.php:221
|
931 |
+
msgid "None"
|
932 |
+
msgstr "Keine"
|
933 |
+
|
934 |
+
#: ../../views/admin/import/_tabs/_general.php:229
|
935 |
+
msgid "Set tax status with XPath"
|
936 |
+
msgstr "Setzte Steuer Status mit XPath"
|
937 |
+
|
938 |
+
#: ../../views/admin/import/_tabs/_general.php:234
|
939 |
+
msgid ""
|
940 |
+
"Value should be the slug for the tax status - 'taxable', 'shipping', and "
|
941 |
+
"'none' are the default slugs."
|
942 |
+
msgstr ""
|
943 |
+
"Wert sollte der Slug für den Steuer Status sein - 'Besteuerbar', 'Versenden',"
|
944 |
+
" und 'keine' sind Standard Slugs."
|
945 |
+
|
946 |
+
#: ../../views/admin/import/_tabs/_general.php:244 ../..
|
947 |
+
#: /views/admin/import/_tabs/_variations.php:376
|
948 |
+
msgid "Tax Class"
|
949 |
+
msgstr "Steuer Klasse"
|
950 |
+
|
951 |
+
#: ../../views/admin/import/_tabs/_general.php:252 ../..
|
952 |
+
#: /views/admin/import/_tabs/_variations.php:383
|
953 |
+
msgid "Standard"
|
954 |
+
msgstr "Standard"
|
955 |
+
|
956 |
+
#: ../../views/admin/import/_tabs/_general.php:268
|
957 |
+
msgid "Set tax class with XPath"
|
958 |
+
msgstr "Setzte Steuer Klasse mit XPath"
|
959 |
+
|
960 |
+
#: ../../views/admin/import/_tabs/_general.php:274
|
961 |
+
msgid ""
|
962 |
+
"Value should be the slug for the tax class - 'reduced-rate' and 'zero-rate', "
|
963 |
+
"are the default slugs."
|
964 |
+
msgstr ""
|
965 |
+
"Wert sollte der Slug für die Steuerklasse - 'verringerter Satz' und ' Null "
|
966 |
+
"Satz', sind die Standard Slugs."
|
967 |
+
|
968 |
+
#: ../../views/admin/import/_tabs/_inventory.php:4 ../..
|
969 |
+
#: /views/admin/import/_tabs/_variations.php:150 ../..
|
970 |
+
#: /views/admin/import/_tabs/_variations.php:649
|
971 |
+
msgid "Manage stock?"
|
972 |
+
msgstr "Lagerbestand verwalten?"
|
973 |
+
|
974 |
+
#: ../../views/admin/import/_tabs/_inventory.php:29 ../..
|
975 |
+
#: /views/admin/import/_tabs/_variations.php:180 ../..
|
976 |
+
#: /views/admin/import/_tabs/_variations.php:674
|
977 |
+
msgid "Stock Qty"
|
978 |
+
msgstr "Lagerbestand Menge"
|
979 |
+
|
980 |
+
#: ../../views/admin/import/_tabs/_inventory.php:35 ../..
|
981 |
+
#: /views/admin/import/_tabs/_variations.php:193 ../..
|
982 |
+
#: /views/admin/import/_tabs/_variations.php:681
|
983 |
+
msgid "Stock status"
|
984 |
+
msgstr "Lagerbestand Status"
|
985 |
+
|
986 |
+
#: ../../views/admin/import/_tabs/_inventory.php:39 ../..
|
987 |
+
#: /views/admin/import/_tabs/_variations.php:197 ../..
|
988 |
+
#: /views/admin/import/_tabs/_variations.php:685
|
989 |
+
msgid "In stock"
|
990 |
+
msgstr "Auf Lager"
|
991 |
+
|
992 |
+
#: ../../views/admin/import/_tabs/_inventory.php:43 ../..
|
993 |
+
#: /views/admin/import/_tabs/_variations.php:201 ../..
|
994 |
+
#: /views/admin/import/_tabs/_variations.php:689
|
995 |
+
msgid "Out of stock"
|
996 |
+
msgstr "Nicht auf Lager"
|
997 |
+
|
998 |
+
#: ../../views/admin/import/_tabs/_inventory.php:47 ../..
|
999 |
+
#: /views/admin/import/_tabs/_variations.php:205 ../..
|
1000 |
+
#: /views/admin/import/_tabs/_variations.php:693
|
1001 |
+
msgid "Set automatically"
|
1002 |
+
msgstr "Setze automatisch"
|
1003 |
+
|
1004 |
+
#: ../../views/admin/import/_tabs/_inventory.php:48 ../..
|
1005 |
+
#: /views/admin/import/_tabs/_variations.php:694
|
1006 |
+
msgid ""
|
1007 |
+
"Set the stock status to In Stock for positive Stock Qty values, and Out Of "
|
1008 |
+
"Stock if Stock Qty is 0 or blank."
|
1009 |
+
msgstr ""
|
1010 |
+
"Setze den Lagerbestand Status auf 'Auf Lager' bei positiver Lagerbestand "
|
1011 |
+
"Menge, und 'Nicht auf Lager' wenn Lagerbestand ist 0 oder Leer."
|
1012 |
+
|
1013 |
+
#: ../../views/admin/import/_tabs/_inventory.php:57 ../..
|
1014 |
+
#: /views/admin/import/_tabs/_variations.php:215 ../..
|
1015 |
+
#: /views/admin/import/_tabs/_variations.php:703
|
1016 |
+
msgid ""
|
1017 |
+
"The value of presented XPath should be one of the following: ('instock', "
|
1018 |
+
"'outofstock')."
|
1019 |
+
msgstr ""
|
1020 |
+
"Der Wert des gegenwärtigen XPath sollte einer der folgenden sein: ('instock',"
|
1021 |
+
" 'outofstock')."
|
1022 |
+
|
1023 |
+
#: ../../views/admin/import/_tabs/_inventory.php:66
|
1024 |
+
msgid "Allow Backorders?"
|
1025 |
+
msgstr "Lieferrückstand erlauben?"
|
1026 |
+
|
1027 |
+
#: ../../views/admin/import/_tabs/_inventory.php:70
|
1028 |
+
msgid "Do not allow"
|
1029 |
+
msgstr "Nicht erlauben"
|
1030 |
+
|
1031 |
+
#: ../../views/admin/import/_tabs/_inventory.php:74
|
1032 |
+
msgid "Allow, but notify customer"
|
1033 |
+
msgstr "Erlauben, aber Kunden informieren"
|
1034 |
+
|
1035 |
+
#: ../../views/admin/import/_tabs/_inventory.php:78
|
1036 |
+
msgid "Allow"
|
1037 |
+
msgstr "Erlauben"
|
1038 |
+
|
1039 |
+
#: ../../views/admin/import/_tabs/_inventory.php:87
|
1040 |
+
msgid ""
|
1041 |
+
"The value of presented XPath should be one of the following: ('no', 'notify',"
|
1042 |
+
" 'yes')."
|
1043 |
+
msgstr ""
|
1044 |
+
"Der Wert des gegenwärtigen XPath sollte einer der folgenden sein: ('no', "
|
1045 |
+
"'notify', 'yes')."
|
1046 |
+
|
1047 |
+
#: ../../views/admin/import/_tabs/_inventory.php:95
|
1048 |
+
msgid "Sold Individually?"
|
1049 |
+
msgstr "Einzeln Verkaufen?"
|
1050 |
+
|
1051 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:4
|
1052 |
+
msgid "Up-Sells"
|
1053 |
+
msgstr "Up-Sells"
|
1054 |
+
|
1055 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:8
|
1056 |
+
msgid "Cross-Sells"
|
1057 |
+
msgstr "Cross-Sells"
|
1058 |
+
|
1059 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:15
|
1060 |
+
msgid "Choose a grouped product…"
|
1061 |
+
msgstr "Wähle ein gruppiertes Produkt…"
|
1062 |
+
|
1063 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:45
|
1064 |
+
msgid "Grouping"
|
1065 |
+
msgstr "Gruppieren "
|
1066 |
+
|
1067 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:58
|
1068 |
+
msgid "Set this option to make this product part of a grouped product."
|
1069 |
+
msgstr ""
|
1070 |
+
"Setze diese Option um dieses Produkt Teil eines gruppierten Produktes zu "
|
1071 |
+
"machen."
|
1072 |
+
|
1073 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:65
|
1074 |
+
msgid "Manual Grouped Product Matching"
|
1075 |
+
msgstr "Manuell gruppierte Produkte zusammenführen"
|
1076 |
+
|
1077 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:66
|
1078 |
+
msgid ""
|
1079 |
+
"Product will be assigned as the child of an already created product matching "
|
1080 |
+
"the specified criteria."
|
1081 |
+
msgstr ""
|
1082 |
+
"Produkt wird als Kind eines bereits erstellten Produktes eingefügt, anhand "
|
1083 |
+
"der eingestellten Kriterien."
|
1084 |
+
|
1085 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:73
|
1086 |
+
msgid "Match by Post Title"
|
1087 |
+
msgstr "Zuordnung durch Post Titel"
|
1088 |
+
|
1089 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:84
|
1090 |
+
msgid "Match by Custom Field"
|
1091 |
+
msgstr "Zuordnung durch Individuelles Feld"
|
1092 |
+
|
1093 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:93
|
1094 |
+
msgid "Value"
|
1095 |
+
msgstr "Wert"
|
1096 |
+
|
1097 |
+
#: ../../views/admin/import/_tabs/_options.php:4
|
1098 |
+
msgid "Import options"
|
1099 |
+
msgstr "Import Optionen"
|
1100 |
+
|
1101 |
+
#: ../../views/admin/import/_tabs/_options.php:10
|
1102 |
+
msgid "Set out of stock status for missing records"
|
1103 |
+
msgstr "Setze nicht auf Lager Status bei fehlenden Datensätzen"
|
1104 |
+
|
1105 |
+
#: ../../views/admin/import/_tabs/_options.php:11
|
1106 |
+
msgid ""
|
1107 |
+
"Option to set the stock status to out of stock instead of deleting the "
|
1108 |
+
"product entirely. This option doesn't work when 'Delete missing records' "
|
1109 |
+
"option is enabled."
|
1110 |
+
msgstr ""
|
1111 |
+
"Option um den Lagerbestand Status auf nicht auf Lager zu setzen, anstatt das "
|
1112 |
+
"Produkt ganz zu löschen. Diese Option funktioniert nicht, wenn 'Lösche "
|
1113 |
+
"fehlende Datensätze' ausgewählt wurde."
|
1114 |
+
|
1115 |
+
#: ../../views/admin/import/_tabs/_options.php:17
|
1116 |
+
msgid "Disable auto SKU generation"
|
1117 |
+
msgstr "Deaktiviere automatische ID Generierung"
|
1118 |
+
|
1119 |
+
#: ../../views/admin/import/_tabs/_options.php:18
|
1120 |
+
msgid ""
|
1121 |
+
"Plugin will NOT automaticaly generate the SKU for each product based on md5 "
|
1122 |
+
"algorithm, if SKU option is empty."
|
1123 |
+
msgstr ""
|
1124 |
+
"Plug-In wird KEINE ID automatisch generieren für jedes Produkt das auf dem "
|
1125 |
+
"md5 Algorithmus basiert, wenn die ID Option leer ist."
|
1126 |
+
|
1127 |
+
#: ../../views/admin/import/_tabs/_options.php:23
|
1128 |
+
msgid "Don't check for duplicate SKUs"
|
1129 |
+
msgstr "Kontrolliere nicht für doppelte IDs"
|
1130 |
+
|
1131 |
+
#: ../../views/admin/import/_tabs/_options.php:24
|
1132 |
+
msgid ""
|
1133 |
+
"Each product should have a unique SKU. If this box is checked, WP All Import "
|
1134 |
+
"won't check for duplicate SKUs, which speeds up the import process. Make "
|
1135 |
+
"sure the SKU for each of your products is unique. If this box is unchecked, "
|
1136 |
+
"WP All Import will import products with duplicate SKUs with a blank SKU."
|
1137 |
+
msgstr ""
|
1138 |
+
"Jedes Produkt sollte eine einzigartige ID haben. Wenn dieses Feld gesetzt "
|
1139 |
+
"ist, wird WP All Import nicht nach doppelten IDs suchen, was den Import "
|
1140 |
+
"Prozess beschleunigt. Stellen Sie sicher dass jede ID Ihrer Produkte "
|
1141 |
+
"einzigartig ist. Wenn dieses Feld nicht gesetzt ist, wird WP All Import die "
|
1142 |
+
"Produkte mit doppelter ID mit einer leeren ID importieren."
|
1143 |
+
|
1144 |
+
#: ../../views/admin/import/_tabs/_shipping.php:20 ../..
|
1145 |
+
#: /views/admin/import/_tabs/_variations.php:330
|
1146 |
+
msgid "Shipping Class"
|
1147 |
+
msgstr "Versand Klasse"
|
1148 |
+
|
1149 |
+
#: ../../views/admin/import/_tabs/_shipping.php:29 ../..
|
1150 |
+
#: /views/admin/import/_tabs/_variations.php:341
|
1151 |
+
msgid "No shipping class"
|
1152 |
+
msgstr "Keine Versand Klasse"
|
1153 |
+
|
1154 |
+
#: ../../views/admin/import/_tabs/_shipping.php:44 ../..
|
1155 |
+
#: /views/admin/import/_tabs/_variations.php:356
|
1156 |
+
msgid "Set product shipping class with XPath"
|
1157 |
+
msgstr "Set Produktversand Klasse mit XPath"
|
1158 |
+
|
1159 |
+
#: ../../views/admin/import/_tabs/_shipping.php:49
|
1160 |
+
msgid ""
|
1161 |
+
"Value should be the slug for the shipping class - 'taxable', 'shipping' and "
|
1162 |
+
"'none' are the default slugs."
|
1163 |
+
msgstr ""
|
1164 |
+
"Wert sollte der Slug für die Versandklasse sein - 'Besteuerbar', 'Versenden',"
|
1165 |
+
" und 'keine' sind Standard Slugs."
|
1166 |
+
|
1167 |
+
#: ../../views/admin/import/_tabs/_variations.php:7
|
1168 |
+
msgid ""
|
1169 |
+
"All my variable products have SKUs or some other unique identifier. Each "
|
1170 |
+
"variation is linked to its parent with its parent's SKU or other unique "
|
1171 |
+
"identifier."
|
1172 |
+
msgstr ""
|
1173 |
+
"Alle meine variablen Produkte haben IDs oder eine andere eindeutige Kennung. "
|
1174 |
+
"Jede Variation ist mit seiner übergeordneten Artikelnummer oder mit einer "
|
1175 |
+
"anderen eindeutigen Kennung des übergeordneten verlinkt."
|
1176 |
+
|
1177 |
+
#: ../../views/admin/import/_tabs/_variations.php:11
|
1178 |
+
msgid "SKU element for parent"
|
1179 |
+
msgstr "SKU Element für Eltern"
|
1180 |
+
|
1181 |
+
#: ../../views/admin/import/_tabs/_variations.php:13
|
1182 |
+
msgid "SKU column in the below example."
|
1183 |
+
msgstr "SKU Spalte in dem folgenden Beispiel."
|
1184 |
+
|
1185 |
+
#: ../../views/admin/import/_tabs/_variations.php:16
|
1186 |
+
msgid "Parent SKU element for variation"
|
1187 |
+
msgstr "Eltern ID Element zur Variation"
|
1188 |
+
|
1189 |
+
#: ../../views/admin/import/_tabs/_variations.php:18
|
1190 |
+
msgid "Parent SKU column in the below example."
|
1191 |
+
msgstr "Eltern ID Spalte in dem folgenden Beispiel."
|
1192 |
+
|
1193 |
+
#: ../../views/admin/import/_tabs/_variations.php:21 ../..
|
1194 |
+
#: /views/admin/import/_tabs/_variations.php:41 ../..
|
1195 |
+
#: /views/admin/import/_tabs/_variations.php:60 ../..
|
1196 |
+
#: /views/admin/import/_tabs/_variations.php:78
|
1197 |
+
msgid "Example Data For Use With This Option"
|
1198 |
+
msgstr "Beispiel Daten für die Verwendung mit dieser Option"
|
1199 |
+
|
1200 |
+
#: ../../views/admin/import/_tabs/_variations.php:21 ../..
|
1201 |
+
#: /views/admin/import/_tabs/_variations.php:41 ../..
|
1202 |
+
#: /views/admin/import/_tabs/_variations.php:60 ../..
|
1203 |
+
#: /views/admin/import/_tabs/_variations.php:78
|
1204 |
+
msgid "download"
|
1205 |
+
msgstr "Herunterladen"
|
1206 |
+
|
1207 |
+
#: ../../views/admin/import/_tabs/_variations.php:31
|
1208 |
+
msgid ""
|
1209 |
+
"All products with variations are grouped with a unique identifier that is "
|
1210 |
+
"the same for each variation and unique for each product."
|
1211 |
+
msgstr ""
|
1212 |
+
"Alle Produkte mit Variationen sind anhand von einzigartigen IDs gruppiert, "
|
1213 |
+
"diese ID ist die selbe für jede Variation und einzigartig für jedes Produkt."
|
1214 |
+
|
1215 |
+
#: ../../views/admin/import/_tabs/_variations.php:36
|
1216 |
+
msgid "Unique Identifier"
|
1217 |
+
msgstr "Einzigartige ID"
|
1218 |
+
|
1219 |
+
#: ../../views/admin/import/_tabs/_variations.php:38
|
1220 |
+
msgid "Group ID column in the below example."
|
1221 |
+
msgstr "Gruppen ID Spalte in dem folgenden Beispiel."
|
1222 |
+
|
1223 |
+
#: ../../views/admin/import/_tabs/_variations.php:51
|
1224 |
+
msgid ""
|
1225 |
+
"All variations for a particular product have the same title as the parent "
|
1226 |
+
"product."
|
1227 |
+
msgstr ""
|
1228 |
+
"Alle Variationen für ein spezielles Produkt haben den selben Titel wie das "
|
1229 |
+
"Eltern Produkt."
|
1230 |
+
|
1231 |
+
#: ../../views/admin/import/_tabs/_variations.php:56 ../..
|
1232 |
+
#: /views/admin/import/_tabs/_variations.php:74
|
1233 |
+
msgid "Product Title"
|
1234 |
+
msgstr "Produkt Titel"
|
1235 |
+
|
1236 |
+
#: ../../views/admin/import/_tabs/_variations.php:70
|
1237 |
+
msgid ""
|
1238 |
+
"All variations for a particular product have the same title. There are no "
|
1239 |
+
"parent products."
|
1240 |
+
msgstr ""
|
1241 |
+
"Alle Variationen für ein spezielles Produkt haben den selben Titel. Es gibt "
|
1242 |
+
"keine Eltern Produkte."
|
1243 |
+
|
1244 |
+
#: ../../views/admin/import/_tabs/_variations.php:88
|
1245 |
+
msgid "I'm importing XML and my variations are child XML elements"
|
1246 |
+
msgstr "Ich importiere XML und meine Variationen sind Kind XML Elemente."
|
1247 |
+
|
1248 |
+
#: ../../views/admin/import/_tabs/_variations.php:95
|
1249 |
+
msgid "Video Example"
|
1250 |
+
msgstr "Video Beispiel:"
|
1251 |
+
|
1252 |
+
#: ../../views/admin/import/_tabs/_variations.php:98
|
1253 |
+
msgid "Variations XPath"
|
1254 |
+
msgstr "Variationen XPath"
|
1255 |
+
|
1256 |
+
#: ../../views/admin/import/_tabs/_variations.php:99
|
1257 |
+
msgid "Open XML Tree"
|
1258 |
+
msgstr "Offener XML Baum"
|
1259 |
+
|
1260 |
+
#: ../../views/admin/import/_tabs/_variations.php:124
|
1261 |
+
msgid "Add value to the parent SKU"
|
1262 |
+
msgstr "Wert zu Eltern ID hinzufügen"
|
1263 |
+
|
1264 |
+
#: ../../views/admin/import/_tabs/_variations.php:125
|
1265 |
+
msgid "Enable this checkbox to combine SKU from parent and variation products."
|
1266 |
+
msgstr ""
|
1267 |
+
"Aktiviere diese Box um IDs von Eltern und Variationen der Produkte zu "
|
1268 |
+
"kombinieren."
|
1269 |
+
|
1270 |
+
#: ../../views/admin/import/_tabs/_variations.php:129
|
1271 |
+
msgid "Image"
|
1272 |
+
msgstr "Bild"
|
1273 |
+
|
1274 |
+
#: ../../views/admin/import/_tabs/_variations.php:134 ../..
|
1275 |
+
#: /views/admin/import/_tabs/_variations.php:143 ../..
|
1276 |
+
#: /views/admin/import/_tabs/_variations.php:171 ../..
|
1277 |
+
#: /views/admin/import/_tabs/_variations.php:185 ../..
|
1278 |
+
#: /views/admin/import/_tabs/_variations.php:228 ../..
|
1279 |
+
#: /views/admin/import/_tabs/_variations.php:239 ../..
|
1280 |
+
#: /views/admin/import/_tabs/_variations.php:249 ../..
|
1281 |
+
#: /views/admin/import/_tabs/_variations.php:262 ../..
|
1282 |
+
#: /views/admin/import/_tabs/_variations.php:294 ../..
|
1283 |
+
#: /views/admin/import/_tabs/_variations.php:308 ../..
|
1284 |
+
#: /views/admin/import/_tabs/_variations.php:316 ../..
|
1285 |
+
#: /views/admin/import/_tabs/_variations.php:365 ../..
|
1286 |
+
#: /views/admin/import/_tabs/_variations.php:409 ../..
|
1287 |
+
#: /views/admin/import/_tabs/_variations.php:438 ../..
|
1288 |
+
#: /views/admin/import/_tabs/_variations.php:464 ../..
|
1289 |
+
#: /views/admin/import/_tabs/_variations.php:473
|
1290 |
+
msgid "XPath Is From Parent"
|
1291 |
+
msgstr "XPath ist von Eltern"
|
1292 |
+
|
1293 |
+
#: ../../views/admin/import/_tabs/_variations.php:186
|
1294 |
+
msgid "Enable this checkbox to determine XPath from parent element."
|
1295 |
+
msgstr "Aktiviere diese Box um den XPath vom Eltern Element zu bestimmen."
|
1296 |
+
|
1297 |
+
#: ../../views/admin/import/_tabs/_variations.php:206
|
1298 |
+
msgid ""
|
1299 |
+
"Set the stock status to In Stock for positive or blank Stock Qty values, and "
|
1300 |
+
"Out Of Stock if Stock Qty is 0."
|
1301 |
+
msgstr ""
|
1302 |
+
"Setze den Lagerbestand Status auf 'Auf Lager' bei positiver Lagerbestand "
|
1303 |
+
"Menge, und 'Nicht auf Lager' wenn Lagerbestand ist 0."
|
1304 |
+
|
1305 |
+
#: ../../views/admin/import/_tabs/_variations.php:223
|
1306 |
+
msgid "Regular Price"
|
1307 |
+
msgstr "Regulärer Preis"
|
1308 |
+
|
1309 |
+
#: ../../views/admin/import/_tabs/_variations.php:232
|
1310 |
+
msgid "Sale Price"
|
1311 |
+
msgstr "Angebotspreis"
|
1312 |
+
|
1313 |
+
#: ../../views/admin/import/_tabs/_variations.php:258
|
1314 |
+
msgid "Variable Sale Price Dates"
|
1315 |
+
msgstr "Angebotspreis Datum"
|
1316 |
+
|
1317 |
+
#: ../../views/admin/import/_tabs/_variations.php:303
|
1318 |
+
msgid "Weight"
|
1319 |
+
msgstr "Gewicht"
|
1320 |
+
|
1321 |
+
#: ../../views/admin/import/_tabs/_variations.php:312
|
1322 |
+
msgid "Dimensions (L×W×H)"
|
1323 |
+
msgstr "Maße ( L x B x H)"
|
1324 |
+
|
1325 |
+
#: ../../views/admin/import/_tabs/_variations.php:361
|
1326 |
+
msgid ""
|
1327 |
+
"The value of presented XPath should be one of the following: ('taxable', "
|
1328 |
+
"'shipping', 'none')."
|
1329 |
+
msgstr ""
|
1330 |
+
"Der Wert des XPath sollte einer der folgenden sein: ('taxable', 'shipping', "
|
1331 |
+
"'none')."
|
1332 |
+
|
1333 |
+
#: ../../views/admin/import/_tabs/_variations.php:389
|
1334 |
+
msgid "Same as parent"
|
1335 |
+
msgstr "Gleich wie Eltern"
|
1336 |
+
|
1337 |
+
#: ../../views/admin/import/_tabs/_variations.php:400
|
1338 |
+
msgid "Set product tax class with XPath"
|
1339 |
+
msgstr "Setzte Produkt Steuer Klasse mit XPath"
|
1340 |
+
|
1341 |
+
#: ../../views/admin/import/_tabs/_variations.php:405
|
1342 |
+
msgid ""
|
1343 |
+
"The value of presented XPath should be one of the following: ('reduced-rate',"
|
1344 |
+
" 'zero-rate')."
|
1345 |
+
msgstr ""
|
1346 |
+
"Der Wert des XPath sollte einer der folgenden sein: ('reduced-rate', 'zero-"
|
1347 |
+
"rate')."
|
1348 |
+
|
1349 |
+
#: ../../views/admin/import/_tabs/_variations.php:450
|
1350 |
+
msgid ""
|
1351 |
+
"File paths/URLs, comma separated. The delimiter option uses when xml element "
|
1352 |
+
"contains few paths/URLs (http://files.com/1.doc, http://files.com/2.doc)."
|
1353 |
+
msgstr ""
|
1354 |
+
"Datei Pfade/URLs, durch Komma getrennt. Die Trennzeichen Option wird genutzt "
|
1355 |
+
"wenn ein SML Element mehrere Pfade/URLs enthält. (http://files.com/1.doc, "
|
1356 |
+
"http://files.com/2.doc)."
|
1357 |
+
|
1358 |
+
#: ../../views/admin/import/_tabs/_variations.php:508
|
1359 |
+
msgid "Variation Attributes"
|
1360 |
+
msgstr "Variation Merkmale"
|
1361 |
+
|
1362 |
+
#: ../../views/admin/import/_tabs/_variations.php:545 ../..
|
1363 |
+
#: /views/admin/import/_tabs/_variations.php:577 ../..
|
1364 |
+
#: /views/admin/import/_tabs/_variations.php:607
|
1365 |
+
msgid "Taxonomy"
|
1366 |
+
msgstr "Taxonomie"
|
1367 |
+
|
1368 |
+
#: ../../views/admin/import/_tabs/_variations.php:632
|
1369 |
+
msgid "No matching elements found for XPath expression specified"
|
1370 |
+
msgstr "Keine passenden Elemente für den XPath Ausdruck gefunden"
|
1371 |
+
|
1372 |
+
#: ../../views/admin/import/_tabs/_variations.php:740
|
1373 |
+
msgid "Set the default selection in the attributes dropdowns."
|
1374 |
+
msgstr "Setze die Standard Auswahl in den Merkmal Auswahlfeldern."
|
1375 |
+
|
1376 |
+
#: ../../views/admin/import/_tabs/_variations.php:741
|
1377 |
+
msgid ""
|
1378 |
+
"The attributes for the first variation will be automatically selected on the "
|
1379 |
+
"frontend."
|
1380 |
+
msgstr ""
|
1381 |
+
"Die Merkmale für die erste Variation werden automatisch auf dem Frontend "
|
1382 |
+
"gewählt."
|
1383 |
+
|
1384 |
+
#: ../../views/admin/import/_tabs/_variations.php:746
|
1385 |
+
msgid "Set first variation as the default selection."
|
1386 |
+
msgstr "Setze die erste Variation als die Standardauswahl."
|
1387 |
+
|
1388 |
+
#: ../../views/admin/import/_tabs/_variations.php:750
|
1389 |
+
msgid "Set first in stock variation as the default selection."
|
1390 |
+
msgstr "Setze die erste Variation auf Lager als Standardauswahl."
|
1391 |
+
|
1392 |
+
#: ../../views/admin/import/_tabs/_variations.php:755
|
1393 |
+
msgid "Do not set default selections for the dropdowns."
|
1394 |
+
msgstr "Setzen Sie keine Standardauswahl für die Auswahlfelder."
|
1395 |
+
|
1396 |
+
#: ../../views/admin/import/_tabs/_variations.php:761
|
1397 |
+
msgid "Create products with no variations as simple products."
|
1398 |
+
msgstr "Erstelle Produkte mit keinen Variationen als einfache Produkte."
|
1399 |
+
|
1400 |
+
#: ../../views/admin/import/_tabs/_variations.php:766
|
1401 |
+
msgid "Save variation image to the gallery."
|
1402 |
+
msgstr "Speichere die Bilder der Variationen in der Galerie. "
|
1403 |
+
|
1404 |
+
#: ../../views/admin/import/_tabs/_variations.php:771
|
1405 |
+
msgid ""
|
1406 |
+
"Set _stock value for parent product to the _stock value for the first "
|
1407 |
+
"variation."
|
1408 |
+
msgstr ""
|
1409 |
+
"Set _stock Wert für das Eltern Produkt auf the_stock Wert für die erste "
|
1410 |
+
"Variation."
|
1411 |
+
|
1412 |
+
#: ../../views/admin/import/_tabs/_variations.php:772
|
1413 |
+
msgid ""
|
1414 |
+
"This option works when there are no parent products in your feed ( cases 2 "
|
1415 |
+
"and 4 on Variations tab)."
|
1416 |
+
msgstr ""
|
1417 |
+
"Diese Option funktioniert wenn keine Eltern Produkte in Ihrem feed sind "
|
1418 |
+
"(Fall 2 und 4 in Variationen tab)."
|
i18n/languages/wpai_woocommerce_addon_plugin-es_ES.mo
ADDED
Binary file
|
i18n/languages/wpai_woocommerce_addon_plugin-es_ES.po
ADDED
@@ -0,0 +1,1414 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: WP All Import - WooCommerce Add-On Pro\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: Sun Nov 08 2015 17:17:28 GMT+0200 (EET)\n"
|
6 |
+
"PO-Revision-Date: Mon Dec 21 2015 19:49:04 GMT+0200 (EET)\n"
|
7 |
+
"Last-Translator: admin <makstsiplyskov@gmail.loc>\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"Language: Spanish (Spain)\n"
|
10 |
+
"Plural-Forms: nplurals=2; plural=n != 1\n"
|
11 |
+
"MIME-Version: 1.0\n"
|
12 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
+
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"X-Poedit-Basepath: .\n"
|
16 |
+
"X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
|
17 |
+
"__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
|
18 |
+
"_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
|
19 |
+
"esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
|
20 |
+
"esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
|
21 |
+
"X-Loco-Target-Locale: es_ES\n"
|
22 |
+
"X-Generator: Loco - https://localise.biz/\n"
|
23 |
+
"X-Poedit-SearchPath-0: ."
|
24 |
+
|
25 |
+
#: ../../views/admin/import/_tabs/_general.php:25 ../..
|
26 |
+
#: /views/admin/import/_tabs/_general.php:49
|
27 |
+
#, php-format
|
28 |
+
msgid "Regular Price (%s)"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: ../../views/admin/import/_tabs/_general.php:29 ../..
|
32 |
+
#: /views/admin/import/_tabs/_general.php:61
|
33 |
+
#, php-format
|
34 |
+
msgid "Sale Price (%s)"
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:5 ../..
|
38 |
+
#: /views/admin/import/_tabs/_linked_product.php:9
|
39 |
+
msgid "Product SKUs, comma separated"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: ../../views/admin/import/_tabs/_shipping.php:5
|
43 |
+
#, php-format
|
44 |
+
msgid "Weight (%s)"
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#: ../../views/admin/import/_tabs/_shipping.php:9
|
48 |
+
#, php-format
|
49 |
+
msgid "Dimensions (%s)"
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: ../../views/admin/import/_tabs/_shipping.php:10
|
53 |
+
msgid "Length"
|
54 |
+
msgstr ""
|
55 |
+
|
56 |
+
#: ../../views/admin/import/_tabs/_shipping.php:11
|
57 |
+
msgid "Width"
|
58 |
+
msgstr ""
|
59 |
+
|
60 |
+
#: ../../views/admin/import/_tabs/_shipping.php:12
|
61 |
+
msgid "Height"
|
62 |
+
msgstr ""
|
63 |
+
|
64 |
+
msgid "WP All Import - WooCommerce Add-On Pro"
|
65 |
+
msgstr "Todo WP Import - WooCommerce complemento Pro"
|
66 |
+
|
67 |
+
msgid "http://www.wpallimport.com"
|
68 |
+
msgstr "http://www.wpallimport.com"
|
69 |
+
|
70 |
+
msgid ""
|
71 |
+
"Import to WooCommerce. Adds a section to WP All Import that looks just like "
|
72 |
+
"WooCommerce. Requires WP All Import."
|
73 |
+
msgstr ""
|
74 |
+
"Importación a WooCommerce. Agrega una sección al WP toda la importación que "
|
75 |
+
"se parece a WooCommerce. Requiere importar todo de PM."
|
76 |
+
|
77 |
+
msgid "Soflyy"
|
78 |
+
msgstr "Soflyy"
|
79 |
+
|
80 |
+
#: ../../wpai-woocommerce-add-on.php:35
|
81 |
+
msgid ""
|
82 |
+
"Please de-activate and remove the free version of the WooCommere add-on "
|
83 |
+
"before activating the paid version."
|
84 |
+
msgstr ""
|
85 |
+
"Por favor, desactivar y quitar la versión libre del complemento de POS-"
|
86 |
+
"Solution® antes de activar la versión de pago."
|
87 |
+
|
88 |
+
#: ../../actions/admin_notices.php:10
|
89 |
+
#, php-format
|
90 |
+
msgid "<b>%s Plugin</b>: WooCommerce must be installed."
|
91 |
+
msgstr "<b>%s Plugin</b>: WooCommerce debe instalarse."
|
92 |
+
|
93 |
+
#: ../../actions/admin_notices.php:24
|
94 |
+
#, php-format
|
95 |
+
msgid ""
|
96 |
+
"<b>%s Plugin</b>: WP All Import must be installed. Free edition of WP All "
|
97 |
+
"Import at <a href=\"http://wordpress.org/plugins/wp-all-import/\" "
|
98 |
+
"target=\"_blank\">http://wordpress.org/plugins/wp-all-import/</a> and the paid "
|
99 |
+
"edition at <a href=\"http://www.wpallimport.com/\">http://www.wpallimport."
|
100 |
+
"com/</a>"
|
101 |
+
msgstr ""
|
102 |
+
"<b>%s Plugin</b>: Importación POS-Solution® debe ser instalada. Edición "
|
103 |
+
"gratuita de importación POS-Solution® en <a href=\"http://wordpress."
|
104 |
+
"org/plugins/wp-all-import/\" target=\"_blank\">http://wordpress.org/plugins/wp-"
|
105 |
+
"all-import/</a> y la edición de pagada en <a href=\"http://www.wpallimport."
|
106 |
+
"com/\">http://www.wpallimport.com/</a>"
|
107 |
+
|
108 |
+
#: ../../actions/admin_notices.php:38
|
109 |
+
#, php-format
|
110 |
+
msgid "<b>%s Plugin</b>: Please update your WP All Import to the latest version"
|
111 |
+
msgstr ""
|
112 |
+
"<b>%s Plugin</b>: actualice su importación POS-Solution® a la versión "
|
113 |
+
"más reciente."
|
114 |
+
|
115 |
+
#: ../../actions/admin_notices.php:51
|
116 |
+
#, php-format
|
117 |
+
msgid "<b>%s Plugin</b>: Please update your WooCommerce to the latest version"
|
118 |
+
msgstr "<b>%s Plugin</b>: actualice su POS-Solution a la última versión"
|
119 |
+
|
120 |
+
#: ../../actions/pmxi_reimport.php:24 ../../views/admin/import/index.php:16
|
121 |
+
msgid "Product Type"
|
122 |
+
msgstr "Tipo De Producto"
|
123 |
+
|
124 |
+
#: ../../actions/pmxi_reimport.php:30 ../../views/admin/import/index.php:73
|
125 |
+
msgid "Attributes"
|
126 |
+
msgstr "Atributos"
|
127 |
+
|
128 |
+
#: ../../actions/pmxi_reimport.php:31
|
129 |
+
msgid ""
|
130 |
+
"If Keep Custom Fields box is checked, it will keep all Custom Fields, and "
|
131 |
+
"add any new Custom Fields specified in Custom Fields section, as long as "
|
132 |
+
"they do not overwrite existing fields. If 'Only keep this Custom Fields' is "
|
133 |
+
"specified, it will only keep the specified fields."
|
134 |
+
msgstr ""
|
135 |
+
"Si está marcada la casilla de mantener los campos personalizados, mantendrá "
|
136 |
+
"todos los campos personalizados y añadir cualquier nuevo campos "
|
137 |
+
"personalizados especificados en la sección de campos personalizados, siempre "
|
138 |
+
"y cuando no sobrescriben los campos existentes. Si se especifica 'Sólo "
|
139 |
+
"mantener este campos personalizados', mantendrá sólo los campos "
|
140 |
+
"especificados."
|
141 |
+
|
142 |
+
#: ../../actions/pmxi_reimport.php:35
|
143 |
+
msgid "Update all Attributes"
|
144 |
+
msgstr "Actualizar todos los atributos"
|
145 |
+
|
146 |
+
#: ../../actions/pmxi_reimport.php:39
|
147 |
+
msgid "Update only these Attributes, leave the rest alone"
|
148 |
+
msgstr "Actualizar sólo los atributos de estos, deje el resto"
|
149 |
+
|
150 |
+
#: ../../actions/pmxi_reimport.php:48
|
151 |
+
msgid "Leave these attributes alone, update all other Attributes"
|
152 |
+
msgstr "Dejar estos atributos, actualizar todos los otros atributos"
|
153 |
+
|
154 |
+
#: ../../classes/updater.php:238
|
155 |
+
#, php-format
|
156 |
+
msgid ""
|
157 |
+
"There is a new version of %1$s available. <a target=\"_blank\" "
|
158 |
+
"class=\"thickbox\" href=\"%2$s\">View version %3$s details</a>."
|
159 |
+
msgstr ""
|
160 |
+
"Hay una nueva versión de %1$s disponible. <a target=“_blank” "
|
161 |
+
"class=“thickbox” href=“%2$s”> Ver detalle de la versión %3$s </a>"
|
162 |
+
|
163 |
+
#: ../../classes/updater.php:245
|
164 |
+
#, php-format
|
165 |
+
msgid ""
|
166 |
+
"There is a new version of %1$s available. <a target=\"_blank\" "
|
167 |
+
"class=\"thickbox\" href=\"%2$s\">View version %3$s details</a> or <a "
|
168 |
+
"href=\"%4$s\">update now</a>."
|
169 |
+
msgstr ""
|
170 |
+
"Hay una nueva versión disponible %1$s <a target=“_blank” class=“thickbox” "
|
171 |
+
"href=“%2$s”>Detalle de esta versión %3$s </a> or <a href=“%4$s”>actualizar "
|
172 |
+
"ahora</a>."
|
173 |
+
|
174 |
+
#: ../../classes/updater.php:428
|
175 |
+
msgid "You do not have permission to install plugin updates"
|
176 |
+
msgstr "Cotizaok.com"
|
177 |
+
|
178 |
+
#: ../../classes/updater.php:428
|
179 |
+
msgid "Error"
|
180 |
+
msgstr "Error"
|
181 |
+
|
182 |
+
#: ../../controllers/controller/admin.php:55
|
183 |
+
msgid ""
|
184 |
+
"Remove this item? If you have previously reduced this item's stock, or this "
|
185 |
+
"order was submitted by a customer, will need to manually restore the item's "
|
186 |
+
"stock."
|
187 |
+
msgstr ""
|
188 |
+
"¿Quitar este elemento? Si previamente han reducido stock de este artículo, o "
|
189 |
+
"este pedido fue presentado por un cliente, tendrá que restaurar manualmente "
|
190 |
+
"los valores del elemento."
|
191 |
+
|
192 |
+
#: ../../controllers/controller/admin.php:56
|
193 |
+
msgid "Remove this attribute?"
|
194 |
+
msgstr "¿Eliminar este atributo?"
|
195 |
+
|
196 |
+
#: ../../controllers/controller/admin.php:57 ../..
|
197 |
+
#: /views/admin/import/_tabs/_attributes.php:6 ../..
|
198 |
+
#: /views/admin/import/_tabs/_linked_product.php:88 ../..
|
199 |
+
#: /views/admin/import/_tabs/_variations.php:516
|
200 |
+
msgid "Name"
|
201 |
+
msgstr "nombre"
|
202 |
+
|
203 |
+
#: ../../controllers/controller/admin.php:58
|
204 |
+
msgid "Remove"
|
205 |
+
msgstr "Eliminar"
|
206 |
+
|
207 |
+
#: ../../controllers/controller/admin.php:59
|
208 |
+
msgid "Click to toggle"
|
209 |
+
msgstr "Pulsa para cambiar"
|
210 |
+
|
211 |
+
#: ../../controllers/controller/admin.php:60
|
212 |
+
msgid "Value(s)"
|
213 |
+
msgstr "Valor(es)"
|
214 |
+
|
215 |
+
#: ../../controllers/controller/admin.php:61
|
216 |
+
msgid "Enter some text, or some attributes by pipe (|) separating values."
|
217 |
+
msgstr ""
|
218 |
+
"Introduce algún texto o algún atributo separando los valores con el símbolo "
|
219 |
+
"(|)"
|
220 |
+
|
221 |
+
#: ../../controllers/controller/admin.php:62
|
222 |
+
msgid "Visible on the product page"
|
223 |
+
msgstr "Visible en la página de productos"
|
224 |
+
|
225 |
+
#: ../../controllers/controller/admin.php:63
|
226 |
+
msgid "Used for variations"
|
227 |
+
msgstr "Usado para variaciones"
|
228 |
+
|
229 |
+
#: ../../controllers/controller/admin.php:64
|
230 |
+
msgid "Enter a name for the new attribute term:"
|
231 |
+
msgstr "Introduce un nombre para el nuevo atributo:"
|
232 |
+
|
233 |
+
#: ../../controllers/controller/admin.php:65
|
234 |
+
msgid ""
|
235 |
+
"Calculate totals based on order items, discount amount, and shipping? Note, "
|
236 |
+
"you will need to (optionally) calculate tax rows and cart discounts manually."
|
237 |
+
msgstr ""
|
238 |
+
"¿Calcular totales basados en artículos de la orden, monto de descuento y "
|
239 |
+
"envío? Tenga en cuenta, usted necesitará calcular impuestos filas "
|
240 |
+
"(opcionalmente) y descuentos del carro manualmente."
|
241 |
+
|
242 |
+
#: ../../controllers/controller/admin.php:66
|
243 |
+
msgid ""
|
244 |
+
"Calculate line taxes? This will calculate taxes based on the customers "
|
245 |
+
"country. If no billing/shipping is set it will use the store base country."
|
246 |
+
msgstr ""
|
247 |
+
"¿Calcular impuestos? Esto calculará los impuestos basándose en el país del "
|
248 |
+
"cliente.Si no se especifica una dirección de facturación/envío se usará el "
|
249 |
+
"país de la tienda."
|
250 |
+
|
251 |
+
#: ../../controllers/controller/admin.php:67
|
252 |
+
msgid ""
|
253 |
+
"Copy billing information to shipping information? This will remove any "
|
254 |
+
"currently entered shipping information."
|
255 |
+
msgstr ""
|
256 |
+
"¿Copiar la información de facturación a la información de envío? Esto "
|
257 |
+
"eliminará cualquier información de envío introducida."
|
258 |
+
|
259 |
+
#: ../../controllers/controller/admin.php:68
|
260 |
+
msgid ""
|
261 |
+
"Load the customer's billing information? This will remove any currently "
|
262 |
+
"entered billing information."
|
263 |
+
msgstr ""
|
264 |
+
"¿Cargar la información de facturación del cliente? Esto eliminará cualquier "
|
265 |
+
"información de facturación introducida."
|
266 |
+
|
267 |
+
#: ../../controllers/controller/admin.php:69
|
268 |
+
msgid ""
|
269 |
+
"Load the customer's shipping information? This will remove any currently "
|
270 |
+
"entered shipping information."
|
271 |
+
msgstr ""
|
272 |
+
"¿Cargar la información de envío del cliente? Esto eliminará cualquier "
|
273 |
+
"información de envío introducida."
|
274 |
+
|
275 |
+
#: ../../controllers/controller/admin.php:70 ../..
|
276 |
+
#: /views/admin/import/_tabs/_advanced.php:44
|
277 |
+
msgid "Featured"
|
278 |
+
msgstr "Destacado"
|
279 |
+
|
280 |
+
#: ../../controllers/controller/admin.php:74
|
281 |
+
msgid "Meta Name"
|
282 |
+
msgstr "Nombre de la meta"
|
283 |
+
|
284 |
+
#: ../../controllers/controller/admin.php:75
|
285 |
+
msgid "Meta Value"
|
286 |
+
msgstr "Valor Meta"
|
287 |
+
|
288 |
+
#: ../../controllers/controller/admin.php:76
|
289 |
+
msgid "No customer selected"
|
290 |
+
msgstr "No se ha seleccionado ningún cliente"
|
291 |
+
|
292 |
+
#: ../../controllers/controller/admin.php:77
|
293 |
+
msgid "Tax Label:"
|
294 |
+
msgstr "Etiqueta impuestos:"
|
295 |
+
|
296 |
+
#: ../../controllers/controller/admin.php:78
|
297 |
+
msgid "Compound:"
|
298 |
+
msgstr "Compuesto"
|
299 |
+
|
300 |
+
#: ../../controllers/controller/admin.php:79
|
301 |
+
msgid "Cart Tax:"
|
302 |
+
msgstr "Impuesto de carro:"
|
303 |
+
|
304 |
+
#: ../../controllers/controller/admin.php:80
|
305 |
+
msgid "Shipping Tax:"
|
306 |
+
msgstr "Monto del Impuesto Envío"
|
307 |
+
|
308 |
+
#: ../../filters/pmxi_custom_types.php:3
|
309 |
+
msgid "WooCommerce Products"
|
310 |
+
msgstr "Kopa WooCommerce Productos"
|
311 |
+
|
312 |
+
#: ../../models/import/record.php:63
|
313 |
+
msgid "Composing product data..."
|
314 |
+
msgstr "Composición de datos de productos..."
|
315 |
+
|
316 |
+
#: ../../models/import/record.php:471
|
317 |
+
msgid "Composing variations attributes..."
|
318 |
+
msgstr "Composición de atributos de las variaciones..."
|
319 |
+
|
320 |
+
#: ../../models/import/record.php:812
|
321 |
+
msgid "<b>WARNING</b>: Product SKU must be unique."
|
322 |
+
msgstr "<b>ADVERTENCIA</b>: SKU de producto debe ser único."
|
323 |
+
|
324 |
+
#: ../../models/import/record.php:1421 ../../models/import/record.php:2540 ../..
|
325 |
+
#: /models/import/record.php:2587
|
326 |
+
#, php-format
|
327 |
+
msgid "Variation #%s of %s"
|
328 |
+
msgstr "Variación #%s de %s"
|
329 |
+
|
330 |
+
#: ../../models/import/record.php:2149
|
331 |
+
#, php-format
|
332 |
+
msgid "<b>CREATED</b>: %s variations for parent product %s."
|
333 |
+
msgstr "<b>Creado</b>: %s variaciones producto de padres %s."
|
334 |
+
|
335 |
+
#: ../../models/import/record.php:2171
|
336 |
+
msgid "- Importing Variations"
|
337 |
+
msgstr "-Importación de variaciones"
|
338 |
+
|
339 |
+
#: ../../models/import/record.php:2587
|
340 |
+
#, php-format
|
341 |
+
msgid "- `%s`: variation created successfully"
|
342 |
+
msgstr "-'%s': variación creado con éxito"
|
343 |
+
|
344 |
+
#: ../../models/import/record.php:2593
|
345 |
+
#, php-format
|
346 |
+
msgid "- `%s`: variation updated successfully"
|
347 |
+
msgstr "-'%s': variación actualizada"
|
348 |
+
|
349 |
+
#: ../../models/import/record.php:2750
|
350 |
+
msgid "- <b>WARNING</b>: Product SKU must be unique."
|
351 |
+
msgstr "- <b>ADVERTENCIA</b>: SKU de producto debe ser único."
|
352 |
+
|
353 |
+
#: ../../models/import/record.php:2987
|
354 |
+
#, php-format
|
355 |
+
msgid "- <b>Image SKIPPED</b>: The image %s is always exists for the %s"
|
356 |
+
msgstr "- <b>Imagen SKIPPED</b>: La imagen %s es siempre existe para el `%s`"
|
357 |
+
|
358 |
+
#: ../../models/import/record.php:3034 ../../models/import/record.php:3063
|
359 |
+
#, php-format
|
360 |
+
msgid ""
|
361 |
+
"- <b>WARNING</b>: File %s is not a valid image and cannot be set as featured "
|
362 |
+
"one"
|
363 |
+
msgstr ""
|
364 |
+
"- <b>ADVERTENCIA</b>: El archivo %s no es una imagen válida y no se puede "
|
365 |
+
"establecer como una destacada"
|
366 |
+
|
367 |
+
#: ../../models/import/record.php:3060
|
368 |
+
#, php-format
|
369 |
+
msgid "- <b>WARNING</b>: File %s cannot be saved locally as %s"
|
370 |
+
msgstr "- <b>ADVERTENCIA</b>: el archivo %s no puede guardarse localmente como %s"
|
371 |
+
|
372 |
+
#: ../../models/import/record.php:3094
|
373 |
+
msgid "- <b>WARNING</b>"
|
374 |
+
msgstr "<b>ADVERTENCIA</b>"
|
375 |
+
|
376 |
+
#: ../../models/import/record.php:3607
|
377 |
+
msgid "<b>ERROR</b> Could not insert term relationship into the database"
|
378 |
+
msgstr "No se ha podido insertar la relación entre términos en la base de datos"
|
379 |
+
|
380 |
+
#: ../../models/import/record.php:3709
|
381 |
+
#, php-format
|
382 |
+
msgid ""
|
383 |
+
"- <b>WARNING</b>: Slug “%s” is not allowed because it is a reserved term. "
|
384 |
+
"Change it, please."
|
385 |
+
msgstr ""
|
386 |
+
"El slug ”%s” no está permitido, ya que es un término reservado. Cámbielo, "
|
387 |
+
"por favor."
|
388 |
+
|
389 |
+
#: ../../models/import/record.php:3742
|
390 |
+
#, php-format
|
391 |
+
msgid "- <b>CREATED</b>: Taxonomy attribute “%s” have been successfully created."
|
392 |
+
msgstr "- <b>Creado</b>: atributo de taxonomía \"%s\" se han creado con éxito."
|
393 |
+
|
394 |
+
#: ../../models/import/record.php:3746
|
395 |
+
#, php-format
|
396 |
+
msgid ""
|
397 |
+
"- <b>WARNING</b>: Taxonomy “%s” name is more than 32 characters. Change it, "
|
398 |
+
"please."
|
399 |
+
msgstr ""
|
400 |
+
"- <b>ADVERTENCIA</b>: nombre de la taxonomía \"%s\" es más de 32 caracteres. "
|
401 |
+
"Cambiar, por favor."
|
402 |
+
|
403 |
+
#: ../../models/import/record.php:4059
|
404 |
+
#, php-format
|
405 |
+
msgid "- <b>WARNING</b>: Unable to create cloaked link for %s"
|
406 |
+
msgstr "<b>ADVERTENCIA</b>: No se puede crear enlace envuelta para%s"
|
407 |
+
|
408 |
+
#: ../../views/admin/import/index.php:4
|
409 |
+
msgid "WooCommerce Add-On"
|
410 |
+
msgstr "POS-Solution®"
|
411 |
+
|
412 |
+
#: ../../views/admin/import/index.php:22
|
413 |
+
msgid "Simple product"
|
414 |
+
msgstr "Producto simple"
|
415 |
+
|
416 |
+
#: ../../views/admin/import/index.php:23
|
417 |
+
msgid "Grouped product"
|
418 |
+
msgstr "Producto agrupado"
|
419 |
+
|
420 |
+
#: ../../views/admin/import/index.php:24
|
421 |
+
msgid "External/Affiliate product"
|
422 |
+
msgstr "Producto Externo/Afiliado"
|
423 |
+
|
424 |
+
#: ../../views/admin/import/index.php:25
|
425 |
+
msgid "Variable product"
|
426 |
+
msgstr "Producto variable"
|
427 |
+
|
428 |
+
#: ../../views/admin/import/index.php:39
|
429 |
+
msgid "Set Product Type With XPath"
|
430 |
+
msgstr "Definir tipo de producto con XPath"
|
431 |
+
|
432 |
+
#: ../../views/admin/import/index.php:44
|
433 |
+
msgid ""
|
434 |
+
"The value of presented XPath should be one of the following: ('simple', "
|
435 |
+
"'grouped', 'external', 'variable')."
|
436 |
+
msgstr ""
|
437 |
+
"El valor de XPath presentado debe ser uno de los siguientes: ('simple', "
|
438 |
+
"'grupos', 'externa', ' variable')."
|
439 |
+
|
440 |
+
#: ../../views/admin/import/index.php:50 ../../views/admin/import/_tabs/_general.
|
441 |
+
#: php:138 ../../views/admin/import/_tabs/_variations.php:108 ../..
|
442 |
+
#: /views/admin/import/_tabs/_variations.php:277
|
443 |
+
msgid "Virtual"
|
444 |
+
msgstr "Virtual"
|
445 |
+
|
446 |
+
#: ../../views/admin/import/index.php:54 ../../views/admin/import/_tabs/_general.
|
447 |
+
#: php:161 ../../views/admin/import/_tabs/_variations.php:112 ../..
|
448 |
+
#: /views/admin/import/_tabs/_variations.php:421
|
449 |
+
msgid "Downloadable"
|
450 |
+
msgstr "Descargable"
|
451 |
+
|
452 |
+
#: ../../views/admin/import/index.php:65
|
453 |
+
msgid "General"
|
454 |
+
msgstr "Generales"
|
455 |
+
|
456 |
+
#: ../../views/admin/import/index.php:67
|
457 |
+
msgid "Inventory"
|
458 |
+
msgstr "inventario"
|
459 |
+
|
460 |
+
#: ../../views/admin/import/index.php:69
|
461 |
+
msgid "Shipping"
|
462 |
+
msgstr "Envío"
|
463 |
+
|
464 |
+
#: ../../views/admin/import/index.php:71
|
465 |
+
msgid "Linked Products"
|
466 |
+
msgstr "Productos vinculados"
|
467 |
+
|
468 |
+
#: ../../views/admin/import/index.php:75 ../..
|
469 |
+
#: /views/admin/import/_tabs/_attributes.php:26 ../..
|
470 |
+
#: /views/admin/import/_tabs/_attributes.php:158 ../..
|
471 |
+
#: /views/admin/import/_tabs/_attributes.php:286
|
472 |
+
msgid "Advanced"
|
473 |
+
msgstr "Avanzado"
|
474 |
+
|
475 |
+
#: ../../views/admin/import/index.php:77
|
476 |
+
msgid "Variations"
|
477 |
+
msgstr "Variaciones"
|
478 |
+
|
479 |
+
#: ../../views/admin/import/index.php:79
|
480 |
+
msgid "Add-On Options"
|
481 |
+
msgstr "Opciones de Add-On"
|
482 |
+
|
483 |
+
#: ../../views/admin/import/_tabs/_advanced.php:5
|
484 |
+
msgid "Purchase Note"
|
485 |
+
msgstr "Compra Nota"
|
486 |
+
|
487 |
+
#: ../../views/admin/import/_tabs/_advanced.php:11
|
488 |
+
msgid "Menu order"
|
489 |
+
msgstr "Orden del Menú"
|
490 |
+
|
491 |
+
#: ../../views/admin/import/_tabs/_advanced.php:18
|
492 |
+
msgid "Enable reviews"
|
493 |
+
msgstr "Habilitar comentarios"
|
494 |
+
|
495 |
+
#: ../../views/admin/import/_tabs/_advanced.php:22 ../..
|
496 |
+
#: /views/admin/import/_tabs/_advanced.php:48 ../..
|
497 |
+
#: /views/admin/import/_tabs/_general.php:115 ../..
|
498 |
+
#: /views/admin/import/_tabs/_inventory.php:8 ../..
|
499 |
+
#: /views/admin/import/_tabs/_inventory.php:99 ../..
|
500 |
+
#: /views/admin/import/_tabs/_variations.php:154 ../..
|
501 |
+
#: /views/admin/import/_tabs/_variations.php:486 ../..
|
502 |
+
#: /views/admin/import/_tabs/_variations.php:653 ../..
|
503 |
+
#: /views/admin/import/_tabs/_variations.php:715
|
504 |
+
msgid "Yes"
|
505 |
+
msgstr "Si"
|
506 |
+
|
507 |
+
#: ../../views/admin/import/_tabs/_advanced.php:26 ../..
|
508 |
+
#: /views/admin/import/_tabs/_advanced.php:52 ../..
|
509 |
+
#: /views/admin/import/_tabs/_general.php:119 ../..
|
510 |
+
#: /views/admin/import/_tabs/_inventory.php:12 ../..
|
511 |
+
#: /views/admin/import/_tabs/_inventory.php:103 ../..
|
512 |
+
#: /views/admin/import/_tabs/_variations.php:158 ../..
|
513 |
+
#: /views/admin/import/_tabs/_variations.php:490 ../..
|
514 |
+
#: /views/admin/import/_tabs/_variations.php:657 ../..
|
515 |
+
#: /views/admin/import/_tabs/_variations.php:719
|
516 |
+
msgid "No"
|
517 |
+
msgstr "No"
|
518 |
+
|
519 |
+
#: ../../views/admin/import/_tabs/_advanced.php:30 ../..
|
520 |
+
#: /views/admin/import/_tabs/_advanced.php:56 ../..
|
521 |
+
#: /views/admin/import/_tabs/_advanced.php:90 ../..
|
522 |
+
#: /views/admin/import/_tabs/_attributes.php:64 ../..
|
523 |
+
#: /views/admin/import/_tabs/_attributes.php:86 ../..
|
524 |
+
#: /views/admin/import/_tabs/_attributes.php:108 ../..
|
525 |
+
#: /views/admin/import/_tabs/_attributes.php:130 ../..
|
526 |
+
#: /views/admin/import/_tabs/_attributes.php:193 ../..
|
527 |
+
#: /views/admin/import/_tabs/_attributes.php:215 ../..
|
528 |
+
#: /views/admin/import/_tabs/_attributes.php:237 ../..
|
529 |
+
#: /views/admin/import/_tabs/_attributes.php:259 ../..
|
530 |
+
#: /views/admin/import/_tabs/_attributes.php:321 ../..
|
531 |
+
#: /views/admin/import/_tabs/_attributes.php:343 ../..
|
532 |
+
#: /views/admin/import/_tabs/_attributes.php:365 ../..
|
533 |
+
#: /views/admin/import/_tabs/_attributes.php:387 ../..
|
534 |
+
#: /views/admin/import/_tabs/_general.php:123 ../..
|
535 |
+
#: /views/admin/import/_tabs/_general.php:146 ../..
|
536 |
+
#: /views/admin/import/_tabs/_general.php:169 ../..
|
537 |
+
#: /views/admin/import/_tabs/_inventory.php:16 ../..
|
538 |
+
#: /views/admin/import/_tabs/_inventory.php:52 ../..
|
539 |
+
#: /views/admin/import/_tabs/_inventory.php:82 ../..
|
540 |
+
#: /views/admin/import/_tabs/_inventory.php:107 ../..
|
541 |
+
#: /views/admin/import/_tabs/_variations.php:162 ../..
|
542 |
+
#: /views/admin/import/_tabs/_variations.php:210 ../..
|
543 |
+
#: /views/admin/import/_tabs/_variations.php:285 ../..
|
544 |
+
#: /views/admin/import/_tabs/_variations.php:429 ../..
|
545 |
+
#: /views/admin/import/_tabs/_variations.php:494 ../..
|
546 |
+
#: /views/admin/import/_tabs/_variations.php:661 ../..
|
547 |
+
#: /views/admin/import/_tabs/_variations.php:698 ../..
|
548 |
+
#: /views/admin/import/_tabs/_variations.php:723
|
549 |
+
msgid "Set with XPath"
|
550 |
+
msgstr "Con XPath"
|
551 |
+
|
552 |
+
#: ../../views/admin/import/_tabs/_advanced.php:35 ../..
|
553 |
+
#: /views/admin/import/_tabs/_advanced.php:61 ../..
|
554 |
+
#: /views/admin/import/_tabs/_attributes.php:69 ../..
|
555 |
+
#: /views/admin/import/_tabs/_attributes.php:91 ../..
|
556 |
+
#: /views/admin/import/_tabs/_attributes.php:113 ../..
|
557 |
+
#: /views/admin/import/_tabs/_attributes.php:135 ../..
|
558 |
+
#: /views/admin/import/_tabs/_attributes.php:198 ../..
|
559 |
+
#: /views/admin/import/_tabs/_attributes.php:220 ../..
|
560 |
+
#: /views/admin/import/_tabs/_attributes.php:242 ../..
|
561 |
+
#: /views/admin/import/_tabs/_attributes.php:264 ../..
|
562 |
+
#: /views/admin/import/_tabs/_attributes.php:326 ../..
|
563 |
+
#: /views/admin/import/_tabs/_attributes.php:348 ../..
|
564 |
+
#: /views/admin/import/_tabs/_attributes.php:370 ../..
|
565 |
+
#: /views/admin/import/_tabs/_attributes.php:392 ../..
|
566 |
+
#: /views/admin/import/_tabs/_general.php:128 ../..
|
567 |
+
#: /views/admin/import/_tabs/_general.php:151 ../..
|
568 |
+
#: /views/admin/import/_tabs/_general.php:174 ../..
|
569 |
+
#: /views/admin/import/_tabs/_inventory.php:21 ../..
|
570 |
+
#: /views/admin/import/_tabs/_inventory.php:112 ../..
|
571 |
+
#: /views/admin/import/_tabs/_variations.php:167 ../..
|
572 |
+
#: /views/admin/import/_tabs/_variations.php:290 ../..
|
573 |
+
#: /views/admin/import/_tabs/_variations.php:434 ../..
|
574 |
+
#: /views/admin/import/_tabs/_variations.php:499 ../..
|
575 |
+
#: /views/admin/import/_tabs/_variations.php:666 ../..
|
576 |
+
#: /views/admin/import/_tabs/_variations.php:728
|
577 |
+
msgid "The value of presented XPath should be one of the following: ('yes', 'no')."
|
578 |
+
msgstr "El valor de XPath presentado debe ser uno de los siguientes: ('sí', 'no')."
|
579 |
+
|
580 |
+
#: ../../views/admin/import/_tabs/_advanced.php:70
|
581 |
+
msgid "Catalog visibility"
|
582 |
+
msgstr "Visibilidad catálogo:"
|
583 |
+
|
584 |
+
#: ../../views/admin/import/_tabs/_advanced.php:74
|
585 |
+
msgid "Catalog/search"
|
586 |
+
msgstr "Catálogo/buscar"
|
587 |
+
|
588 |
+
#: ../../views/admin/import/_tabs/_advanced.php:78
|
589 |
+
msgid "Catalog"
|
590 |
+
msgstr "Catálogo"
|
591 |
+
|
592 |
+
#: ../../views/admin/import/_tabs/_advanced.php:82
|
593 |
+
msgid "Search"
|
594 |
+
msgstr "Buscar"
|
595 |
+
|
596 |
+
#: ../../views/admin/import/_tabs/_advanced.php:86
|
597 |
+
msgid "Hidden"
|
598 |
+
msgstr "Oculto"
|
599 |
+
|
600 |
+
#: ../../views/admin/import/_tabs/_advanced.php:95
|
601 |
+
msgid ""
|
602 |
+
"The value of presented XPath should be one of the following: ('visible', "
|
603 |
+
"'catalog', 'search', 'hidden')."
|
604 |
+
msgstr ""
|
605 |
+
"El valor de XPath presentado debe ser uno de los siguientes: ('visible', "
|
606 |
+
"'catálogo', ' Buscar', 'oculto')."
|
607 |
+
|
608 |
+
#: ../../views/admin/import/_tabs/_attributes.php:8 ../..
|
609 |
+
#: /views/admin/import/_tabs/_variations.php:517
|
610 |
+
msgid "Values"
|
611 |
+
msgstr "Lista de valores y etiquetas de"
|
612 |
+
|
613 |
+
#: ../../views/admin/import/_tabs/_attributes.php:9
|
614 |
+
msgid "Separate mutiple values with a |"
|
615 |
+
msgstr "Separar valores de mutiple con un |"
|
616 |
+
|
617 |
+
#: ../../views/admin/import/_tabs/_attributes.php:32 ../..
|
618 |
+
#: /views/admin/import/_tabs/_attributes.php:56 ../..
|
619 |
+
#: /views/admin/import/_tabs/_attributes.php:164 ../..
|
620 |
+
#: /views/admin/import/_tabs/_attributes.php:185 ../..
|
621 |
+
#: /views/admin/import/_tabs/_attributes.php:292 ../..
|
622 |
+
#: /views/admin/import/_tabs/_attributes.php:313 ../..
|
623 |
+
#: /views/admin/import/_tabs/_variations.php:535 ../..
|
624 |
+
#: /views/admin/import/_tabs/_variations.php:569 ../..
|
625 |
+
#: /views/admin/import/_tabs/_variations.php:599
|
626 |
+
msgid "In Variations"
|
627 |
+
msgstr "Variaciones"
|
628 |
+
|
629 |
+
#: ../../views/admin/import/_tabs/_attributes.php:37 ../..
|
630 |
+
#: /views/admin/import/_tabs/_attributes.php:78 ../..
|
631 |
+
#: /views/admin/import/_tabs/_attributes.php:168 ../..
|
632 |
+
#: /views/admin/import/_tabs/_attributes.php:207 ../..
|
633 |
+
#: /views/admin/import/_tabs/_attributes.php:296 ../..
|
634 |
+
#: /views/admin/import/_tabs/_attributes.php:335 ../..
|
635 |
+
#: /views/admin/import/_tabs/_variations.php:540 ../..
|
636 |
+
#: /views/admin/import/_tabs/_variations.php:573 ../..
|
637 |
+
#: /views/admin/import/_tabs/_variations.php:603
|
638 |
+
msgid "Is Visible"
|
639 |
+
msgstr "visible"
|
640 |
+
|
641 |
+
#: ../../views/admin/import/_tabs/_attributes.php:42 ../..
|
642 |
+
#: /views/admin/import/_tabs/_attributes.php:100 ../..
|
643 |
+
#: /views/admin/import/_tabs/_attributes.php:172 ../..
|
644 |
+
#: /views/admin/import/_tabs/_attributes.php:229 ../..
|
645 |
+
#: /views/admin/import/_tabs/_attributes.php:300 ../..
|
646 |
+
#: /views/admin/import/_tabs/_attributes.php:357
|
647 |
+
msgid "Is Taxonomy"
|
648 |
+
msgstr "Es taxonomía"
|
649 |
+
|
650 |
+
#: ../../views/admin/import/_tabs/_attributes.php:47 ../..
|
651 |
+
#: /views/admin/import/_tabs/_attributes.php:122 ../..
|
652 |
+
#: /views/admin/import/_tabs/_attributes.php:176 ../..
|
653 |
+
#: /views/admin/import/_tabs/_attributes.php:251 ../..
|
654 |
+
#: /views/admin/import/_tabs/_attributes.php:304 ../..
|
655 |
+
#: /views/admin/import/_tabs/_attributes.php:379 ../..
|
656 |
+
#: /views/admin/import/_tabs/_variations.php:550 ../..
|
657 |
+
#: /views/admin/import/_tabs/_variations.php:581 ../..
|
658 |
+
#: /views/admin/import/_tabs/_variations.php:611
|
659 |
+
msgid "Auto-Create Terms"
|
660 |
+
msgstr "Términos de crear automáticamente"
|
661 |
+
|
662 |
+
#: ../../views/admin/import/_tabs/_attributes.php:60 ../..
|
663 |
+
#: /views/admin/import/_tabs/_attributes.php:189 ../..
|
664 |
+
#: /views/admin/import/_tabs/_attributes.php:317
|
665 |
+
msgid "Not In Variations"
|
666 |
+
msgstr "No en las variaciones"
|
667 |
+
|
668 |
+
#: ../../views/admin/import/_tabs/_attributes.php:82 ../..
|
669 |
+
#: /views/admin/import/_tabs/_attributes.php:211 ../..
|
670 |
+
#: /views/admin/import/_tabs/_attributes.php:339
|
671 |
+
msgid "Not Visible"
|
672 |
+
msgstr "visible"
|
673 |
+
|
674 |
+
#: ../../views/admin/import/_tabs/_attributes.php:104 ../..
|
675 |
+
#: /views/admin/import/_tabs/_attributes.php:233 ../..
|
676 |
+
#: /views/admin/import/_tabs/_attributes.php:361
|
677 |
+
msgid "Not Taxonomy"
|
678 |
+
msgstr "No taxonomía"
|
679 |
+
|
680 |
+
#: ../../views/admin/import/_tabs/_attributes.php:126 ../..
|
681 |
+
#: /views/admin/import/_tabs/_attributes.php:255 ../..
|
682 |
+
#: /views/admin/import/_tabs/_attributes.php:383
|
683 |
+
msgid "Do Not Create Terms"
|
684 |
+
msgstr "No se crean condiciones"
|
685 |
+
|
686 |
+
#: ../../views/admin/import/_tabs/_attributes.php:405 ../..
|
687 |
+
#: /views/admin/import/_tabs/_variations.php:618
|
688 |
+
msgid "add"
|
689 |
+
msgstr "Añadir"
|
690 |
+
|
691 |
+
#: ../../views/admin/import/_tabs/_attributes.php:405 ../..
|
692 |
+
#: /views/admin/import/_tabs/_variations.php:618
|
693 |
+
msgid "Add more"
|
694 |
+
msgstr "Agregar más"
|
695 |
+
|
696 |
+
#: ../../views/admin/import/_tabs/_attributes.php:414
|
697 |
+
msgid "Link all variations"
|
698 |
+
msgstr "Vincular todas las variaciones"
|
699 |
+
|
700 |
+
#: ../../views/admin/import/_tabs/_attributes.php:415
|
701 |
+
msgid ""
|
702 |
+
"This option will create all possible variations for the presented attributes."
|
703 |
+
" Works just like the Link All Variations option inside WooCommerce."
|
704 |
+
msgstr ""
|
705 |
+
"Esta opción creará todas las variaciones posibles de los atributos "
|
706 |
+
"presentados. Funciona igual que la opción de enlace todas las variaciones "
|
707 |
+
"dentro de WooCommerce."
|
708 |
+
|
709 |
+
#: ../../views/admin/import/_tabs/_general.php:4 ../..
|
710 |
+
#: /views/admin/import/_tabs/_variations.php:119
|
711 |
+
msgid "SKU"
|
712 |
+
msgstr "SKU"
|
713 |
+
|
714 |
+
#: ../../views/admin/import/_tabs/_general.php:10
|
715 |
+
msgid "Product URL"
|
716 |
+
msgstr "URL del producto"
|
717 |
+
|
718 |
+
#: ../../views/admin/import/_tabs/_general.php:12
|
719 |
+
msgid "The external/affiliate link URL to the product."
|
720 |
+
msgstr "La URL del enlace externo/afiliado al producto."
|
721 |
+
|
722 |
+
#: ../../views/admin/import/_tabs/_general.php:15
|
723 |
+
msgid "Button text"
|
724 |
+
msgstr "Texto del botón"
|
725 |
+
|
726 |
+
#: ../../views/admin/import/_tabs/_general.php:17
|
727 |
+
msgid "This text will be shown on the button linking to the external product."
|
728 |
+
msgstr "Este texto se muestra en el botón que une al producto externo."
|
729 |
+
|
730 |
+
#: ../../views/admin/import/_tabs/_general.php:22
|
731 |
+
msgid ""
|
732 |
+
"Prices should be presented as you would enter them manually in WooCommerce - "
|
733 |
+
"with no currency symbol."
|
734 |
+
msgstr ""
|
735 |
+
"Los precios deben ser presentados como tiene que escribir manualmente en "
|
736 |
+
"WooCommerce - con ningún símbolo de moneda."
|
737 |
+
|
738 |
+
#: ../../views/admin/import/_tabs/_general.php:26
|
739 |
+
msgid "required"
|
740 |
+
msgstr "Requerido"
|
741 |
+
|
742 |
+
#: ../../views/admin/import/_tabs/_general.php:30 ../..
|
743 |
+
#: /views/admin/import/_tabs/_variations.php:233
|
744 |
+
msgid "schedule"
|
745 |
+
msgstr "Horario"
|
746 |
+
|
747 |
+
#: ../../views/admin/import/_tabs/_general.php:35
|
748 |
+
msgid "Sale Price Dates"
|
749 |
+
msgstr "Fechas Precio de Venta"
|
750 |
+
|
751 |
+
#: ../../views/admin/import/_tabs/_general.php:37 ../..
|
752 |
+
#: /views/admin/import/_tabs/_variations.php:266
|
753 |
+
msgid "and"
|
754 |
+
msgstr "y"
|
755 |
+
|
756 |
+
#: ../../views/admin/import/_tabs/_general.php:39 ../..
|
757 |
+
#: /views/admin/import/_tabs/_variations.php:268
|
758 |
+
msgid "cancel"
|
759 |
+
msgstr "(Cancel)"
|
760 |
+
|
761 |
+
#: ../../views/admin/import/_tabs/_general.php:45
|
762 |
+
msgid "Adjust Prices (mark up, mark down, convert currency)"
|
763 |
+
msgstr "Ajustar los precios (marca para arriba, marca abajo, convertir moneda)"
|
764 |
+
|
765 |
+
#: ../../views/admin/import/_tabs/_general.php:55 ../..
|
766 |
+
#: /views/admin/import/_tabs/_general.php:67
|
767 |
+
msgid ""
|
768 |
+
"Leave blank or enter in 100% to keep the price as is. Enter in 110% to "
|
769 |
+
"markup by 10%. Enter in 50% to cut prices in half."
|
770 |
+
msgstr ""
|
771 |
+
"Deje en blanco o escriba en 100% para mantener el precio como es. Entrar en "
|
772 |
+
"110% para incrementa un 10%. Entrar en el 50% para reducir los precios a la "
|
773 |
+
"mitad."
|
774 |
+
|
775 |
+
#: ../../views/admin/import/_tabs/_general.php:56 ../..
|
776 |
+
#: /views/admin/import/_tabs/_general.php:68
|
777 |
+
msgid "Enter a negative number to reduce prices."
|
778 |
+
msgstr "Introduzca un número negativo para reducir los precios."
|
779 |
+
|
780 |
+
#: ../../views/admin/import/_tabs/_general.php:78
|
781 |
+
msgid "Remove currency symbols from price"
|
782 |
+
msgstr "Quitar símbolos de moneda de precio"
|
783 |
+
|
784 |
+
#: ../../views/admin/import/_tabs/_general.php:79
|
785 |
+
msgid "WP All Import attempt to remove currency symbols from prices."
|
786 |
+
msgstr "Todo importar WP intente quitar símbolos de moneda de los precios."
|
787 |
+
|
788 |
+
#: ../../views/admin/import/_tabs/_general.php:85
|
789 |
+
msgid "Convert decimal separator to a period"
|
790 |
+
msgstr "Convertir el separador decimal a un período"
|
791 |
+
|
792 |
+
#: ../../views/admin/import/_tabs/_general.php:86
|
793 |
+
msgid ""
|
794 |
+
"Prices must be imported using a period as the decimal separator. If you'd "
|
795 |
+
"like to change the decimal separator you can do so by editing your "
|
796 |
+
"WooCommerce settings."
|
797 |
+
msgstr ""
|
798 |
+
"Precios deben importarse utilizando un período como el separador de "
|
799 |
+
"decimales. Si desea cambiar el separador decimal puede hacerlo editando la "
|
800 |
+
"configuración WooCommerce."
|
801 |
+
|
802 |
+
#: ../../views/admin/import/_tabs/_general.php:92
|
803 |
+
msgid "Attempt to convert incorrectly formatted prices to WooCommerce format"
|
804 |
+
msgstr "Intento convertir precios mal formateados a formato WooCommerce"
|
805 |
+
|
806 |
+
#: ../../views/admin/import/_tabs/_general.php:93
|
807 |
+
msgid ""
|
808 |
+
"WP All Import will attempt to correct the formatting of prices presented "
|
809 |
+
"incorrectly, but this doesn't always work. Try unchecking this option if "
|
810 |
+
"your prices are not appearing correctly, or enter your prices in your import "
|
811 |
+
"file using the same format you would when entering them in WooCommerce."
|
812 |
+
msgstr ""
|
813 |
+
"Toda la importación WP intentará corregir el formato de precios presentados "
|
814 |
+
"incorrectamente, pero esto no siempre funciona. Trate de desactivar esta "
|
815 |
+
"opción si los precios no aparecen correctamente, o entrar en sus precios en "
|
816 |
+
"el archivo de importación utilizando el mismo formato que al entrar en "
|
817 |
+
"WooCommerce."
|
818 |
+
|
819 |
+
#: ../../views/admin/import/_tabs/_general.php:97
|
820 |
+
msgid "Preview Prices"
|
821 |
+
msgstr "Precios de escuchar"
|
822 |
+
|
823 |
+
#: ../../views/admin/import/_tabs/_general.php:104 ../..
|
824 |
+
#: /views/admin/import/_tabs/_variations.php:138
|
825 |
+
msgid "Variation Description"
|
826 |
+
msgstr "Descripción de la variación"
|
827 |
+
|
828 |
+
#: ../../views/admin/import/_tabs/_general.php:111 ../..
|
829 |
+
#: /views/admin/import/_tabs/_variations.php:480 ../..
|
830 |
+
#: /views/admin/import/_tabs/_variations.php:711
|
831 |
+
msgid "Variation Enabled"
|
832 |
+
msgstr "Variación permitida"
|
833 |
+
|
834 |
+
#: ../../views/admin/import/_tabs/_general.php:111 ../..
|
835 |
+
#: /views/admin/import/_tabs/_variations.php:711
|
836 |
+
msgid ""
|
837 |
+
"This option is the same as the Enabled checkbox when editing an individual "
|
838 |
+
"variation in WooCommerce."
|
839 |
+
msgstr ""
|
840 |
+
"Esta opción es igual a la casilla de verificación activada cuando se edita "
|
841 |
+
"una variación individual en WooCommerce."
|
842 |
+
|
843 |
+
#: ../../views/admin/import/_tabs/_general.php:142 ../..
|
844 |
+
#: /views/admin/import/_tabs/_variations.php:281
|
845 |
+
msgid "Not Virtual"
|
846 |
+
msgstr "Virtual"
|
847 |
+
|
848 |
+
#: ../../views/admin/import/_tabs/_general.php:165 ../..
|
849 |
+
#: /views/admin/import/_tabs/_variations.php:425
|
850 |
+
msgid "Not Downloadable"
|
851 |
+
msgstr "Descargable"
|
852 |
+
|
853 |
+
#: ../../views/admin/import/_tabs/_general.php:182 ../..
|
854 |
+
#: /views/admin/import/_tabs/_variations.php:447
|
855 |
+
msgid "File paths"
|
856 |
+
msgstr "Rutas de archivo"
|
857 |
+
|
858 |
+
#: ../../views/admin/import/_tabs/_general.php:185
|
859 |
+
msgid ""
|
860 |
+
"File paths/URLs, comma separated. The delimiter is used when an XML element "
|
861 |
+
"contains multiple URLs/paths - i.e. <code>http://files.com/1.doc, http:"
|
862 |
+
"//files.com/2.doc</code>."
|
863 |
+
msgstr ""
|
864 |
+
"Caminos de archivo/URL, separados por comas. El delimitador se utiliza "
|
865 |
+
"cuando un elemento XML contiene varias direcciones URL/rutas - es decir, "
|
866 |
+
"<code>http://files.com/1.doc, http://files.com/2.doc</code> ."
|
867 |
+
|
868 |
+
#: ../../views/admin/import/_tabs/_general.php:188 ../..
|
869 |
+
#: /views/admin/import/_tabs/_variations.php:453
|
870 |
+
msgid "File names"
|
871 |
+
msgstr "Nombres de archivo"
|
872 |
+
|
873 |
+
#: ../../views/admin/import/_tabs/_general.php:191 ../..
|
874 |
+
#: /views/admin/import/_tabs/_variations.php:456
|
875 |
+
msgid ""
|
876 |
+
"File names, comma separated. The delimiter is used when an XML element "
|
877 |
+
"contains multiple names - i.e. <code>1.doc, 2.doc</code>."
|
878 |
+
msgstr ""
|
879 |
+
"Nombres de archivo, separados por comas. El delimitador se utiliza cuando un "
|
880 |
+
"elemento XML contiene varios nombres - es decir, <code>1.doc, 2.doc</code> ."
|
881 |
+
|
882 |
+
#: ../../views/admin/import/_tabs/_general.php:194 ../..
|
883 |
+
#: /views/admin/import/_tabs/_variations.php:459
|
884 |
+
msgid "Download Limit"
|
885 |
+
msgstr "Descargar Límite"
|
886 |
+
|
887 |
+
#: ../../views/admin/import/_tabs/_general.php:196
|
888 |
+
msgid "Leave blank for unlimited re-downloads."
|
889 |
+
msgstr "Dejar en blanco para un número ilimitado de re-descargas."
|
890 |
+
|
891 |
+
#: ../../views/admin/import/_tabs/_general.php:199 ../..
|
892 |
+
#: /views/admin/import/_tabs/_variations.php:468
|
893 |
+
msgid "Download Expiry"
|
894 |
+
msgstr "Descarga Expiración"
|
895 |
+
|
896 |
+
#: ../../views/admin/import/_tabs/_general.php:201
|
897 |
+
msgid "Enter the number of days before a download link expires, or leave blank."
|
898 |
+
msgstr ""
|
899 |
+
"Introduce el número de días antes de que expire un enlace de descarga, o "
|
900 |
+
"dejar en blanco."
|
901 |
+
|
902 |
+
#: ../../views/admin/import/_tabs/_general.php:204
|
903 |
+
msgid "Download Type"
|
904 |
+
msgstr "Tipo de descarga"
|
905 |
+
|
906 |
+
#: ../../views/admin/import/_tabs/_general.php:206
|
907 |
+
msgid ""
|
908 |
+
"The value of presented XPath should be one of the following: ('application', "
|
909 |
+
"'music')."
|
910 |
+
msgstr ""
|
911 |
+
"El valor de XPath presentado debe ser uno de los siguientes: ('aplicación', "
|
912 |
+
"'música')."
|
913 |
+
|
914 |
+
#: ../../views/admin/import/_tabs/_general.php:214
|
915 |
+
msgid "Tax Status"
|
916 |
+
msgstr "Situación Fiscal"
|
917 |
+
|
918 |
+
#: ../../views/admin/import/_tabs/_general.php:219
|
919 |
+
msgid "Taxable"
|
920 |
+
msgstr "Imponible"
|
921 |
+
|
922 |
+
#: ../../views/admin/import/_tabs/_general.php:220
|
923 |
+
msgid "Shipping only"
|
924 |
+
msgstr "Solamente Envío"
|
925 |
+
|
926 |
+
#: ../../views/admin/import/_tabs/_general.php:221
|
927 |
+
msgid "None"
|
928 |
+
msgstr "Ninguno"
|
929 |
+
|
930 |
+
#: ../../views/admin/import/_tabs/_general.php:229
|
931 |
+
msgid "Set tax status with XPath"
|
932 |
+
msgstr "Estado de impuestos establecida con XPath"
|
933 |
+
|
934 |
+
#: ../../views/admin/import/_tabs/_general.php:234
|
935 |
+
msgid ""
|
936 |
+
"Value should be the slug for the tax status - 'taxable', 'shipping', and "
|
937 |
+
"'none' are the default slugs."
|
938 |
+
msgstr ""
|
939 |
+
"Valor debe ser el slug para la clase de envío - 'imponible', 'envío' y "
|
940 |
+
"'ninguno' son los slugs de forma predeterminada."
|
941 |
+
|
942 |
+
#: ../../views/admin/import/_tabs/_general.php:244 ../..
|
943 |
+
#: /views/admin/import/_tabs/_variations.php:376
|
944 |
+
msgid "Tax Class"
|
945 |
+
msgstr "Clase de Impuesto"
|
946 |
+
|
947 |
+
#: ../../views/admin/import/_tabs/_general.php:252 ../..
|
948 |
+
#: /views/admin/import/_tabs/_variations.php:383
|
949 |
+
msgid "Standard"
|
950 |
+
msgstr "Estándar"
|
951 |
+
|
952 |
+
#: ../../views/admin/import/_tabs/_general.php:268
|
953 |
+
msgid "Set tax class with XPath"
|
954 |
+
msgstr "Clase de impuestos establecida con XPath"
|
955 |
+
|
956 |
+
#: ../../views/admin/import/_tabs/_general.php:274
|
957 |
+
msgid ""
|
958 |
+
"Value should be the slug for the tax class - 'reduced-rate' and 'zero-rate', "
|
959 |
+
"are the default slugs."
|
960 |
+
msgstr ""
|
961 |
+
"Valor debe ser el slug para la clase de impuesto - 'tarifa reducida' y 'Eco-"
|
962 |
+
"préstamo', es las babosas de forma predeterminada."
|
963 |
+
|
964 |
+
#: ../../views/admin/import/_tabs/_inventory.php:4 ../..
|
965 |
+
#: /views/admin/import/_tabs/_variations.php:150 ../..
|
966 |
+
#: /views/admin/import/_tabs/_variations.php:649
|
967 |
+
msgid "Manage stock?"
|
968 |
+
msgstr "Manejo de valores?"
|
969 |
+
|
970 |
+
#: ../../views/admin/import/_tabs/_inventory.php:29 ../..
|
971 |
+
#: /views/admin/import/_tabs/_variations.php:180 ../..
|
972 |
+
#: /views/admin/import/_tabs/_variations.php:674
|
973 |
+
msgid "Stock Qty"
|
974 |
+
msgstr "Disponible Cantidad"
|
975 |
+
|
976 |
+
#: ../../views/admin/import/_tabs/_inventory.php:35 ../..
|
977 |
+
#: /views/admin/import/_tabs/_variations.php:193 ../..
|
978 |
+
#: /views/admin/import/_tabs/_variations.php:681
|
979 |
+
msgid "Stock status"
|
980 |
+
msgstr "el estado de la"
|
981 |
+
|
982 |
+
#: ../../views/admin/import/_tabs/_inventory.php:39 ../..
|
983 |
+
#: /views/admin/import/_tabs/_variations.php:197 ../..
|
984 |
+
#: /views/admin/import/_tabs/_variations.php:685
|
985 |
+
msgid "In stock"
|
986 |
+
msgstr "En stock"
|
987 |
+
|
988 |
+
#: ../../views/admin/import/_tabs/_inventory.php:43 ../..
|
989 |
+
#: /views/admin/import/_tabs/_variations.php:201 ../..
|
990 |
+
#: /views/admin/import/_tabs/_variations.php:689
|
991 |
+
msgid "Out of stock"
|
992 |
+
msgstr "Agotado"
|
993 |
+
|
994 |
+
#: ../../views/admin/import/_tabs/_inventory.php:47 ../..
|
995 |
+
#: /views/admin/import/_tabs/_variations.php:205 ../..
|
996 |
+
#: /views/admin/import/_tabs/_variations.php:693
|
997 |
+
msgid "Set automatically"
|
998 |
+
msgstr "Automáticamente"
|
999 |
+
|
1000 |
+
#: ../../views/admin/import/_tabs/_inventory.php:48 ../..
|
1001 |
+
#: /views/admin/import/_tabs/_variations.php:694
|
1002 |
+
msgid ""
|
1003 |
+
"Set the stock status to In Stock for positive Stock Qty values, and Out Of "
|
1004 |
+
"Stock if Stock Qty is 0 or blank."
|
1005 |
+
msgstr ""
|
1006 |
+
"Establecer el estado del stock en stock para valores positivos de la "
|
1007 |
+
"cantidad de Stock y de Stock si cantidad de Stock es 0 o en blanco."
|
1008 |
+
|
1009 |
+
#: ../../views/admin/import/_tabs/_inventory.php:57 ../..
|
1010 |
+
#: /views/admin/import/_tabs/_variations.php:215 ../..
|
1011 |
+
#: /views/admin/import/_tabs/_variations.php:703
|
1012 |
+
msgid ""
|
1013 |
+
"The value of presented XPath should be one of the following: ('instock', "
|
1014 |
+
"'outofstock')."
|
1015 |
+
msgstr ""
|
1016 |
+
"El valor de XPath presentado debe ser uno de los siguientes: ('instock', ' "
|
1017 |
+
"outofstock')."
|
1018 |
+
|
1019 |
+
#: ../../views/admin/import/_tabs/_inventory.php:66
|
1020 |
+
msgid "Allow Backorders?"
|
1021 |
+
msgstr "Permitir pedidos pendientes?"
|
1022 |
+
|
1023 |
+
#: ../../views/admin/import/_tabs/_inventory.php:70
|
1024 |
+
msgid "Do not allow"
|
1025 |
+
msgstr "No permitir"
|
1026 |
+
|
1027 |
+
#: ../../views/admin/import/_tabs/_inventory.php:74
|
1028 |
+
msgid "Allow, but notify customer"
|
1029 |
+
msgstr "Permitir, pero notificará al cliente"
|
1030 |
+
|
1031 |
+
#: ../../views/admin/import/_tabs/_inventory.php:78
|
1032 |
+
msgid "Allow"
|
1033 |
+
msgstr "Permitir"
|
1034 |
+
|
1035 |
+
#: ../../views/admin/import/_tabs/_inventory.php:87
|
1036 |
+
msgid ""
|
1037 |
+
"The value of presented XPath should be one of the following: ('no', 'notify',"
|
1038 |
+
" 'yes')."
|
1039 |
+
msgstr ""
|
1040 |
+
"El valor de XPath presentado debe ser uno de los siguientes: ('no', "
|
1041 |
+
"'notificación', 'sí')."
|
1042 |
+
|
1043 |
+
#: ../../views/admin/import/_tabs/_inventory.php:95
|
1044 |
+
msgid "Sold Individually?"
|
1045 |
+
msgstr "Vendido Individualmente?"
|
1046 |
+
|
1047 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:4
|
1048 |
+
msgid "Up-Sells"
|
1049 |
+
msgstr "Up-Ventas"
|
1050 |
+
|
1051 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:8
|
1052 |
+
msgid "Cross-Sells"
|
1053 |
+
msgstr "Cruz-Ventas"
|
1054 |
+
|
1055 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:15
|
1056 |
+
msgid "Choose a grouped product…"
|
1057 |
+
msgstr "Elija un producto agrupado…"
|
1058 |
+
|
1059 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:45
|
1060 |
+
msgid "Grouping"
|
1061 |
+
msgstr "Agrupamiento"
|
1062 |
+
|
1063 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:58
|
1064 |
+
msgid "Set this option to make this product part of a grouped product."
|
1065 |
+
msgstr ""
|
1066 |
+
"Establezca esta opción para hacer que esta parte del producto de un producto "
|
1067 |
+
"agrupado."
|
1068 |
+
|
1069 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:65
|
1070 |
+
msgid "Manual Grouped Product Matching"
|
1071 |
+
msgstr "Manual de agrupa productos coincidentes"
|
1072 |
+
|
1073 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:66
|
1074 |
+
msgid ""
|
1075 |
+
"Product will be assigned as the child of an already created product matching "
|
1076 |
+
"the specified criteria."
|
1077 |
+
msgstr ""
|
1078 |
+
"Producto se le asignará como el hijo de un producto ya creado, con el "
|
1079 |
+
"criterio especificado."
|
1080 |
+
|
1081 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:73
|
1082 |
+
msgid "Match by Post Title"
|
1083 |
+
msgstr "Partido por el título del Post"
|
1084 |
+
|
1085 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:84
|
1086 |
+
msgid "Match by Custom Field"
|
1087 |
+
msgstr "Coteje el campo personalizado"
|
1088 |
+
|
1089 |
+
#: ../../views/admin/import/_tabs/_linked_product.php:93
|
1090 |
+
msgid "Value"
|
1091 |
+
msgstr "valer"
|
1092 |
+
|
1093 |
+
#: ../../views/admin/import/_tabs/_options.php:4
|
1094 |
+
msgid "Import options"
|
1095 |
+
msgstr "Opciones de Importación"
|
1096 |
+
|
1097 |
+
#: ../../views/admin/import/_tabs/_options.php:10
|
1098 |
+
msgid "Set out of stock status for missing records"
|
1099 |
+
msgstr "Definir estado fuera de stock a los records faltantes"
|
1100 |
+
|
1101 |
+
#: ../../views/admin/import/_tabs/_options.php:11
|
1102 |
+
msgid ""
|
1103 |
+
"Option to set the stock status to out of stock instead of deleting the "
|
1104 |
+
"product entirely. This option doesn't work when 'Delete missing records' "
|
1105 |
+
"option is enabled."
|
1106 |
+
msgstr ""
|
1107 |
+
"Opción para configurar el estado del stock de fuera de stock en vez de "
|
1108 |
+
"eliminar completamente el producto. Esta opción no funciona cuando está "
|
1109 |
+
"habilitada la opción 'Eliminar registros que falta'."
|
1110 |
+
|
1111 |
+
#: ../../views/admin/import/_tabs/_options.php:17
|
1112 |
+
msgid "Disable auto SKU generation"
|
1113 |
+
msgstr "Desactivar auto generación de SKU"
|
1114 |
+
|
1115 |
+
#: ../../views/admin/import/_tabs/_options.php:18
|
1116 |
+
msgid ""
|
1117 |
+
"Plugin will NOT automaticaly generate the SKU for each product based on md5 "
|
1118 |
+
"algorithm, if SKU option is empty."
|
1119 |
+
msgstr ""
|
1120 |
+
"El plugin no generá automaticamente la SKU para cada producto basado en el "
|
1121 |
+
"algoritmo md5, si opción SKU está vacía."
|
1122 |
+
|
1123 |
+
#: ../../views/admin/import/_tabs/_options.php:23
|
1124 |
+
msgid "Don't check for duplicate SKUs"
|
1125 |
+
msgstr "No busque duplicados SKU"
|
1126 |
+
|
1127 |
+
#: ../../views/admin/import/_tabs/_options.php:24
|
1128 |
+
msgid ""
|
1129 |
+
"Each product should have a unique SKU. If this box is checked, WP All Import "
|
1130 |
+
"won't check for duplicate SKUs, which speeds up the import process. Make "
|
1131 |
+
"sure the SKU for each of your products is unique. If this box is unchecked, "
|
1132 |
+
"WP All Import will import products with duplicate SKUs with a blank SKU."
|
1133 |
+
msgstr ""
|
1134 |
+
"Cada producto debe tener un único SKU. Si esta casilla está marcada, "
|
1135 |
+
"importar todos de WP no busque duplicados SKU, que acelera el proceso de "
|
1136 |
+
"importación. Asegúrese de que el SKU para cada uno de sus productos es único."
|
1137 |
+
" Si esta casilla está marcada, WP todos importación importará productos con "
|
1138 |
+
"SKU duplicados con un SKU en blanco."
|
1139 |
+
|
1140 |
+
#: ../../views/admin/import/_tabs/_shipping.php:20 ../..
|
1141 |
+
#: /views/admin/import/_tabs/_variations.php:330
|
1142 |
+
msgid "Shipping Class"
|
1143 |
+
msgstr "Clase de envío"
|
1144 |
+
|
1145 |
+
#: ../../views/admin/import/_tabs/_shipping.php:29 ../..
|
1146 |
+
#: /views/admin/import/_tabs/_variations.php:341
|
1147 |
+
msgid "No shipping class"
|
1148 |
+
msgstr "Ninguna clase de envío"
|
1149 |
+
|
1150 |
+
#: ../../views/admin/import/_tabs/_shipping.php:44 ../..
|
1151 |
+
#: /views/admin/import/_tabs/_variations.php:356
|
1152 |
+
msgid "Set product shipping class with XPath"
|
1153 |
+
msgstr "Definir clase de envio de producto con XPath"
|
1154 |
+
|
1155 |
+
#: ../../views/admin/import/_tabs/_shipping.php:49
|
1156 |
+
msgid ""
|
1157 |
+
"Value should be the slug for the shipping class - 'taxable', 'shipping' and "
|
1158 |
+
"'none' are the default slugs."
|
1159 |
+
msgstr ""
|
1160 |
+
"Valor debe ser el slug para la clase de envío - 'imponible', 'envío' y "
|
1161 |
+
"'ninguno' son los slugs de forma predeterminada."
|
1162 |
+
|
1163 |
+
#: ../../views/admin/import/_tabs/_variations.php:7
|
1164 |
+
msgid ""
|
1165 |
+
"All my variable products have SKUs or some other unique identifier. Each "
|
1166 |
+
"variation is linked to its parent with its parent's SKU or other unique "
|
1167 |
+
"identifier."
|
1168 |
+
msgstr ""
|
1169 |
+
"Todos mis productos variable tienen SKU o algún otro identificador único. "
|
1170 |
+
"Cada variación está ligada a su padre con SKU su padre u otro identificador "
|
1171 |
+
"único."
|
1172 |
+
|
1173 |
+
#: ../../views/admin/import/_tabs/_variations.php:11
|
1174 |
+
msgid "SKU element for parent"
|
1175 |
+
msgstr "Elemento SKU para padres"
|
1176 |
+
|
1177 |
+
#: ../../views/admin/import/_tabs/_variations.php:13
|
1178 |
+
msgid "SKU column in the below example."
|
1179 |
+
msgstr "Columna SKU en el siguiente ejemplo."
|
1180 |
+
|
1181 |
+
#: ../../views/admin/import/_tabs/_variations.php:16
|
1182 |
+
msgid "Parent SKU element for variation"
|
1183 |
+
msgstr "Elemento SKU primario para la variación"
|
1184 |
+
|
1185 |
+
#: ../../views/admin/import/_tabs/_variations.php:18
|
1186 |
+
msgid "Parent SKU column in the below example."
|
1187 |
+
msgstr "Columna SKU de primaria en el siguiente ejemplo."
|
1188 |
+
|
1189 |
+
#: ../../views/admin/import/_tabs/_variations.php:21 ../..
|
1190 |
+
#: /views/admin/import/_tabs/_variations.php:41 ../..
|
1191 |
+
#: /views/admin/import/_tabs/_variations.php:60 ../..
|
1192 |
+
#: /views/admin/import/_tabs/_variations.php:78
|
1193 |
+
msgid "Example Data For Use With This Option"
|
1194 |
+
msgstr "Datos de ejemplo para utilizar con esta opción"
|
1195 |
+
|
1196 |
+
#: ../../views/admin/import/_tabs/_variations.php:21 ../..
|
1197 |
+
#: /views/admin/import/_tabs/_variations.php:41 ../..
|
1198 |
+
#: /views/admin/import/_tabs/_variations.php:60 ../..
|
1199 |
+
#: /views/admin/import/_tabs/_variations.php:78
|
1200 |
+
msgid "download"
|
1201 |
+
msgstr "No hay archivos para descargar!"
|
1202 |
+
|
1203 |
+
#: ../../views/admin/import/_tabs/_variations.php:31
|
1204 |
+
msgid ""
|
1205 |
+
"All products with variations are grouped with a unique identifier that is "
|
1206 |
+
"the same for each variation and unique for each product."
|
1207 |
+
msgstr ""
|
1208 |
+
"Todos los productos con variaciones son agrupados con un identificador único "
|
1209 |
+
"que es el mismo para cada variación y únicos para cada producto."
|
1210 |
+
|
1211 |
+
#: ../../views/admin/import/_tabs/_variations.php:36
|
1212 |
+
msgid "Unique Identifier"
|
1213 |
+
msgstr "Identificador único"
|
1214 |
+
|
1215 |
+
#: ../../views/admin/import/_tabs/_variations.php:38
|
1216 |
+
msgid "Group ID column in the below example."
|
1217 |
+
msgstr "Columna de ID de grupo en el siguiente ejemplo."
|
1218 |
+
|
1219 |
+
#: ../../views/admin/import/_tabs/_variations.php:51
|
1220 |
+
msgid ""
|
1221 |
+
"All variations for a particular product have the same title as the parent "
|
1222 |
+
"product."
|
1223 |
+
msgstr ""
|
1224 |
+
"Todas las variaciones para un producto en particular tienen el mismo título "
|
1225 |
+
"que el producto de los padres."
|
1226 |
+
|
1227 |
+
#: ../../views/admin/import/_tabs/_variations.php:56 ../..
|
1228 |
+
#: /views/admin/import/_tabs/_variations.php:74
|
1229 |
+
msgid "Product Title"
|
1230 |
+
msgstr "Título del Producto"
|
1231 |
+
|
1232 |
+
#: ../../views/admin/import/_tabs/_variations.php:70
|
1233 |
+
msgid ""
|
1234 |
+
"All variations for a particular product have the same title. There are no "
|
1235 |
+
"parent products."
|
1236 |
+
msgstr ""
|
1237 |
+
"Todas las variaciones para un producto en particular tienen el mismo título. "
|
1238 |
+
"No existen productos padre."
|
1239 |
+
|
1240 |
+
#: ../../views/admin/import/_tabs/_variations.php:88
|
1241 |
+
msgid "I'm importing XML and my variations are child XML elements"
|
1242 |
+
msgstr "Yo soy importar XML y mis variaciones son elementos XML de niño"
|
1243 |
+
|
1244 |
+
#: ../../views/admin/import/_tabs/_variations.php:95
|
1245 |
+
msgid "Video Example"
|
1246 |
+
msgstr "Video ejemplo"
|
1247 |
+
|
1248 |
+
#: ../../views/admin/import/_tabs/_variations.php:98
|
1249 |
+
msgid "Variations XPath"
|
1250 |
+
msgstr "Variaciones XPath"
|
1251 |
+
|
1252 |
+
#: ../../views/admin/import/_tabs/_variations.php:99
|
1253 |
+
msgid "Open XML Tree"
|
1254 |
+
msgstr "Árbol XML abierto"
|
1255 |
+
|
1256 |
+
#: ../../views/admin/import/_tabs/_variations.php:124
|
1257 |
+
msgid "Add value to the parent SKU"
|
1258 |
+
msgstr "Agregar valor a los padres SKU"
|
1259 |
+
|
1260 |
+
#: ../../views/admin/import/_tabs/_variations.php:125
|
1261 |
+
msgid "Enable this checkbox to combine SKU from parent and variation products."
|
1262 |
+
msgstr ""
|
1263 |
+
"Active esta casilla de verificación combinar SKU de productos padres y "
|
1264 |
+
"variación."
|
1265 |
+
|
1266 |
+
#: ../../views/admin/import/_tabs/_variations.php:129
|
1267 |
+
msgid "Image"
|
1268 |
+
msgstr "Imagen"
|
1269 |
+
|
1270 |
+
#: ../../views/admin/import/_tabs/_variations.php:134 ../..
|
1271 |
+
#: /views/admin/import/_tabs/_variations.php:143 ../..
|
1272 |
+
#: /views/admin/import/_tabs/_variations.php:171 ../..
|
1273 |
+
#: /views/admin/import/_tabs/_variations.php:185 ../..
|
1274 |
+
#: /views/admin/import/_tabs/_variations.php:228 ../..
|
1275 |
+
#: /views/admin/import/_tabs/_variations.php:239 ../..
|
1276 |
+
#: /views/admin/import/_tabs/_variations.php:249 ../..
|
1277 |
+
#: /views/admin/import/_tabs/_variations.php:262 ../..
|
1278 |
+
#: /views/admin/import/_tabs/_variations.php:294 ../..
|
1279 |
+
#: /views/admin/import/_tabs/_variations.php:308 ../..
|
1280 |
+
#: /views/admin/import/_tabs/_variations.php:316 ../..
|
1281 |
+
#: /views/admin/import/_tabs/_variations.php:365 ../..
|
1282 |
+
#: /views/admin/import/_tabs/_variations.php:409 ../..
|
1283 |
+
#: /views/admin/import/_tabs/_variations.php:438 ../..
|
1284 |
+
#: /views/admin/import/_tabs/_variations.php:464 ../..
|
1285 |
+
#: /views/admin/import/_tabs/_variations.php:473
|
1286 |
+
msgid "XPath Is From Parent"
|
1287 |
+
msgstr "XPath es de los padres"
|
1288 |
+
|
1289 |
+
#: ../../views/admin/import/_tabs/_variations.php:186
|
1290 |
+
msgid "Enable this checkbox to determine XPath from parent element."
|
1291 |
+
msgstr "Active esta casilla de verificación determinar XPath del elemento primario."
|
1292 |
+
|
1293 |
+
#: ../../views/admin/import/_tabs/_variations.php:206
|
1294 |
+
msgid ""
|
1295 |
+
"Set the stock status to In Stock for positive or blank Stock Qty values, and "
|
1296 |
+
"Out Of Stock if Stock Qty is 0."
|
1297 |
+
msgstr ""
|
1298 |
+
"Establece el estado del stock en Stock para valores de cantidad de Stock "
|
1299 |
+
"positivos o en blanco y la de acción si cantidad de Stock es 0."
|
1300 |
+
|
1301 |
+
#: ../../views/admin/import/_tabs/_variations.php:223
|
1302 |
+
msgid "Regular Price"
|
1303 |
+
msgstr "Precio Normal"
|
1304 |
+
|
1305 |
+
#: ../../views/admin/import/_tabs/_variations.php:232
|
1306 |
+
msgid "Sale Price"
|
1307 |
+
msgstr "Precio De Venta"
|
1308 |
+
|
1309 |
+
#: ../../views/admin/import/_tabs/_variations.php:258
|
1310 |
+
msgid "Variable Sale Price Dates"
|
1311 |
+
msgstr "Precio de venta variable Data"
|
1312 |
+
|
1313 |
+
#: ../../views/admin/import/_tabs/_variations.php:303
|
1314 |
+
msgid "Weight"
|
1315 |
+
msgstr "Peso"
|
1316 |
+
|
1317 |
+
#: ../../views/admin/import/_tabs/_variations.php:312
|
1318 |
+
msgid "Dimensions (L×W×H)"
|
1319 |
+
msgstr "Dimensiones (L × W × H)"
|
1320 |
+
|
1321 |
+
#: ../../views/admin/import/_tabs/_variations.php:361
|
1322 |
+
msgid ""
|
1323 |
+
"The value of presented XPath should be one of the following: ('taxable', "
|
1324 |
+
"'shipping', 'none')."
|
1325 |
+
msgstr ""
|
1326 |
+
"El valor de XPath presentado debe ser uno de los siguientes: ('pasivo', "
|
1327 |
+
"'Enviar', 'none')."
|
1328 |
+
|
1329 |
+
#: ../../views/admin/import/_tabs/_variations.php:389
|
1330 |
+
msgid "Same as parent"
|
1331 |
+
msgstr "Igual que el padre"
|
1332 |
+
|
1333 |
+
#: ../../views/admin/import/_tabs/_variations.php:400
|
1334 |
+
msgid "Set product tax class with XPath"
|
1335 |
+
msgstr "Definir clase de impuesto del producto con XPath"
|
1336 |
+
|
1337 |
+
#: ../../views/admin/import/_tabs/_variations.php:405
|
1338 |
+
msgid ""
|
1339 |
+
"The value of presented XPath should be one of the following: ('reduced-rate',"
|
1340 |
+
" 'zero-rate')."
|
1341 |
+
msgstr ""
|
1342 |
+
"El valor de XPath presentado debe ser uno de los siguientes: ('tarifa "
|
1343 |
+
"reducida', ' Eco-préstamo')."
|
1344 |
+
|
1345 |
+
#: ../../views/admin/import/_tabs/_variations.php:450
|
1346 |
+
msgid ""
|
1347 |
+
"File paths/URLs, comma separated. The delimiter option uses when xml element "
|
1348 |
+
"contains few paths/URLs (http://files.com/1.doc, http://files.com/2.doc)."
|
1349 |
+
msgstr ""
|
1350 |
+
"Caminos de archivo/URL, separados por comas. La opción de delimitador "
|
1351 |
+
"utiliza al elemento xml contiene pocos caminos/URLs (http://files.com/1.doc, "
|
1352 |
+
"http://files.com/2.doc)."
|
1353 |
+
|
1354 |
+
#: ../../views/admin/import/_tabs/_variations.php:508
|
1355 |
+
msgid "Variation Attributes"
|
1356 |
+
msgstr "Variación de atributos"
|
1357 |
+
|
1358 |
+
#: ../../views/admin/import/_tabs/_variations.php:545 ../..
|
1359 |
+
#: /views/admin/import/_tabs/_variations.php:577 ../..
|
1360 |
+
#: /views/admin/import/_tabs/_variations.php:607
|
1361 |
+
msgid "Taxonomy"
|
1362 |
+
msgstr "Taxonomía"
|
1363 |
+
|
1364 |
+
#: ../../views/admin/import/_tabs/_variations.php:632
|
1365 |
+
msgid "No matching elements found for XPath expression specified"
|
1366 |
+
msgstr "No elementos coincidentes para la expresión XPath especificada"
|
1367 |
+
|
1368 |
+
#: ../../views/admin/import/_tabs/_variations.php:740
|
1369 |
+
msgid "Set the default selection in the attributes dropdowns."
|
1370 |
+
msgstr "Establecer la selección por defecto en los menús desplegables de atributos."
|
1371 |
+
|
1372 |
+
#: ../../views/admin/import/_tabs/_variations.php:741
|
1373 |
+
msgid ""
|
1374 |
+
"The attributes for the first variation will be automatically selected on the "
|
1375 |
+
"frontend."
|
1376 |
+
msgstr ""
|
1377 |
+
"Los atributos de la primera variación se seleccionará automáticamente en el "
|
1378 |
+
"frontend."
|
1379 |
+
|
1380 |
+
#: ../../views/admin/import/_tabs/_variations.php:746
|
1381 |
+
msgid "Set first variation as the default selection."
|
1382 |
+
msgstr "Establecer la primera variación como la selección predeterminada."
|
1383 |
+
|
1384 |
+
#: ../../views/admin/import/_tabs/_variations.php:750
|
1385 |
+
msgid "Set first in stock variation as the default selection."
|
1386 |
+
msgstr "Ajustar en variación de existencias como la selección predeterminada."
|
1387 |
+
|
1388 |
+
#: ../../views/admin/import/_tabs/_variations.php:755
|
1389 |
+
msgid "Do not set default selections for the dropdowns."
|
1390 |
+
msgstr "No coloque predeterminadas para los menús desplegables."
|
1391 |
+
|
1392 |
+
#: ../../views/admin/import/_tabs/_variations.php:761
|
1393 |
+
msgid "Create products with no variations as simple products."
|
1394 |
+
msgstr "Crear productos con sin variaciones como simples productos."
|
1395 |
+
|
1396 |
+
#: ../../views/admin/import/_tabs/_variations.php:766
|
1397 |
+
msgid "Save variation image to the gallery."
|
1398 |
+
msgstr "Guardar imagen de variación a la galería."
|
1399 |
+
|
1400 |
+
#: ../../views/admin/import/_tabs/_variations.php:771
|
1401 |
+
msgid ""
|
1402 |
+
"Set _stock value for parent product to the _stock value for the first "
|
1403 |
+
"variation."
|
1404 |
+
msgstr ""
|
1405 |
+
"Establezca el valor de _stock para producto de padres en el valor _stock "
|
1406 |
+
"para la primera variación."
|
1407 |
+
|
1408 |
+
#: ../../views/admin/import/_tabs/_variations.php:772
|
1409 |
+
msgid ""
|
1410 |
+
"This option works when there are no parent products in your feed ( cases 2 "
|
1411 |
+
"and 4 on Variations tab)."
|
1412 |
+
msgstr ""
|
1413 |
+
"Esta opción funciona cuando no hay padre productos en su alimentación (casos "
|
1414 |
+
"2 y 4 en la ficha de variaciones)."
|
models/import/record.php
CHANGED
@@ -46,6 +46,8 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
46 |
*/
|
47 |
public function parse($parsing_data = array()) { //$import, $count, $xml, $logger = NULL, $chunk = false, $xpath_prefix = ""
|
48 |
|
|
|
|
|
49 |
extract($parsing_data);
|
50 |
|
51 |
add_filter('user_has_cap', array($this, '_filter_has_cap_unfiltered_html')); kses_init(); // do not perform special filtering for imported content
|
@@ -58,7 +60,7 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
58 |
$records = array();
|
59 |
$tmp_files = array();
|
60 |
|
61 |
-
$chunk == 1 and $logger and call_user_func($logger, __('Composing product data...', '
|
62 |
|
63 |
// Composing product types
|
64 |
if ($import->options['is_multiple_product_type'] != 'yes' and "" != $import->options['single_product_type']){
|
@@ -466,7 +468,7 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
466 |
}
|
467 |
|
468 |
// Composing variations attributes
|
469 |
-
$chunk == 1 and $logger and call_user_func($logger, __('Composing variations attributes...', '
|
470 |
$attribute_keys = array();
|
471 |
$attribute_values = array();
|
472 |
$attribute_in_variation = array();
|
@@ -610,6 +612,13 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
610 |
return ("" == $var) ? false : true;
|
611 |
}
|
612 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
613 |
public function import( $importData = array() ){
|
614 |
|
615 |
extract($importData);
|
@@ -625,11 +634,11 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
625 |
$is_new_product = empty($articleData['ID']);
|
626 |
|
627 |
// Get types
|
628 |
-
$product_type =
|
629 |
|
630 |
if ($this->options['update_all_data'] == 'no' and ! $this->options['is_update_product_type'] and ! $is_new_product ){
|
631 |
-
$product = get_product($pid);
|
632 |
-
$product_type = $product->product_type;
|
633 |
}
|
634 |
|
635 |
$this->existing_meta_keys = array();
|
@@ -648,14 +657,18 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
648 |
$is_featured = $product_featured[$i];
|
649 |
|
650 |
// Product type + Downloadable/Virtual
|
651 |
-
if ($is_new_product or $this->options['update_all_data'] == 'yes' or ($this->options['update_all_data'] == 'no' and $this->options['is_update_product_type'])) {
|
652 |
-
//wp_set_object_terms( $pid, $product_type, 'product_type' );
|
653 |
$product_type_term = term_exists($product_type, 'product_type', 0);
|
654 |
if ( ! empty($product_type_term) and ! is_wp_error($product_type_term) ){
|
655 |
$this->associate_terms( $pid, array( (int) $product_type_term['term_taxonomy_id'] ), 'product_type' );
|
656 |
}
|
657 |
}
|
658 |
|
|
|
|
|
|
|
|
|
|
|
659 |
$this->pushmeta($pid, '_downloadable', ($is_downloadable == "yes") ? 'yes' : 'no' );
|
660 |
$this->pushmeta($pid, '_virtual', ($is_virtual == "yes") ? 'yes' : 'no' );
|
661 |
|
@@ -681,48 +694,56 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
681 |
$this->pushmeta($pid, '_height', '' );
|
682 |
}
|
683 |
|
684 |
-
if ($this->
|
685 |
|
686 |
-
if ($
|
687 |
|
688 |
// Save shipping class
|
689 |
if ( pmwi_is_update_taxonomy($articleData, $this->options, 'product_shipping_class') )
|
690 |
{
|
691 |
|
692 |
-
$p_shipping_class = $
|
693 |
|
694 |
if ( $p_shipping_class != '' )
|
695 |
{
|
696 |
|
697 |
-
if (
|
698 |
{
|
699 |
-
$t_shipping_class = get_term_by('slug', $p_shipping_class, 'product_shipping_class');
|
700 |
|
701 |
-
if (
|
702 |
-
|
703 |
-
$
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
if ( ! empty($t_shipping_class) and ! is_wp_error($t_shipping_class) )
|
710 |
-
{
|
711 |
-
$p_shipping_class = (int) $t_shipping_class['term_taxonomy_id'];
|
712 |
}
|
713 |
else
|
714 |
-
{
|
715 |
-
$t_shipping_class =
|
716 |
-
|
717 |
-
'product_shipping_class' // the taxonomy
|
718 |
-
);
|
719 |
-
|
720 |
if ( ! empty($t_shipping_class) and ! is_wp_error($t_shipping_class) )
|
721 |
{
|
722 |
$p_shipping_class = (int) $t_shipping_class['term_taxonomy_id'];
|
723 |
}
|
724 |
-
|
725 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
726 |
}
|
727 |
else{
|
728 |
|
@@ -788,7 +809,7 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
788 |
AND ".$this->wpdb->postmeta.".meta_key = '_sku' AND ".$this->wpdb->postmeta.".meta_value = '%s'
|
789 |
", $new_sku ) )
|
790 |
) {
|
791 |
-
$logger and call_user_func($logger, sprintf(__('<b>WARNING</b>: Product SKU must be unique.', '
|
792 |
|
793 |
} else {
|
794 |
$this->pushmeta($pid, '_sku', $new_sku );
|
@@ -834,7 +855,7 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
834 |
}
|
835 |
|
836 |
// Update only these Attributes, leave the rest alone
|
837 |
-
if ($this->options['update_all_data'] == "no" and $this->options['is_update_attributes'] and $this->options['update_attributes_logic'] == 'only'){
|
838 |
if ( ! empty($this->options['attributes_list']) and is_array($this->options['attributes_list'])) {
|
839 |
if ( ! in_array( ( ($is_taxonomy) ? wc_attribute_taxonomy_name( $attr_name ) : $attr_name ) , array_filter($this->options['attributes_list'], 'trim'))){
|
840 |
$attribute_position++;
|
@@ -848,7 +869,7 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
848 |
}
|
849 |
|
850 |
// Leave these attributes alone, update all other Attributes
|
851 |
-
if ($this->options['update_all_data'] == "no" and $this->options['is_update_attributes'] and $this->options['update_attributes_logic'] == 'all_except'){
|
852 |
if ( ! empty($this->options['attributes_list']) and is_array($this->options['attributes_list'])) {
|
853 |
if ( in_array( ( ($is_taxonomy) ? wc_attribute_taxonomy_name( $attr_name ) : $attr_name ) , array_filter($this->options['attributes_list'], 'trim'))){
|
854 |
$attribute_position++;
|
@@ -989,16 +1010,10 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
989 |
$this->pushmeta($pid, '_sale_price_dates_from', strtotime( 'NOW', current_time( 'timestamp' ) ) );
|
990 |
}
|
991 |
|
992 |
-
// Update price if on sale
|
993 |
-
|
994 |
-
|
995 |
-
|
996 |
-
if ( ! empty($this->articleData['ID']) and ! $this->is_update_cf('_sale_price') )
|
997 |
-
{
|
998 |
-
$product_sale_price[$i] = get_post_meta($pid, '_sale_price', true);
|
999 |
-
|
1000 |
-
}
|
1001 |
-
|
1002 |
}
|
1003 |
|
1004 |
if ( $product_sale_price[$i] != '' && $date_to == '' && $date_from == '' ){
|
@@ -1125,12 +1140,12 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
1125 |
$this->pushmeta($pid, '_manage_stock', $manage_stock);
|
1126 |
$this->pushmeta($pid, '_backorders', $backorders);
|
1127 |
|
1128 |
-
if ( $stock_status
|
1129 |
-
|
1130 |
}
|
1131 |
|
1132 |
-
if ( $product_manage_stock[$i] == 'yes' ) {
|
1133 |
-
$this->
|
1134 |
} else {
|
1135 |
$this->pushmeta($pid, '_stock', '');
|
1136 |
}
|
@@ -1226,66 +1241,28 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
1226 |
$this->pushmeta($pid, '_download_expiry', esc_attr( $_download_expiry ));
|
1227 |
|
1228 |
if ( isset( $product_download_type[$i] ) )
|
1229 |
-
$this->pushmeta($pid, '_download_type', esc_attr( $product_download_type ));
|
1230 |
|
1231 |
}
|
1232 |
-
|
1233 |
-
// Product url
|
1234 |
-
if ( $product_type == 'external' ) {
|
1235 |
-
if ( isset( $product_url[$i] ) && $product_url[$i] ){
|
1236 |
-
$this->auto_cloak_links($import, $product_url[$i]);
|
1237 |
-
$this->pushmeta($pid, '_product_url', esc_attr( $product_url[$i] ));
|
1238 |
-
}
|
1239 |
-
if ( isset( $product_button_text[$i] ) && $product_button_text[$i] ){
|
1240 |
-
$this->pushmeta($pid, '_button_text', esc_attr( $product_button_text[$i] ));
|
1241 |
-
}
|
1242 |
-
}
|
1243 |
-
|
1244 |
// prepare bulk SQL query
|
1245 |
//$this->executeSQL();
|
1246 |
|
1247 |
wc_delete_product_transients($pid);
|
1248 |
|
1249 |
-
}
|
1250 |
-
|
1251 |
-
public function make_simple_product($post_parent){
|
1252 |
-
|
1253 |
-
// $children = get_posts( array(
|
1254 |
-
// 'post_parent' => $post_parent,
|
1255 |
-
// 'posts_per_page'=> -1,
|
1256 |
-
// 'post_type' => 'product_variation',
|
1257 |
-
// 'fields' => 'ids',
|
1258 |
-
// 'orderby' => 'ID',
|
1259 |
-
// 'order' => 'ASC',
|
1260 |
-
// 'post_status' => array('draft', 'publish', 'trash', 'pending', 'future', 'private')
|
1261 |
-
// ) );
|
1262 |
-
|
1263 |
-
// if (count($children)){
|
1264 |
-
// foreach ($children as $child) {
|
1265 |
-
// wp_delete_post($child);
|
1266 |
-
// }
|
1267 |
-
// }
|
1268 |
-
|
1269 |
-
//wp_set_object_terms( $post_parent, 'simple', 'product_type' );
|
1270 |
-
|
1271 |
-
$product_type_term = term_exists('simple', 'product_type', 0);
|
1272 |
-
if ( ! empty($product_type_term) and ! is_wp_error($product_type_term) ){
|
1273 |
-
$this->associate_terms( $post_parent, array( (int) $product_type_term['term_taxonomy_id'] ), 'product_type' );
|
1274 |
-
}
|
1275 |
-
|
1276 |
-
$this->pmwi_update_prices( $post_parent );
|
1277 |
-
}
|
1278 |
|
1279 |
public function wpai_gallery_image($pid, $attid, $image_filepath){
|
1280 |
|
1281 |
$table = $this->wpdb->posts;
|
1282 |
|
1283 |
-
$p = $this->wpdb->get_row($this->wpdb->prepare("SELECT * FROM $table WHERE ID = %d;", $pid));
|
1284 |
|
1285 |
if ($p and $p->post_parent){
|
1286 |
|
1287 |
$gallery = explode(",", get_post_meta($p->post_parent, '_product_image_gallery', true));
|
1288 |
if (is_array($gallery)){
|
|
|
1289 |
if ( ! in_array($attid, $gallery) ) $gallery[] = $attid;
|
1290 |
}
|
1291 |
else{
|
@@ -1325,7 +1302,7 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
1325 |
//$table = _get_meta_table( 'post' );
|
1326 |
|
1327 |
if ( empty($this->articleData['ID']) or $this->is_update_cf($meta_key)){
|
1328 |
-
|
1329 |
update_post_meta($pid, $meta_key, $meta_value);
|
1330 |
|
1331 |
/*$this->wpdb->query($this->wpdb->prepare("DELETE FROM $table WHERE `post_id` = $pid AND `meta_key` = %s", $meta_key));
|
@@ -1370,7 +1347,7 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
1370 |
|
1371 |
}
|
1372 |
|
1373 |
-
protected function associate_terms($pid, $assign_taxes, $tx_name, $logger = false){
|
1374 |
|
1375 |
$terms = wp_get_object_terms( $pid, $tx_name );
|
1376 |
$term_ids = array();
|
@@ -1383,13 +1360,16 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
1383 |
$term_ids[] = $term_info->term_taxonomy_id;
|
1384 |
$this->wpdb->query( $this->wpdb->prepare("UPDATE {$this->wpdb->term_taxonomy} SET count = count - 1 WHERE term_taxonomy_id = %d", $term_info->term_taxonomy_id) );
|
1385 |
}
|
1386 |
-
$in_tt_ids = "'" . implode( "', '", $term_ids ) . "'";
|
1387 |
$this->wpdb->query( $this->wpdb->prepare( "DELETE FROM {$this->wpdb->term_relationships} WHERE object_id = %d AND term_taxonomy_id IN ($in_tt_ids)", $pid ) );
|
|
|
|
|
|
|
1388 |
}
|
1389 |
}
|
1390 |
|
1391 |
if (empty($assign_taxes)){
|
1392 |
-
//_wc_term_recount($terms, $tx_name, true, false);
|
1393 |
return;
|
1394 |
}
|
1395 |
|
@@ -1410,73 +1390,14 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
1410 |
|
1411 |
if ( $values ){
|
1412 |
if ( false === $this->wpdb->query( "INSERT INTO {$this->wpdb->term_relationships} (object_id, term_taxonomy_id, term_order) VALUES " . join( ',', $values ) . " ON DUPLICATE KEY UPDATE term_order = VALUES(term_order)" ) ){
|
1413 |
-
$logger and call_user_func($logger, __('<b>ERROR</b> Could not insert term relationship into the database', '
|
1414 |
}
|
1415 |
}
|
1416 |
|
1417 |
wp_cache_delete( $pid, $tx_name . '_relationships' );
|
1418 |
|
1419 |
//_wc_term_recount( $assign_taxes, $tx_name );
|
1420 |
-
}
|
1421 |
-
|
1422 |
-
protected function duplicate_post_meta( $new_id, $id ) {
|
1423 |
-
|
1424 |
-
$table = _get_meta_table('post');
|
1425 |
-
|
1426 |
-
$post_meta_infos = $this->wpdb->get_results("SELECT meta_key, meta_value FROM $table WHERE post_id=$id");
|
1427 |
-
|
1428 |
-
if (count($post_meta_infos)!=0) {
|
1429 |
-
$sql_query_sel = array();
|
1430 |
-
$sql_query = "INSERT INTO $table (post_id, meta_key, meta_value) ";
|
1431 |
-
foreach ($post_meta_infos as $meta_info) {
|
1432 |
-
//if ($this->is_update_cf($meta_info->meta_key)){
|
1433 |
-
$this->pushmeta($new_id, $meta_info->meta_key, $meta_info->meta_value);
|
1434 |
-
//$meta_key = $meta_info->meta_key;
|
1435 |
-
// $this->wpdb->query($this->wpdb->prepare("DELETE FROM $table WHERE `post_id` = $new_id AND `meta_key` = %s", $meta_key));
|
1436 |
-
// $meta_value = addslashes($meta_info->meta_value);
|
1437 |
-
// $sql_query_sel[]= "SELECT $new_id, '$meta_key', '$meta_value'";
|
1438 |
-
//}
|
1439 |
-
}
|
1440 |
-
// if ( ! empty($sql_query_sel) ){
|
1441 |
-
// $sql_query.= implode(" UNION ALL ", $sql_query_sel);
|
1442 |
-
// $this->wpdb->query($sql_query);
|
1443 |
-
// }
|
1444 |
-
}
|
1445 |
-
|
1446 |
-
}
|
1447 |
-
|
1448 |
-
function pmwi_buf_prices($pid){
|
1449 |
-
|
1450 |
-
$table = _get_meta_table('post');
|
1451 |
-
|
1452 |
-
$post_meta_infos = $this->wpdb->get_results("SELECT meta_key, meta_value FROM $table WHERE post_id=$pid");
|
1453 |
-
|
1454 |
-
foreach ($post_meta_infos as $meta_info) {
|
1455 |
-
if (in_array($meta_info->meta_key, array('_regular_price', '_sale_price', '_sale_price_dates_from', '_sale_price_dates_from', '_sale_price_dates_to', '_price', '_stock'))){
|
1456 |
-
$this->pushmeta($pid, $meta_info->meta_key . '_tmp', $meta_info->meta_value);
|
1457 |
-
}
|
1458 |
-
}
|
1459 |
-
|
1460 |
-
//$this->executeSQL();
|
1461 |
-
|
1462 |
-
}
|
1463 |
-
|
1464 |
-
function pmwi_update_prices($pid){
|
1465 |
-
|
1466 |
-
$table = _get_meta_table('post');
|
1467 |
-
|
1468 |
-
$post_meta_infos = $this->wpdb->get_results("SELECT meta_key, meta_value FROM $table WHERE post_id=$pid");
|
1469 |
-
|
1470 |
-
foreach ($post_meta_infos as $meta_info) {
|
1471 |
-
if (in_array($meta_info->meta_key, array('_regular_price_tmp', '_sale_price_tmp', '_sale_price_dates_from_tmp', '_sale_price_dates_from_tmp', '_sale_price_dates_to_tmp', '_price_tmp', '_stock_tmp'))){
|
1472 |
-
$this->pushmeta($pid, str_replace('_tmp', '', $meta_info->meta_key), $meta_info->meta_value);
|
1473 |
-
delete_post_meta( $pid, $meta_info->meta_key );
|
1474 |
-
}
|
1475 |
-
}
|
1476 |
-
|
1477 |
-
//$this->executeSQL();
|
1478 |
-
|
1479 |
-
}
|
1480 |
|
1481 |
function create_taxonomy($attr_name, $logger){
|
1482 |
|
@@ -1495,7 +1416,7 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
1495 |
// }
|
1496 |
|
1497 |
if ( in_array( $attribute_name, $this->reserved_terms ) ) {
|
1498 |
-
$logger and call_user_func($logger, sprintf(__('- <b>WARNING</b>: Slug “%s” is not allowed because it is a reserved term. Change it, please.', '
|
1499 |
}
|
1500 |
else{
|
1501 |
|
@@ -1528,332 +1449,21 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
1528 |
set_transient( 'wc_attribute_taxonomies', $attribute_taxonomies );
|
1529 |
apply_filters( 'woocommerce_attribute_taxonomies', $attribute_taxonomies );
|
1530 |
|
1531 |
-
$logger and call_user_func($logger, sprintf(__('- <b>CREATED</b>: Taxonomy attribute “%s” have been successfully created.', '
|
1532 |
|
1533 |
}
|
1534 |
else{
|
1535 |
-
$logger and call_user_func($logger, sprintf(__('- <b>WARNING</b>: Taxonomy “%s” name is more than 32 characters. Change it, please.', '
|
1536 |
}
|
1537 |
}
|
1538 |
}
|
1539 |
}
|
1540 |
-
|
1541 |
-
function pmwi_link_all_variations($product_id, $options = array()) {
|
1542 |
-
|
1543 |
-
global $woocommerce;
|
1544 |
-
|
1545 |
-
@set_time_limit(0);
|
1546 |
-
|
1547 |
-
$post_id = intval( $product_id );
|
1548 |
-
|
1549 |
-
if ( ! $post_id ) return 0;
|
1550 |
-
|
1551 |
-
$variations = array();
|
1552 |
-
|
1553 |
-
$_product = get_product( $post_id, array( 'product_type' => 'variable' ) );
|
1554 |
-
|
1555 |
-
$v = $_product->get_attributes();
|
1556 |
-
|
1557 |
-
// Put variation attributes into an array
|
1558 |
-
foreach ( $_product->get_attributes() as $attribute ) {
|
1559 |
-
|
1560 |
-
if ( ! $attribute['is_variation'] ) continue;
|
1561 |
-
|
1562 |
-
$attribute_field_name = 'attribute_' . sanitize_title( $attribute['name'] );
|
1563 |
-
|
1564 |
-
if ( $attribute['is_taxonomy'] ) {
|
1565 |
-
$post_terms = wp_get_post_terms( $post_id, $attribute['name'] );
|
1566 |
-
$options = array();
|
1567 |
-
foreach ( $post_terms as $term ) {
|
1568 |
-
$options[] = $term->slug;
|
1569 |
-
}
|
1570 |
-
} else {
|
1571 |
-
$options = explode( '|', $attribute['value'] );
|
1572 |
-
}
|
1573 |
-
|
1574 |
-
$options = array_map( 'sanitize_title', array_map( 'trim', $options ) );
|
1575 |
-
|
1576 |
-
$variations[ $attribute_field_name ] = $options;
|
1577 |
-
}
|
1578 |
-
|
1579 |
-
// Quit out if none were found
|
1580 |
-
if ( sizeof( $variations ) == 0 ) return 0;
|
1581 |
-
|
1582 |
-
// Get existing variations so we don't create duplicates
|
1583 |
-
$available_variations = array();
|
1584 |
-
|
1585 |
-
foreach( $_product->get_children() as $child_id ) {
|
1586 |
-
$child = $_product->get_child( $child_id );
|
1587 |
-
|
1588 |
-
if ( ! empty( $child->variation_id ) ) {
|
1589 |
-
$available_variations[] = $child->get_variation_attributes();
|
1590 |
-
|
1591 |
-
update_post_meta( $child->variation_id, '_regular_price', get_post_meta( $post_id, '_regular_price', true ) );
|
1592 |
-
update_post_meta( $child->variation_id, '_sale_price', get_post_meta( $post_id, '_sale_price', true ) );
|
1593 |
-
if ( class_exists('woocommerce_wholesale_pricing') ) update_post_meta( $child->variation_id, 'pmxi_wholesale_price', get_post_meta( $post_id, 'pmxi_wholesale_price', true ) );
|
1594 |
-
update_post_meta( $child->variation_id, '_sale_price_dates_from', get_post_meta( $post_id, '_sale_price_dates_from', true ) );
|
1595 |
-
update_post_meta( $child->variation_id, '_sale_price_dates_to', get_post_meta( $post_id, '_sale_price_dates_to', true ) );
|
1596 |
-
update_post_meta( $child->variation_id, '_price', get_post_meta( $post_id, '_price', true ) );
|
1597 |
-
update_post_meta( $child->variation_id, '_stock', get_post_meta( $post_id, '_stock', true ) );
|
1598 |
-
update_post_meta( $child->variation_id, '_stock_status', get_post_meta( $post_id, '_stock_status', true ) );
|
1599 |
-
update_post_meta( $child->variation_id, '_manage_stock', get_post_meta( $post_id, '_manage_stock', true ) );
|
1600 |
-
update_post_meta( $child->variation_id, '_backorders', get_post_meta( $post_id, '_backorders', true ) );
|
1601 |
-
}
|
1602 |
-
}
|
1603 |
-
|
1604 |
-
// Created posts will all have the following data
|
1605 |
-
$variation_post_data = array(
|
1606 |
-
'post_title' => 'Product #' . $post_id . ' Variation',
|
1607 |
-
'post_content' => '',
|
1608 |
-
'post_status' => 'publish',
|
1609 |
-
'post_author' => get_current_user_id(),
|
1610 |
-
'post_parent' => $post_id,
|
1611 |
-
'post_type' => 'product_variation'
|
1612 |
-
);
|
1613 |
-
|
1614 |
-
$variation_ids = array();
|
1615 |
-
$added = 0;
|
1616 |
-
$possible_variations = $this->array_cartesian( $variations );
|
1617 |
-
|
1618 |
-
foreach ( $possible_variations as $variation ) {
|
1619 |
-
|
1620 |
-
// Check if variation already exists
|
1621 |
-
if ( in_array( $variation, $available_variations ) )
|
1622 |
-
continue;
|
1623 |
-
|
1624 |
-
$variation_id = wp_insert_post( $variation_post_data );
|
1625 |
-
|
1626 |
-
update_post_meta( $variation_id, '_regular_price', get_post_meta( $post_id, '_regular_price', true ) );
|
1627 |
-
update_post_meta( $variation_id, '_sale_price', get_post_meta( $post_id, '_sale_price', true ) );
|
1628 |
-
if ( class_exists('woocommerce_wholesale_pricing') ) update_post_meta( $variation_id, 'pmxi_wholesale_price', get_post_meta( $post_id, 'pmxi_wholesale_price', true ) );
|
1629 |
-
update_post_meta( $variation_id, '_sale_price_dates_from', get_post_meta( $post_id, '_sale_price_dates_from', true ) );
|
1630 |
-
update_post_meta( $variation_id, '_sale_price_dates_to', get_post_meta( $post_id, '_sale_price_dates_to', true ) );
|
1631 |
-
update_post_meta( $variation_id, '_price', get_post_meta( $post_id, '_price', true ) );
|
1632 |
-
update_post_meta( $variation_id, '_stock', get_post_meta( $post_id, '_stock', true ) );
|
1633 |
-
update_post_meta( $variation_id, '_stock_status', get_post_meta( $post_id, '_stock_status', true ) );
|
1634 |
-
update_post_meta( $variation_id, '_manage_stock', get_post_meta( $post_id, '_manage_stock', true ) );
|
1635 |
-
update_post_meta( $variation_id, '_backorders', get_post_meta( $post_id, '_backorders', true ) );
|
1636 |
-
|
1637 |
-
|
1638 |
-
$variation_ids[] = $variation_id;
|
1639 |
-
|
1640 |
-
foreach ( $variation as $key => $value ) {
|
1641 |
-
update_post_meta( $variation_id, $key, $value );
|
1642 |
-
}
|
1643 |
-
|
1644 |
-
$added++;
|
1645 |
-
|
1646 |
-
//do_action( 'product_variation_linked', $variation_id );
|
1647 |
-
|
1648 |
-
}
|
1649 |
-
|
1650 |
-
$children = get_posts( array(
|
1651 |
-
'post_parent' => $post_id,
|
1652 |
-
'posts_per_page'=> -1,
|
1653 |
-
'post_type' => 'product_variation',
|
1654 |
-
'fields' => 'ids',
|
1655 |
-
'orderby' => 'ID',
|
1656 |
-
'order' => 'ASC',
|
1657 |
-
'post_status' => array('draft', 'publish', 'trash', 'pending', 'future', 'private')
|
1658 |
-
) );
|
1659 |
-
|
1660 |
-
// $total_instock = 0;
|
1661 |
-
|
1662 |
-
// if ( $children ) {
|
1663 |
-
// foreach ( $children as $n => $child ) {
|
1664 |
-
// $_variation_stock = get_post_meta($child, '_stock_status', true);
|
1665 |
-
|
1666 |
-
// $total_instock += ($_variation_stock == 'instock') ? 1 : 0;
|
1667 |
-
// }
|
1668 |
-
// }
|
1669 |
-
|
1670 |
-
// $this->pushmeta($post_id, '_stock_status', ($total_instock > 0) ? 'instock' : 'outofstock');
|
1671 |
-
|
1672 |
-
$default_attributes = array();
|
1673 |
-
foreach ( $v as $attribute ) {
|
1674 |
-
|
1675 |
-
$default_attributes[ sanitize_title($attribute['name']) ] = array();
|
1676 |
-
|
1677 |
-
$values = array();
|
1678 |
-
|
1679 |
-
foreach ( $children as $child ) {
|
1680 |
-
|
1681 |
-
$value = array_map( 'stripslashes', array_map( 'strip_tags', explode("|", trim( get_post_meta($child, 'attribute_'.sanitize_title($attribute['name']), true)))));
|
1682 |
-
|
1683 |
-
if ( ! empty($value) ){
|
1684 |
-
//$this->pushmeta($child, 'attribute_' . sanitize_title( $attribute['name'] ), $value[0]);
|
1685 |
-
foreach ($value as $val) {
|
1686 |
-
if ( ! in_array($val, $values, true) ) $values[] = $val;
|
1687 |
-
}
|
1688 |
-
}
|
1689 |
-
|
1690 |
-
if ( $attribute['is_variation'] ) {
|
1691 |
-
|
1692 |
-
if ( ! empty($values) and empty($default_attributes[ $attribute['name'] ])){
|
1693 |
-
switch ($this->options['default_attributes_type']) {
|
1694 |
-
case 'instock':
|
1695 |
-
$is_instock = get_post_meta($child, '_stock_status', true);
|
1696 |
-
if ($is_instock == 'instock'){
|
1697 |
-
$default_attributes[ sanitize_title($attribute['name']) ] = sanitize_title((is_array($value)) ? $value[0] : $value);
|
1698 |
-
}
|
1699 |
-
break;
|
1700 |
-
case 'first':
|
1701 |
-
$default_attributes[ sanitize_title($attribute['name']) ] = sanitize_title((is_array($values)) ? $values[0] : $values);
|
1702 |
-
break;
|
1703 |
-
|
1704 |
-
default:
|
1705 |
-
# code...
|
1706 |
-
break;
|
1707 |
-
}
|
1708 |
-
}
|
1709 |
-
}
|
1710 |
-
}
|
1711 |
-
}
|
1712 |
|
1713 |
-
if ($this->options['is_default_attributes']) $this->pushmeta($post_id, '_default_attributes', $default_attributes);
|
1714 |
-
|
1715 |
-
wc_delete_product_transients( $post_id );
|
1716 |
-
|
1717 |
-
return $added;
|
1718 |
-
}
|
1719 |
-
|
1720 |
-
|
1721 |
-
function array_cartesian( $input ) {
|
1722 |
-
|
1723 |
-
$result = array();
|
1724 |
-
|
1725 |
-
while ( list( $key, $values ) = each( $input ) ) {
|
1726 |
-
// If a sub-array is empty, it doesn't affect the cartesian product
|
1727 |
-
if ( empty( $values ) ) {
|
1728 |
-
continue;
|
1729 |
-
}
|
1730 |
-
|
1731 |
-
// Special case: seeding the product array with the values from the first sub-array
|
1732 |
-
if ( empty( $result ) ) {
|
1733 |
-
foreach ( $values as $value ) {
|
1734 |
-
$result[] = array( $key => $value );
|
1735 |
-
}
|
1736 |
-
}
|
1737 |
-
else {
|
1738 |
-
// Second and subsequent input sub-arrays work like this:
|
1739 |
-
// 1. In each existing array inside $product, add an item with
|
1740 |
-
// key == $key and value == first item in input sub-array
|
1741 |
-
// 2. Then, for each remaining item in current input sub-array,
|
1742 |
-
// add a copy of each existing array inside $product with
|
1743 |
-
// key == $key and value == first item in current input sub-array
|
1744 |
-
|
1745 |
-
// Store all items to be added to $product here; adding them on the spot
|
1746 |
-
// inside the foreach will result in an infinite loop
|
1747 |
-
$append = array();
|
1748 |
-
foreach( $result as &$product ) {
|
1749 |
-
// Do step 1 above. array_shift is not the most efficient, but it
|
1750 |
-
// allows us to iterate over the rest of the items with a simple
|
1751 |
-
// foreach, making the code short and familiar.
|
1752 |
-
$product[ $key ] = array_shift( $values );
|
1753 |
-
|
1754 |
-
// $product is by reference (that's why the key we added above
|
1755 |
-
// will appear in the end result), so make a copy of it here
|
1756 |
-
$copy = $product;
|
1757 |
-
|
1758 |
-
// Do step 2 above.
|
1759 |
-
foreach( $values as $item ) {
|
1760 |
-
$copy[ $key ] = $item;
|
1761 |
-
$append[] = $copy;
|
1762 |
-
}
|
1763 |
-
|
1764 |
-
// Undo the side effecst of array_shift
|
1765 |
-
array_unshift( $values, $product[ $key ] );
|
1766 |
-
}
|
1767 |
-
|
1768 |
-
// Out of the foreach, we can add to $results now
|
1769 |
-
$result = array_merge( $result, $append );
|
1770 |
-
}
|
1771 |
-
}
|
1772 |
-
|
1773 |
-
return $result;
|
1774 |
-
}
|
1775 |
-
|
1776 |
public function _filter_has_cap_unfiltered_html($caps)
|
1777 |
{
|
1778 |
$caps['unfiltered_html'] = true;
|
1779 |
return $caps;
|
1780 |
-
}
|
1781 |
-
|
1782 |
-
function auto_cloak_links($import, &$url){
|
1783 |
-
|
1784 |
-
$url = apply_filters('pmwi_cloak_affiliate_url', trim($url), $import->id);
|
1785 |
-
|
1786 |
-
// cloak urls with `WP Wizard Cloak` if corresponding option is set
|
1787 |
-
if ( ! empty($import->options['is_cloak']) and class_exists('PMLC_Plugin')) {
|
1788 |
-
if (preg_match('%^\w+://%i', $url)) { // mask only links having protocol
|
1789 |
-
// try to find matching cloaked link among already registered ones
|
1790 |
-
$list = new PMLC_Link_List(); $linkTable = $list->getTable();
|
1791 |
-
$rule = new PMLC_Rule_Record(); $ruleTable = $rule->getTable();
|
1792 |
-
$dest = new PMLC_Destination_Record(); $destTable = $dest->getTable();
|
1793 |
-
$list->join($ruleTable, "$ruleTable.link_id = $linkTable.id")
|
1794 |
-
->join($destTable, "$destTable.rule_id = $ruleTable.id")
|
1795 |
-
->setColumns("$linkTable.*")
|
1796 |
-
->getBy(array(
|
1797 |
-
"$linkTable.destination_type =" => 'ONE_SET',
|
1798 |
-
"$linkTable.is_trashed =" => 0,
|
1799 |
-
"$linkTable.preset =" => '',
|
1800 |
-
"$linkTable.expire_on =" => '0000-00-00',
|
1801 |
-
"$ruleTable.type =" => 'ONE_SET',
|
1802 |
-
"$destTable.weight =" => 100,
|
1803 |
-
"$destTable.url LIKE" => $url,
|
1804 |
-
), NULL, 1, 1)->convertRecords();
|
1805 |
-
if ($list->count()) { // matching link found
|
1806 |
-
$link = $list[0];
|
1807 |
-
} else { // register new cloaked link
|
1808 |
-
global $wpdb;
|
1809 |
-
$slug = max(
|
1810 |
-
intval($wpdb->get_var("SELECT MAX(CONVERT(name, SIGNED)) FROM $linkTable")),
|
1811 |
-
intval($wpdb->get_var("SELECT MAX(CONVERT(slug, SIGNED)) FROM $linkTable")),
|
1812 |
-
0
|
1813 |
-
);
|
1814 |
-
$i = 0; do {
|
1815 |
-
is_int(++$slug) and $slug > 0 or $slug = 1;
|
1816 |
-
$is_slug_found = ! intval($wpdb->get_var("SELECT COUNT(*) FROM $linkTable WHERE name = '$slug' OR slug = '$slug'"));
|
1817 |
-
} while( ! $is_slug_found and $i++ < 100000);
|
1818 |
-
if ($is_slug_found) {
|
1819 |
-
$link = new PMLC_Link_Record(array(
|
1820 |
-
'name' => strval($slug),
|
1821 |
-
'slug' => strval($slug),
|
1822 |
-
'header_tracking_code' => '',
|
1823 |
-
'footer_tracking_code' => '',
|
1824 |
-
'redirect_type' => '301',
|
1825 |
-
'destination_type' => 'ONE_SET',
|
1826 |
-
'preset' => '',
|
1827 |
-
'forward_url_params' => 1,
|
1828 |
-
'no_global_tracking_code' => 0,
|
1829 |
-
'expire_on' => '0000-00-00',
|
1830 |
-
'created_on' => date('Y-m-d H:i:s'),
|
1831 |
-
'is_trashed' => 0,
|
1832 |
-
));
|
1833 |
-
$link->insert();
|
1834 |
-
$rule = new PMLC_Rule_Record(array(
|
1835 |
-
'link_id' => $link->id,
|
1836 |
-
'type' => 'ONE_SET',
|
1837 |
-
'rule' => '',
|
1838 |
-
));
|
1839 |
-
$rule->insert();
|
1840 |
-
$dest = new PMLC_Destination_Record(array(
|
1841 |
-
'rule_id' => $rule->id,
|
1842 |
-
'url' => $url,
|
1843 |
-
'weight' => 100,
|
1844 |
-
));
|
1845 |
-
$dest->insert();
|
1846 |
-
} else {
|
1847 |
-
$logger and call_user_func($logger, sprintf(__('- <b>WARNING</b>: Unable to create cloaked link for %s', 'pmxi_plugin'), $url));
|
1848 |
-
$link = NULL;
|
1849 |
-
}
|
1850 |
-
}
|
1851 |
-
if ($link) { // cloaked link is found or created for url
|
1852 |
-
$url = preg_replace('%' . preg_quote($url, '%') . '(?=([\s\'"]|$))%i', $link->getUrl(), $url);
|
1853 |
-
}
|
1854 |
-
}
|
1855 |
-
}
|
1856 |
-
}
|
1857 |
|
1858 |
function is_update_custom_field($existing_meta_keys, $options, $meta_key){
|
1859 |
|
46 |
*/
|
47 |
public function parse($parsing_data = array()) { //$import, $count, $xml, $logger = NULL, $chunk = false, $xpath_prefix = ""
|
48 |
|
49 |
+
if ($parsing_data['import']->options['custom_type'] != 'product') return;
|
50 |
+
|
51 |
extract($parsing_data);
|
52 |
|
53 |
add_filter('user_has_cap', array($this, '_filter_has_cap_unfiltered_html')); kses_init(); // do not perform special filtering for imported content
|
60 |
$records = array();
|
61 |
$tmp_files = array();
|
62 |
|
63 |
+
$chunk == 1 and $logger and call_user_func($logger, __('Composing product data...', 'wpai_woocommerce_addon_plugin'));
|
64 |
|
65 |
// Composing product types
|
66 |
if ($import->options['is_multiple_product_type'] != 'yes' and "" != $import->options['single_product_type']){
|
468 |
}
|
469 |
|
470 |
// Composing variations attributes
|
471 |
+
$chunk == 1 and $logger and call_user_func($logger, __('Composing variations attributes...', 'wpai_woocommerce_addon_plugin'));
|
472 |
$attribute_keys = array();
|
473 |
$attribute_values = array();
|
474 |
$attribute_in_variation = array();
|
612 |
return ("" == $var) ? false : true;
|
613 |
}
|
614 |
|
615 |
+
public function is_update_data_allowed($option = '')
|
616 |
+
{
|
617 |
+
if ($this->options['is_keep_former_posts'] == 'yes') return false;
|
618 |
+
if ($this->options['update_all_data'] == 'yes') return true;
|
619 |
+
return (!empty($this->options[$option])) ? true : false;
|
620 |
+
}
|
621 |
+
|
622 |
public function import( $importData = array() ){
|
623 |
|
624 |
extract($importData);
|
634 |
$is_new_product = empty($articleData['ID']);
|
635 |
|
636 |
// Get types
|
637 |
+
$product_type = 'simple';
|
638 |
|
639 |
if ($this->options['update_all_data'] == 'no' and ! $this->options['is_update_product_type'] and ! $is_new_product ){
|
640 |
+
$product = get_product($pid);
|
641 |
+
if ( ! empty($product->product_type) ) $product_type = $product->product_type;
|
642 |
}
|
643 |
|
644 |
$this->existing_meta_keys = array();
|
657 |
$is_featured = $product_featured[$i];
|
658 |
|
659 |
// Product type + Downloadable/Virtual
|
660 |
+
if ($is_new_product or $this->options['update_all_data'] == 'yes' or ($this->options['update_all_data'] == 'no' and $this->options['is_update_product_type'])) {
|
|
|
661 |
$product_type_term = term_exists($product_type, 'product_type', 0);
|
662 |
if ( ! empty($product_type_term) and ! is_wp_error($product_type_term) ){
|
663 |
$this->associate_terms( $pid, array( (int) $product_type_term['term_taxonomy_id'] ), 'product_type' );
|
664 |
}
|
665 |
}
|
666 |
|
667 |
+
if ( ! $is_new_product )
|
668 |
+
{
|
669 |
+
delete_post_meta($pid, '_is_first_variation_created');
|
670 |
+
}
|
671 |
+
|
672 |
$this->pushmeta($pid, '_downloadable', ($is_downloadable == "yes") ? 'yes' : 'no' );
|
673 |
$this->pushmeta($pid, '_virtual', ($is_virtual == "yes") ? 'yes' : 'no' );
|
674 |
|
694 |
$this->pushmeta($pid, '_height', '' );
|
695 |
}
|
696 |
|
697 |
+
if ($is_new_product or $this->is_update_data_allowed('is_update_comment_status')) $this->wpdb->update( $this->wpdb->posts, array('comment_status' => ($product_enable_reviews[$i] == 'yes') ? 'open' : 'closed' ), array('ID' => $pid));
|
698 |
|
699 |
+
if ($is_new_product or $this->is_update_data_allowed('is_update_menu_order')) $this->wpdb->update( $this->wpdb->posts, array('menu_order' => ($product_menu_order[$i] != '') ? (int) $product_menu_order[$i] : 0 ), array('ID' => $pid));
|
700 |
|
701 |
// Save shipping class
|
702 |
if ( pmwi_is_update_taxonomy($articleData, $this->options, 'product_shipping_class') )
|
703 |
{
|
704 |
|
705 |
+
$p_shipping_class = ($product_type != 'external') ? $product_shipping_class[$i] : '';
|
706 |
|
707 |
if ( $p_shipping_class != '' )
|
708 |
{
|
709 |
|
710 |
+
if ( (int) $product_shipping_class[$i] !== 0 )
|
711 |
{
|
|
|
712 |
|
713 |
+
if ( (int) $product_shipping_class[$i] > 0){
|
714 |
+
|
715 |
+
$t_shipping_class = get_term_by('slug', $p_shipping_class, 'product_shipping_class');
|
716 |
+
|
717 |
+
if ( ! empty($t_shipping_class) and ! is_wp_error($t_shipping_class) )
|
718 |
+
{
|
719 |
+
$p_shipping_class = (int) $t_shipping_class->term_taxonomy_id;
|
|
|
|
|
|
|
|
|
720 |
}
|
721 |
else
|
722 |
+
{
|
723 |
+
$t_shipping_class = term_exists( (int) $p_shipping_class, 'product_shipping_class', 0);
|
724 |
+
|
|
|
|
|
|
|
725 |
if ( ! empty($t_shipping_class) and ! is_wp_error($t_shipping_class) )
|
726 |
{
|
727 |
$p_shipping_class = (int) $t_shipping_class['term_taxonomy_id'];
|
728 |
}
|
729 |
+
else
|
730 |
+
{
|
731 |
+
$t_shipping_class = wp_insert_term(
|
732 |
+
$p_shipping_class, // the term
|
733 |
+
'product_shipping_class' // the taxonomy
|
734 |
+
);
|
735 |
+
|
736 |
+
if ( ! empty($t_shipping_class) and ! is_wp_error($t_shipping_class) )
|
737 |
+
{
|
738 |
+
$p_shipping_class = (int) $t_shipping_class['term_taxonomy_id'];
|
739 |
+
}
|
740 |
+
}
|
741 |
+
}
|
742 |
+
}
|
743 |
+
else
|
744 |
+
{
|
745 |
+
$p_shipping_class = '';
|
746 |
+
}
|
747 |
}
|
748 |
else{
|
749 |
|
809 |
AND ".$this->wpdb->postmeta.".meta_key = '_sku' AND ".$this->wpdb->postmeta.".meta_value = '%s'
|
810 |
", $new_sku ) )
|
811 |
) {
|
812 |
+
$logger and call_user_func($logger, sprintf(__('<b>WARNING</b>: Product SKU must be unique.', 'wpai_woocommerce_addon_plugin')));
|
813 |
|
814 |
} else {
|
815 |
$this->pushmeta($pid, '_sku', $new_sku );
|
855 |
}
|
856 |
|
857 |
// Update only these Attributes, leave the rest alone
|
858 |
+
if ( ! $is_new_product and $this->options['update_all_data'] == "no" and $this->options['is_update_attributes'] and $this->options['update_attributes_logic'] == 'only'){
|
859 |
if ( ! empty($this->options['attributes_list']) and is_array($this->options['attributes_list'])) {
|
860 |
if ( ! in_array( ( ($is_taxonomy) ? wc_attribute_taxonomy_name( $attr_name ) : $attr_name ) , array_filter($this->options['attributes_list'], 'trim'))){
|
861 |
$attribute_position++;
|
869 |
}
|
870 |
|
871 |
// Leave these attributes alone, update all other Attributes
|
872 |
+
if ( ! $is_new_product and $this->options['update_all_data'] == "no" and $this->options['is_update_attributes'] and $this->options['update_attributes_logic'] == 'all_except'){
|
873 |
if ( ! empty($this->options['attributes_list']) and is_array($this->options['attributes_list'])) {
|
874 |
if ( in_array( ( ($is_taxonomy) ? wc_attribute_taxonomy_name( $attr_name ) : $attr_name ) , array_filter($this->options['attributes_list'], 'trim'))){
|
875 |
$attribute_position++;
|
1010 |
$this->pushmeta($pid, '_sale_price_dates_from', strtotime( 'NOW', current_time( 'timestamp' ) ) );
|
1011 |
}
|
1012 |
|
1013 |
+
// Update price if on sale
|
1014 |
+
if ( ! empty($this->articleData['ID']) and ! $this->is_update_cf('_sale_price') )
|
1015 |
+
{
|
1016 |
+
$product_sale_price[$i] = get_post_meta($pid, '_sale_price', true);
|
|
|
|
|
|
|
|
|
|
|
|
|
1017 |
}
|
1018 |
|
1019 |
if ( $product_sale_price[$i] != '' && $date_to == '' && $date_from == '' ){
|
1140 |
$this->pushmeta($pid, '_manage_stock', $manage_stock);
|
1141 |
$this->pushmeta($pid, '_backorders', $backorders);
|
1142 |
|
1143 |
+
if ( $stock_status ) {
|
1144 |
+
$this->pushmeta( $pid, '_stock_status', $stock_status );
|
1145 |
}
|
1146 |
|
1147 |
+
if ( $product_manage_stock[$i] == 'yes' ) {
|
1148 |
+
$this->pushmeta( $pid, '_stock', wc_stock_amount( $product_stock_qty[$i] ) );
|
1149 |
} else {
|
1150 |
$this->pushmeta($pid, '_stock', '');
|
1151 |
}
|
1241 |
$this->pushmeta($pid, '_download_expiry', esc_attr( $_download_expiry ));
|
1242 |
|
1243 |
if ( isset( $product_download_type[$i] ) )
|
1244 |
+
$this->pushmeta($pid, '_download_type', esc_attr( $product_download_type[$i] ));
|
1245 |
|
1246 |
}
|
1247 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1248 |
// prepare bulk SQL query
|
1249 |
//$this->executeSQL();
|
1250 |
|
1251 |
wc_delete_product_transients($pid);
|
1252 |
|
1253 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1254 |
|
1255 |
public function wpai_gallery_image($pid, $attid, $image_filepath){
|
1256 |
|
1257 |
$table = $this->wpdb->posts;
|
1258 |
|
1259 |
+
$p = $this->wpdb->get_row($this->wpdb->prepare("SELECT * FROM $table WHERE ID = %d;", (int) $pid));
|
1260 |
|
1261 |
if ($p and $p->post_parent){
|
1262 |
|
1263 |
$gallery = explode(",", get_post_meta($p->post_parent, '_product_image_gallery', true));
|
1264 |
if (is_array($gallery)){
|
1265 |
+
$gallery = array_filter($gallery);
|
1266 |
if ( ! in_array($attid, $gallery) ) $gallery[] = $attid;
|
1267 |
}
|
1268 |
else{
|
1302 |
//$table = _get_meta_table( 'post' );
|
1303 |
|
1304 |
if ( empty($this->articleData['ID']) or $this->is_update_cf($meta_key)){
|
1305 |
+
|
1306 |
update_post_meta($pid, $meta_key, $meta_value);
|
1307 |
|
1308 |
/*$this->wpdb->query($this->wpdb->prepare("DELETE FROM $table WHERE `post_id` = $pid AND `meta_key` = %s", $meta_key));
|
1347 |
|
1348 |
}
|
1349 |
|
1350 |
+
protected function associate_terms($pid, $assign_taxes, $tx_name, $logger = false){
|
1351 |
|
1352 |
$terms = wp_get_object_terms( $pid, $tx_name );
|
1353 |
$term_ids = array();
|
1360 |
$term_ids[] = $term_info->term_taxonomy_id;
|
1361 |
$this->wpdb->query( $this->wpdb->prepare("UPDATE {$this->wpdb->term_taxonomy} SET count = count - 1 WHERE term_taxonomy_id = %d", $term_info->term_taxonomy_id) );
|
1362 |
}
|
1363 |
+
$in_tt_ids = "'" . implode( "', '", $term_ids ) . "'";
|
1364 |
$this->wpdb->query( $this->wpdb->prepare( "DELETE FROM {$this->wpdb->term_relationships} WHERE object_id = %d AND term_taxonomy_id IN ($in_tt_ids)", $pid ) );
|
1365 |
+
delete_transient( 'wc_ln_count_' . md5( sanitize_key( $tx_name ) . sanitize_key( $term_info->term_taxonomy_id ) ) );
|
1366 |
+
//wp_update_term_count( $term_ids, $tx_name );
|
1367 |
+
clean_term_cache($term_ids, '', false);
|
1368 |
}
|
1369 |
}
|
1370 |
|
1371 |
if (empty($assign_taxes)){
|
1372 |
+
//_wc_term_recount($terms, $tx_name, true, false);
|
1373 |
return;
|
1374 |
}
|
1375 |
|
1390 |
|
1391 |
if ( $values ){
|
1392 |
if ( false === $this->wpdb->query( "INSERT INTO {$this->wpdb->term_relationships} (object_id, term_taxonomy_id, term_order) VALUES " . join( ',', $values ) . " ON DUPLICATE KEY UPDATE term_order = VALUES(term_order)" ) ){
|
1393 |
+
$logger and call_user_func($logger, __('<b>ERROR</b> Could not insert term relationship into the database', 'wpai_woocommerce_addon_plugin') . ': '. $this->wpdb->last_error);
|
1394 |
}
|
1395 |
}
|
1396 |
|
1397 |
wp_cache_delete( $pid, $tx_name . '_relationships' );
|
1398 |
|
1399 |
//_wc_term_recount( $assign_taxes, $tx_name );
|
1400 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1401 |
|
1402 |
function create_taxonomy($attr_name, $logger){
|
1403 |
|
1416 |
// }
|
1417 |
|
1418 |
if ( in_array( $attribute_name, $this->reserved_terms ) ) {
|
1419 |
+
$logger and call_user_func($logger, sprintf(__('- <b>WARNING</b>: Slug “%s” is not allowed because it is a reserved term. Change it, please.', 'wpai_woocommerce_addon_plugin'), wc_attribute_taxonomy_name( $attribute_name )));
|
1420 |
}
|
1421 |
else{
|
1422 |
|
1449 |
set_transient( 'wc_attribute_taxonomies', $attribute_taxonomies );
|
1450 |
apply_filters( 'woocommerce_attribute_taxonomies', $attribute_taxonomies );
|
1451 |
|
1452 |
+
$logger and call_user_func($logger, sprintf(__('- <b>CREATED</b>: Taxonomy attribute “%s” have been successfully created.', 'wpai_woocommerce_addon_plugin'), wc_attribute_taxonomy_name( $attribute_name )));
|
1453 |
|
1454 |
}
|
1455 |
else{
|
1456 |
+
$logger and call_user_func($logger, sprintf(__('- <b>WARNING</b>: Taxonomy “%s” name is more than 32 characters. Change it, please.', 'wpai_woocommerce_addon_plugin'), $attr_name));
|
1457 |
}
|
1458 |
}
|
1459 |
}
|
1460 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1461 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1462 |
public function _filter_has_cap_unfiltered_html($caps)
|
1463 |
{
|
1464 |
$caps['unfiltered_html'] = true;
|
1465 |
return $caps;
|
1466 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1467 |
|
1468 |
function is_update_custom_field($existing_meta_keys, $options, $meta_key){
|
1469 |
|
plugin.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP All Import - WooCommerce Add-On
|
4 |
Plugin URI: http://www.wpallimport.com/
|
5 |
Description: An extremely easy, drag & drop importer to import WooCommerce simple products. A paid upgrade is available for premium support and support for Variable, Grouped, and External/Affiliate products
|
6 |
-
Version: 1.2.
|
7 |
Author: Soflyy
|
8 |
*/
|
9 |
/**
|
@@ -24,7 +24,7 @@ define('PMWI_ROOT_URL', rtrim(plugin_dir_url(__FILE__), '/'));
|
|
24 |
*/
|
25 |
define('PMWI_PREFIX', 'pmwi_');
|
26 |
|
27 |
-
define('PMWI_FREE_VERSION', '1.2.
|
28 |
|
29 |
define('PMWI_EDITION', 'free');
|
30 |
|
@@ -211,10 +211,30 @@ final class PMWI_Plugin {
|
|
211 |
|
212 |
// register admin page pre-dispatcher
|
213 |
add_action('admin_init', array($this, '__adminInit'));
|
|
|
214 |
|
|
|
215 |
|
|
|
|
|
|
|
216 |
}
|
217 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
/**
|
219 |
* pre-dispatching logic for admin page controllers
|
220 |
*/
|
@@ -406,7 +426,7 @@ final class PMWI_Plugin {
|
|
406 |
{
|
407 |
if ( $file == plugin_basename( __FILE__ ) ) {
|
408 |
$row_meta = array(
|
409 |
-
'pro' => '<a href="http://www.wpallimport.com/woocommerce-product-import/" target="_blank" title="' . esc_attr( __( 'WP All Import - WooCommerce Add-On Pro Version', '
|
410 |
);
|
411 |
|
412 |
return array_merge( $links, $row_meta );
|
@@ -573,7 +593,7 @@ final class PMWI_Plugin {
|
|
573 |
'single_product_variation_description' => '',
|
574 |
'variable_description' => '',
|
575 |
'variable_description_use_parent' => 0,
|
576 |
-
|
577 |
'first_is_parent' => 'yes',
|
578 |
'single_product_whosale_price' => '',
|
579 |
'variable_whosale_price' => '',
|
@@ -610,7 +630,7 @@ final class PMWI_Plugin {
|
|
610 |
'put_variation_image_to_gallery' => 0,
|
611 |
'single_variation_stock_status' => ''
|
612 |
);
|
613 |
-
}
|
614 |
}
|
615 |
|
616 |
PMWI_Plugin::getInstance();
|
3 |
Plugin Name: WP All Import - WooCommerce Add-On
|
4 |
Plugin URI: http://www.wpallimport.com/
|
5 |
Description: An extremely easy, drag & drop importer to import WooCommerce simple products. A paid upgrade is available for premium support and support for Variable, Grouped, and External/Affiliate products
|
6 |
+
Version: 1.2.6
|
7 |
Author: Soflyy
|
8 |
*/
|
9 |
/**
|
24 |
*/
|
25 |
define('PMWI_PREFIX', 'pmwi_');
|
26 |
|
27 |
+
define('PMWI_FREE_VERSION', '1.2.6');
|
28 |
|
29 |
define('PMWI_EDITION', 'free');
|
30 |
|
211 |
|
212 |
// register admin page pre-dispatcher
|
213 |
add_action('admin_init', array($this, '__adminInit'));
|
214 |
+
add_action('init', array($this, 'init'));
|
215 |
|
216 |
+
}
|
217 |
|
218 |
+
public function init()
|
219 |
+
{
|
220 |
+
$this->load_plugin_textdomain();
|
221 |
}
|
222 |
|
223 |
+
/**
|
224 |
+
* Load Localisation files.
|
225 |
+
*
|
226 |
+
* Note: the first-loaded translation file overrides any following ones if the same translation is present
|
227 |
+
*
|
228 |
+
* @access public
|
229 |
+
* @return void
|
230 |
+
*/
|
231 |
+
public function load_plugin_textdomain() {
|
232 |
+
|
233 |
+
$locale = apply_filters( 'plugin_locale', get_locale(), 'wpai_woocommerce_addon_plugin' );
|
234 |
+
|
235 |
+
load_plugin_textdomain( 'wpai_woocommerce_addon_plugin', false, dirname( plugin_basename( __FILE__ ) ) . "/i18n/languages" );
|
236 |
+
}
|
237 |
+
|
238 |
/**
|
239 |
* pre-dispatching logic for admin page controllers
|
240 |
*/
|
426 |
{
|
427 |
if ( $file == plugin_basename( __FILE__ ) ) {
|
428 |
$row_meta = array(
|
429 |
+
'pro' => '<a href="http://www.wpallimport.com/woocommerce-product-import/" target="_blank" title="' . esc_attr( __( 'WP All Import - WooCommerce Add-On Pro Version', 'wpai_woocommerce_addon_plugin' ) ) . '">' . __( 'Pro Version', 'wpai_woocommerce_addon_plugin' ) . '</a>',
|
430 |
);
|
431 |
|
432 |
return array_merge( $links, $row_meta );
|
593 |
'single_product_variation_description' => '',
|
594 |
'variable_description' => '',
|
595 |
'variable_description_use_parent' => 0,
|
596 |
+
|
597 |
'first_is_parent' => 'yes',
|
598 |
'single_product_whosale_price' => '',
|
599 |
'variable_whosale_price' => '',
|
630 |
'put_variation_image_to_gallery' => 0,
|
631 |
'single_variation_stock_status' => ''
|
632 |
);
|
633 |
+
}
|
634 |
}
|
635 |
|
636 |
PMWI_Plugin::getInstance();
|
readme.txt
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
=== Import Products from any XML or CSV to WooCommerce ===
|
2 |
Contributors: soflyy, wpallimport
|
3 |
Requires at least: 4.1
|
4 |
-
Tested up to: 4.
|
5 |
-
Stable tag: 1.2.
|
6 |
License: GPLv2 or later
|
7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
8 |
Tags: woocommerce xml import, woocommerce csv import, woocommerce, import, xml, csv, wp all import, csv import, import csv, xml import, import xml, woocommerce csv importer, woocommerce xml importer, csv importer, csv import suite
|
@@ -83,6 +83,9 @@ The WooCommerce add-on will appear in the Step 4 of WP All Import.
|
|
83 |
|
84 |
== Changelog ==
|
85 |
|
|
|
|
|
|
|
86 |
= 1.2.5 =
|
87 |
* fixed conflict between options [update only these custom fields & update only these attributes]
|
88 |
* added feature to dynamically set attribute options
|
1 |
=== Import Products from any XML or CSV to WooCommerce ===
|
2 |
Contributors: soflyy, wpallimport
|
3 |
Requires at least: 4.1
|
4 |
+
Tested up to: 4.4.1
|
5 |
+
Stable tag: 1.2.6
|
6 |
License: GPLv2 or later
|
7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
8 |
Tags: woocommerce xml import, woocommerce csv import, woocommerce, import, xml, csv, wp all import, csv import, import csv, xml import, import xml, woocommerce csv importer, woocommerce xml importer, csv importer, csv import suite
|
83 |
|
84 |
== Changelog ==
|
85 |
|
86 |
+
= 1.2.6 =
|
87 |
+
* fixed setting up shipping class to -1 when «No shipping class» option chosen
|
88 |
+
|
89 |
= 1.2.5 =
|
90 |
* fixed conflict between options [update only these custom fields & update only these attributes]
|
91 |
* added feature to dynamically set attribute options
|
static/css/admin.css
CHANGED
@@ -316,6 +316,10 @@
|
|
316 |
border: 1px solid #FF8383;
|
317 |
text-align:center;
|
318 |
}
|
|
|
|
|
|
|
|
|
319 |
.wpallimport-plugin .upgrade_woo_link{
|
320 |
color: #000 !important;
|
321 |
font-size: 1.3em;
|
316 |
border: 1px solid #FF8383;
|
317 |
text-align:center;
|
318 |
}
|
319 |
+
.wpallimport-plugin .form-table td .woo-add-on-free-edition-notice p{
|
320 |
+
color: #000 !important;
|
321 |
+
font-size: 1.3em !important;
|
322 |
+
}
|
323 |
.wpallimport-plugin .upgrade_woo_link{
|
324 |
color: #000 !important;
|
325 |
font-size: 1.3em;
|
views/admin/import/_tabs/_advanced.php
CHANGED
@@ -1,25 +1,26 @@
|
|
1 |
<div class="panel woocommerce_options_panel" id="advanced_product_data" style="display:none;">
|
2 |
|
3 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
4 |
-
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the professional edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', '
|
|
|
5 |
</div>
|
6 |
|
7 |
<div class="options_group hide_if_external">
|
8 |
<p class="form-field">
|
9 |
-
<label><?php _e("Purchase Note", "
|
10 |
<input type="text" class="short" placeholder="" name="single_product_purchase_note" style="" value="<?php echo esc_attr($post['single_product_purchase_note']) ?>"/>
|
11 |
</p>
|
12 |
</div>
|
13 |
<div class="options_group">
|
14 |
<p class="form-field">
|
15 |
-
<label><?php _e("Menu order", "
|
16 |
<input type="text" class="short" placeholder="" name="single_product_menu_order" value="<?php echo esc_attr($post['single_product_menu_order']) ?>"/>
|
17 |
</p>
|
18 |
</div>
|
19 |
|
20 |
<div class="options_group reviews">
|
21 |
|
22 |
-
<p class="form-field"><?php _e('Enable reviews','
|
23 |
|
24 |
<p class="form-field wpallimport-radio-field">
|
25 |
<input type="radio" id="product_enable_reviews_yes" class="switcher" name="is_product_enable_reviews" value="yes" <?php echo 'yes' == $post['is_product_enable_reviews'] ? 'checked="checked"': '' ?>/>
|
@@ -31,12 +32,12 @@
|
|
31 |
</p>
|
32 |
<div class="form-field wpallimport-radio-field">
|
33 |
<input type="radio" id="product_enable_reviews_xpath" class="switcher" name="is_product_enable_reviews" value="xpath" <?php echo 'xpath' == $post['is_product_enable_reviews'] ? 'checked="checked"': '' ?>/>
|
34 |
-
<label for="product_enable_reviews_xpath"><?php _e('Set with XPath', '
|
35 |
<span class="wpallimport-clear"></span>
|
36 |
<div class="switcher-target-product_enable_reviews_xpath set_with_xpath">
|
37 |
<span class="wpallimport-slide-content" style="padding-left:0px;">
|
38 |
<input type="text" class="smaller-text" name="single_product_enable_reviews" style="width:300px;" value="<?php echo esc_attr($post['single_product_enable_reviews']) ?>"/>
|
39 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
40 |
</span>
|
41 |
</div>
|
42 |
</div>
|
@@ -45,7 +46,7 @@
|
|
45 |
|
46 |
<div class="options_group">
|
47 |
|
48 |
-
<p class="form-field"><?php _e('Featured','
|
49 |
|
50 |
<p class="form-field wpallimport-radio-field">
|
51 |
<input type="radio" id="product_featured_yes" class="switcher" name="is_product_featured" value="yes" <?php echo 'yes' == $post['is_product_featured'] ? 'checked="checked"': '' ?>/>
|
@@ -57,12 +58,12 @@
|
|
57 |
</p>
|
58 |
<div class="form-field wpallimport-radio-field">
|
59 |
<input type="radio" id="product_featured_xpath" class="switcher" name="is_product_featured" value="xpath" <?php echo 'xpath' == $post['is_product_featured'] ? 'checked="checked"': '' ?>/>
|
60 |
-
<label for="product_featured_xpath"><?php _e('Set with XPath', '
|
61 |
<span class="wpallimport-clear"></span>
|
62 |
<div class="switcher-target-product_featured_xpath set_with_xpath">
|
63 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
64 |
<input type="text" class="smaller-text" name="single_product_featured" style="width:300px;" value="<?php echo esc_attr($post['single_product_featured']) ?>"/>
|
65 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
66 |
</span>
|
67 |
</div>
|
68 |
</div>
|
@@ -71,32 +72,32 @@
|
|
71 |
|
72 |
<div class="options_group">
|
73 |
|
74 |
-
<p class="form-field"><?php _e('Catalog visibility','
|
75 |
|
76 |
<p class="form-field wpallimport-radio-field">
|
77 |
<input type="radio" id="product_visibility_visible" class="switcher" name="is_product_visibility" value="visible" <?php echo 'visible' == $post['is_product_visibility'] ? 'checked="checked"': '' ?>/>
|
78 |
-
<label for="product_visibility_visible"><?php _e("Catalog/search"); ?></label>
|
79 |
</p>
|
80 |
<p class="form-field wpallimport-radio-field">
|
81 |
<input type="radio" id="product_visibility_catalog" class="switcher" name="is_product_visibility" value="catalog" <?php echo 'catalog' == $post['is_product_visibility'] ? 'checked="checked"': '' ?>/>
|
82 |
-
<label for="product_visibility_catalog"><?php _e("Catalog"); ?></label>
|
83 |
</p>
|
84 |
<p class="form-field wpallimport-radio-field">
|
85 |
<input type="radio" id="product_visibility_search" class="switcher" name="is_product_visibility" value="search" <?php echo 'search' == $post['is_product_visibility'] ? 'checked="checked"': '' ?>/>
|
86 |
-
<label for="product_visibility_search"><?php _e("Search"); ?></label>
|
87 |
</p>
|
88 |
<p class="form-field wpallimport-radio-field">
|
89 |
<input type="radio" id="product_visibility_hidden" class="switcher" name="is_product_visibility" value="hidden" <?php echo 'hidden' == $post['is_product_visibility'] ? 'checked="checked"': '' ?>/>
|
90 |
-
<label for="product_visibility_hidden"><?php _e("Hidden"); ?></label>
|
91 |
</p>
|
92 |
<div class="form-field wpallimport-radio-field">
|
93 |
<input type="radio" id="product_visibility_xpath" class="switcher" name="is_product_visibility" value="xpath" <?php echo 'xpath' == $post['is_product_visibility'] ? 'checked="checked"': '' ?>/>
|
94 |
-
<label for="product_visibility_xpath"><?php _e('Set with XPath', '
|
95 |
<span class="wpallimport-clear"></span>
|
96 |
<div class="switcher-target-product_visibility_xpath set_with_xpath">
|
97 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
98 |
<input type="text" class="smaller-text" name="single_product_visibility" style="width:300px;" value="<?php echo esc_attr($post['single_product_visibility']) ?>"/>
|
99 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'visible\', \'catalog\', \'search\', \'hidden\').', '
|
100 |
</span>
|
101 |
</div>
|
102 |
</div>
|
1 |
<div class="panel woocommerce_options_panel" id="advanced_product_data" style="display:none;">
|
2 |
|
3 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
4 |
+
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the professional edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', 'wpai_woocommerce_addon_plugin');?></a>
|
5 |
+
<p><?php _e('If you already own it, remove the free edition and install the professional edition.', 'wp_all_import_plugin'); ?></p>
|
6 |
</div>
|
7 |
|
8 |
<div class="options_group hide_if_external">
|
9 |
<p class="form-field">
|
10 |
+
<label><?php _e("Purchase Note", "wpai_woocommerce_addon_plugin"); ?></label>
|
11 |
<input type="text" class="short" placeholder="" name="single_product_purchase_note" style="" value="<?php echo esc_attr($post['single_product_purchase_note']) ?>"/>
|
12 |
</p>
|
13 |
</div>
|
14 |
<div class="options_group">
|
15 |
<p class="form-field">
|
16 |
+
<label><?php _e("Menu order", "wpai_woocommerce_addon_plugin"); ?></label>
|
17 |
<input type="text" class="short" placeholder="" name="single_product_menu_order" value="<?php echo esc_attr($post['single_product_menu_order']) ?>"/>
|
18 |
</p>
|
19 |
</div>
|
20 |
|
21 |
<div class="options_group reviews">
|
22 |
|
23 |
+
<p class="form-field"><?php _e('Enable reviews','wpai_woocommerce_addon_plugin');?></p>
|
24 |
|
25 |
<p class="form-field wpallimport-radio-field">
|
26 |
<input type="radio" id="product_enable_reviews_yes" class="switcher" name="is_product_enable_reviews" value="yes" <?php echo 'yes' == $post['is_product_enable_reviews'] ? 'checked="checked"': '' ?>/>
|
32 |
</p>
|
33 |
<div class="form-field wpallimport-radio-field">
|
34 |
<input type="radio" id="product_enable_reviews_xpath" class="switcher" name="is_product_enable_reviews" value="xpath" <?php echo 'xpath' == $post['is_product_enable_reviews'] ? 'checked="checked"': '' ?>/>
|
35 |
+
<label for="product_enable_reviews_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
36 |
<span class="wpallimport-clear"></span>
|
37 |
<div class="switcher-target-product_enable_reviews_xpath set_with_xpath">
|
38 |
<span class="wpallimport-slide-content" style="padding-left:0px;">
|
39 |
<input type="text" class="smaller-text" name="single_product_enable_reviews" style="width:300px;" value="<?php echo esc_attr($post['single_product_enable_reviews']) ?>"/>
|
40 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
41 |
</span>
|
42 |
</div>
|
43 |
</div>
|
46 |
|
47 |
<div class="options_group">
|
48 |
|
49 |
+
<p class="form-field"><?php _e('Featured','wpai_woocommerce_addon_plugin');?></p>
|
50 |
|
51 |
<p class="form-field wpallimport-radio-field">
|
52 |
<input type="radio" id="product_featured_yes" class="switcher" name="is_product_featured" value="yes" <?php echo 'yes' == $post['is_product_featured'] ? 'checked="checked"': '' ?>/>
|
58 |
</p>
|
59 |
<div class="form-field wpallimport-radio-field">
|
60 |
<input type="radio" id="product_featured_xpath" class="switcher" name="is_product_featured" value="xpath" <?php echo 'xpath' == $post['is_product_featured'] ? 'checked="checked"': '' ?>/>
|
61 |
+
<label for="product_featured_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
62 |
<span class="wpallimport-clear"></span>
|
63 |
<div class="switcher-target-product_featured_xpath set_with_xpath">
|
64 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
65 |
<input type="text" class="smaller-text" name="single_product_featured" style="width:300px;" value="<?php echo esc_attr($post['single_product_featured']) ?>"/>
|
66 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
67 |
</span>
|
68 |
</div>
|
69 |
</div>
|
72 |
|
73 |
<div class="options_group">
|
74 |
|
75 |
+
<p class="form-field"><?php _e('Catalog visibility','wpai_woocommerce_addon_plugin');?></p>
|
76 |
|
77 |
<p class="form-field wpallimport-radio-field">
|
78 |
<input type="radio" id="product_visibility_visible" class="switcher" name="is_product_visibility" value="visible" <?php echo 'visible' == $post['is_product_visibility'] ? 'checked="checked"': '' ?>/>
|
79 |
+
<label for="product_visibility_visible"><?php _e("Catalog/search", "wpai_woocommerce_addon_plugin"); ?></label>
|
80 |
</p>
|
81 |
<p class="form-field wpallimport-radio-field">
|
82 |
<input type="radio" id="product_visibility_catalog" class="switcher" name="is_product_visibility" value="catalog" <?php echo 'catalog' == $post['is_product_visibility'] ? 'checked="checked"': '' ?>/>
|
83 |
+
<label for="product_visibility_catalog"><?php _e("Catalog", "wpai_woocommerce_addon_plugin"); ?></label>
|
84 |
</p>
|
85 |
<p class="form-field wpallimport-radio-field">
|
86 |
<input type="radio" id="product_visibility_search" class="switcher" name="is_product_visibility" value="search" <?php echo 'search' == $post['is_product_visibility'] ? 'checked="checked"': '' ?>/>
|
87 |
+
<label for="product_visibility_search"><?php _e("Search", "wpai_woocommerce_addon_plugin"); ?></label>
|
88 |
</p>
|
89 |
<p class="form-field wpallimport-radio-field">
|
90 |
<input type="radio" id="product_visibility_hidden" class="switcher" name="is_product_visibility" value="hidden" <?php echo 'hidden' == $post['is_product_visibility'] ? 'checked="checked"': '' ?>/>
|
91 |
+
<label for="product_visibility_hidden"><?php _e("Hidden", "wpai_woocommerce_addon_plugin"); ?></label>
|
92 |
</p>
|
93 |
<div class="form-field wpallimport-radio-field">
|
94 |
<input type="radio" id="product_visibility_xpath" class="switcher" name="is_product_visibility" value="xpath" <?php echo 'xpath' == $post['is_product_visibility'] ? 'checked="checked"': '' ?>/>
|
95 |
+
<label for="product_visibility_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
96 |
<span class="wpallimport-clear"></span>
|
97 |
<div class="switcher-target-product_visibility_xpath set_with_xpath">
|
98 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
99 |
<input type="text" class="smaller-text" name="single_product_visibility" style="width:300px;" value="<?php echo esc_attr($post['single_product_visibility']) ?>"/>
|
100 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'visible\', \'catalog\', \'search\', \'hidden\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
101 |
</span>
|
102 |
</div>
|
103 |
</div>
|
views/admin/import/_tabs/_attributes.php
CHANGED
@@ -1,17 +1,18 @@
|
|
1 |
<div class="panel woocommerce_options_panel" id="woocommerce_attributes" style="display:none;">
|
2 |
<div style="margin-left:-2%;">
|
3 |
<div class="woo-add-on-free-edition-notice upgrade_template" style="margin-top:0;">
|
4 |
-
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the professional edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', '
|
|
|
5 |
</div>
|
6 |
</div>
|
7 |
<div class="input">
|
8 |
<table class="form-table custom-params" id="attributes_table" style="max-width:95%;">
|
9 |
<thead>
|
10 |
<tr>
|
11 |
-
<td><?php _e('Name', '
|
12 |
<td style="padding-bottom: 5px;">
|
13 |
-
<?php _e('Values', '
|
14 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('Separate mutiple values with a |', '
|
15 |
</td>
|
16 |
<td></td>
|
17 |
</tr>
|
@@ -28,28 +29,28 @@
|
|
28 |
<span class="wpallimport-clear"></span>
|
29 |
<div class="form-field wpallimport-radio-field" style="padding: 0 !important; position: relative; left: -100%; width: 200%;">
|
30 |
|
31 |
-
<a href="javascript:void(0);" id="advanced_attributes_<?php echo $i; ?>" class="action advanced_attributes"><span>+</span> <?php _e('Advanced', '
|
32 |
<input type="hidden" value="<?php echo (empty($post['is_advanced'][$i])) ? '0' : $post['is_advanced'][$i];?>" name="is_advanced[]">
|
33 |
|
34 |
<span class="default_attribute_settings">
|
35 |
<span class='in_variations'>
|
36 |
<input type="checkbox" name="in_variations[]" id="in_variations_<?php echo $i; ?>" <?php echo ($post['in_variations'][$i]) ? 'checked="checked"' : ''; ?> style="float: left;" value="1"/>
|
37 |
-
<label for="in_variations_<?php echo $i; ?>"><?php _e('In Variations','
|
38 |
</span>
|
39 |
|
40 |
<span class='is_visible'>
|
41 |
<input type="checkbox" name="is_visible[]" id="is_visible_<?php echo $i; ?>" <?php echo ($post['is_visible'][$i]) ? 'checked="checked"' : ''; ?> style="float: left;" value="1"/>
|
42 |
-
<label for="is_visible_<?php echo $i; ?>"><?php _e('Is Visible','
|
43 |
</span>
|
44 |
|
45 |
<span class='is_taxonomy'>
|
46 |
<input type="checkbox" name="is_taxonomy[]" id="is_taxonomy_<?php echo $i; ?>" <?php echo ($post['is_taxonomy'][$i]) ? 'checked="checked"' : ''; ?> style="float: left;" value="1" class="switcher"/>
|
47 |
-
<label for="is_taxonomy_<?php echo $i; ?>"><?php _e('Is Taxonomy','
|
48 |
</span>
|
49 |
|
50 |
<span class='is_create_taxonomy switcher-target-is_taxonomy_<?php echo $i; ?>'>
|
51 |
<input type="checkbox" name="create_taxonomy_in_not_exists[]" id="create_taxonomy_in_not_exists_<?php echo $i; ?>" <?php echo ($post['create_taxonomy_in_not_exists'][$i]) ? 'checked="checked"' : ''; ?> style="float: left;" value="1"/>
|
52 |
-
<label for="create_taxonomy_in_not_exists_<?php echo $i; ?>"><?php _e('Auto-Create Terms','
|
53 |
</span>
|
54 |
</span>
|
55 |
|
@@ -58,20 +59,20 @@
|
|
58 |
<div class="input" style="display:inline-block;">
|
59 |
<div class="input">
|
60 |
<input type="radio" id="advanced_in_variations_yes_<?php echo $i; ?>" class="switcher" name="advanced_in_variations[<?php echo $i; ?>]" value="yes" <?php echo ( empty($post['advanced_in_variations'][$i]) or ( ! empty($post['advanced_in_variations'][$i]) and ! in_array($post['advanced_in_variations'][$i], array('no', 'xpath'))) ) ? 'checked="checked"': '' ?>/>
|
61 |
-
<label for="advanced_in_variations_yes_<?php echo $i; ?>"><?php _e("In Variations"); ?></label>
|
62 |
</div>
|
63 |
<div class="input">
|
64 |
<input type="radio" id="advanced_in_variations_no_<?php echo $i; ?>" class="switcher" name="advanced_in_variations[<?php echo $i; ?>]" value="no" <?php echo (!empty($post['advanced_in_variations'][$i]) and 'no' == $post['advanced_in_variations'][$i]) ? 'checked="checked"': '' ?>/>
|
65 |
-
<label for="advanced_in_variations_no_<?php echo $i; ?>"><?php _e("Not In Variations"); ?></label>
|
66 |
</div>
|
67 |
<div class="input wpallimport-radio-field">
|
68 |
<input type="radio" id="advanced_in_variations_xpath_<?php echo $i; ?>" class="switcher" name="advanced_in_variations[<?php echo $i; ?>]" value="xpath" <?php echo (!empty($post['advanced_in_variations'][$i]) and 'xpath' == $post['advanced_in_variations'][$i]) ? 'checked="checked"': '' ?>/>
|
69 |
-
<label for="advanced_in_variations_xpath_<?php echo $i; ?>"><?php _e('Set with XPath', '
|
70 |
<span class="wpallimport-clear"></span>
|
71 |
<div class="switcher-target-advanced_in_variations_xpath_<?php echo $i; ?> set_with_xpath">
|
72 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
73 |
<input type="text" class="smaller-text" name="advanced_in_variations_xpath[<?php echo $i; ?>]" value="<?php echo (!empty($post['advanced_in_variations_xpath'][$i])) ? esc_attr($post['advanced_in_variations_xpath'][$i]) : ''; ?>"/>
|
74 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
75 |
</span>
|
76 |
</div>
|
77 |
</div>
|
@@ -80,20 +81,20 @@
|
|
80 |
<div class="input" style="display:inline-block;">
|
81 |
<div class="input">
|
82 |
<input type="radio" id="advanced_is_visible_yes_<?php echo $i; ?>" class="switcher" name="advanced_is_visible[<?php echo $i; ?>]" value="yes" <?php echo ( empty($post['advanced_is_visible'][$i]) or ( ! empty($post['advanced_is_visible'][$i]) and ! in_array($post['advanced_is_visible'][$i], array('no', 'xpath'))) ) ? 'checked="checked"': '' ?>/>
|
83 |
-
<label for="advanced_is_visible_yes_<?php echo $i; ?>"><?php _e("Is Visible"); ?></label>
|
84 |
</div>
|
85 |
<div class="input">
|
86 |
<input type="radio" id="advanced_is_visible_no_<?php echo $i; ?>" class="switcher" name="advanced_is_visible[<?php echo $i; ?>]" value="no" <?php echo (!empty($post['advanced_is_visible'][$i]) and 'no' == $post['advanced_is_visible'][$i]) ? 'checked="checked"': '' ?>/>
|
87 |
-
<label for="advanced_is_visible_no_<?php echo $i; ?>"><?php _e("Not Visible"); ?></label>
|
88 |
</div>
|
89 |
<div class="input wpallimport-radio-field">
|
90 |
<input type="radio" id="advanced_is_visible_xpath_<?php echo $i; ?>" class="switcher" name="advanced_is_visible[<?php echo $i; ?>]" value="xpath" <?php echo (!empty($post['advanced_is_visible'][$i]) and 'xpath' == $post['advanced_is_visible'][$i]) ? 'checked="checked"': '' ?>/>
|
91 |
-
<label for="advanced_is_visible_xpath_<?php echo $i; ?>"><?php _e('Set with XPath', '
|
92 |
<span class="wpallimport-clear"></span>
|
93 |
<div class="switcher-target-advanced_is_visible_xpath_<?php echo $i; ?> set_with_xpath">
|
94 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
95 |
<input type="text" class="smaller-text" name="advanced_is_visible_xpath[<?php echo $i; ?>]" value="<?php echo (!empty($post['advanced_is_visible_xpath'][$i])) ? esc_attr($post['advanced_is_visible_xpath'][$i]) : ''; ?>"/>
|
96 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
97 |
</span>
|
98 |
</div>
|
99 |
</div>
|
@@ -102,20 +103,20 @@
|
|
102 |
<div class="input" style="display:inline-block;">
|
103 |
<div class="input">
|
104 |
<input type="radio" id="advanced_is_taxonomy_yes_<?php echo $i; ?>" class="switcher" name="advanced_is_taxonomy[<?php echo $i; ?>]" value="yes" <?php echo (empty($post['advanced_is_taxonomy'][$i]) or ( !empty($post['advanced_is_taxonomy'][$i]) and ! in_array($post['advanced_is_taxonomy'][$i], array('no', 'xpath'))) ) ? 'checked="checked"': '' ?>/>
|
105 |
-
<label for="advanced_is_taxonomy_yes_<?php echo $i; ?>"><?php _e("Is Taxonomy"); ?></label>
|
106 |
</div>
|
107 |
<div class="input">
|
108 |
<input type="radio" id="advanced_is_taxonomy_no_<?php echo $i; ?>" class="switcher" name="advanced_is_taxonomy[<?php echo $i; ?>]" value="no" <?php echo (!empty($post['advanced_is_taxonomy'][$i]) and 'no' == $post['advanced_is_taxonomy'][$i]) ? 'checked="checked"': '' ?>/>
|
109 |
-
<label for="advanced_is_taxonomy_no_<?php echo $i; ?>"><?php _e("Not Taxonomy"); ?></label>
|
110 |
</div>
|
111 |
<div class="input wpallimport-radio-field">
|
112 |
<input type="radio" id="advanced_is_taxonomy_xpath_<?php echo $i; ?>" class="switcher" name="advanced_is_taxonomy[<?php echo $i; ?>]" value="xpath" <?php echo (!empty($post['advanced_is_taxonomy'][$i]) and 'xpath' == $post['advanced_is_taxonomy'][$i]) ? 'checked="checked"': '' ?>/>
|
113 |
-
<label for="advanced_is_taxonomy_xpath_<?php echo $i; ?>"><?php _e('Set with XPath', '
|
114 |
<span class="wpallimport-clear"></span>
|
115 |
<div class="switcher-target-advanced_is_taxonomy_xpath_<?php echo $i; ?> set_with_xpath">
|
116 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
117 |
<input type="text" class="smaller-text" name="advanced_is_taxonomy_xpath[<?php echo $i; ?>]" value="<?php echo (!empty($post['advanced_is_taxonomy_xpath'][$i])) ? esc_attr($post['advanced_is_taxonomy_xpath'][$i]) : ''; ?>"/>
|
118 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
119 |
</span>
|
120 |
</div>
|
121 |
</div>
|
@@ -124,20 +125,20 @@
|
|
124 |
<div class="input" style="display:inline-block;">
|
125 |
<div class="input">
|
126 |
<input type="radio" id="advanced_is_create_terms_yes_<?php echo $i; ?>" class="switcher" name="advanced_is_create_terms[<?php echo $i; ?>]" value="yes" <?php echo (empty($post['advanced_is_create_terms'][$i]) or ( ! empty($post['advanced_is_create_terms'][$i]) and ! in_array($post['advanced_is_create_terms'][$i], array('no', 'xpath'))) ) ? 'checked="checked"': '' ?>/>
|
127 |
-
<label for="advanced_is_create_terms_yes_<?php echo $i; ?>"><?php _e("Auto-Create Terms"); ?></label>
|
128 |
</div>
|
129 |
<div class="input">
|
130 |
<input type="radio" id="advanced_is_create_terms_no_<?php echo $i; ?>" class="switcher" name="advanced_is_create_terms[<?php echo $i; ?>]" value="no" <?php echo ( ! empty($post['advanced_is_create_terms'][$i]) and 'no' == $post['advanced_is_create_terms'][$i]) ? 'checked="checked"': '' ?>/>
|
131 |
-
<label for="advanced_is_create_terms_no_<?php echo $i; ?>"><?php _e("Do Not Create Terms"); ?></label>
|
132 |
</div>
|
133 |
<div class="input wpallimport-radio-field">
|
134 |
<input type="radio" id="advanced_is_create_terms_xpath_<?php echo $i; ?>" class="switcher" name="advanced_is_create_terms[<?php echo $i; ?>]" value="xpath" <?php echo (!empty($post['advanced_is_create_terms'][$i]) and 'xpath' == $post['advanced_is_create_terms'][$i]) ? 'checked="checked"': '' ?>/>
|
135 |
-
<label for="advanced_is_create_terms_xpath_<?php echo $i; ?>"><?php _e('Set with XPath', '
|
136 |
<span class="wpallimport-clear"></span>
|
137 |
<div class="switcher-target-advanced_is_create_terms_xpath_<?php echo $i; ?> set_with_xpath">
|
138 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
139 |
<input type="text" class="smaller-text" name="advanced_is_create_terms_xpath[<?php echo $i; ?>]" value="<?php echo (!empty($post['advanced_is_create_terms_xpath'][$i])) ? esc_attr($post['advanced_is_create_terms_xpath'][$i]) : ''; ?>"/>
|
140 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
141 |
</span>
|
142 |
</div>
|
143 |
</div>
|
@@ -160,25 +161,25 @@
|
|
160 |
<span class="wpallimport-clear"></span>
|
161 |
<div class="form-field wpallimport-radio-field" style="padding: 0 !important; position: relative; left: -100%; width: 200%;">
|
162 |
|
163 |
-
<a href="javascript:void(0);" id="advanced_attributes_0" class="action advanced_attributes"><span>+</span> <?php _e('Advanced', '
|
164 |
<input type="hidden" value="0" name="is_advanced[]">
|
165 |
|
166 |
<span class="default_attribute_settings">
|
167 |
<span class='in_variations'>
|
168 |
<input type="checkbox" name="in_variations[]" id="in_variations_0" checked="checked" style="float: left;" value="1"/>
|
169 |
-
<label for="in_variations_0"><?php _e('In Variations','
|
170 |
</span>
|
171 |
<span class='is_visible'>
|
172 |
<input type="checkbox" name="is_visible[]" id="is_visible_0" checked="checked" style="float: left;" value="1"/>
|
173 |
-
<label for="is_visible_0"><?php _e('Is Visible','
|
174 |
</span>
|
175 |
<span class='is_taxonomy'>
|
176 |
<input type="checkbox" name="is_taxonomy[]" id="is_taxonomy_0" checked="checked" style="float: left;" value="1" class="switcher"/>
|
177 |
-
<label for="is_taxonomy_0"><?php _e('Is Taxonomy','
|
178 |
</span>
|
179 |
<span class='is_create_taxonomy switcher-target-is_taxonomy_0'>
|
180 |
<input type="checkbox" name="create_taxonomy_in_not_exists[]" id="create_taxonomy_in_not_exists_0" checked="checked" style="float: left;" value="1"/>
|
181 |
-
<label for="create_taxonomy_in_not_exists_0"><?php _e('Auto-Create Terms','
|
182 |
</span>
|
183 |
</span>
|
184 |
|
@@ -187,20 +188,20 @@
|
|
187 |
<div class="input" style="display:inline-block;">
|
188 |
<div class="input">
|
189 |
<input type="radio" id="advanced_in_variations_yes_0" class="switcher" name="advanced_in_variations[0]" value="yes" checked="checked"/>
|
190 |
-
<label for="advanced_in_variations_yes_0"><?php _e("In Variations"); ?></label>
|
191 |
</div>
|
192 |
<div class="input">
|
193 |
<input type="radio" id="advanced_in_variations_no_0" class="switcher" name="advanced_in_variations[0]" value="no"/>
|
194 |
-
<label for="advanced_in_variations_no_0"><?php _e("Not In Variations"); ?></label>
|
195 |
</div>
|
196 |
<div class="input wpallimport-radio-field">
|
197 |
<input type="radio" id="advanced_in_variations_xpath_0" class="switcher" name="advanced_in_variations[0]" value="xpath"/>
|
198 |
-
<label for="advanced_in_variations_xpath_0"><?php _e('Set with XPath', '
|
199 |
<span class="wpallimport-clear"></span>
|
200 |
<div class="switcher-target-advanced_in_variations_xpath_0 set_with_xpath">
|
201 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
202 |
<input type="text" class="smaller-text" name="advanced_in_variations_xpath[0]" value=""/>
|
203 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
204 |
</span>
|
205 |
</div>
|
206 |
</div>
|
@@ -209,20 +210,20 @@
|
|
209 |
<div class="input" style="display:inline-block;">
|
210 |
<div class="input">
|
211 |
<input type="radio" id="advanced_is_visible_yes_0" class="switcher" name="advanced_is_visible[0]" value="yes" checked="checked"/>
|
212 |
-
<label for="advanced_is_visible_yes_0"><?php _e("Is Visible"); ?></label>
|
213 |
</div>
|
214 |
<div class="input">
|
215 |
<input type="radio" id="advanced_is_visible_no_0" class="switcher" name="advanced_is_visible[0]" value="no"/>
|
216 |
-
<label for="advanced_is_visible_no_0"><?php _e("Not Visible"); ?></label>
|
217 |
</div>
|
218 |
<div class="input wpallimport-radio-field">
|
219 |
<input type="radio" id="advanced_is_visible_xpath_0" class="switcher" name="advanced_is_visible[0]" value="xpath"/>
|
220 |
-
<label for="advanced_is_visible_xpath_0"><?php _e('Set with XPath', '
|
221 |
<span class="wpallimport-clear"></span>
|
222 |
<div class="switcher-target-advanced_is_visible_xpath_0 set_with_xpath">
|
223 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
224 |
<input type="text" class="smaller-text" name="advanced_is_visible_xpath[0]" value=""/>
|
225 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
226 |
</span>
|
227 |
</div>
|
228 |
</div>
|
@@ -231,20 +232,20 @@
|
|
231 |
<div class="input" style="display:inline-block;">
|
232 |
<div class="input">
|
233 |
<input type="radio" id="advanced_is_taxonomy_yes_0" class="switcher" name="advanced_is_taxonomy[0]" value="yes" checked="checked"/>
|
234 |
-
<label for="advanced_is_taxonomy_yes_0"><?php _e("Is Taxonomy"); ?></label>
|
235 |
</div>
|
236 |
<div class="input">
|
237 |
<input type="radio" id="advanced_is_taxonomy_no_0" class="switcher" name="advanced_is_taxonomy[0]" value="no"/>
|
238 |
-
<label for="advanced_is_taxonomy_no_0"><?php _e("Not Taxonomy"); ?></label>
|
239 |
</div>
|
240 |
<div class="input wpallimport-radio-field">
|
241 |
<input type="radio" id="advanced_is_taxonomy_xpath_0" class="switcher" name="advanced_is_taxonomy[0]" value="xpath"/>
|
242 |
-
<label for="advanced_is_taxonomy_xpath_0"><?php _e('Set with XPath', '
|
243 |
<span class="wpallimport-clear"></span>
|
244 |
<div class="switcher-target-advanced_is_taxonomy_xpath_0 set_with_xpath">
|
245 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
246 |
<input type="text" class="smaller-text" name="advanced_is_taxonomy_xpath[0]" value=""/>
|
247 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
248 |
</span>
|
249 |
</div>
|
250 |
</div>
|
@@ -253,20 +254,20 @@
|
|
253 |
<div class="input" style="display:inline-block;">
|
254 |
<div class="input">
|
255 |
<input type="radio" id="advanced_is_create_terms_yes_0" class="switcher" name="advanced_is_create_terms[0]" value="yes" checked="checked"/>
|
256 |
-
<label for="advanced_is_create_terms_yes_0"><?php _e("Auto-Create Terms"); ?></label>
|
257 |
</div>
|
258 |
<div class="input">
|
259 |
<input type="radio" id="advanced_is_create_terms_no_0" class="switcher" name="advanced_is_create_terms[0]" value="no"/>
|
260 |
-
<label for="advanced_is_create_terms_no_0"><?php _e("Do Not Create Terms"); ?></label>
|
261 |
</div>
|
262 |
<div class="input wpallimport-radio-field">
|
263 |
<input type="radio" id="advanced_is_create_terms_xpath_0" class="switcher" name="advanced_is_create_terms[0]" value="xpath"/>
|
264 |
-
<label for="advanced_is_create_terms_xpath_0"><?php _e('Set with XPath', '
|
265 |
<span class="wpallimport-clear"></span>
|
266 |
<div class="switcher-target-advanced_is_create_terms_xpath_0 set_with_xpath">
|
267 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
268 |
<input type="text" class="smaller-text" name="advanced_is_create_terms_xpath[0]" value=""/>
|
269 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
270 |
</span>
|
271 |
</div>
|
272 |
</div>
|
@@ -288,25 +289,25 @@
|
|
288 |
<span class="wpallimport-clear"></span>
|
289 |
<div class="form-field wpallimport-radio-field" style="padding: 0 !important; position: relative; left: -100%; width: 200%;">
|
290 |
|
291 |
-
<a href="javascript:void(0);" id="advanced_attributes_0" class="action advanced_attributes"><span>+</span> <?php _e('Advanced', '
|
292 |
<input type="hidden" value="0" name="is_advanced[]">
|
293 |
|
294 |
<span class="default_attribute_settings">
|
295 |
<span class='in_variations'>
|
296 |
<input type="checkbox" name="in_variations[]" checked="checked" style="float: left;" value="1"/>
|
297 |
-
<label for=""><?php _e('In Variations','
|
298 |
</span>
|
299 |
<span class='is_visible'>
|
300 |
<input type="checkbox" name="is_visible[]" checked="checked" style="float: left;" value="1"/>
|
301 |
-
<label for=""><?php _e('Is Visible','
|
302 |
</span>
|
303 |
<span class='is_taxonomy'>
|
304 |
<input type="checkbox" name="is_taxonomy[]" checked="checked" style="float: left;" value="1" class="switcher"/>
|
305 |
-
<label for=""><?php _e('Is Taxonomy','
|
306 |
</span>
|
307 |
<span class='is_create_taxonomy'>
|
308 |
<input type="checkbox" name="create_taxonomy_in_not_exists[]" checked="checked" style="float: left;" value="1"/>
|
309 |
-
<label for=""><?php _e('Auto-Create Terms','
|
310 |
</span>
|
311 |
</span>
|
312 |
|
@@ -315,20 +316,20 @@
|
|
315 |
<div class="input" style="display:inline-block;">
|
316 |
<div class="input">
|
317 |
<input type="radio" id="advanced_in_variations_yes_00" class="switcher" name="advanced_in_variations[00]" value="yes" checked="checked"/>
|
318 |
-
<label for="advanced_in_variations_yes_00"><?php _e("In Variations"); ?></label>
|
319 |
</div>
|
320 |
<div class="input">
|
321 |
<input type="radio" id="advanced_in_variations_no_00" class="switcher" name="advanced_in_variations[00]" value="no"/>
|
322 |
-
<label for="advanced_in_variations_no_00"><?php _e("Not In Variations"); ?></label>
|
323 |
</div>
|
324 |
<div class="input wpallimport-radio-field">
|
325 |
<input type="radio" id="advanced_in_variations_xpath_00" class="switcher" name="advanced_in_variations[00]" value="xpath"/>
|
326 |
-
<label for="advanced_in_variations_xpath_00"><?php _e('Set with XPath', '
|
327 |
<span class="wpallimport-clear"></span>
|
328 |
<div class="set_with_xpath">
|
329 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
330 |
<input type="text" class="smaller-text" name="advanced_in_variations_xpath[00]" value=""/>
|
331 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
332 |
</span>
|
333 |
</div>
|
334 |
</div>
|
@@ -337,20 +338,20 @@
|
|
337 |
<div class="input" style="display:inline-block;">
|
338 |
<div class="input">
|
339 |
<input type="radio" id="advanced_is_visible_yes_00" class="switcher" name="advanced_is_visible[00]" value="yes" checked="checked"/>
|
340 |
-
<label for="advanced_is_visible_yes_00"><?php _e("Is Visible"); ?></label>
|
341 |
</div>
|
342 |
<div class="input">
|
343 |
<input type="radio" id="advanced_is_visible_no_00" class="switcher" name="advanced_is_visible[00]" value="no"/>
|
344 |
-
<label for="advanced_is_visible_no_00"><?php _e("Not Visible"); ?></label>
|
345 |
</div>
|
346 |
<div class="input wpallimport-radio-field">
|
347 |
<input type="radio" id="advanced_is_visible_xpath_00" class="switcher" name="advanced_is_visible[00]" value="xpath"/>
|
348 |
-
<label for="advanced_is_visible_xpath_00"><?php _e('Set with XPath', '
|
349 |
<span class="wpallimport-clear"></span>
|
350 |
<div class="set_with_xpath">
|
351 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
352 |
<input type="text" class="smaller-text" name="advanced_is_visible_xpath[00]" value=""/>
|
353 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
354 |
</span>
|
355 |
</div>
|
356 |
</div>
|
@@ -359,20 +360,20 @@
|
|
359 |
<div class="input" style="display:inline-block;">
|
360 |
<div class="input">
|
361 |
<input type="radio" id="advanced_is_taxonomy_yes_00" class="switcher" name="advanced_is_taxonomy[00]" value="yes" checked="checked"/>
|
362 |
-
<label for="advanced_is_taxonomy_yes_00"><?php _e("Is Taxonomy"); ?></label>
|
363 |
</div>
|
364 |
<div class="input">
|
365 |
<input type="radio" id="advanced_is_taxonomy_no_00" class="switcher" name="advanced_is_taxonomy[00]" value="no"/>
|
366 |
-
<label for="advanced_is_taxonomy_no_00"><?php _e("Not Taxonomy"); ?></label>
|
367 |
</div>
|
368 |
<div class="input wpallimport-radio-field">
|
369 |
<input type="radio" id="advanced_is_taxonomy_xpath_00" class="switcher" name="advanced_is_taxonomy[00]" value="xpath"/>
|
370 |
-
<label for="advanced_is_taxonomy_xpath_00"><?php _e('Set with XPath', '
|
371 |
<span class="wpallimport-clear"></span>
|
372 |
<div class="set_with_xpath">
|
373 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
374 |
<input type="text" class="smaller-text" name="advanced_is_taxonomy_xpath[00]" value=""/>
|
375 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
376 |
</span>
|
377 |
</div>
|
378 |
</div>
|
@@ -381,20 +382,20 @@
|
|
381 |
<div class="input" style="display:inline-block;">
|
382 |
<div class="input">
|
383 |
<input type="radio" id="advanced_is_create_terms_yes_00" class="switcher" name="advanced_is_create_terms[00]" value="yes" checked="checked"/>
|
384 |
-
<label for="advanced_is_create_terms_yes_00"><?php _e("Auto-Create Terms"); ?></label>
|
385 |
</div>
|
386 |
<div class="input">
|
387 |
<input type="radio" id="advanced_is_create_terms_no_00" class="switcher" name="advanced_is_create_terms[00]" value="no"/>
|
388 |
-
<label for="advanced_is_create_terms_no_00"><?php _e("Do Not Create Terms"); ?></label>
|
389 |
</div>
|
390 |
<div class="input wpallimport-radio-field">
|
391 |
<input type="radio" id="advanced_is_create_terms_xpath_00" class="switcher" name="advanced_is_create_terms[00]" value="xpath"/>
|
392 |
-
<label for="advanced_is_create_terms_xpath_00"><?php _e('Set with XPath', '
|
393 |
<span class="wpallimport-clear"></span>
|
394 |
<div class="set_with_xpath">
|
395 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
396 |
<input type="text" class="smaller-text" name="advanced_is_create_terms_xpath[00]" value=""/>
|
397 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
398 |
</span>
|
399 |
</div>
|
400 |
</div>
|
@@ -407,7 +408,7 @@
|
|
407 |
<td class="action remove"><a href="#remove" style="top: 9px;"></a></td>
|
408 |
</tr>
|
409 |
<tr>
|
410 |
-
<td colspan="3"><a href="#add" title="<?php _e('add', '
|
411 |
</tr>
|
412 |
</tbody>
|
413 |
</table>
|
@@ -416,8 +417,8 @@
|
|
416 |
<p class="form-field wpallimport-radio-field" style="padding-left: 10px !important;">
|
417 |
<input type="hidden" name="link_all_variations" value="0" />
|
418 |
<input type="checkbox" id="link_all_variations" name="link_all_variations" value="1" <?php echo $post['link_all_variations'] ? 'checked="checked"' : '' ?>/>
|
419 |
-
<label style="width: 100px;" for="link_all_variations"><?php _e('Link all variations', '
|
420 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('This option will create all possible variations for the presented attributes. Works just like the Link All Variations option inside WooCommerce.', '
|
421 |
</p>
|
422 |
</div>
|
423 |
</div><!-- End Product Panel -->
|
1 |
<div class="panel woocommerce_options_panel" id="woocommerce_attributes" style="display:none;">
|
2 |
<div style="margin-left:-2%;">
|
3 |
<div class="woo-add-on-free-edition-notice upgrade_template" style="margin-top:0;">
|
4 |
+
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the professional edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', 'wpai_woocommerce_addon_plugin');?></a>
|
5 |
+
<p><?php _e('If you already own it, remove the free edition and install the professional edition.', 'wp_all_import_plugin'); ?></p>
|
6 |
</div>
|
7 |
</div>
|
8 |
<div class="input">
|
9 |
<table class="form-table custom-params" id="attributes_table" style="max-width:95%;">
|
10 |
<thead>
|
11 |
<tr>
|
12 |
+
<td><?php _e('Name', 'wpai_woocommerce_addon_plugin'); ?></td>
|
13 |
<td style="padding-bottom: 5px;">
|
14 |
+
<?php _e('Values', 'wpai_woocommerce_addon_plugin'); ?>
|
15 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('Separate mutiple values with a |', 'wpai_woocommerce_addon_plugin') ?>" style="top:-1px;">?</a>
|
16 |
</td>
|
17 |
<td></td>
|
18 |
</tr>
|
29 |
<span class="wpallimport-clear"></span>
|
30 |
<div class="form-field wpallimport-radio-field" style="padding: 0 !important; position: relative; left: -100%; width: 200%;">
|
31 |
|
32 |
+
<a href="javascript:void(0);" id="advanced_attributes_<?php echo $i; ?>" class="action advanced_attributes"><span>+</span> <?php _e('Advanced', 'wpai_woocommerce_addon_plugin') ?></a>
|
33 |
<input type="hidden" value="<?php echo (empty($post['is_advanced'][$i])) ? '0' : $post['is_advanced'][$i];?>" name="is_advanced[]">
|
34 |
|
35 |
<span class="default_attribute_settings">
|
36 |
<span class='in_variations'>
|
37 |
<input type="checkbox" name="in_variations[]" id="in_variations_<?php echo $i; ?>" <?php echo ($post['in_variations'][$i]) ? 'checked="checked"' : ''; ?> style="float: left;" value="1"/>
|
38 |
+
<label for="in_variations_<?php echo $i; ?>"><?php _e('In Variations','wpai_woocommerce_addon_plugin');?></label>
|
39 |
</span>
|
40 |
|
41 |
<span class='is_visible'>
|
42 |
<input type="checkbox" name="is_visible[]" id="is_visible_<?php echo $i; ?>" <?php echo ($post['is_visible'][$i]) ? 'checked="checked"' : ''; ?> style="float: left;" value="1"/>
|
43 |
+
<label for="is_visible_<?php echo $i; ?>"><?php _e('Is Visible','wpai_woocommerce_addon_plugin');?></label>
|
44 |
</span>
|
45 |
|
46 |
<span class='is_taxonomy'>
|
47 |
<input type="checkbox" name="is_taxonomy[]" id="is_taxonomy_<?php echo $i; ?>" <?php echo ($post['is_taxonomy'][$i]) ? 'checked="checked"' : ''; ?> style="float: left;" value="1" class="switcher"/>
|
48 |
+
<label for="is_taxonomy_<?php echo $i; ?>"><?php _e('Is Taxonomy','wpai_woocommerce_addon_plugin');?></label>
|
49 |
</span>
|
50 |
|
51 |
<span class='is_create_taxonomy switcher-target-is_taxonomy_<?php echo $i; ?>'>
|
52 |
<input type="checkbox" name="create_taxonomy_in_not_exists[]" id="create_taxonomy_in_not_exists_<?php echo $i; ?>" <?php echo ($post['create_taxonomy_in_not_exists'][$i]) ? 'checked="checked"' : ''; ?> style="float: left;" value="1"/>
|
53 |
+
<label for="create_taxonomy_in_not_exists_<?php echo $i; ?>"><?php _e('Auto-Create Terms','wpai_woocommerce_addon_plugin');?></label>
|
54 |
</span>
|
55 |
</span>
|
56 |
|
59 |
<div class="input" style="display:inline-block;">
|
60 |
<div class="input">
|
61 |
<input type="radio" id="advanced_in_variations_yes_<?php echo $i; ?>" class="switcher" name="advanced_in_variations[<?php echo $i; ?>]" value="yes" <?php echo ( empty($post['advanced_in_variations'][$i]) or ( ! empty($post['advanced_in_variations'][$i]) and ! in_array($post['advanced_in_variations'][$i], array('no', 'xpath'))) ) ? 'checked="checked"': '' ?>/>
|
62 |
+
<label for="advanced_in_variations_yes_<?php echo $i; ?>"><?php _e("In Variations", 'wpai_woocommerce_addon_plugin'); ?></label>
|
63 |
</div>
|
64 |
<div class="input">
|
65 |
<input type="radio" id="advanced_in_variations_no_<?php echo $i; ?>" class="switcher" name="advanced_in_variations[<?php echo $i; ?>]" value="no" <?php echo (!empty($post['advanced_in_variations'][$i]) and 'no' == $post['advanced_in_variations'][$i]) ? 'checked="checked"': '' ?>/>
|
66 |
+
<label for="advanced_in_variations_no_<?php echo $i; ?>"><?php _e("Not In Variations", 'wpai_woocommerce_addon_plugin'); ?></label>
|
67 |
</div>
|
68 |
<div class="input wpallimport-radio-field">
|
69 |
<input type="radio" id="advanced_in_variations_xpath_<?php echo $i; ?>" class="switcher" name="advanced_in_variations[<?php echo $i; ?>]" value="xpath" <?php echo (!empty($post['advanced_in_variations'][$i]) and 'xpath' == $post['advanced_in_variations'][$i]) ? 'checked="checked"': '' ?>/>
|
70 |
+
<label for="advanced_in_variations_xpath_<?php echo $i; ?>"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
71 |
<span class="wpallimport-clear"></span>
|
72 |
<div class="switcher-target-advanced_in_variations_xpath_<?php echo $i; ?> set_with_xpath">
|
73 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
74 |
<input type="text" class="smaller-text" name="advanced_in_variations_xpath[<?php echo $i; ?>]" value="<?php echo (!empty($post['advanced_in_variations_xpath'][$i])) ? esc_attr($post['advanced_in_variations_xpath'][$i]) : ''; ?>"/>
|
75 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
76 |
</span>
|
77 |
</div>
|
78 |
</div>
|
81 |
<div class="input" style="display:inline-block;">
|
82 |
<div class="input">
|
83 |
<input type="radio" id="advanced_is_visible_yes_<?php echo $i; ?>" class="switcher" name="advanced_is_visible[<?php echo $i; ?>]" value="yes" <?php echo ( empty($post['advanced_is_visible'][$i]) or ( ! empty($post['advanced_is_visible'][$i]) and ! in_array($post['advanced_is_visible'][$i], array('no', 'xpath'))) ) ? 'checked="checked"': '' ?>/>
|
84 |
+
<label for="advanced_is_visible_yes_<?php echo $i; ?>"><?php _e("Is Visible", 'wpai_woocommerce_addon_plugin'); ?></label>
|
85 |
</div>
|
86 |
<div class="input">
|
87 |
<input type="radio" id="advanced_is_visible_no_<?php echo $i; ?>" class="switcher" name="advanced_is_visible[<?php echo $i; ?>]" value="no" <?php echo (!empty($post['advanced_is_visible'][$i]) and 'no' == $post['advanced_is_visible'][$i]) ? 'checked="checked"': '' ?>/>
|
88 |
+
<label for="advanced_is_visible_no_<?php echo $i; ?>"><?php _e("Not Visible", 'wpai_woocommerce_addon_plugin'); ?></label>
|
89 |
</div>
|
90 |
<div class="input wpallimport-radio-field">
|
91 |
<input type="radio" id="advanced_is_visible_xpath_<?php echo $i; ?>" class="switcher" name="advanced_is_visible[<?php echo $i; ?>]" value="xpath" <?php echo (!empty($post['advanced_is_visible'][$i]) and 'xpath' == $post['advanced_is_visible'][$i]) ? 'checked="checked"': '' ?>/>
|
92 |
+
<label for="advanced_is_visible_xpath_<?php echo $i; ?>"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
93 |
<span class="wpallimport-clear"></span>
|
94 |
<div class="switcher-target-advanced_is_visible_xpath_<?php echo $i; ?> set_with_xpath">
|
95 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
96 |
<input type="text" class="smaller-text" name="advanced_is_visible_xpath[<?php echo $i; ?>]" value="<?php echo (!empty($post['advanced_is_visible_xpath'][$i])) ? esc_attr($post['advanced_is_visible_xpath'][$i]) : ''; ?>"/>
|
97 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
98 |
</span>
|
99 |
</div>
|
100 |
</div>
|
103 |
<div class="input" style="display:inline-block;">
|
104 |
<div class="input">
|
105 |
<input type="radio" id="advanced_is_taxonomy_yes_<?php echo $i; ?>" class="switcher" name="advanced_is_taxonomy[<?php echo $i; ?>]" value="yes" <?php echo (empty($post['advanced_is_taxonomy'][$i]) or ( !empty($post['advanced_is_taxonomy'][$i]) and ! in_array($post['advanced_is_taxonomy'][$i], array('no', 'xpath'))) ) ? 'checked="checked"': '' ?>/>
|
106 |
+
<label for="advanced_is_taxonomy_yes_<?php echo $i; ?>"><?php _e("Is Taxonomy", 'wpai_woocommerce_addon_plugin'); ?></label>
|
107 |
</div>
|
108 |
<div class="input">
|
109 |
<input type="radio" id="advanced_is_taxonomy_no_<?php echo $i; ?>" class="switcher" name="advanced_is_taxonomy[<?php echo $i; ?>]" value="no" <?php echo (!empty($post['advanced_is_taxonomy'][$i]) and 'no' == $post['advanced_is_taxonomy'][$i]) ? 'checked="checked"': '' ?>/>
|
110 |
+
<label for="advanced_is_taxonomy_no_<?php echo $i; ?>"><?php _e("Not Taxonomy", 'wpai_woocommerce_addon_plugin'); ?></label>
|
111 |
</div>
|
112 |
<div class="input wpallimport-radio-field">
|
113 |
<input type="radio" id="advanced_is_taxonomy_xpath_<?php echo $i; ?>" class="switcher" name="advanced_is_taxonomy[<?php echo $i; ?>]" value="xpath" <?php echo (!empty($post['advanced_is_taxonomy'][$i]) and 'xpath' == $post['advanced_is_taxonomy'][$i]) ? 'checked="checked"': '' ?>/>
|
114 |
+
<label for="advanced_is_taxonomy_xpath_<?php echo $i; ?>"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
115 |
<span class="wpallimport-clear"></span>
|
116 |
<div class="switcher-target-advanced_is_taxonomy_xpath_<?php echo $i; ?> set_with_xpath">
|
117 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
118 |
<input type="text" class="smaller-text" name="advanced_is_taxonomy_xpath[<?php echo $i; ?>]" value="<?php echo (!empty($post['advanced_is_taxonomy_xpath'][$i])) ? esc_attr($post['advanced_is_taxonomy_xpath'][$i]) : ''; ?>"/>
|
119 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
120 |
</span>
|
121 |
</div>
|
122 |
</div>
|
125 |
<div class="input" style="display:inline-block;">
|
126 |
<div class="input">
|
127 |
<input type="radio" id="advanced_is_create_terms_yes_<?php echo $i; ?>" class="switcher" name="advanced_is_create_terms[<?php echo $i; ?>]" value="yes" <?php echo (empty($post['advanced_is_create_terms'][$i]) or ( ! empty($post['advanced_is_create_terms'][$i]) and ! in_array($post['advanced_is_create_terms'][$i], array('no', 'xpath'))) ) ? 'checked="checked"': '' ?>/>
|
128 |
+
<label for="advanced_is_create_terms_yes_<?php echo $i; ?>"><?php _e("Auto-Create Terms", 'wpai_woocommerce_addon_plugin'); ?></label>
|
129 |
</div>
|
130 |
<div class="input">
|
131 |
<input type="radio" id="advanced_is_create_terms_no_<?php echo $i; ?>" class="switcher" name="advanced_is_create_terms[<?php echo $i; ?>]" value="no" <?php echo ( ! empty($post['advanced_is_create_terms'][$i]) and 'no' == $post['advanced_is_create_terms'][$i]) ? 'checked="checked"': '' ?>/>
|
132 |
+
<label for="advanced_is_create_terms_no_<?php echo $i; ?>"><?php _e("Do Not Create Terms", 'wpai_woocommerce_addon_plugin'); ?></label>
|
133 |
</div>
|
134 |
<div class="input wpallimport-radio-field">
|
135 |
<input type="radio" id="advanced_is_create_terms_xpath_<?php echo $i; ?>" class="switcher" name="advanced_is_create_terms[<?php echo $i; ?>]" value="xpath" <?php echo (!empty($post['advanced_is_create_terms'][$i]) and 'xpath' == $post['advanced_is_create_terms'][$i]) ? 'checked="checked"': '' ?>/>
|
136 |
+
<label for="advanced_is_create_terms_xpath_<?php echo $i; ?>"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
137 |
<span class="wpallimport-clear"></span>
|
138 |
<div class="switcher-target-advanced_is_create_terms_xpath_<?php echo $i; ?> set_with_xpath">
|
139 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
140 |
<input type="text" class="smaller-text" name="advanced_is_create_terms_xpath[<?php echo $i; ?>]" value="<?php echo (!empty($post['advanced_is_create_terms_xpath'][$i])) ? esc_attr($post['advanced_is_create_terms_xpath'][$i]) : ''; ?>"/>
|
141 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
142 |
</span>
|
143 |
</div>
|
144 |
</div>
|
161 |
<span class="wpallimport-clear"></span>
|
162 |
<div class="form-field wpallimport-radio-field" style="padding: 0 !important; position: relative; left: -100%; width: 200%;">
|
163 |
|
164 |
+
<a href="javascript:void(0);" id="advanced_attributes_0" class="action advanced_attributes"><span>+</span> <?php _e('Advanced', 'wpai_woocommerce_addon_plugin') ?></a>
|
165 |
<input type="hidden" value="0" name="is_advanced[]">
|
166 |
|
167 |
<span class="default_attribute_settings">
|
168 |
<span class='in_variations'>
|
169 |
<input type="checkbox" name="in_variations[]" id="in_variations_0" checked="checked" style="float: left;" value="1"/>
|
170 |
+
<label for="in_variations_0"><?php _e('In Variations','wpai_woocommerce_addon_plugin');?></label>
|
171 |
</span>
|
172 |
<span class='is_visible'>
|
173 |
<input type="checkbox" name="is_visible[]" id="is_visible_0" checked="checked" style="float: left;" value="1"/>
|
174 |
+
<label for="is_visible_0"><?php _e('Is Visible','wpai_woocommerce_addon_plugin');?></label>
|
175 |
</span>
|
176 |
<span class='is_taxonomy'>
|
177 |
<input type="checkbox" name="is_taxonomy[]" id="is_taxonomy_0" checked="checked" style="float: left;" value="1" class="switcher"/>
|
178 |
+
<label for="is_taxonomy_0"><?php _e('Is Taxonomy','wpai_woocommerce_addon_plugin');?></label>
|
179 |
</span>
|
180 |
<span class='is_create_taxonomy switcher-target-is_taxonomy_0'>
|
181 |
<input type="checkbox" name="create_taxonomy_in_not_exists[]" id="create_taxonomy_in_not_exists_0" checked="checked" style="float: left;" value="1"/>
|
182 |
+
<label for="create_taxonomy_in_not_exists_0"><?php _e('Auto-Create Terms','wpai_woocommerce_addon_plugin');?></label>
|
183 |
</span>
|
184 |
</span>
|
185 |
|
188 |
<div class="input" style="display:inline-block;">
|
189 |
<div class="input">
|
190 |
<input type="radio" id="advanced_in_variations_yes_0" class="switcher" name="advanced_in_variations[0]" value="yes" checked="checked"/>
|
191 |
+
<label for="advanced_in_variations_yes_0"><?php _e("In Variations", 'wpai_woocommerce_addon_plugin'); ?></label>
|
192 |
</div>
|
193 |
<div class="input">
|
194 |
<input type="radio" id="advanced_in_variations_no_0" class="switcher" name="advanced_in_variations[0]" value="no"/>
|
195 |
+
<label for="advanced_in_variations_no_0"><?php _e("Not In Variations", 'wpai_woocommerce_addon_plugin'); ?></label>
|
196 |
</div>
|
197 |
<div class="input wpallimport-radio-field">
|
198 |
<input type="radio" id="advanced_in_variations_xpath_0" class="switcher" name="advanced_in_variations[0]" value="xpath"/>
|
199 |
+
<label for="advanced_in_variations_xpath_0"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
200 |
<span class="wpallimport-clear"></span>
|
201 |
<div class="switcher-target-advanced_in_variations_xpath_0 set_with_xpath">
|
202 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
203 |
<input type="text" class="smaller-text" name="advanced_in_variations_xpath[0]" value=""/>
|
204 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
205 |
</span>
|
206 |
</div>
|
207 |
</div>
|
210 |
<div class="input" style="display:inline-block;">
|
211 |
<div class="input">
|
212 |
<input type="radio" id="advanced_is_visible_yes_0" class="switcher" name="advanced_is_visible[0]" value="yes" checked="checked"/>
|
213 |
+
<label for="advanced_is_visible_yes_0"><?php _e("Is Visible", 'wpai_woocommerce_addon_plugin'); ?></label>
|
214 |
</div>
|
215 |
<div class="input">
|
216 |
<input type="radio" id="advanced_is_visible_no_0" class="switcher" name="advanced_is_visible[0]" value="no"/>
|
217 |
+
<label for="advanced_is_visible_no_0"><?php _e("Not Visible", 'wpai_woocommerce_addon_plugin'); ?></label>
|
218 |
</div>
|
219 |
<div class="input wpallimport-radio-field">
|
220 |
<input type="radio" id="advanced_is_visible_xpath_0" class="switcher" name="advanced_is_visible[0]" value="xpath"/>
|
221 |
+
<label for="advanced_is_visible_xpath_0"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
222 |
<span class="wpallimport-clear"></span>
|
223 |
<div class="switcher-target-advanced_is_visible_xpath_0 set_with_xpath">
|
224 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
225 |
<input type="text" class="smaller-text" name="advanced_is_visible_xpath[0]" value=""/>
|
226 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
227 |
</span>
|
228 |
</div>
|
229 |
</div>
|
232 |
<div class="input" style="display:inline-block;">
|
233 |
<div class="input">
|
234 |
<input type="radio" id="advanced_is_taxonomy_yes_0" class="switcher" name="advanced_is_taxonomy[0]" value="yes" checked="checked"/>
|
235 |
+
<label for="advanced_is_taxonomy_yes_0"><?php _e("Is Taxonomy", 'wpai_woocommerce_addon_plugin'); ?></label>
|
236 |
</div>
|
237 |
<div class="input">
|
238 |
<input type="radio" id="advanced_is_taxonomy_no_0" class="switcher" name="advanced_is_taxonomy[0]" value="no"/>
|
239 |
+
<label for="advanced_is_taxonomy_no_0"><?php _e("Not Taxonomy", 'wpai_woocommerce_addon_plugin'); ?></label>
|
240 |
</div>
|
241 |
<div class="input wpallimport-radio-field">
|
242 |
<input type="radio" id="advanced_is_taxonomy_xpath_0" class="switcher" name="advanced_is_taxonomy[0]" value="xpath"/>
|
243 |
+
<label for="advanced_is_taxonomy_xpath_0"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
244 |
<span class="wpallimport-clear"></span>
|
245 |
<div class="switcher-target-advanced_is_taxonomy_xpath_0 set_with_xpath">
|
246 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
247 |
<input type="text" class="smaller-text" name="advanced_is_taxonomy_xpath[0]" value=""/>
|
248 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
249 |
</span>
|
250 |
</div>
|
251 |
</div>
|
254 |
<div class="input" style="display:inline-block;">
|
255 |
<div class="input">
|
256 |
<input type="radio" id="advanced_is_create_terms_yes_0" class="switcher" name="advanced_is_create_terms[0]" value="yes" checked="checked"/>
|
257 |
+
<label for="advanced_is_create_terms_yes_0"><?php _e("Auto-Create Terms", 'wpai_woocommerce_addon_plugin'); ?></label>
|
258 |
</div>
|
259 |
<div class="input">
|
260 |
<input type="radio" id="advanced_is_create_terms_no_0" class="switcher" name="advanced_is_create_terms[0]" value="no"/>
|
261 |
+
<label for="advanced_is_create_terms_no_0"><?php _e("Do Not Create Terms", 'wpai_woocommerce_addon_plugin'); ?></label>
|
262 |
</div>
|
263 |
<div class="input wpallimport-radio-field">
|
264 |
<input type="radio" id="advanced_is_create_terms_xpath_0" class="switcher" name="advanced_is_create_terms[0]" value="xpath"/>
|
265 |
+
<label for="advanced_is_create_terms_xpath_0"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
266 |
<span class="wpallimport-clear"></span>
|
267 |
<div class="switcher-target-advanced_is_create_terms_xpath_0 set_with_xpath">
|
268 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
269 |
<input type="text" class="smaller-text" name="advanced_is_create_terms_xpath[0]" value=""/>
|
270 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
271 |
</span>
|
272 |
</div>
|
273 |
</div>
|
289 |
<span class="wpallimport-clear"></span>
|
290 |
<div class="form-field wpallimport-radio-field" style="padding: 0 !important; position: relative; left: -100%; width: 200%;">
|
291 |
|
292 |
+
<a href="javascript:void(0);" id="advanced_attributes_0" class="action advanced_attributes"><span>+</span> <?php _e('Advanced', 'wpai_woocommerce_addon_plugin') ?></a>
|
293 |
<input type="hidden" value="0" name="is_advanced[]">
|
294 |
|
295 |
<span class="default_attribute_settings">
|
296 |
<span class='in_variations'>
|
297 |
<input type="checkbox" name="in_variations[]" checked="checked" style="float: left;" value="1"/>
|
298 |
+
<label for=""><?php _e('In Variations','wpai_woocommerce_addon_plugin');?></label>
|
299 |
</span>
|
300 |
<span class='is_visible'>
|
301 |
<input type="checkbox" name="is_visible[]" checked="checked" style="float: left;" value="1"/>
|
302 |
+
<label for=""><?php _e('Is Visible','wpai_woocommerce_addon_plugin');?></label>
|
303 |
</span>
|
304 |
<span class='is_taxonomy'>
|
305 |
<input type="checkbox" name="is_taxonomy[]" checked="checked" style="float: left;" value="1" class="switcher"/>
|
306 |
+
<label for=""><?php _e('Is Taxonomy','wpai_woocommerce_addon_plugin');?></label>
|
307 |
</span>
|
308 |
<span class='is_create_taxonomy'>
|
309 |
<input type="checkbox" name="create_taxonomy_in_not_exists[]" checked="checked" style="float: left;" value="1"/>
|
310 |
+
<label for=""><?php _e('Auto-Create Terms','wpai_woocommerce_addon_plugin');?></label>
|
311 |
</span>
|
312 |
</span>
|
313 |
|
316 |
<div class="input" style="display:inline-block;">
|
317 |
<div class="input">
|
318 |
<input type="radio" id="advanced_in_variations_yes_00" class="switcher" name="advanced_in_variations[00]" value="yes" checked="checked"/>
|
319 |
+
<label for="advanced_in_variations_yes_00"><?php _e("In Variations", 'wpai_woocommerce_addon_plugin'); ?></label>
|
320 |
</div>
|
321 |
<div class="input">
|
322 |
<input type="radio" id="advanced_in_variations_no_00" class="switcher" name="advanced_in_variations[00]" value="no"/>
|
323 |
+
<label for="advanced_in_variations_no_00"><?php _e("Not In Variations", 'wpai_woocommerce_addon_plugin'); ?></label>
|
324 |
</div>
|
325 |
<div class="input wpallimport-radio-field">
|
326 |
<input type="radio" id="advanced_in_variations_xpath_00" class="switcher" name="advanced_in_variations[00]" value="xpath"/>
|
327 |
+
<label for="advanced_in_variations_xpath_00"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
328 |
<span class="wpallimport-clear"></span>
|
329 |
<div class="set_with_xpath">
|
330 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
331 |
<input type="text" class="smaller-text" name="advanced_in_variations_xpath[00]" value=""/>
|
332 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
333 |
</span>
|
334 |
</div>
|
335 |
</div>
|
338 |
<div class="input" style="display:inline-block;">
|
339 |
<div class="input">
|
340 |
<input type="radio" id="advanced_is_visible_yes_00" class="switcher" name="advanced_is_visible[00]" value="yes" checked="checked"/>
|
341 |
+
<label for="advanced_is_visible_yes_00"><?php _e("Is Visible", 'wpai_woocommerce_addon_plugin'); ?></label>
|
342 |
</div>
|
343 |
<div class="input">
|
344 |
<input type="radio" id="advanced_is_visible_no_00" class="switcher" name="advanced_is_visible[00]" value="no"/>
|
345 |
+
<label for="advanced_is_visible_no_00"><?php _e("Not Visible", 'wpai_woocommerce_addon_plugin'); ?></label>
|
346 |
</div>
|
347 |
<div class="input wpallimport-radio-field">
|
348 |
<input type="radio" id="advanced_is_visible_xpath_00" class="switcher" name="advanced_is_visible[00]" value="xpath"/>
|
349 |
+
<label for="advanced_is_visible_xpath_00"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
350 |
<span class="wpallimport-clear"></span>
|
351 |
<div class="set_with_xpath">
|
352 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
353 |
<input type="text" class="smaller-text" name="advanced_is_visible_xpath[00]" value=""/>
|
354 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
355 |
</span>
|
356 |
</div>
|
357 |
</div>
|
360 |
<div class="input" style="display:inline-block;">
|
361 |
<div class="input">
|
362 |
<input type="radio" id="advanced_is_taxonomy_yes_00" class="switcher" name="advanced_is_taxonomy[00]" value="yes" checked="checked"/>
|
363 |
+
<label for="advanced_is_taxonomy_yes_00"><?php _e("Is Taxonomy", 'wpai_woocommerce_addon_plugin'); ?></label>
|
364 |
</div>
|
365 |
<div class="input">
|
366 |
<input type="radio" id="advanced_is_taxonomy_no_00" class="switcher" name="advanced_is_taxonomy[00]" value="no"/>
|
367 |
+
<label for="advanced_is_taxonomy_no_00"><?php _e("Not Taxonomy", 'wpai_woocommerce_addon_plugin'); ?></label>
|
368 |
</div>
|
369 |
<div class="input wpallimport-radio-field">
|
370 |
<input type="radio" id="advanced_is_taxonomy_xpath_00" class="switcher" name="advanced_is_taxonomy[00]" value="xpath"/>
|
371 |
+
<label for="advanced_is_taxonomy_xpath_00"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
372 |
<span class="wpallimport-clear"></span>
|
373 |
<div class="set_with_xpath">
|
374 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
375 |
<input type="text" class="smaller-text" name="advanced_is_taxonomy_xpath[00]" value=""/>
|
376 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
377 |
</span>
|
378 |
</div>
|
379 |
</div>
|
382 |
<div class="input" style="display:inline-block;">
|
383 |
<div class="input">
|
384 |
<input type="radio" id="advanced_is_create_terms_yes_00" class="switcher" name="advanced_is_create_terms[00]" value="yes" checked="checked"/>
|
385 |
+
<label for="advanced_is_create_terms_yes_00"><?php _e("Auto-Create Terms", 'wpai_woocommerce_addon_plugin'); ?></label>
|
386 |
</div>
|
387 |
<div class="input">
|
388 |
<input type="radio" id="advanced_is_create_terms_no_00" class="switcher" name="advanced_is_create_terms[00]" value="no"/>
|
389 |
+
<label for="advanced_is_create_terms_no_00"><?php _e("Do Not Create Terms", 'wpai_woocommerce_addon_plugin'); ?></label>
|
390 |
</div>
|
391 |
<div class="input wpallimport-radio-field">
|
392 |
<input type="radio" id="advanced_is_create_terms_xpath_00" class="switcher" name="advanced_is_create_terms[00]" value="xpath"/>
|
393 |
+
<label for="advanced_is_create_terms_xpath_00"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
394 |
<span class="wpallimport-clear"></span>
|
395 |
<div class="set_with_xpath">
|
396 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
397 |
<input type="text" class="smaller-text" name="advanced_is_create_terms_xpath[00]" value=""/>
|
398 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
399 |
</span>
|
400 |
</div>
|
401 |
</div>
|
408 |
<td class="action remove"><a href="#remove" style="top: 9px;"></a></td>
|
409 |
</tr>
|
410 |
<tr>
|
411 |
+
<td colspan="3"><a href="#add" title="<?php _e('add', 'wpai_woocommerce_addon_plugin')?>" class="action add-new-custom"><?php _e('Add more', 'wpai_woocommerce_addon_plugin') ?></a></td>
|
412 |
</tr>
|
413 |
</tbody>
|
414 |
</table>
|
417 |
<p class="form-field wpallimport-radio-field" style="padding-left: 10px !important;">
|
418 |
<input type="hidden" name="link_all_variations" value="0" />
|
419 |
<input type="checkbox" id="link_all_variations" name="link_all_variations" value="1" <?php echo $post['link_all_variations'] ? 'checked="checked"' : '' ?>/>
|
420 |
+
<label style="width: 100px;" for="link_all_variations"><?php _e('Link all variations', 'wpai_woocommerce_addon_plugin') ?></label>
|
421 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('This option will create all possible variations for the presented attributes. Works just like the Link All Variations option inside WooCommerce.', 'wpai_woocommerce_addon_plugin') ?>" style="top:3px;">?</a>
|
422 |
</p>
|
423 |
</div>
|
424 |
</div><!-- End Product Panel -->
|
views/admin/import/_tabs/_general.php
CHANGED
@@ -1,74 +1,75 @@
|
|
1 |
<div class="panel woocommerce_options_panel" id="general_product_data">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
-
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the professional edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', '
|
|
|
4 |
</div>
|
5 |
<div class="options_group hide_if_grouped">
|
6 |
<p class="form-field">
|
7 |
-
<label><?php _e("SKU"); ?></label>
|
8 |
<input type="text" class="short" name="single_product_sku" style="" value="<?php echo esc_attr($post['single_product_sku']) ?>"/>
|
9 |
</p>
|
10 |
</div>
|
11 |
<div class="options_group show_if_external">
|
12 |
<p class="form-field">
|
13 |
-
<label><?php _e("Product URL"); ?></label>
|
14 |
<input type="text" class="short" name="single_product_url" value="<?php echo esc_attr($post['single_product_url']) ?>"/>
|
15 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The external/affiliate link URL to the product.', '
|
16 |
</p>
|
17 |
<p class="form-field">
|
18 |
-
<label><?php _e("Button text"); ?></label>
|
19 |
<input type="text" class="short" name="single_product_button_text" value="<?php echo esc_attr($post['single_product_button_text']) ?>"/>
|
20 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('This text will be shown on the button linking to the external product.', '
|
21 |
</p>
|
22 |
</div>
|
23 |
<div class="options_group pricing show_if_simple show_if_external show_if_variable">
|
24 |
|
25 |
-
<p class="form-field"><i><?php _e('Prices should be presented as you would enter them manually in WooCommerce - with no currency symbol.', '
|
26 |
|
27 |
<p class="form-field">
|
28 |
-
<label><?php
|
29 |
-
<input type="text" class="short" name="single_product_regular_price" value="<?php echo esc_attr($post['single_product_regular_price']) ?>"/> <strong class="options_group show_if_variable" style="position:relative; top:4px; left:4px;">(<?php _e('required', '
|
30 |
</p>
|
31 |
<p class="form-field">
|
32 |
-
<label><?php
|
33 |
-
<input type="text" class="short" name="single_product_sale_price" value="<?php echo esc_attr($post['single_product_sale_price']) ?>"/> <a id="regular_price_shedule" href="javascript:void(0);" <?php if ($post['is_regular_price_shedule']):?>style="display:none;"<?php endif; ?>><?php _e('schedule');?></a>
|
34 |
<input type="hidden" name="is_regular_price_shedule" value="<?php echo esc_attr($post['is_regular_price_shedule']) ?>"/>
|
35 |
</p>
|
36 |
<p class="form-field" <?php if ( ! $post['is_regular_price_shedule']):?>style="display:none;"<?php endif; ?> id="sale_price_range">
|
37 |
<span style="vertical-align:middle">
|
38 |
-
<label><?php _e("Sale Price Dates"); ?></label>
|
39 |
<input type="text" class="datepicker" name="single_sale_price_dates_from" value="<?php echo esc_attr($post['single_sale_price_dates_from']) ?>" style="float:none; width:110px;"/>
|
40 |
-
<span><?php _e('and', '
|
41 |
<input type="text" class="datepicker" name="single_sale_price_dates_to" value="<?php echo esc_attr($post['single_sale_price_dates_to']) ?>" style="float:none !important; width:110px;"/>
|
42 |
-
<a id="cancel_regular_price_shedule" href="javascript:void(0);"><?php _e('cancel');?></a>
|
43 |
</span>
|
44 |
</p>
|
45 |
|
46 |
<!-- AUTOFIX PRICES -->
|
47 |
|
48 |
-
<p class="form-field pmwi_trigger_adjust_prices"> <strong><?php _e('Adjust Prices (mark up, mark down, convert currency)'); ?> <span><?php if (!empty($post['single_product_regular_price_adjust']) or !empty($post['single_product_sale_price_adjust'])):?>-<?php else: ?>+<?php endif; ?></span></strong></p>
|
49 |
|
50 |
<div class="pmwi_adjust_prices" <?php if (!empty($post['single_product_regular_price_adjust']) or !empty($post['single_product_sale_price_adjust'])):?>style="display:block;"<?php endif; ?>>
|
51 |
<p class="form-field">
|
52 |
-
<label><?php
|
53 |
<input type="text" class="short" name="single_product_regular_price_adjust" value="<?php echo esc_attr($post['single_product_regular_price_adjust']) ?>"/>
|
54 |
<select name="single_product_regular_price_adjust_type" class="pmwi_adjust_type">
|
55 |
<option value="%" <?php echo ($post['single_product_regular_price_adjust_type'] == '%') ? 'selected="selected"' : ''; ?>>%</option>
|
56 |
<option value="$" <?php echo ($post['single_product_regular_price_adjust_type'] == '$') ? 'selected="selected"' : ''; ?>><?php echo get_woocommerce_currency_symbol(); ?></option>
|
57 |
</select>
|
58 |
-
<a href="#help" class="wpallimport-help pmwi_percentage_prices_note" title="<?php _e('Leave blank or enter in 100% to keep the price as is. Enter in 110% to markup by 10%. Enter in 50% to cut prices in half.', '
|
59 |
-
<a href="#help" class="wpallimport-help pmwi_reduce_prices_note" title="<?php _e('Enter a negative number to reduce prices.', '
|
60 |
<span class="wpallimport-clear"></span>
|
61 |
</p>
|
62 |
|
63 |
<p class="form-field">
|
64 |
-
<label><?php
|
65 |
<input type="text" class="short" name="single_product_sale_price_adjust" value="<?php echo esc_attr($post['single_product_sale_price_adjust']) ?>"/>
|
66 |
<select name="single_product_sale_price_adjust_type" class="pmwi_adjust_type">
|
67 |
<option value="%" <?php echo ($post['single_product_sale_price_adjust_type'] == '%') ? 'selected="selected"' : ''; ?>>%</option>
|
68 |
<option value="$" <?php echo ($post['single_product_sale_price_adjust_type'] == '$') ? 'selected="selected"' : ''; ?>><?php echo get_woocommerce_currency_symbol(); ?></option>
|
69 |
</select>
|
70 |
-
<a href="#help" class="wpallimport-help pmwi_percentage_prices_note" title="<?php _e('Leave blank or enter in 100% to keep the price as is. Enter in 110% to markup by 10%. Enter in 50% to cut prices in half.', '
|
71 |
-
<a href="#help" class="wpallimport-help pmwi_reduce_prices_note" title="<?php _e('Enter a negative number to reduce prices.', '
|
72 |
<span class="wpallimport-clear"></span>
|
73 |
</p>
|
74 |
</div>
|
@@ -78,53 +79,80 @@
|
|
78 |
<p class="form-field wpallimport-radio-field">
|
79 |
<input type="hidden" name="disable_prepare_price" value="0" />
|
80 |
<input type="checkbox" id="disable_prepare_price" name="disable_prepare_price" value="1" <?php echo $post['disable_prepare_price'] ? 'checked="checked"' : '' ?> />
|
81 |
-
<label for="disable_prepare_price" style="width:220px;"><?php _e('Remove currency symbols from price', '
|
82 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('WP All Import attempt to remove currency symbols from prices.', '
|
83 |
</p>
|
84 |
|
85 |
<p class="form-field wpallimport-radio-field">
|
86 |
<input type="hidden" name="convert_decimal_separator" value="0" />
|
87 |
<input type="checkbox" id="convert_decimal_separator" name="convert_decimal_separator" value="1" <?php echo $post['convert_decimal_separator'] ? 'checked="checked"' : '' ?> />
|
88 |
-
<label for="convert_decimal_separator" style="width:220px;"><?php _e('Convert decimal separator to a period', '
|
89 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('Prices must be imported using a period as the decimal separator. If you\'d like to change the decimal separator you can do so by editing your WooCommerce settings.', '
|
90 |
</p>
|
91 |
|
92 |
<p class="form-field wpallimport-radio-field">
|
93 |
<input type="hidden" name="prepare_price_to_woo_format" value="0" />
|
94 |
<input type="checkbox" id="prepare_price_to_woo_format" name="prepare_price_to_woo_format" value="1" <?php echo $post['prepare_price_to_woo_format'] ? 'checked="checked"' : '' ?> />
|
95 |
-
<label for="prepare_price_to_woo_format" style="width:420px;"><?php _e('Attempt to convert incorrectly formatted prices to WooCommerce format', '
|
96 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('WP All Import will attempt to correct the formatting of prices presented incorrectly, but this doesn\'t always work. Try unchecking this option if your prices are not appearing correctly, or enter your prices in your import file using the same format you would when entering them in WooCommerce.', '
|
97 |
</p>
|
98 |
|
99 |
<p class="form-field">
|
100 |
-
<a href="javascript:void(0);" class="preview_prices" rel="preview_prices" style="float:left;"><?php _e('Preview Prices', '
|
101 |
</p>
|
102 |
|
103 |
</div>
|
|
|
104 |
<div class="options_group show_if_variable">
|
105 |
<p class="form-field">
|
106 |
<label><?php _e("Variation Description"); ?></label>
|
107 |
<input type="text" class="short" name="single_product_variation_description" value="<?php echo esc_attr($post['single_product_variation_description']) ?>"/>
|
108 |
</p>
|
109 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
<div class="options_group">
|
111 |
|
112 |
<p class="form-field wpallimport-radio-field">
|
113 |
<input type="radio" id="is_product_virtual_yes" class="switcher" name="is_product_virtual" value="yes" <?php echo 'yes' == $post['is_product_virtual'] ? 'checked="checked"': '' ?>/>
|
114 |
-
<label for="is_product_virtual_yes"><?php _e("Virtual"); ?></label>
|
115 |
</p>
|
116 |
<p class="form-field wpallimport-radio-field">
|
117 |
<input type="radio" id="is_product_virtual_no" class="switcher" name="is_product_virtual" value="no" <?php echo 'no' == $post['is_product_virtual'] ? 'checked="checked"': '' ?>/>
|
118 |
-
<label for="is_product_virtual_no"><?php _e("Not Virtual"); ?></label>
|
119 |
</p>
|
120 |
<div class="form-field wpallimport-radio-field">
|
121 |
<input type="radio" id="is_product_virtual_xpath" class="switcher" name="is_product_virtual" value="xpath" <?php echo 'xpath' == $post['is_product_virtual'] ? 'checked="checked"': '' ?>/>
|
122 |
-
<label for="is_product_virtual_xpath"><?php _e('Set with XPath', '
|
123 |
<span class="wpallimport-clear"></span>
|
124 |
<div class="switcher-target-is_product_virtual_xpath set_with_xpath">
|
125 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
126 |
<input type="text" class="smaller-text" name="single_product_virtual" style="width:300px;" value="<?php echo esc_attr($post['single_product_virtual']) ?>"/>
|
127 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
128 |
</span>
|
129 |
</div>
|
130 |
</div>
|
@@ -134,20 +162,20 @@
|
|
134 |
|
135 |
<p class="form-field wpallimport-radio-field">
|
136 |
<input type="radio" id="is_product_downloadable_yes" class="switcher" name="is_product_downloadable" value="yes" <?php echo 'yes' == $post['is_product_downloadable'] ? 'checked="checked"': '' ?>/>
|
137 |
-
<label for="is_product_downloadable_yes"><?php _e("Downloadable"); ?></label>
|
138 |
</p>
|
139 |
<p class="form-field wpallimport-radio-field">
|
140 |
<input type="radio" id="is_product_downloadable_no" class="switcher" name="is_product_downloadable" value="no" <?php echo 'no' == $post['is_product_downloadable'] ? 'checked="checked"': '' ?>/>
|
141 |
-
<label for="is_product_downloadable_no"><?php _e("Not Downloadable"); ?></label>
|
142 |
</p>
|
143 |
<div class="form-field wpallimport-radio-field">
|
144 |
<input type="radio" id="is_product_downloadable_xpath" class="switcher" name="is_product_downloadable" value="xpath" <?php echo 'xpath' == $post['is_product_downloadable'] ? 'checked="checked"': '' ?>/>
|
145 |
-
<label for="is_product_downloadable_xpath"><?php _e('Set with XPath', '
|
146 |
<span class="wpallimport-clear"></span>
|
147 |
<div class="switcher-target-is_product_downloadable_xpath set_with_xpath">
|
148 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
149 |
<input type="text" class="smaller-text" name="single_product_downloadable" style="width:300px;" value="<?php echo esc_attr($post['single_product_downloadable']) ?>"/>
|
150 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
151 |
</span>
|
152 |
</div>
|
153 |
</div>
|
@@ -155,31 +183,31 @@
|
|
155 |
|
156 |
<div class="options_group show_if_downloadable">
|
157 |
<p class="form-field">
|
158 |
-
<label><?php _e("File paths"); ?></label>
|
159 |
<input type="text" class="short" name="single_product_files" value="<?php echo esc_attr($post['single_product_files']) ?>" style="margin-right:5px;"/>
|
160 |
<input type="text" class="small" name="product_files_delim" value="<?php echo esc_attr($post['product_files_delim']) ?>" style="width:5%; text-align:center;"/>
|
161 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('File paths/URLs, comma separated. The delimiter is used when an XML element contains multiple URLs/paths - i.e. <code>http://files.com/1.doc, http://files.com/2.doc</code>.', '
|
162 |
</p>
|
163 |
<p class="form-field">
|
164 |
-
<label><?php _e("File names"); ?></label>
|
165 |
<input type="text" class="short" name="single_product_files_names" value="<?php echo esc_attr($post['single_product_files_names']) ?>" style="margin-right:5px;"/>
|
166 |
<input type="text" class="small" name="product_files_names_delim" value="<?php echo esc_attr($post['product_files_names_delim']) ?>" style="width:5%; text-align:center;"/>
|
167 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('File names, comma separated. The delimiter is used when an XML element contains multiple names - i.e. <code>1.doc, 2.doc</code>.', '
|
168 |
</p>
|
169 |
<p class="form-field">
|
170 |
-
<label><?php _e("Download Limit"); ?></label>
|
171 |
<input type="text" class="short" placeholder="Unimited" name="single_product_download_limit" value="<?php echo esc_attr($post['single_product_download_limit']) ?>"/>
|
172 |
-
<a href="#help" class="wpallimport-help" title="<?php _e( 'Leave blank for unlimited re-downloads.', '
|
173 |
</p>
|
174 |
<p class="form-field">
|
175 |
-
<label><?php _e("Download Expiry"); ?></label>
|
176 |
<input type="text" class="short" placeholder="Never" name="single_product_download_expiry" value="<?php echo esc_attr($post['single_product_download_expiry']) ?>"/>
|
177 |
-
<a href="#help" class="wpallimport-help" title="<?php _e( 'Enter the number of days before a download link expires, or leave blank.', '
|
178 |
</p>
|
179 |
<p class="form-field">
|
180 |
-
<label><?php _e("Download Type"); ?></label>
|
181 |
<input type="text" class="short" placeholder="Standard Product" name="single_product_download_type" value="<?php echo esc_attr($post['single_product_download_type']) ?>"/>
|
182 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'application\', \'music\').', '
|
183 |
</p>
|
184 |
</div>
|
185 |
|
@@ -187,14 +215,14 @@
|
|
187 |
|
188 |
<div class="form-field wpallimport-radio-field">
|
189 |
<input type="radio" id="multiple_product_tax_status_yes" class="switcher" name="is_multiple_product_tax_status" value="yes" <?php echo 'no' != $post['is_multiple_product_tax_status'] ? 'checked="checked"': '' ?>/>
|
190 |
-
<label for="multiple_product_tax_status_yes"><?php _e("Tax Status", "
|
191 |
<span class="wpallimport-clear"></span>
|
192 |
<div class="switcher-target-multiple_product_tax_status_yes set_with_xpath">
|
193 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
194 |
<select class="select short" name="multiple_product_tax_status">
|
195 |
-
<option value="taxable" <?php echo 'taxable' == $post['multiple_product_tax_status'] ? 'selected="selected"': '' ?>><?php _e('Taxable', '
|
196 |
-
<option value="shipping" <?php echo 'shipping' == $post['multiple_product_tax_status'] ? 'selected="selected"': '' ?>><?php _e('Shipping only', '
|
197 |
-
<option value="none" <?php echo 'none' == $post['multiple_product_tax_status'] ? 'selected="selected"': '' ?>><?php _e('None', '
|
198 |
</select>
|
199 |
</span>
|
200 |
</div>
|
@@ -202,12 +230,12 @@
|
|
202 |
|
203 |
<div class="form-field wpallimport-radio-field">
|
204 |
<input type="radio" id="multiple_product_tax_status_no" class="switcher" name="is_multiple_product_tax_status" value="no" <?php echo 'no' == $post['is_multiple_product_tax_status'] ? 'checked="checked"': '' ?>/>
|
205 |
-
<label for="multiple_product_tax_status_no"><?php _e('Set tax status with XPath', '
|
206 |
<span class="wpallimport-clear"></span>
|
207 |
<div class="switcher-target-multiple_product_tax_status_no set_with_xpath">
|
208 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
209 |
<input type="text" class="smaller-text" name="single_product_tax_status" style="width:300px;" value="<?php echo esc_attr($post['single_product_tax_status']) ?>"/>
|
210 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('Value should be the slug for the tax status - \'taxable\', \'shipping\', and \'none\' are the default slugs.', '
|
211 |
</span>
|
212 |
</div>
|
213 |
</div>
|
@@ -217,7 +245,7 @@
|
|
217 |
|
218 |
<div class="form-field wpallimport-radio-field">
|
219 |
<input type="radio" id="multiple_product_tax_class_yes" class="switcher" name="is_multiple_product_tax_class" value="yes" <?php echo 'no' != $post['is_multiple_product_tax_class'] ? 'checked="checked"': '' ?>/>
|
220 |
-
<label for="multiple_product_tax_class_yes"><?php _e("Tax Class", "
|
221 |
|
222 |
<span class="wpallimport-clear"></span>
|
223 |
<div class="switcher-target-multiple_product_tax_class_yes set_with_xpath">
|
@@ -225,7 +253,7 @@
|
|
225 |
<?php
|
226 |
$tax_classes = array_filter( array_map( 'trim', explode( "\n", get_option( 'woocommerce_tax_classes' ) ) ) );
|
227 |
$classes_options = array();
|
228 |
-
$classes_options[''] = __( 'Standard', '
|
229 |
if ( $tax_classes )
|
230 |
foreach ( $tax_classes as $class )
|
231 |
$classes_options[ sanitize_title( $class ) ] = esc_html( $class );
|
@@ -241,13 +269,13 @@
|
|
241 |
|
242 |
<div class="form-field wpallimport-radio-field">
|
243 |
<input type="radio" id="multiple_product_tax_class_no" class="switcher" name="is_multiple_product_tax_class" value="no" <?php echo 'no' == $post['is_multiple_product_tax_class'] ? 'checked="checked"': '' ?>/>
|
244 |
-
<label for="multiple_product_tax_class_no"><?php _e('Set tax class with XPath', '
|
245 |
|
246 |
<span class="wpallimport-clear"></span>
|
247 |
<div class="switcher-target-multiple_product_tax_class_no set_with_xpath">
|
248 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
249 |
<input type="text" class="smaller-text" name="single_product_tax_class" style="width:300px;" value="<?php echo esc_attr($post['single_product_tax_class']) ?>"/>
|
250 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('Value should be the slug for the tax class - \'reduced-rate\' and \'zero-rate\', are the default slugs.', '
|
251 |
</span>
|
252 |
</div>
|
253 |
</div>
|
1 |
<div class="panel woocommerce_options_panel" id="general_product_data">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
+
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the professional edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', 'wpai_woocommerce_addon_plugin');?></a>
|
4 |
+
<p><?php _e('If you already own it, remove the free edition and install the professional edition.', 'wp_all_import_plugin'); ?></p>
|
5 |
</div>
|
6 |
<div class="options_group hide_if_grouped">
|
7 |
<p class="form-field">
|
8 |
+
<label><?php _e("SKU", "wpai_woocommerce_addon_plugin"); ?></label>
|
9 |
<input type="text" class="short" name="single_product_sku" style="" value="<?php echo esc_attr($post['single_product_sku']) ?>"/>
|
10 |
</p>
|
11 |
</div>
|
12 |
<div class="options_group show_if_external">
|
13 |
<p class="form-field">
|
14 |
+
<label><?php _e("Product URL", "wpai_woocommerce_addon_plugin"); ?></label>
|
15 |
<input type="text" class="short" name="single_product_url" value="<?php echo esc_attr($post['single_product_url']) ?>"/>
|
16 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The external/affiliate link URL to the product.', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
17 |
</p>
|
18 |
<p class="form-field">
|
19 |
+
<label><?php _e("Button text", "wpai_woocommerce_addon_plugin"); ?></label>
|
20 |
<input type="text" class="short" name="single_product_button_text" value="<?php echo esc_attr($post['single_product_button_text']) ?>"/>
|
21 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('This text will be shown on the button linking to the external product.', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
22 |
</p>
|
23 |
</div>
|
24 |
<div class="options_group pricing show_if_simple show_if_external show_if_variable">
|
25 |
|
26 |
+
<p class="form-field"><i><?php _e('Prices should be presented as you would enter them manually in WooCommerce - with no currency symbol.', 'wpai_woocommerce_addon_plugin'); ?></i></p>
|
27 |
|
28 |
<p class="form-field">
|
29 |
+
<label><?php printf(__("Regular Price (%s)", "wpai_woocommerce_addon_plugin"), get_woocommerce_currency_symbol()); ?></label>
|
30 |
+
<input type="text" class="short" name="single_product_regular_price" value="<?php echo esc_attr($post['single_product_regular_price']) ?>"/> <strong class="options_group show_if_variable" style="position:relative; top:4px; left:4px;">(<?php _e('required', 'wpai_woocommerce_addon_plugin'); ?>)</strong>
|
31 |
</p>
|
32 |
<p class="form-field">
|
33 |
+
<label><?php printf(__("Sale Price (%s)", "wpai_woocommerce_addon_plugin"), get_woocommerce_currency_symbol()); ?></label>
|
34 |
+
<input type="text" class="short" name="single_product_sale_price" value="<?php echo esc_attr($post['single_product_sale_price']) ?>"/> <a id="regular_price_shedule" href="javascript:void(0);" <?php if ($post['is_regular_price_shedule']):?>style="display:none;"<?php endif; ?>><?php _e('schedule', 'wpai_woocommerce_addon_plugin');?></a>
|
35 |
<input type="hidden" name="is_regular_price_shedule" value="<?php echo esc_attr($post['is_regular_price_shedule']) ?>"/>
|
36 |
</p>
|
37 |
<p class="form-field" <?php if ( ! $post['is_regular_price_shedule']):?>style="display:none;"<?php endif; ?> id="sale_price_range">
|
38 |
<span style="vertical-align:middle">
|
39 |
+
<label><?php _e("Sale Price Dates", "wpai_woocommerce_addon_plugin"); ?></label>
|
40 |
<input type="text" class="datepicker" name="single_sale_price_dates_from" value="<?php echo esc_attr($post['single_sale_price_dates_from']) ?>" style="float:none; width:110px;"/>
|
41 |
+
<span><?php _e('and', 'wpai_woocommerce_addon_plugin') ?></span>
|
42 |
<input type="text" class="datepicker" name="single_sale_price_dates_to" value="<?php echo esc_attr($post['single_sale_price_dates_to']) ?>" style="float:none !important; width:110px;"/>
|
43 |
+
<a id="cancel_regular_price_shedule" href="javascript:void(0);"><?php _e('cancel', "wpai_woocommerce_addon_plugin");?></a>
|
44 |
</span>
|
45 |
</p>
|
46 |
|
47 |
<!-- AUTOFIX PRICES -->
|
48 |
|
49 |
+
<p class="form-field pmwi_trigger_adjust_prices"> <strong><?php _e('Adjust Prices (mark up, mark down, convert currency)', "wpai_woocommerce_addon_plugin"); ?> <span><?php if (!empty($post['single_product_regular_price_adjust']) or !empty($post['single_product_sale_price_adjust'])):?>-<?php else: ?>+<?php endif; ?></span></strong></p>
|
50 |
|
51 |
<div class="pmwi_adjust_prices" <?php if (!empty($post['single_product_regular_price_adjust']) or !empty($post['single_product_sale_price_adjust'])):?>style="display:block;"<?php endif; ?>>
|
52 |
<p class="form-field">
|
53 |
+
<label><?php printf(__("Regular Price (%s)", "wpai_woocommerce_addon_plugin"), get_woocommerce_currency_symbol()); ?></label>
|
54 |
<input type="text" class="short" name="single_product_regular_price_adjust" value="<?php echo esc_attr($post['single_product_regular_price_adjust']) ?>"/>
|
55 |
<select name="single_product_regular_price_adjust_type" class="pmwi_adjust_type">
|
56 |
<option value="%" <?php echo ($post['single_product_regular_price_adjust_type'] == '%') ? 'selected="selected"' : ''; ?>>%</option>
|
57 |
<option value="$" <?php echo ($post['single_product_regular_price_adjust_type'] == '$') ? 'selected="selected"' : ''; ?>><?php echo get_woocommerce_currency_symbol(); ?></option>
|
58 |
</select>
|
59 |
+
<a href="#help" class="wpallimport-help pmwi_percentage_prices_note" title="<?php _e('Leave blank or enter in 100% to keep the price as is. Enter in 110% to markup by 10%. Enter in 50% to cut prices in half.', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
60 |
+
<a href="#help" class="wpallimport-help pmwi_reduce_prices_note" title="<?php _e('Enter a negative number to reduce prices.', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
61 |
<span class="wpallimport-clear"></span>
|
62 |
</p>
|
63 |
|
64 |
<p class="form-field">
|
65 |
+
<label><?php printf(__("Sale Price (%s)", "wpai_woocommerce_addon_plugin"), get_woocommerce_currency_symbol()); ?></label>
|
66 |
<input type="text" class="short" name="single_product_sale_price_adjust" value="<?php echo esc_attr($post['single_product_sale_price_adjust']) ?>"/>
|
67 |
<select name="single_product_sale_price_adjust_type" class="pmwi_adjust_type">
|
68 |
<option value="%" <?php echo ($post['single_product_sale_price_adjust_type'] == '%') ? 'selected="selected"' : ''; ?>>%</option>
|
69 |
<option value="$" <?php echo ($post['single_product_sale_price_adjust_type'] == '$') ? 'selected="selected"' : ''; ?>><?php echo get_woocommerce_currency_symbol(); ?></option>
|
70 |
</select>
|
71 |
+
<a href="#help" class="wpallimport-help pmwi_percentage_prices_note" title="<?php _e('Leave blank or enter in 100% to keep the price as is. Enter in 110% to markup by 10%. Enter in 50% to cut prices in half.', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
72 |
+
<a href="#help" class="wpallimport-help pmwi_reduce_prices_note" title="<?php _e('Enter a negative number to reduce prices.', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
73 |
<span class="wpallimport-clear"></span>
|
74 |
</p>
|
75 |
</div>
|
79 |
<p class="form-field wpallimport-radio-field">
|
80 |
<input type="hidden" name="disable_prepare_price" value="0" />
|
81 |
<input type="checkbox" id="disable_prepare_price" name="disable_prepare_price" value="1" <?php echo $post['disable_prepare_price'] ? 'checked="checked"' : '' ?> />
|
82 |
+
<label for="disable_prepare_price" style="width:220px;"><?php _e('Remove currency symbols from price', 'wpai_woocommerce_addon_plugin') ?></label>
|
83 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('WP All Import attempt to remove currency symbols from prices.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:1px;">?</a>
|
84 |
</p>
|
85 |
|
86 |
<p class="form-field wpallimport-radio-field">
|
87 |
<input type="hidden" name="convert_decimal_separator" value="0" />
|
88 |
<input type="checkbox" id="convert_decimal_separator" name="convert_decimal_separator" value="1" <?php echo $post['convert_decimal_separator'] ? 'checked="checked"' : '' ?> />
|
89 |
+
<label for="convert_decimal_separator" style="width:220px;"><?php _e('Convert decimal separator to a period', 'wpai_woocommerce_addon_plugin') ?></label>
|
90 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('Prices must be imported using a period as the decimal separator. If you\'d like to change the decimal separator you can do so by editing your WooCommerce settings.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:1px;">?</a>
|
91 |
</p>
|
92 |
|
93 |
<p class="form-field wpallimport-radio-field">
|
94 |
<input type="hidden" name="prepare_price_to_woo_format" value="0" />
|
95 |
<input type="checkbox" id="prepare_price_to_woo_format" name="prepare_price_to_woo_format" value="1" <?php echo $post['prepare_price_to_woo_format'] ? 'checked="checked"' : '' ?> />
|
96 |
+
<label for="prepare_price_to_woo_format" style="width:420px;"><?php _e('Attempt to convert incorrectly formatted prices to WooCommerce format', 'wpai_woocommerce_addon_plugin') ?></label>
|
97 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('WP All Import will attempt to correct the formatting of prices presented incorrectly, but this doesn\'t always work. Try unchecking this option if your prices are not appearing correctly, or enter your prices in your import file using the same format you would when entering them in WooCommerce.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:1px;">?</a>
|
98 |
</p>
|
99 |
|
100 |
<p class="form-field">
|
101 |
+
<a href="javascript:void(0);" class="preview_prices" rel="preview_prices" style="float:left;"><?php _e('Preview Prices', 'wpai_woocommerce_addon_plugin'); ?></a>
|
102 |
</p>
|
103 |
|
104 |
</div>
|
105 |
+
|
106 |
<div class="options_group show_if_variable">
|
107 |
<p class="form-field">
|
108 |
<label><?php _e("Variation Description"); ?></label>
|
109 |
<input type="text" class="short" name="single_product_variation_description" value="<?php echo esc_attr($post['single_product_variation_description']) ?>"/>
|
110 |
</p>
|
111 |
</div>
|
112 |
+
|
113 |
+
<!--div class="options_group show_if_variable">
|
114 |
+
|
115 |
+
<p class="form-field"><?php _e('Variation Enabled','wpai_woocommerce_addon_plugin');?><a href="#help" class="wpallimport-help" title="<?php _e('This option is the same as the Enabled checkbox when editing an individual variation in WooCommerce.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:0px;">?</a></p>
|
116 |
+
|
117 |
+
<p class="form-field wpallimport-radio-field">
|
118 |
+
<input type="radio" id="variation_enabled_yes" class="switcher" name="is_variation_enabled" value="yes" <?php echo 'yes' == $post['is_variation_enabled'] ? 'checked="checked"': '' ?>/>
|
119 |
+
<label for="variation_enabled_yes"><?php _e("Yes"); ?></label>
|
120 |
+
</p>
|
121 |
+
<p class="form-field wpallimport-radio-field">
|
122 |
+
<input type="radio" id="variation_enabled_no" class="switcher" name="is_variation_enabled" value="no" <?php echo 'no' == $post['is_variation_enabled'] ? 'checked="checked"': '' ?>/>
|
123 |
+
<label for="variation_enabled_no"><?php _e("No"); ?></label>
|
124 |
+
</p>
|
125 |
+
<div class="form-field wpallimport-radio-field">
|
126 |
+
<input type="radio" id="variation_enabled_xpath" class="switcher" name="is_variation_enabled" value="xpath" <?php echo 'xpath' == $post['is_variation_enabled'] ? 'checked="checked"': '' ?>/>
|
127 |
+
<label for="variation_enabled_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
128 |
+
<span class="wpallimport-clear"></span>
|
129 |
+
<div class="switcher-target-variation_enabled_xpath set_with_xpath">
|
130 |
+
<span class="wpallimport-slide-content" style="padding-left:0;">
|
131 |
+
<input type="text" class="smaller-text" name="single_variation_enabled" style="width:300px;" value="<?php echo esc_attr($post['single_variation_enabled']) ?>"/>
|
132 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
133 |
+
</span>
|
134 |
+
</div>
|
135 |
+
</div>
|
136 |
+
</div-->
|
137 |
+
|
138 |
<div class="options_group">
|
139 |
|
140 |
<p class="form-field wpallimport-radio-field">
|
141 |
<input type="radio" id="is_product_virtual_yes" class="switcher" name="is_product_virtual" value="yes" <?php echo 'yes' == $post['is_product_virtual'] ? 'checked="checked"': '' ?>/>
|
142 |
+
<label for="is_product_virtual_yes"><?php _e("Virtual", "wpai_woocommerce_addon_plugin"); ?></label>
|
143 |
</p>
|
144 |
<p class="form-field wpallimport-radio-field">
|
145 |
<input type="radio" id="is_product_virtual_no" class="switcher" name="is_product_virtual" value="no" <?php echo 'no' == $post['is_product_virtual'] ? 'checked="checked"': '' ?>/>
|
146 |
+
<label for="is_product_virtual_no"><?php _e("Not Virtual", "wpai_woocommerce_addon_plugin"); ?></label>
|
147 |
</p>
|
148 |
<div class="form-field wpallimport-radio-field">
|
149 |
<input type="radio" id="is_product_virtual_xpath" class="switcher" name="is_product_virtual" value="xpath" <?php echo 'xpath' == $post['is_product_virtual'] ? 'checked="checked"': '' ?>/>
|
150 |
+
<label for="is_product_virtual_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
151 |
<span class="wpallimport-clear"></span>
|
152 |
<div class="switcher-target-is_product_virtual_xpath set_with_xpath">
|
153 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
154 |
<input type="text" class="smaller-text" name="single_product_virtual" style="width:300px;" value="<?php echo esc_attr($post['single_product_virtual']) ?>"/>
|
155 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
156 |
</span>
|
157 |
</div>
|
158 |
</div>
|
162 |
|
163 |
<p class="form-field wpallimport-radio-field">
|
164 |
<input type="radio" id="is_product_downloadable_yes" class="switcher" name="is_product_downloadable" value="yes" <?php echo 'yes' == $post['is_product_downloadable'] ? 'checked="checked"': '' ?>/>
|
165 |
+
<label for="is_product_downloadable_yes"><?php _e("Downloadable", "wpai_woocommerce_addon_plugin"); ?></label>
|
166 |
</p>
|
167 |
<p class="form-field wpallimport-radio-field">
|
168 |
<input type="radio" id="is_product_downloadable_no" class="switcher" name="is_product_downloadable" value="no" <?php echo 'no' == $post['is_product_downloadable'] ? 'checked="checked"': '' ?>/>
|
169 |
+
<label for="is_product_downloadable_no"><?php _e("Not Downloadable", "wpai_woocommerce_addon_plugin"); ?></label>
|
170 |
</p>
|
171 |
<div class="form-field wpallimport-radio-field">
|
172 |
<input type="radio" id="is_product_downloadable_xpath" class="switcher" name="is_product_downloadable" value="xpath" <?php echo 'xpath' == $post['is_product_downloadable'] ? 'checked="checked"': '' ?>/>
|
173 |
+
<label for="is_product_downloadable_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
174 |
<span class="wpallimport-clear"></span>
|
175 |
<div class="switcher-target-is_product_downloadable_xpath set_with_xpath">
|
176 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
177 |
<input type="text" class="smaller-text" name="single_product_downloadable" style="width:300px;" value="<?php echo esc_attr($post['single_product_downloadable']) ?>"/>
|
178 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
179 |
</span>
|
180 |
</div>
|
181 |
</div>
|
183 |
|
184 |
<div class="options_group show_if_downloadable">
|
185 |
<p class="form-field">
|
186 |
+
<label><?php _e("File paths", "wpai_woocommerce_addon_plugin"); ?></label>
|
187 |
<input type="text" class="short" name="single_product_files" value="<?php echo esc_attr($post['single_product_files']) ?>" style="margin-right:5px;"/>
|
188 |
<input type="text" class="small" name="product_files_delim" value="<?php echo esc_attr($post['product_files_delim']) ?>" style="width:5%; text-align:center;"/>
|
189 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('File paths/URLs, comma separated. The delimiter is used when an XML element contains multiple URLs/paths - i.e. <code>http://files.com/1.doc, http://files.com/2.doc</code>.', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
190 |
</p>
|
191 |
<p class="form-field">
|
192 |
+
<label><?php _e("File names", "wpai_woocommerce_addon_plugin"); ?></label>
|
193 |
<input type="text" class="short" name="single_product_files_names" value="<?php echo esc_attr($post['single_product_files_names']) ?>" style="margin-right:5px;"/>
|
194 |
<input type="text" class="small" name="product_files_names_delim" value="<?php echo esc_attr($post['product_files_names_delim']) ?>" style="width:5%; text-align:center;"/>
|
195 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('File names, comma separated. The delimiter is used when an XML element contains multiple names - i.e. <code>1.doc, 2.doc</code>.', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
196 |
</p>
|
197 |
<p class="form-field">
|
198 |
+
<label><?php _e("Download Limit", "wpai_woocommerce_addon_plugin"); ?></label>
|
199 |
<input type="text" class="short" placeholder="Unimited" name="single_product_download_limit" value="<?php echo esc_attr($post['single_product_download_limit']) ?>"/>
|
200 |
+
<a href="#help" class="wpallimport-help" title="<?php _e( 'Leave blank for unlimited re-downloads.', 'wpai_woocommerce_addon_plugin' ) ?>">?</a>
|
201 |
</p>
|
202 |
<p class="form-field">
|
203 |
+
<label><?php _e("Download Expiry", "wpai_woocommerce_addon_plugin"); ?></label>
|
204 |
<input type="text" class="short" placeholder="Never" name="single_product_download_expiry" value="<?php echo esc_attr($post['single_product_download_expiry']) ?>"/>
|
205 |
+
<a href="#help" class="wpallimport-help" title="<?php _e( 'Enter the number of days before a download link expires, or leave blank.', 'wpai_woocommerce_addon_plugin' ) ?>">?</a>
|
206 |
</p>
|
207 |
<p class="form-field">
|
208 |
+
<label><?php _e("Download Type", "wpai_woocommerce_addon_plugin"); ?></label>
|
209 |
<input type="text" class="short" placeholder="Standard Product" name="single_product_download_type" value="<?php echo esc_attr($post['single_product_download_type']) ?>"/>
|
210 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'application\', \'music\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
211 |
</p>
|
212 |
</div>
|
213 |
|
215 |
|
216 |
<div class="form-field wpallimport-radio-field">
|
217 |
<input type="radio" id="multiple_product_tax_status_yes" class="switcher" name="is_multiple_product_tax_status" value="yes" <?php echo 'no' != $post['is_multiple_product_tax_status'] ? 'checked="checked"': '' ?>/>
|
218 |
+
<label for="multiple_product_tax_status_yes"><?php _e("Tax Status", "wpai_woocommerce_addon_plugin"); ?></label>
|
219 |
<span class="wpallimport-clear"></span>
|
220 |
<div class="switcher-target-multiple_product_tax_status_yes set_with_xpath">
|
221 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
222 |
<select class="select short" name="multiple_product_tax_status">
|
223 |
+
<option value="taxable" <?php echo 'taxable' == $post['multiple_product_tax_status'] ? 'selected="selected"': '' ?>><?php _e('Taxable', 'wpai_woocommerce_addon_plugin');?></option>
|
224 |
+
<option value="shipping" <?php echo 'shipping' == $post['multiple_product_tax_status'] ? 'selected="selected"': '' ?>><?php _e('Shipping only', 'wpai_woocommerce_addon_plugin');?></option>
|
225 |
+
<option value="none" <?php echo 'none' == $post['multiple_product_tax_status'] ? 'selected="selected"': '' ?>><?php _e('None', 'wpai_woocommerce_addon_plugin');?></option>
|
226 |
</select>
|
227 |
</span>
|
228 |
</div>
|
230 |
|
231 |
<div class="form-field wpallimport-radio-field">
|
232 |
<input type="radio" id="multiple_product_tax_status_no" class="switcher" name="is_multiple_product_tax_status" value="no" <?php echo 'no' == $post['is_multiple_product_tax_status'] ? 'checked="checked"': '' ?>/>
|
233 |
+
<label for="multiple_product_tax_status_no"><?php _e('Set tax status with XPath', 'wpai_woocommerce_addon_plugin' ); ?></label>
|
234 |
<span class="wpallimport-clear"></span>
|
235 |
<div class="switcher-target-multiple_product_tax_status_no set_with_xpath">
|
236 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
237 |
<input type="text" class="smaller-text" name="single_product_tax_status" style="width:300px;" value="<?php echo esc_attr($post['single_product_tax_status']) ?>"/>
|
238 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('Value should be the slug for the tax status - \'taxable\', \'shipping\', and \'none\' are the default slugs.', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
239 |
</span>
|
240 |
</div>
|
241 |
</div>
|
245 |
|
246 |
<div class="form-field wpallimport-radio-field">
|
247 |
<input type="radio" id="multiple_product_tax_class_yes" class="switcher" name="is_multiple_product_tax_class" value="yes" <?php echo 'no' != $post['is_multiple_product_tax_class'] ? 'checked="checked"': '' ?>/>
|
248 |
+
<label for="multiple_product_tax_class_yes"><?php _e("Tax Class", "wpai_woocommerce_addon_plugin"); ?></label>
|
249 |
|
250 |
<span class="wpallimport-clear"></span>
|
251 |
<div class="switcher-target-multiple_product_tax_class_yes set_with_xpath">
|
253 |
<?php
|
254 |
$tax_classes = array_filter( array_map( 'trim', explode( "\n", get_option( 'woocommerce_tax_classes' ) ) ) );
|
255 |
$classes_options = array();
|
256 |
+
$classes_options[''] = __( 'Standard', 'wpai_woocommerce_addon_plugin' );
|
257 |
if ( $tax_classes )
|
258 |
foreach ( $tax_classes as $class )
|
259 |
$classes_options[ sanitize_title( $class ) ] = esc_html( $class );
|
269 |
|
270 |
<div class="form-field wpallimport-radio-field">
|
271 |
<input type="radio" id="multiple_product_tax_class_no" class="switcher" name="is_multiple_product_tax_class" value="no" <?php echo 'no' == $post['is_multiple_product_tax_class'] ? 'checked="checked"': '' ?>/>
|
272 |
+
<label for="multiple_product_tax_class_no"><?php _e('Set tax class with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
273 |
|
274 |
<span class="wpallimport-clear"></span>
|
275 |
<div class="switcher-target-multiple_product_tax_class_no set_with_xpath">
|
276 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
277 |
<input type="text" class="smaller-text" name="single_product_tax_class" style="width:300px;" value="<?php echo esc_attr($post['single_product_tax_class']) ?>"/>
|
278 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('Value should be the slug for the tax class - \'reduced-rate\' and \'zero-rate\', are the default slugs.', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
279 |
</span>
|
280 |
</div>
|
281 |
</div>
|
views/admin/import/_tabs/_inventory.php
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
<div class="panel woocommerce_options_panel" id="inventory_product_data" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
-
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the professional edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', '
|
|
|
4 |
</div>
|
5 |
<div class="options_group show_if_simple show_if_variable">
|
6 |
|
7 |
-
<p class="form-field"><?php _e("Manage stock?", "
|
8 |
|
9 |
<p class="form-field wpallimport-radio-field">
|
10 |
<input type="radio" id="is_product_manage_stock_yes" class="switcher" name="is_product_manage_stock" value="yes" <?php echo 'yes' == $post['is_product_manage_stock'] ? 'checked="checked"': '' ?>/>
|
@@ -16,12 +17,12 @@
|
|
16 |
</p>
|
17 |
<div class="form-field wpallimport-radio-field">
|
18 |
<input type="radio" id="is_product_manage_stock_xpath" class="switcher" name="is_product_manage_stock" value="xpath" <?php echo 'xpath' == $post['is_product_manage_stock'] ? 'checked="checked"': '' ?>/>
|
19 |
-
<label for="is_product_manage_stock_xpath"><?php _e('Set with XPath', '
|
20 |
<span class="wpallimport-clear"></span>
|
21 |
<div class="switcher-target-is_product_manage_stock_xpath set_with_xpath">
|
22 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
23 |
<input type="text" class="smaller-text" name="single_product_manage_stock" style="width:300px;" value="<?php echo esc_attr($post['single_product_manage_stock']) ?>"/>
|
24 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
25 |
</span>
|
26 |
</div>
|
27 |
</div>
|
@@ -29,64 +30,65 @@
|
|
29 |
</div>
|
30 |
<div class="options_group stock_fields show_if_simple show_if_variable">
|
31 |
<p class="form-field" style="margin-top:0;">
|
32 |
-
<label><?php _e("Stock Qty", "
|
33 |
<input type="text" class="short" name="single_product_stock_qty" value="<?php echo esc_attr($post['single_product_stock_qty']) ?>"/>
|
34 |
</p>
|
35 |
</div>
|
36 |
<div class="options_group">
|
37 |
|
38 |
-
<p class="form-field"><?php _e('Stock status','
|
39 |
|
40 |
<p class="form-field wpallimport-radio-field">
|
41 |
<input type="radio" id="product_stock_status_in_stock" class="switcher" name="product_stock_status" value="instock" <?php echo 'instock' == $post['product_stock_status'] ? 'checked="checked"': '' ?>/>
|
42 |
-
<label for="product_stock_status_in_stock"><?php _e("In stock"); ?></label>
|
43 |
</p>
|
44 |
<p class="form-field wpallimport-radio-field">
|
45 |
<input type="radio" id="product_stock_status_out_of_stock" class="switcher" name="product_stock_status" value="outofstock" <?php echo 'outofstock' == $post['product_stock_status'] ? 'checked="checked"': '' ?>/>
|
46 |
-
<label for="product_stock_status_out_of_stock"><?php _e("Out of stock"); ?></label>
|
47 |
</p>
|
48 |
<p class="form-field wpallimport-radio-field">
|
49 |
<input type="radio" id="product_stock_status_automatically" class="switcher" name="product_stock_status" value="auto" <?php echo 'auto' == $post['product_stock_status'] ? 'checked="checked"': '' ?>/>
|
50 |
-
<label for="product_stock_status_automatically" style="width:105px;"><?php _e("Set automatically", "
|
51 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('Set the stock status to In Stock for positive
|
52 |
</p>
|
53 |
<div class="form-field wpallimport-radio-field">
|
54 |
<input type="radio" id="product_stock_status_xpath" class="switcher" name="product_stock_status" value="xpath" <?php echo 'xpath' == $post['product_stock_status'] ? 'checked="checked"': '' ?>/>
|
55 |
-
<label for="product_stock_status_xpath"><?php _e('Set with XPath', '
|
56 |
<span class="wpallimport-clear"></span>
|
57 |
<div class="switcher-target-product_stock_status_xpath set_with_xpath">
|
58 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
59 |
<input type="text" class="smaller-text" name="single_product_stock_status" style="width:300px;" value="<?php echo esc_attr($post['single_product_stock_status']) ?>"/>
|
60 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'instock\', \'outofstock\').', '
|
61 |
</span>
|
62 |
</div>
|
63 |
</div>
|
64 |
|
65 |
-
</div>
|
|
|
66 |
<div class="options_group show_if_simple show_if_variable">
|
67 |
|
68 |
-
<p class="form-field"><?php _e('Allow Backorders?','
|
69 |
|
70 |
<p class="form-field wpallimport-radio-field">
|
71 |
<input type="radio" id="product_allow_backorders_no" class="switcher" name="product_allow_backorders" value="no" <?php echo 'no' == $post['product_allow_backorders'] ? 'checked="checked"': '' ?>/>
|
72 |
-
<label for="product_allow_backorders_no"><?php _e("Do not allow"); ?></label>
|
73 |
</p>
|
74 |
<p class="form-field wpallimport-radio-field">
|
75 |
<input type="radio" id="product_allow_backorders_notify" class="switcher" name="product_allow_backorders" value="notify" <?php echo 'notify' == $post['product_allow_backorders'] ? 'checked="checked"': '' ?>/>
|
76 |
-
<label for="product_allow_backorders_notify"><?php _e("Allow, but notify customer"); ?></label>
|
77 |
</p>
|
78 |
<p class="form-field wpallimport-radio-field">
|
79 |
<input type="radio" id="product_allow_backorders_yes" class="switcher" name="product_allow_backorders" value="yes" <?php echo 'yes' == $post['product_allow_backorders'] ? 'checked="checked"': '' ?>/>
|
80 |
-
<label for="product_allow_backorders_yes"><?php _e("Allow"); ?></label>
|
81 |
</p>
|
82 |
<div class="form-field wpallimport-radio-field">
|
83 |
<input type="radio" id="product_allow_backorders_xpath" class="switcher" name="product_allow_backorders" value="xpath" <?php echo 'xpath' == $post['product_allow_backorders'] ? 'checked="checked"': '' ?>/>
|
84 |
-
<label for="product_allow_backorders_xpath"><?php _e('Set with XPath', '
|
85 |
<span class="wpallimport-clear"></span>
|
86 |
<div class="switcher-target-product_allow_backorders_xpath set_with_xpath">
|
87 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
88 |
<input type="text" class="smaller-text" name="single_product_allow_backorders" style="width:300px;" value="<?php echo esc_attr($post['single_product_allow_backorders']) ?>"/>
|
89 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'no\', \'notify\', \'yes\').', '
|
90 |
</span>
|
91 |
</div>
|
92 |
</div>
|
@@ -94,7 +96,7 @@
|
|
94 |
</div>
|
95 |
<div class="options_group show_if_simple show_if_variable">
|
96 |
|
97 |
-
<p class="form-field"><?php _e('Sold Individually?','
|
98 |
|
99 |
<p class="form-field wpallimport-radio-field">
|
100 |
<input type="radio" id="product_sold_individually_yes" class="switcher" name="product_sold_individually" value="yes" <?php echo 'yes' == $post['product_sold_individually'] ? 'checked="checked"': '' ?>/>
|
@@ -106,12 +108,12 @@
|
|
106 |
</p>
|
107 |
<div class="form-field wpallimport-radio-field">
|
108 |
<input type="radio" id="product_sold_individually_xpath" class="switcher" name="product_sold_individually" value="xpath" <?php echo 'xpath' == $post['product_sold_individually'] ? 'checked="checked"': '' ?>/>
|
109 |
-
<label for="product_sold_individually_xpath"><?php _e('Set with XPath', '
|
110 |
<span class="wpallimport-clear"></span>
|
111 |
<div class="switcher-target-product_sold_individually_xpath set_with_xpath">
|
112 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
113 |
<input type="text" class="smaller-text" name="single_product_sold_individually" style="width:300px;" value="<?php echo esc_attr($post['single_product_sold_individually']) ?>"/>
|
114 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
115 |
</span>
|
116 |
</div>
|
117 |
</div>
|
1 |
<div class="panel woocommerce_options_panel" id="inventory_product_data" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
+
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the professional edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', 'wpai_woocommerce_addon_plugin');?></a>
|
4 |
+
<p><?php _e('If you already own it, remove the free edition and install the professional edition.', 'wp_all_import_plugin'); ?></p>
|
5 |
</div>
|
6 |
<div class="options_group show_if_simple show_if_variable">
|
7 |
|
8 |
+
<p class="form-field"><?php _e("Manage stock?", "wpai_woocommerce_addon_plugin"); ?></p>
|
9 |
|
10 |
<p class="form-field wpallimport-radio-field">
|
11 |
<input type="radio" id="is_product_manage_stock_yes" class="switcher" name="is_product_manage_stock" value="yes" <?php echo 'yes' == $post['is_product_manage_stock'] ? 'checked="checked"': '' ?>/>
|
17 |
</p>
|
18 |
<div class="form-field wpallimport-radio-field">
|
19 |
<input type="radio" id="is_product_manage_stock_xpath" class="switcher" name="is_product_manage_stock" value="xpath" <?php echo 'xpath' == $post['is_product_manage_stock'] ? 'checked="checked"': '' ?>/>
|
20 |
+
<label for="is_product_manage_stock_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
21 |
<span class="wpallimport-clear"></span>
|
22 |
<div class="switcher-target-is_product_manage_stock_xpath set_with_xpath">
|
23 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
24 |
<input type="text" class="smaller-text" name="single_product_manage_stock" style="width:300px;" value="<?php echo esc_attr($post['single_product_manage_stock']) ?>"/>
|
25 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
26 |
</span>
|
27 |
</div>
|
28 |
</div>
|
30 |
</div>
|
31 |
<div class="options_group stock_fields show_if_simple show_if_variable">
|
32 |
<p class="form-field" style="margin-top:0;">
|
33 |
+
<label><?php _e("Stock Qty", "wpai_woocommerce_addon_plugin"); ?></label>
|
34 |
<input type="text" class="short" name="single_product_stock_qty" value="<?php echo esc_attr($post['single_product_stock_qty']) ?>"/>
|
35 |
</p>
|
36 |
</div>
|
37 |
<div class="options_group">
|
38 |
|
39 |
+
<p class="form-field"><?php _e('Stock status','wpai_woocommerce_addon_plugin');?></p>
|
40 |
|
41 |
<p class="form-field wpallimport-radio-field">
|
42 |
<input type="radio" id="product_stock_status_in_stock" class="switcher" name="product_stock_status" value="instock" <?php echo 'instock' == $post['product_stock_status'] ? 'checked="checked"': '' ?>/>
|
43 |
+
<label for="product_stock_status_in_stock"><?php _e("In stock", "wpai_woocommerce_addon_plugin"); ?></label>
|
44 |
</p>
|
45 |
<p class="form-field wpallimport-radio-field">
|
46 |
<input type="radio" id="product_stock_status_out_of_stock" class="switcher" name="product_stock_status" value="outofstock" <?php echo 'outofstock' == $post['product_stock_status'] ? 'checked="checked"': '' ?>/>
|
47 |
+
<label for="product_stock_status_out_of_stock"><?php _e("Out of stock", "wpai_woocommerce_addon_plugin"); ?></label>
|
48 |
</p>
|
49 |
<p class="form-field wpallimport-radio-field">
|
50 |
<input type="radio" id="product_stock_status_automatically" class="switcher" name="product_stock_status" value="auto" <?php echo 'auto' == $post['product_stock_status'] ? 'checked="checked"': '' ?>/>
|
51 |
+
<label for="product_stock_status_automatically" style="width:105px;"><?php _e("Set automatically", "wpai_woocommerce_addon_plugin"); ?></label>
|
52 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('Set the stock status to In Stock for positive Stock Qty values, and Out Of Stock if Stock Qty is 0 or blank.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
53 |
</p>
|
54 |
<div class="form-field wpallimport-radio-field">
|
55 |
<input type="radio" id="product_stock_status_xpath" class="switcher" name="product_stock_status" value="xpath" <?php echo 'xpath' == $post['product_stock_status'] ? 'checked="checked"': '' ?>/>
|
56 |
+
<label for="product_stock_status_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
57 |
<span class="wpallimport-clear"></span>
|
58 |
<div class="switcher-target-product_stock_status_xpath set_with_xpath">
|
59 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
60 |
<input type="text" class="smaller-text" name="single_product_stock_status" style="width:300px;" value="<?php echo esc_attr($post['single_product_stock_status']) ?>"/>
|
61 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'instock\', \'outofstock\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
62 |
</span>
|
63 |
</div>
|
64 |
</div>
|
65 |
|
66 |
+
</div>
|
67 |
+
|
68 |
<div class="options_group show_if_simple show_if_variable">
|
69 |
|
70 |
+
<p class="form-field"><?php _e('Allow Backorders?','wpai_woocommerce_addon_plugin');?></p>
|
71 |
|
72 |
<p class="form-field wpallimport-radio-field">
|
73 |
<input type="radio" id="product_allow_backorders_no" class="switcher" name="product_allow_backorders" value="no" <?php echo 'no' == $post['product_allow_backorders'] ? 'checked="checked"': '' ?>/>
|
74 |
+
<label for="product_allow_backorders_no"><?php _e("Do not allow", "wpai_woocommerce_addon_plugin"); ?></label>
|
75 |
</p>
|
76 |
<p class="form-field wpallimport-radio-field">
|
77 |
<input type="radio" id="product_allow_backorders_notify" class="switcher" name="product_allow_backorders" value="notify" <?php echo 'notify' == $post['product_allow_backorders'] ? 'checked="checked"': '' ?>/>
|
78 |
+
<label for="product_allow_backorders_notify"><?php _e("Allow, but notify customer", "wpai_woocommerce_addon_plugin"); ?></label>
|
79 |
</p>
|
80 |
<p class="form-field wpallimport-radio-field">
|
81 |
<input type="radio" id="product_allow_backorders_yes" class="switcher" name="product_allow_backorders" value="yes" <?php echo 'yes' == $post['product_allow_backorders'] ? 'checked="checked"': '' ?>/>
|
82 |
+
<label for="product_allow_backorders_yes"><?php _e("Allow", "wpai_woocommerce_addon_plugin"); ?></label>
|
83 |
</p>
|
84 |
<div class="form-field wpallimport-radio-field">
|
85 |
<input type="radio" id="product_allow_backorders_xpath" class="switcher" name="product_allow_backorders" value="xpath" <?php echo 'xpath' == $post['product_allow_backorders'] ? 'checked="checked"': '' ?>/>
|
86 |
+
<label for="product_allow_backorders_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
87 |
<span class="wpallimport-clear"></span>
|
88 |
<div class="switcher-target-product_allow_backorders_xpath set_with_xpath">
|
89 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
90 |
<input type="text" class="smaller-text" name="single_product_allow_backorders" style="width:300px;" value="<?php echo esc_attr($post['single_product_allow_backorders']) ?>"/>
|
91 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'no\', \'notify\', \'yes\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
92 |
</span>
|
93 |
</div>
|
94 |
</div>
|
96 |
</div>
|
97 |
<div class="options_group show_if_simple show_if_variable">
|
98 |
|
99 |
+
<p class="form-field"><?php _e('Sold Individually?','wpai_woocommerce_addon_plugin');?></p>
|
100 |
|
101 |
<p class="form-field wpallimport-radio-field">
|
102 |
<input type="radio" id="product_sold_individually_yes" class="switcher" name="product_sold_individually" value="yes" <?php echo 'yes' == $post['product_sold_individually'] ? 'checked="checked"': '' ?>/>
|
108 |
</p>
|
109 |
<div class="form-field wpallimport-radio-field">
|
110 |
<input type="radio" id="product_sold_individually_xpath" class="switcher" name="product_sold_individually" value="xpath" <?php echo 'xpath' == $post['product_sold_individually'] ? 'checked="checked"': '' ?>/>
|
111 |
+
<label for="product_sold_individually_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
112 |
<span class="wpallimport-clear"></span>
|
113 |
<div class="switcher-target-product_sold_individually_xpath set_with_xpath">
|
114 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
115 |
<input type="text" class="smaller-text" name="single_product_sold_individually" style="width:300px;" value="<?php echo esc_attr($post['single_product_sold_individually']) ?>"/>
|
116 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
117 |
</span>
|
118 |
</div>
|
119 |
</div>
|
views/admin/import/_tabs/_linked_product.php
CHANGED
@@ -1,21 +1,22 @@
|
|
1 |
<div class="panel woocommerce_options_panel" id="linked_product_data" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
-
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the professional edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', '
|
|
|
4 |
</div>
|
5 |
<div class="options_group">
|
6 |
<p class="form-field">
|
7 |
-
<label><?php _e("Up-Sells"); ?></label>
|
8 |
-
<input type="text" class="" placeholder="Product SKUs, comma separated" name="single_product_up_sells" style="" value="<?php echo esc_attr($post['single_product_up_sells']) ?>"/>
|
9 |
</p>
|
10 |
<p class="form-field">
|
11 |
-
<label><?php _e("Cross-Sells"); ?></label>
|
12 |
-
<input type="text" class="" placeholder="Product SKUs, comma separated" name="single_product_cross_sells" value="<?php echo esc_attr($post['single_product_cross_sells']) ?>"/>
|
13 |
</p>
|
14 |
</div> <!-- End options group -->
|
15 |
<div class="options_group grouping show_if_simple show_if_external">
|
16 |
<?php
|
17 |
$post_parents = array();
|
18 |
-
$post_parents[''] = __( 'Choose a grouped product…', '
|
19 |
|
20 |
$posts_in = array_unique( (array) get_objects_in_term( get_term_by( 'slug', 'grouped', 'product_type' )->term_id, 'product_type' ) );
|
21 |
if ( sizeof( $posts_in ) > 0 ) {
|
@@ -45,7 +46,7 @@
|
|
45 |
|
46 |
<div class="form-field wpallimport-radio-field">
|
47 |
<input type="radio" id="multiple_grouping_product_yes" class="switcher" name="is_multiple_grouping_product" value="yes" <?php echo 'no' != $post['is_multiple_grouping_product'] ? 'checked="checked"': '' ?>/>
|
48 |
-
<label for="multiple_grouping_product_yes"><?php _e("Grouping", "
|
49 |
<span class="wpallimport-clear"></span>
|
50 |
<div class="switcher-target-multiple_grouping_product_yes set_with_xpath">
|
51 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
@@ -58,22 +59,22 @@
|
|
58 |
}
|
59 |
?>
|
60 |
</select>
|
61 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('Set this option to make this product part of a grouped product.', '
|
62 |
</span>
|
63 |
</div>
|
64 |
</div>
|
65 |
|
66 |
<p class="form-field wpallimport-radio-field">
|
67 |
<input type="radio" id="multiple_grouping_product_no" class="switcher" name="is_multiple_grouping_product" value="no" <?php echo 'no' == $post['is_multiple_grouping_product'] ? 'checked="checked"': '' ?>/>
|
68 |
-
<label for="multiple_grouping_product_no" style="width: 200px;"><?php _e('Manual Grouped Product Matching', '
|
69 |
-
<a href="#help" class="wpallimport-help" sstyle="top:2px;" title="<?php _e('Product will be assigned as the child of an already created product matching the specified criteria.', '
|
70 |
</p>
|
71 |
|
72 |
<div class="switcher-target-multiple_grouping_product_no set_with_xpath" style="padding-left: 20px;">
|
73 |
|
74 |
<div class="form-field wpallimport-radio-field">
|
75 |
<input type="radio" id="duplicate_indicator_xpath_grouping" class="switcher" name="grouping_indicator" value="xpath" <?php echo 'xpath' == $post['grouping_indicator'] ? 'checked="checked"': '' ?>/>
|
76 |
-
<label for="duplicate_indicator_xpath_grouping"><?php _e('Match by Post Title', '
|
77 |
<span class="wpallimport-clear"></span>
|
78 |
<div class="switcher-target-duplicate_indicator_xpath_grouping set_with_xpath" style="vertical-align:middle">
|
79 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
@@ -84,16 +85,16 @@
|
|
84 |
|
85 |
<div class="form-field wpallimport-radio-field">
|
86 |
<input type="radio" id="duplicate_indicator_custom_field_grouping" class="switcher" name="grouping_indicator" value="custom field" <?php echo 'custom field' == $post['grouping_indicator'] ? 'checked="checked"': '' ?>/>
|
87 |
-
<label for="duplicate_indicator_custom_field_grouping"><?php _e('Match by Custom Field', '
|
88 |
<span class="wpallimport-clear"></span>
|
89 |
<div class="switcher-target-duplicate_indicator_custom_field_grouping set_with_xpath" style="padding-left:40px;">
|
90 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
91 |
-
<label style="width: 80px;"><?php _e('Name', '
|
92 |
<input type="text" name="custom_grouping_indicator_name" value="<?php echo esc_attr($post['custom_grouping_indicator_name']) ?>" style="float:none; margin:1px;" />
|
93 |
|
94 |
<span class="wpallimport-clear"></span>
|
95 |
|
96 |
-
<label style="width: 80px;"><?php _e('Value', '
|
97 |
<input type="text" name="custom_grouping_indicator_value" value="<?php echo esc_attr($post['custom_grouping_indicator_value']) ?>" style="float:none; margin:1px;" />
|
98 |
</span>
|
99 |
</div>
|
1 |
<div class="panel woocommerce_options_panel" id="linked_product_data" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
+
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the professional edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', 'wpai_woocommerce_addon_plugin');?></a>
|
4 |
+
<p><?php _e('If you already own it, remove the free edition and install the professional edition.', 'wp_all_import_plugin'); ?></p>
|
5 |
</div>
|
6 |
<div class="options_group">
|
7 |
<p class="form-field">
|
8 |
+
<label><?php _e("Up-Sells", "wpai_woocommerce_addon_plugin"); ?></label>
|
9 |
+
<input type="text" class="" placeholder="<?php _e('Product SKUs, comma separated', 'wpai_woocommerce_addon_plugin');?>" name="single_product_up_sells" style="" value="<?php echo esc_attr($post['single_product_up_sells']) ?>"/>
|
10 |
</p>
|
11 |
<p class="form-field">
|
12 |
+
<label><?php _e("Cross-Sells", "wpai_woocommerce_addon_plugin"); ?></label>
|
13 |
+
<input type="text" class="" placeholder="<?php _e('Product SKUs, comma separated', 'wpai_woocommerce_addon_plugin');?>" name="single_product_cross_sells" value="<?php echo esc_attr($post['single_product_cross_sells']) ?>"/>
|
14 |
</p>
|
15 |
</div> <!-- End options group -->
|
16 |
<div class="options_group grouping show_if_simple show_if_external">
|
17 |
<?php
|
18 |
$post_parents = array();
|
19 |
+
$post_parents[''] = __( 'Choose a grouped product…', 'wpai_woocommerce_addon_plugin' );
|
20 |
|
21 |
$posts_in = array_unique( (array) get_objects_in_term( get_term_by( 'slug', 'grouped', 'product_type' )->term_id, 'product_type' ) );
|
22 |
if ( sizeof( $posts_in ) > 0 ) {
|
46 |
|
47 |
<div class="form-field wpallimport-radio-field">
|
48 |
<input type="radio" id="multiple_grouping_product_yes" class="switcher" name="is_multiple_grouping_product" value="yes" <?php echo 'no' != $post['is_multiple_grouping_product'] ? 'checked="checked"': '' ?>/>
|
49 |
+
<label for="multiple_grouping_product_yes"><?php _e("Grouping", "wpai_woocommerce_addon_plugin"); ?></label>
|
50 |
<span class="wpallimport-clear"></span>
|
51 |
<div class="switcher-target-multiple_grouping_product_yes set_with_xpath">
|
52 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
59 |
}
|
60 |
?>
|
61 |
</select>
|
62 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('Set this option to make this product part of a grouped product.', 'wpai_woocommerce_addon_plugin'); ?>">?</a>
|
63 |
</span>
|
64 |
</div>
|
65 |
</div>
|
66 |
|
67 |
<p class="form-field wpallimport-radio-field">
|
68 |
<input type="radio" id="multiple_grouping_product_no" class="switcher" name="is_multiple_grouping_product" value="no" <?php echo 'no' == $post['is_multiple_grouping_product'] ? 'checked="checked"': '' ?>/>
|
69 |
+
<label for="multiple_grouping_product_no" style="width: 200px;"><?php _e('Manual Grouped Product Matching', 'wpai_woocommerce_addon_plugin' )?></label>
|
70 |
+
<a href="#help" class="wpallimport-help" sstyle="top:2px;" title="<?php _e('Product will be assigned as the child of an already created product matching the specified criteria.', 'wpai_woocommerce_addon_plugin'); ?>">?</a>
|
71 |
</p>
|
72 |
|
73 |
<div class="switcher-target-multiple_grouping_product_no set_with_xpath" style="padding-left: 20px;">
|
74 |
|
75 |
<div class="form-field wpallimport-radio-field">
|
76 |
<input type="radio" id="duplicate_indicator_xpath_grouping" class="switcher" name="grouping_indicator" value="xpath" <?php echo 'xpath' == $post['grouping_indicator'] ? 'checked="checked"': '' ?>/>
|
77 |
+
<label for="duplicate_indicator_xpath_grouping"><?php _e('Match by Post Title', 'wpai_woocommerce_addon_plugin' )?></label>
|
78 |
<span class="wpallimport-clear"></span>
|
79 |
<div class="switcher-target-duplicate_indicator_xpath_grouping set_with_xpath" style="vertical-align:middle">
|
80 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
85 |
|
86 |
<div class="form-field wpallimport-radio-field">
|
87 |
<input type="radio" id="duplicate_indicator_custom_field_grouping" class="switcher" name="grouping_indicator" value="custom field" <?php echo 'custom field' == $post['grouping_indicator'] ? 'checked="checked"': '' ?>/>
|
88 |
+
<label for="duplicate_indicator_custom_field_grouping"><?php _e('Match by Custom Field', 'wpai_woocommerce_addon_plugin' )?></label><br>
|
89 |
<span class="wpallimport-clear"></span>
|
90 |
<div class="switcher-target-duplicate_indicator_custom_field_grouping set_with_xpath" style="padding-left:40px;">
|
91 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
92 |
+
<label style="width: 80px;"><?php _e('Name', 'wpai_woocommerce_addon_plugin') ?></label>
|
93 |
<input type="text" name="custom_grouping_indicator_name" value="<?php echo esc_attr($post['custom_grouping_indicator_name']) ?>" style="float:none; margin:1px;" />
|
94 |
|
95 |
<span class="wpallimport-clear"></span>
|
96 |
|
97 |
+
<label style="width: 80px;"><?php _e('Value', 'wpai_woocommerce_addon_plugin') ?></label>
|
98 |
<input type="text" name="custom_grouping_indicator_value" value="<?php echo esc_attr($post['custom_grouping_indicator_value']) ?>" style="float:none; margin:1px;" />
|
99 |
</span>
|
100 |
</div>
|
views/admin/import/_tabs/_options.php
CHANGED
@@ -1,28 +1,29 @@
|
|
1 |
<div class="panel woocommerce_options_panel" id="add_on_options" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
-
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the professional edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', '
|
|
|
4 |
</div>
|
5 |
<div class="options_group">
|
6 |
|
7 |
-
<p class="form-field"><?php _e('Import options','
|
8 |
|
9 |
<p class="form-field wpallimport-radio-field">
|
10 |
<input type="hidden" name="missing_records_stock_status" value="0" />
|
11 |
<input type="checkbox" id="missing_records_stock_status" name="missing_records_stock_status" value="1" <?php echo $post['missing_records_stock_status'] ? 'checked="checked"' : '' ?> />
|
12 |
-
<label for="missing_records_stock_status"><?php _e('Set out of stock status for missing records', '
|
13 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('Option to set the stock status to out of stock instead of deleting the product entirely. This option doesn\'t work when \'Delete missing records\' option is enabled.', '
|
14 |
</p>
|
15 |
<p class="form-field wpallimport-radio-field">
|
16 |
<input type="hidden" name="disable_auto_sku_generation" value="0" />
|
17 |
<input type="checkbox" id="disable_auto_sku_generation" name="disable_auto_sku_generation" value="1" <?php echo $post['disable_auto_sku_generation'] ? 'checked="checked"' : '' ?> />
|
18 |
-
<label for="disable_auto_sku_generation"><?php _e('Disable auto SKU generation', '
|
19 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('Plugin will NOT automaticaly generate the SKU for each product based on md5 algorithm, if SKU option is empty.', '
|
20 |
</p>
|
21 |
<p class="form-field wpallimport-radio-field">
|
22 |
<input type="hidden" name="disable_sku_matching" value="0" />
|
23 |
<input type="checkbox" id="disable_sku_matching" name="disable_sku_matching" value="1" <?php echo $post['disable_sku_matching'] ? 'checked="checked"' : '' ?> />
|
24 |
-
<label for="disable_sku_matching"><?php _e('Don\'t check for duplicate SKUs', '
|
25 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('Each product should have a unique SKU. If this box is checked, WP All Import won\'t check for duplicate SKUs, which speeds up the import process. Make sure the SKU for each of your products is unique. If this box is unchecked, WP All Import will import products with duplicate SKUs with a blank SKU.', '
|
26 |
</p>
|
27 |
|
28 |
</div>
|
1 |
<div class="panel woocommerce_options_panel" id="add_on_options" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
+
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the professional edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', 'wpai_woocommerce_addon_plugin');?></a>
|
4 |
+
<p><?php _e('If you already own it, remove the free edition and install the professional edition.', 'wp_all_import_plugin'); ?></p>
|
5 |
</div>
|
6 |
<div class="options_group">
|
7 |
|
8 |
+
<p class="form-field"><?php _e('Import options','wpai_woocommerce_addon_plugin');?></p>
|
9 |
|
10 |
<p class="form-field wpallimport-radio-field">
|
11 |
<input type="hidden" name="missing_records_stock_status" value="0" />
|
12 |
<input type="checkbox" id="missing_records_stock_status" name="missing_records_stock_status" value="1" <?php echo $post['missing_records_stock_status'] ? 'checked="checked"' : '' ?> />
|
13 |
+
<label for="missing_records_stock_status"><?php _e('Set out of stock status for missing records', 'wpai_woocommerce_addon_plugin') ?></label>
|
14 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('Option to set the stock status to out of stock instead of deleting the product entirely. This option doesn\'t work when \'Delete missing records\' option is enabled.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:-2px;">?</a>
|
15 |
</p>
|
16 |
<p class="form-field wpallimport-radio-field">
|
17 |
<input type="hidden" name="disable_auto_sku_generation" value="0" />
|
18 |
<input type="checkbox" id="disable_auto_sku_generation" name="disable_auto_sku_generation" value="1" <?php echo $post['disable_auto_sku_generation'] ? 'checked="checked"' : '' ?> />
|
19 |
+
<label for="disable_auto_sku_generation"><?php _e('Disable auto SKU generation', 'wpai_woocommerce_addon_plugin') ?></label>
|
20 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('Plugin will NOT automaticaly generate the SKU for each product based on md5 algorithm, if SKU option is empty.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:-2px;">?</a>
|
21 |
</p>
|
22 |
<p class="form-field wpallimport-radio-field">
|
23 |
<input type="hidden" name="disable_sku_matching" value="0" />
|
24 |
<input type="checkbox" id="disable_sku_matching" name="disable_sku_matching" value="1" <?php echo $post['disable_sku_matching'] ? 'checked="checked"' : '' ?> />
|
25 |
+
<label for="disable_sku_matching"><?php _e('Don\'t check for duplicate SKUs', 'wpai_woocommerce_addon_plugin') ?></label>
|
26 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('Each product should have a unique SKU. If this box is checked, WP All Import won\'t check for duplicate SKUs, which speeds up the import process. Make sure the SKU for each of your products is unique. If this box is unchecked, WP All Import will import products with duplicate SKUs with a blank SKU.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:-2px;">?</a>
|
27 |
</p>
|
28 |
|
29 |
</div>
|
views/admin/import/_tabs/_shipping.php
CHANGED
@@ -1,17 +1,18 @@
|
|
1 |
<div class="panel woocommerce_options_panel" id="shipping_product_data" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
-
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the professional edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', '
|
|
|
4 |
</div>
|
5 |
<div class="options_group">
|
6 |
<p class="form-field">
|
7 |
-
<label><?php
|
8 |
<input type="text" class="short" placeholder="0.00" name="single_product_weight" style="" value="<?php echo esc_attr($post['single_product_weight']) ?>"/>
|
9 |
</p>
|
10 |
<p class="form-field">
|
11 |
-
<label><?php
|
12 |
-
<input type="text" class="short" placeholder="Length" name="single_product_length" style="margin-right:5px;" value="<?php echo esc_attr($post['single_product_length']) ?>"/>
|
13 |
-
<input type="text" class="short" placeholder="Width" name="single_product_width" style="margin-right:5px;" value="<?php echo esc_attr($post['single_product_width']) ?>"/>
|
14 |
-
<input type="text" class="short" placeholder="Height" name="single_product_height" style="" value="<?php echo esc_attr($post['single_product_height']) ?>"/>
|
15 |
</p>
|
16 |
</div> <!-- End options group -->
|
17 |
|
@@ -19,16 +20,16 @@
|
|
19 |
|
20 |
<div class="form-field wpallimport-radio-field">
|
21 |
<input type="radio" id="multiple_product_shipping_class_yes" class="switcher" name="is_multiple_product_shipping_class" value="yes" <?php echo 'no' != $post['is_multiple_product_shipping_class'] ? 'checked="checked"': '' ?>/>
|
22 |
-
<label for="multiple_product_shipping_class_yes"><?php _e("Shipping Class"); ?></label>
|
23 |
<span class="wpallimport-clear"></span>
|
24 |
<div class="switcher-target-multiple_product_shipping_class_yes set_with_xpath">
|
25 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
26 |
-
<?php
|
27 |
|
28 |
$args = array(
|
29 |
'taxonomy' => 'product_shipping_class',
|
30 |
'hide_empty' => 0,
|
31 |
-
'show_option_none' => __( 'No shipping class', '
|
32 |
'name' => 'multiple_product_shipping_class',
|
33 |
'id' => 'multiple_product_shipping_class',
|
34 |
'selected' => ( ! empty($post['multiple_product_shipping_class']) and $post['multiple_product_shipping_class'] > 0 ) ? $post['multiple_product_shipping_class'] : '',
|
@@ -43,12 +44,12 @@
|
|
43 |
|
44 |
<div class="form-field wpallimport-radio-field">
|
45 |
<input type="radio" id="multiple_product_shipping_class_no" class="switcher" name="is_multiple_product_shipping_class" value="no" <?php echo 'no' == $post['is_multiple_product_shipping_class'] ? 'checked="checked"': '' ?>/>
|
46 |
-
<label for="multiple_product_shipping_class_no" style="width: 350px;"><?php _e('Set product shipping class with XPath', '
|
47 |
<span class="wpallimport-clear"></span>
|
48 |
<div class="switcher-target-multiple_product_shipping_class_no set_with_xpath">
|
49 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
50 |
<input type="text" class="smaller-text" name="single_product_shipping_class" style="width:300px;" value="<?php echo esc_attr($post['single_product_shipping_class']) ?>"/>
|
51 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('Value should be the slug for the shipping class - \'taxable\', \'shipping\' and \'none\' are the default slugs.', '
|
52 |
</span>
|
53 |
</div>
|
54 |
</div>
|
1 |
<div class="panel woocommerce_options_panel" id="shipping_product_data" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
+
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the professional edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', 'wpai_woocommerce_addon_plugin');?></a>
|
4 |
+
<p><?php _e('If you already own it, remove the free edition and install the professional edition.', 'wp_all_import_plugin'); ?></p>
|
5 |
</div>
|
6 |
<div class="options_group">
|
7 |
<p class="form-field">
|
8 |
+
<label><?php printf(__("Weight (%s)", 'wpai_woocommerce_addon_plugin'), get_option('woocommerce_weight_unit')); ?></label>
|
9 |
<input type="text" class="short" placeholder="0.00" name="single_product_weight" style="" value="<?php echo esc_attr($post['single_product_weight']) ?>"/>
|
10 |
</p>
|
11 |
<p class="form-field">
|
12 |
+
<label><?php printf(__("Dimensions (%s)", "wpai_woocommerce_addon_plugin"), get_option( 'woocommerce_dimension_unit' )); ?></label>
|
13 |
+
<input type="text" class="short" placeholder="<?php _e('Length','wpai_woocommerce_addon_plugin');?>" name="single_product_length" style="margin-right:5px;" value="<?php echo esc_attr($post['single_product_length']) ?>"/>
|
14 |
+
<input type="text" class="short" placeholder="<?php _e('Width','wpai_woocommerce_addon_plugin');?>" name="single_product_width" style="margin-right:5px;" value="<?php echo esc_attr($post['single_product_width']) ?>"/>
|
15 |
+
<input type="text" class="short" placeholder="<?php _e('Height','wpai_woocommerce_addon_plugin');?>" name="single_product_height" style="" value="<?php echo esc_attr($post['single_product_height']) ?>"/>
|
16 |
</p>
|
17 |
</div> <!-- End options group -->
|
18 |
|
20 |
|
21 |
<div class="form-field wpallimport-radio-field">
|
22 |
<input type="radio" id="multiple_product_shipping_class_yes" class="switcher" name="is_multiple_product_shipping_class" value="yes" <?php echo 'no' != $post['is_multiple_product_shipping_class'] ? 'checked="checked"': '' ?>/>
|
23 |
+
<label for="multiple_product_shipping_class_yes"><?php _e("Shipping Class", "wpai_woocommerce_addon_plugin"); ?></label>
|
24 |
<span class="wpallimport-clear"></span>
|
25 |
<div class="switcher-target-multiple_product_shipping_class_yes set_with_xpath">
|
26 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
27 |
+
<?php
|
28 |
|
29 |
$args = array(
|
30 |
'taxonomy' => 'product_shipping_class',
|
31 |
'hide_empty' => 0,
|
32 |
+
'show_option_none' => __( 'No shipping class', 'wpai_woocommerce_addon_plugin' ),
|
33 |
'name' => 'multiple_product_shipping_class',
|
34 |
'id' => 'multiple_product_shipping_class',
|
35 |
'selected' => ( ! empty($post['multiple_product_shipping_class']) and $post['multiple_product_shipping_class'] > 0 ) ? $post['multiple_product_shipping_class'] : '',
|
44 |
|
45 |
<div class="form-field wpallimport-radio-field">
|
46 |
<input type="radio" id="multiple_product_shipping_class_no" class="switcher" name="is_multiple_product_shipping_class" value="no" <?php echo 'no' == $post['is_multiple_product_shipping_class'] ? 'checked="checked"': '' ?>/>
|
47 |
+
<label for="multiple_product_shipping_class_no" style="width: 350px;"><?php _e('Set product shipping class with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
48 |
<span class="wpallimport-clear"></span>
|
49 |
<div class="switcher-target-multiple_product_shipping_class_no set_with_xpath">
|
50 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
51 |
<input type="text" class="smaller-text" name="single_product_shipping_class" style="width:300px;" value="<?php echo esc_attr($post['single_product_shipping_class']) ?>"/>
|
52 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('Value should be the slug for the shipping class - \'taxable\', \'shipping\' and \'none\' are the default slugs.', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
53 |
</span>
|
54 |
</div>
|
55 |
</div>
|
views/admin/import/_tabs/_variations.php
CHANGED
@@ -1,26 +1,27 @@
|
|
1 |
<div class="panel woocommerce_options_panel" id="variable_product_options" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
-
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the professional edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', '
|
|
|
4 |
</div>
|
5 |
<div class="options_group" style="padding-bottom:0px;">
|
6 |
|
7 |
<p class="form-field wpallimport-radio-field">
|
8 |
<input type="radio" id="auto_matching_parent" class="switcher" name="matching_parent" value="auto" <?php echo 'auto' == $post['matching_parent'] ? 'checked="checked"': '' ?>/>
|
9 |
-
<label for="auto_matching_parent" style="width:95%"><?php _e('All my variable products have SKUs or some other unique identifier. Each variation is linked to its parent with its parent\'s SKU or other unique identifier.', '
|
10 |
</p>
|
11 |
<div class="switcher-target-auto_matching_parent" style="padding-left:25px;">
|
12 |
<p class="form-field">
|
13 |
-
<label style="width:195px; padding-top:3px;"><?php _e("SKU element for parent", "
|
14 |
<input type="text" class="short" placeholder="" name="single_product_id" value="<?php echo esc_attr($post['single_product_id']) ?>"/>
|
15 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('SKU column in the below example.', '
|
16 |
</p>
|
17 |
<p class="form-field">
|
18 |
-
<label style="width:195px; padding-top:3px;"><?php _e("Parent SKU element for variation", "
|
19 |
<input type="text" class="short" placeholder="" name="single_product_parent_id" value="<?php echo esc_attr($post['single_product_parent_id']) ?>"/>
|
20 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('Parent SKU column in the below example.', '
|
21 |
</p>
|
22 |
<p class="form-field">
|
23 |
-
<strong><?php _e("Example Data For Use With This Option","
|
24 |
<span class="wpallimport-clear"></span>
|
25 |
<img src="<?php echo PMWI_ROOT_URL; ?>/static/img/data-example-1.png"/>
|
26 |
</p>
|
@@ -30,17 +31,17 @@
|
|
30 |
|
31 |
<p class="form-field wpallimport-radio-field">
|
32 |
<input type="radio" id="auto_matching_parent_first_is_parent_id" class="switcher" name="matching_parent" value="first_is_parent_id" <?php echo 'first_is_parent_id' == $post['matching_parent'] ? 'checked="checked"': '' ?> style="float:left;"/>
|
33 |
-
<label for="auto_matching_parent_first_is_parent_id" style="width:95%"><?php _e('All products with variations are grouped with a unique identifier that is the same for each variation and unique for each product.', '
|
34 |
</p>
|
35 |
|
36 |
<div class="switcher-target-auto_matching_parent_first_is_parent_id" style="padding-left:25px;">
|
37 |
<p class="form-field">
|
38 |
-
<label style="width:105px; padding-top: 3px;"><?php _e("Unique Identifier", "
|
39 |
<input type="text" class="short" placeholder="" name="single_product_id_first_is_parent_id" value="<?php echo esc_attr($post['single_product_id_first_is_parent_id']) ?>"/>
|
40 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('Group ID column in the below example.', '
|
41 |
</p>
|
42 |
<p class="form-field">
|
43 |
-
<strong><?php _e("Example Data For Use With This Option","
|
44 |
<span class="wpallimport-clear"></span>
|
45 |
<img src="<?php echo PMWI_ROOT_URL; ?>/static/img/data-example-2.png"/>
|
46 |
</p>
|
@@ -50,16 +51,16 @@
|
|
50 |
|
51 |
<p class="form-field wpallimport-radio-field">
|
52 |
<input type="radio" id="auto_matching_parent_first_is_parent_title" class="switcher" name="matching_parent" value="first_is_parent_title" <?php echo 'first_is_parent_title' == $post['matching_parent'] ? 'checked="checked"': '' ?> style="float:left;"/>
|
53 |
-
<label for="auto_matching_parent_first_is_parent_title" style="width:95%"><?php _e('All variations for a particular product have the same title as the parent product.', '
|
54 |
</p>
|
55 |
|
56 |
<div class="switcher-target-auto_matching_parent_first_is_parent_title" style="padding-left:25px;">
|
57 |
<p class="form-field">
|
58 |
-
<label style="width:85px; padding-top: 3px;"><?php _e("Product Title", "
|
59 |
<input type="text" class="short" placeholder="" name="single_product_id_first_is_parent_title" value="<?php echo ($post['single_product_id_first_is_parent_title']) ? esc_attr($post['single_product_id_first_is_parent_title']) : ((!empty(PMXI_Plugin::$session->options['title'])) ? esc_attr(PMXI_Plugin::$session->options['title']) : ''); ?>"/>
|
60 |
</p>
|
61 |
<p class="form-field">
|
62 |
-
<strong><?php _e("Example Data For Use With This Option","
|
63 |
<span class="wpallimport-clear"></span>
|
64 |
<img src="<?php echo PMWI_ROOT_URL; ?>/static/img/data-example-3.png"/>
|
65 |
</p>
|
@@ -69,7 +70,7 @@
|
|
69 |
|
70 |
<p class="form-field wpallimport-radio-field">
|
71 |
<input type="radio" id="auto_matching_parent_first_is_variation" class="switcher" name="matching_parent" value="first_is_variation" <?php echo 'first_is_variation' == $post['matching_parent'] ? 'checked="checked"': '' ?> style="float:left;"/>
|
72 |
-
<label for="auto_matching_parent_first_is_variation" style="width:95%"><?php _e('All variations for a particular product have the same title. There are no parent products.', '
|
73 |
</p>
|
74 |
<div class="switcher-target-auto_matching_parent_first_is_variation" style="padding-left:25px;">
|
75 |
<p class="form-field">
|
@@ -77,61 +78,72 @@
|
|
77 |
<input type="text" class="short" placeholder="" name="single_product_id_first_is_variation" value="<?php echo ($post['single_product_id_first_is_variation']) ? esc_attr($post['single_product_id_first_is_variation']) : ((!empty(PMXI_Plugin::$session->options['title'])) ? esc_attr(PMXI_Plugin::$session->options['title']) : ''); ?>"/>
|
78 |
</p>
|
79 |
<p class="form-field">
|
80 |
-
<strong><?php _e("Example Data For Use With This Option","
|
81 |
<span class="wpallimport-clear"></span>
|
82 |
<img src="<?php echo PMWI_ROOT_URL; ?>/static/img/data-example-4.png"/>
|
83 |
</p>
|
84 |
</div>
|
85 |
|
86 |
-
<div class="wpallimport-clear" style="margin-top:5px;"></div>
|
87 |
|
88 |
<p class="form-field wpallimport-radio-field">
|
89 |
<input type="radio" id="xml_matching_parent" class="switcher" name="matching_parent" value="xml" <?php echo 'xml' == $post['matching_parent'] ? 'checked="checked"': '' ?> style="float:left;"/>
|
90 |
-
<label for="xml_matching_parent" style="width:350px;"><?php _e('I\'m importing XML and my variations are child XML elements', '
|
91 |
-
</p>
|
92 |
|
93 |
<div class="switcher-target-xml_matching_parent" style="padding-left:25px; position:relative;">
|
94 |
|
95 |
<div class="input">
|
96 |
|
97 |
-
<p class="form-field"><a href="http://youtu.be/F1NX4po0dsc" target="_blank"><?php _e("Video Example", "
|
98 |
|
99 |
<p class="form-field">
|
100 |
-
<label style="width:150px;"><?php _e("Variations XPath", "
|
101 |
-
<input type="text" class="short" placeholder="" id="variations_xpath" name="variations_xpath" value="<?php echo esc_attr($post['variations_xpath']) ?>" style="width:370px !important;"/> <a href="javascript:void(0);" id="toggle_xml_tree"><?php _e("Open XML Tree","
|
102 |
<div class="wpallimport-clear"></div>
|
103 |
<span id="variations_console"></span>
|
104 |
</p>
|
105 |
|
106 |
-
<div style="margin-right:2%;">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
|
108 |
<div class="options_group">
|
109 |
<p class="form-field">
|
110 |
-
<label style="width:150px;"><?php _e('SKU','
|
111 |
<input type="text" value="<?php echo esc_attr($post['variable_sku']) ?>" style="" name="variable_sku" class="short">
|
112 |
<span class="use_parent">
|
113 |
<input type="hidden" name="variable_sku_add_parent" value="0"/>
|
114 |
<input type="checkbox" name="variable_sku_add_parent" id="variable_sku_add_parent" style="margin-left:5px; margin-right:5px;" <?php echo ($post['variable_sku_add_parent']) ? 'checked="checked"' : ''; ?>>
|
115 |
-
<label style="width: 160px;" for="variable_sku_add_parent"><?php _e("Add value to the parent SKU","
|
116 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('Enable this checkbox to combine SKU from parent and variation products.', '
|
117 |
</span>
|
118 |
</p>
|
119 |
<p class="form-field">
|
120 |
-
<label style="width:150px;"><?php _e('Image','
|
121 |
<input type="text" value="<?php echo esc_attr($post['variable_image']) ?>" style="" name="variable_image" class="short">
|
122 |
<span class="use_parent">
|
123 |
<input type="hidden" name="variable_image_use_parent" value="0"/>
|
124 |
<input type="checkbox" name="variable_image_use_parent" id="variable_image_use_parent" style="position:relative; top:1px; margin-left:5px; margin-right:5px;" <?php echo ($post['variable_image_use_parent']) ? 'checked="checked"' : ''; ?>>
|
125 |
-
<label for="variable_image_use_parent" style="top:0px;"><?php _e("XPath Is From Parent","
|
126 |
</span>
|
127 |
</p>
|
128 |
<p class="form-field">
|
129 |
-
<label style="width:150px;"><?php _e('Variation Description','
|
130 |
<input type="text" value="<?php echo esc_attr($post['variable_description']) ?>" style="" name="variable_description" class="short">
|
131 |
<span class="use_parent">
|
132 |
<input type="hidden" name="variable_description_use_parent" value="0"/>
|
133 |
<input type="checkbox" name="variable_description_use_parent" id="variable_description_use_parent" style="position:relative; top:1px; margin-left:5px; margin-right:5px;" <?php echo ($post['variable_description_use_parent']) ? 'checked="checked"' : ''; ?>>
|
134 |
-
<label for="variable_description_use_parent" style="top:0px;"><?php _e("XPath Is From Parent","
|
135 |
</span>
|
136 |
</p>
|
137 |
</div>
|
@@ -150,16 +162,16 @@
|
|
150 |
</p>
|
151 |
<div class="form-field wpallimport-radio-field">
|
152 |
<input type="radio" id="is_variable_product_manage_stock_xpath" class="switcher" name="is_variable_product_manage_stock" value="xpath" <?php echo 'xpath' == $post['is_variable_product_manage_stock'] ? 'checked="checked"': '' ?>/>
|
153 |
-
<label for="is_variable_product_manage_stock_xpath"><?php _e('Set with XPath', '
|
154 |
<span class="wpallimport-clear"></span>
|
155 |
<div class="switcher-target-is_variable_product_manage_stock_xpath set_with_xpath" style="width:390px;">
|
156 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
157 |
<input type="text" class="smaller-text" name="single_variable_product_manage_stock" style="width:345px;" value="<?php echo esc_attr($post['single_variable_product_manage_stock']) ?>"/>
|
158 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
159 |
<span class="use_parent" style="float:right; top: 2px;">
|
160 |
<input type="hidden" name="single_variable_product_manage_stock_use_parent" value="0"/>
|
161 |
<input type="checkbox" name="single_variable_product_manage_stock_use_parent" id="single_variable_product_manage_stock_use_parent" style="position:relative; top:1px; margin-right:5px; float: left;" <?php echo ($post['single_variable_product_manage_stock_use_parent']) ? 'checked="checked"' : ''; ?>>
|
162 |
-
<label for="single_variable_product_manage_stock_use_parent" style="top:3px;"><?php _e("XPath Is From Parent","
|
163 |
</span>
|
164 |
</span>
|
165 |
</div>
|
@@ -168,13 +180,13 @@
|
|
168 |
|
169 |
<div class="options_group variable_stock_fields">
|
170 |
<p class="form-field">
|
171 |
-
<label style="width:150px;"><?php _e('Stock Qty', '
|
172 |
<input type="text" value="<?php echo esc_attr($post['variable_stock']) ?>" style="" name="variable_stock" class="short">
|
173 |
<span class="use_parent">
|
174 |
<input type="hidden" name="variable_stock_use_parent" value="0"/>
|
175 |
<input type="checkbox" name="variable_stock_use_parent" id="variable_stock_use_parent" style="margin-left:5px; margin-right: 5px;" <?php echo ($post['variable_stock_use_parent']) ? 'checked="checked"' : ''; ?>>
|
176 |
-
<label for="variable_stock_use_parent" style="width:120px;"><?php _e("XPath Is From Parent","
|
177 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('Enable this checkbox to determine XPath from parent element.', '
|
178 |
</span>
|
179 |
</p>
|
180 |
</div>
|
@@ -194,16 +206,16 @@
|
|
194 |
<p class="form-field wpallimport-radio-field">
|
195 |
<input type="radio" id="variable_stock_status_auto" class="switcher" name="variable_stock_status" value="auto" <?php echo 'auto' == $post['variable_stock_status'] ? 'checked="checked"': '' ?>/>
|
196 |
<label for="variable_stock_status_auto" style="width:100px;"><?php _e("Set automatically"); ?></label>
|
197 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('Set the stock status to In Stock for positive or blank Stock Qty values, and Out Of Stock if Stock Qty is 0.', '
|
198 |
</p>
|
199 |
<div class="form-field wpallimport-radio-field">
|
200 |
<input type="radio" id="variable_stock_status_xpath" class="switcher" name="variable_stock_status" value="xpath" <?php echo 'xpath' == $post['variable_stock_status'] ? 'checked="checked"': '' ?>/>
|
201 |
-
<label for="variable_stock_status_xpath"><?php _e('Set with XPath', '
|
202 |
<span class="wpallimport-clear"></span>
|
203 |
<div class="switcher-target-variable_stock_status_xpath set_with_xpath" style="width:390px;">
|
204 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
205 |
<input type="text" class="smaller-text" name="single_variable_stock_status" style="width:345px;" value="<?php echo esc_attr($post['single_variable_stock_status']) ?>"/>
|
206 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'instock\', \'outofstock\').', '
|
207 |
</span>
|
208 |
</div>
|
209 |
</div>
|
@@ -211,23 +223,23 @@
|
|
211 |
|
212 |
<div class="options_group">
|
213 |
<p class="form-field">
|
214 |
-
<label style="width:150px;"><?php _e('Regular Price','
|
215 |
<input type="text" value="<?php echo esc_attr($post['variable_regular_price']) ?>" style="" name="variable_regular_price" class="short">
|
216 |
<span class="use_parent">
|
217 |
<input type="hidden" name="variable_regular_price_use_parent" value="0"/>
|
218 |
<input type="checkbox" name="variable_regular_price_use_parent" id="variable_regular_price_use_parent" style="position:relative; top:1px; margin-left:5px; margin-right:5px;" <?php echo ($post['variable_regular_price_use_parent']) ? 'checked="checked"' : ''; ?>>
|
219 |
-
<label for="variable_regular_price_use_parent" style="top:1px; position: relative;"><?php _e("XPath Is From Parent","
|
220 |
</span>
|
221 |
</p>
|
222 |
<p class="form-field">
|
223 |
-
<label style="width:150px;"><?php _e('Sale Price','
|
224 |
<a id="variable_sale_price_shedule" href="javascript:void(0);" style="<?php if ($post['is_variable_sale_price_shedule']):?>display:none;<?php endif; ?>position:relative; top:-10px;"><?php _e('schedule');?></a>
|
225 |
<input type="text" value="<?php echo esc_attr($post['variable_sale_price']) ?>" style="" name="variable_sale_price" class="short">
|
226 |
<input type="hidden" name="is_variable_sale_price_shedule" value="<?php echo esc_attr($post['is_variable_sale_price_shedule']) ?>"/>
|
227 |
<span class="use_parent">
|
228 |
<input type="hidden" name="variable_sale_price_use_parent" value="0"/>
|
229 |
<input type="checkbox" name="variable_sale_price_use_parent" id="variable_sale_price_use_parent" style="position:relative; top:1px; margin-right:5px;" <?php echo ($post['variable_sale_price_use_parent']) ? 'checked="checked"' : ''; ?>>
|
230 |
-
<label for="variable_sale_price_use_parent"><?php _e("XPath Is From Parent","
|
231 |
</span>
|
232 |
</p>
|
233 |
<?php if ( class_exists('woocommerce_wholesale_pricing') ):?>
|
@@ -237,7 +249,7 @@
|
|
237 |
<span class="use_parent">
|
238 |
<input type="hidden" name="variable_whosale_price_use_parent" value="0"/>
|
239 |
<input type="checkbox" name="variable_whosale_price_use_parent" id="variable_whosale_price_use_parent" style="position:relative; top:1px; margin-left:5px; margin-right:5px;" <?php echo ($post['variable_whosale_price_use_parent']) ? 'checked="checked"' : ''; ?>>
|
240 |
-
<label for="variable_whosale_price_use_parent"><?php _e("XPath Is From Parent","
|
241 |
</span>
|
242 |
</p>
|
243 |
<?php endif; ?>
|
@@ -246,15 +258,15 @@
|
|
246 |
<div class="options_group" <?php if ( ! $post['is_variable_sale_price_shedule']):?>style="display:none;"<?php endif; ?> id="variable_sale_price_range">
|
247 |
<p class="form-field">
|
248 |
<span style="vertical-align:middle">
|
249 |
-
<label style="width:150px;"><?php _e("Variable Sale Price Dates", "
|
250 |
<span class="use_parent">
|
251 |
<input type="hidden" name="variable_sale_dates_use_parent" value="0"/>
|
252 |
<input type="checkbox" name="variable_sale_dates_use_parent" id="variable_sale_dates_use_parent" style="position:relative; top:1px; margin-left:5px; margin-right:5px;" <?php echo ($post['variable_sale_dates_use_parent']) ? 'checked="checked"' : ''; ?>>
|
253 |
-
<label for="variable_sale_dates_use_parent"><?php _e("XPath Is From Parent","
|
254 |
</span>
|
255 |
<br>
|
256 |
<input type="text" class="datepicker" name="variable_sale_price_dates_from" value="<?php echo esc_attr($post['variable_sale_price_dates_from']) ?>" style="float:none;"/>
|
257 |
-
<?php _e('and', '
|
258 |
<input type="text" class="datepicker" name="variable_sale_price_dates_to" value="<?php echo esc_attr($post['variable_sale_price_dates_to']) ?>" style="float:none;"/>
|
259 |
<a id="cancel_variable_regular_price_shedule" href="javascript:void(0);"><?php _e('cancel');?></a>
|
260 |
</span>
|
@@ -273,16 +285,16 @@
|
|
273 |
</p>
|
274 |
<div class="form-field wpallimport-radio-field">
|
275 |
<input type="radio" id="is_variable_product_virtual_xpath" class="switcher" name="is_variable_product_virtual" value="xpath" <?php echo 'xpath' == $post['is_variable_product_virtual'] ? 'checked="checked"': '' ?>/>
|
276 |
-
<label for="is_variable_product_virtual_xpath"><?php _e('Set with XPath', '
|
277 |
<span class="wpallimport-clear"></span>
|
278 |
<div class="switcher-target-is_variable_product_virtual_xpath set_with_xpath" style="width:390px;">
|
279 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
280 |
<input type="text" class="smaller-text" name="single_variable_product_virtual" style="width:300px;" value="<?php echo esc_attr($post['single_variable_product_virtual']) ?>"/>
|
281 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
282 |
<span class="use_parent" style="float:right; top: 2px;">
|
283 |
<input type="hidden" name="single_variable_product_virtual_use_parent" value="0"/>
|
284 |
<input type="checkbox" name="single_variable_product_virtual_use_parent" id="single_variable_product_virtual_use_parent" style="position:relative; top:1px; margin-right:5px; float: left;" <?php echo ($post['single_variable_product_virtual_use_parent']) ? 'checked="checked"' : ''; ?>>
|
285 |
-
<label for="single_variable_product_virtual_use_parent" style="top:3px;"><?php _e("XPath Is From Parent","
|
286 |
</span>
|
287 |
</span>
|
288 |
</div>
|
@@ -291,20 +303,20 @@
|
|
291 |
|
292 |
<div class="options_group" id="variable_dimensions">
|
293 |
<p class="form-field">
|
294 |
-
<label style="width:150px;"><?php _e('Weight','
|
295 |
<input type="text" placeholder="0.00" value="<?php echo esc_attr($post['variable_weight']) ?>" style="" name="variable_weight" class="short">
|
296 |
<span class="use_parent">
|
297 |
<input type="hidden" name="variable_weight_use_parent" value="0"/>
|
298 |
<input type="checkbox" name="variable_weight_use_parent" id="variable_weight_use_parent" style="position:relative; top:1px; margin-left:5px; margin-right:5px;" <?php echo ($post['variable_weight_use_parent']) ? 'checked="checked"' : ''; ?>>
|
299 |
-
<label for="variable_weight_use_parent"><?php _e("XPath Is From Parent","
|
300 |
</span>
|
301 |
</p>
|
302 |
<p class="form-field">
|
303 |
-
<label for"product_length"=""><?php _e('Dimensions (L×W×H)','
|
304 |
<span class="use_parent">
|
305 |
<input type="hidden" name="variable_dimensions_use_parent" value="0"/>
|
306 |
<input type="checkbox" name="variable_dimensions_use_parent" id="variable_dimensions_use_parent" style="position:relative; top:1px; margin-left:5px; margin-right:5px;" <?php echo ($post['variable_dimensions_use_parent']) ? 'checked="checked"' : ''; ?>>
|
307 |
-
<label for="variable_dimensions_use_parent"><?php _e("XPath Is From Parent","
|
308 |
</span>
|
309 |
<br>
|
310 |
<input type="text" placeholder="0" value="<?php echo esc_attr($post['variable_length']) ?>" name="variable_length" class="short" style="margin-right:5px;">
|
@@ -329,7 +341,7 @@
|
|
329 |
$args = array(
|
330 |
'taxonomy' => 'product_shipping_class',
|
331 |
'hide_empty' => 0,
|
332 |
-
'show_option_none' => __( 'No shipping class', '
|
333 |
'name' => 'multiple_variable_product_shipping_class',
|
334 |
'id' => 'multiple_variable_product_shipping_class',
|
335 |
'selected' => (!empty($post['multiple_variable_product_shipping_class'])) ? $post['multiple_variable_product_shipping_class'] : $current_shipping_class,
|
@@ -344,16 +356,16 @@
|
|
344 |
<!-- Shipping class -->
|
345 |
<div class="form-field wpallimport-radio-field">
|
346 |
<input type="radio" id="multiple_variable_product_shipping_class_no" class="switcher" name="is_multiple_variable_product_shipping_class" value="no" <?php echo 'no' == $post['is_multiple_variable_product_shipping_class'] ? 'checked="checked"': '' ?>/>
|
347 |
-
<label for="multiple_variable_product_shipping_class_no" style="width:300px;"><?php _e('Set product shipping class with XPath', '
|
348 |
<span class="wpallimport-clear"></span>
|
349 |
<div class="switcher-target-multiple_variable_product_shipping_class_no set_with_xpath">
|
350 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
351 |
<input type="text" class="smaller-text" name="single_variable_product_shipping_class" style="width:300px;" value="<?php echo esc_attr($post['single_variable_product_shipping_class']) ?>"/>
|
352 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'taxable\', \'shipping\', \'none\').', '
|
353 |
<span class="use_parent">
|
354 |
<input type="hidden" name="single_variable_product_shipping_class_use_parent" value="0"/>
|
355 |
<input type="checkbox" name="single_variable_product_shipping_class_use_parent" id="single_variable_product_shipping_class_use_parent" style="position:relative; top:2px; margin-left:5px; margin-right:5px;" <?php echo ($post['single_variable_product_shipping_class_use_parent']) ? 'checked="checked"' : ''; ?>>
|
356 |
-
<label for="single_variable_product_shipping_class_use_parent" style="top:2px; position: relative;"><?php _e("XPath Is From Parent","
|
357 |
</span>
|
358 |
</span>
|
359 |
</div>
|
@@ -364,20 +376,20 @@
|
|
364 |
<!-- Tax class -->
|
365 |
<div class="form-field wpallimport-radio-field">
|
366 |
<input type="radio" id="multiple_variable_product_tax_class_yes" class="switcher" name="is_multiple_variable_product_tax_class" value="yes" <?php echo 'no' != $post['is_multiple_variable_product_tax_class'] ? 'checked="checked"': '' ?>/>
|
367 |
-
<label for="multiple_variable_product_tax_class_yes" style="width:150px;"><?php _e("Tax Class", "
|
368 |
<span class="wpallimport-clear"></span>
|
369 |
<div class="switcher-target-multiple_variable_product_tax_class_yes set_with_xpath">
|
370 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
371 |
<?php
|
372 |
$tax_classes = array_filter( array_map( 'trim', explode( "\n", get_option( 'woocommerce_tax_classes' ) ) ) );
|
373 |
$classes_options = array();
|
374 |
-
$classes_options[''] = __( 'Standard', '
|
375 |
if ( $tax_classes )
|
376 |
foreach ( $tax_classes as $class )
|
377 |
$classes_options[ sanitize_title( $class ) ] = esc_html( $class );
|
378 |
?>
|
379 |
<select class="select short" name="multiple_variable_product_tax_class">
|
380 |
-
<option value="parent" <?php echo 'parent' == $post['multiple_variable_product_tax_class'] ? 'selected="selected"': '' ?>><?php _e('Same as parent', '
|
381 |
<?php foreach ($classes_options as $key => $value):?>
|
382 |
<option value="<?php echo $key; ?>" <?php echo $key == $post['multiple_variable_product_tax_class'] ? 'selected="selected"': '' ?>><?php echo $value; ?></option>
|
383 |
<?php endforeach; ?>
|
@@ -388,16 +400,16 @@
|
|
388 |
<!-- Tax class -->
|
389 |
<div class="form-field wpallimport-radio-field">
|
390 |
<input type="radio" id="multiple_variable_product_tax_class_no" class="switcher" name="is_multiple_variable_product_tax_class" value="no" <?php echo 'no' == $post['is_multiple_variable_product_tax_class'] ? 'checked="checked"': '' ?>/>
|
391 |
-
<label for="multiple_variable_product_tax_class_no" style="width: 300px;"><?php _e('Set product tax class with XPath', '
|
392 |
<span class="wpallimport-clear"></span>
|
393 |
<div class="switcher-target-multiple_variable_product_tax_class_no set_with_xpath">
|
394 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
395 |
<input type="text" class="smaller-text" name="single_variable_product_tax_class" style="width:300px;" value="<?php echo esc_attr($post['single_variable_product_tax_class']) ?>"/>
|
396 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'reduced-rate\', \'zero-rate\').', '
|
397 |
<span class="use_parent">
|
398 |
<input type="hidden" name="single_variable_product_tax_class_use_parent" value="0"/>
|
399 |
<input type="checkbox" name="single_variable_product_tax_class_use_parent" id="single_variable_product_tax_class_use_parent" style="position:relative; top:2px; margin-left:5px; margin-right:5px;" <?php echo ($post['single_variable_product_tax_class_use_parent']) ? 'checked="checked"' : ''; ?>>
|
400 |
-
<label for="single_variable_product_tax_class_use_parent" style="top:1px; position: relative;"><?php _e("XPath Is From Parent","
|
401 |
</span>
|
402 |
</span>
|
403 |
</div>
|
@@ -417,16 +429,16 @@
|
|
417 |
</p>
|
418 |
<div class="form-field wpallimport-radio-field">
|
419 |
<input type="radio" id="is_variable_product_downloadable_xpath" class="switcher" name="is_variable_product_downloadable" value="xpath" <?php echo 'xpath' == $post['is_variable_product_downloadable'] ? 'checked="checked"': '' ?>/>
|
420 |
-
<label for="is_variable_product_downloadable_xpath"><?php _e('Set with XPath', '
|
421 |
<span class="wpallimport-clear"></span>
|
422 |
<div class="switcher-target-is_variable_product_downloadable_xpath set_with_xpath" style="width:390px;">
|
423 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
424 |
<input type="text" class="smaller-text" name="single_variable_product_downloadable" style="width:345px;" value="<?php echo esc_attr($post['single_variable_product_downloadable']) ?>"/>
|
425 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
426 |
<span class="use_parent" style="float:right; top: 2px;">
|
427 |
<input type="hidden" name="single_variable_product_downloadable_use_parent" value="0"/>
|
428 |
<input type="checkbox" name="single_variable_product_downloadable_use_parent" id="single_variable_product_downloadable_use_parent" style="position:relative; top:1px; margin-right:5px; float: left;" <?php echo ($post['single_variable_product_downloadable_use_parent']) ? 'checked="checked"' : ''; ?>>
|
429 |
-
<label for="single_variable_product_downloadable_use_parent" style="top:3px;"><?php _e("XPath Is From Parent","
|
430 |
</span>
|
431 |
</span>
|
432 |
</div>
|
@@ -435,40 +447,40 @@
|
|
435 |
|
436 |
<div class="options_group variable_downloadable">
|
437 |
<p class="form-field">
|
438 |
-
<label style="width:150px;"><?php _e('File paths','
|
439 |
<input type="text" value="<?php echo esc_attr($post['variable_file_paths']) ?>" name="variable_file_paths" class="short" style="width:60% !important;">
|
440 |
<input type="text" class="small" name="variable_product_files_delim" value="<?php echo esc_attr($post['variable_product_files_delim']) ?>" style="width:5% !important;text-align:center; margin-left:5px;"/>
|
441 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('File paths/URLs, comma separated. The delimiter option uses when xml element contains few paths/URLs (http://files.com/1.doc, http://files.com/2.doc).', '
|
442 |
</p>
|
443 |
<p class="form-field">
|
444 |
<label style="width:150px;"><?php _e("File names"); ?></label>
|
445 |
<input type="text" class="short" name="variable_file_names" value="<?php echo esc_attr($post['variable_file_names']) ?>" style="width:60% !important;"/>
|
446 |
<input type="text" class="small" name="variable_product_files_names_delim" value="<?php echo esc_attr($post['variable_product_files_names_delim']) ?>" style="width:5% !important;text-align:center; margin-left:5px;"/>
|
447 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('File names, comma separated. The delimiter is used when an XML element contains multiple names - i.e. <code>1.doc, 2.doc</code>.', '
|
448 |
</p>
|
449 |
<p class="form-field">
|
450 |
-
<label style="width:150px;"><?php _e('Download Limit','
|
451 |
<input type="text" value="<?php echo esc_attr($post['variable_download_limit']) ?>" style="" name="variable_download_limit" class="short">
|
452 |
<span class="use_parent">
|
453 |
<input type="hidden" name="variable_download_limit_use_parent" value="0"/>
|
454 |
<input type="checkbox" name="variable_download_limit_use_parent" id="variable_download_limit_use_parent" style="margin-left:5px; margin-right:5px;" <?php echo ($post['variable_download_limit_use_parent']) ? 'checked="checked"' : ''; ?>>
|
455 |
-
<label for="variable_download_limit_use_parent"><?php _e("XPath Is From Parent","
|
456 |
</span>
|
457 |
</p>
|
458 |
<p class="form-field">
|
459 |
-
<label style="width:150px;"><?php _e('Download Expiry','
|
460 |
<input type="text" value="<?php echo esc_attr($post['variable_download_expiry']) ?>" style="" name="variable_download_expiry" class="short">
|
461 |
<span class="use_parent">
|
462 |
<input type="hidden" name="variable_download_expiry_use_parent" value="0"/>
|
463 |
<input type="checkbox" name="variable_download_expiry_use_parent" id="variable_download_expiry_use_parent" style="margin-left:5px; margin-right:5px;" <?php echo ($post['variable_download_expiry_use_parent']) ? 'checked="checked"' : ''; ?>>
|
464 |
-
<label for="variable_download_expiry_use_parent"><?php _e("XPath Is From Parent","
|
465 |
</span>
|
466 |
</p>
|
467 |
-
</div>
|
468 |
|
469 |
<div class="options_group">
|
470 |
|
471 |
-
<label style="width:150px; padding-left:0px;"><?php _e('Variation Enabled','
|
472 |
|
473 |
<span class="wpallimport-clear"></span>
|
474 |
|
@@ -482,12 +494,12 @@
|
|
482 |
</p>
|
483 |
<div class="form-field wpallimport-radio-field">
|
484 |
<input type="radio" id="variable_product_enabled_xpath" class="switcher" name="is_variable_product_enabled" value="xpath" <?php echo 'xpath' == $post['is_variable_product_enabled'] ? 'checked="checked"': '' ?>/>
|
485 |
-
<label for="variable_product_enabled_xpath"><?php _e('Set with XPath', '
|
486 |
<span class="wpallimport-clear"></span>
|
487 |
<div class="switcher-target-variable_product_enabled_xpath set_with_xpath">
|
488 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
489 |
<input type="text" class="smaller-text" name="single_variable_product_enabled" style="width:300px; " value="<?php echo esc_attr($post['single_variable_product_enabled']) ?>"/>
|
490 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
491 |
</span>
|
492 |
</div>
|
493 |
</div>
|
@@ -496,7 +508,7 @@
|
|
496 |
|
497 |
<div class="options_group variation_attributes">
|
498 |
|
499 |
-
<label style="width:150px; padding-left:0px;"><?php _e('Variation Attributes','
|
500 |
|
501 |
<span class="wpallimport-clear"></span>
|
502 |
|
@@ -504,8 +516,8 @@
|
|
504 |
<table class="form-table custom-params" style="max-width:95%;">
|
505 |
<thead>
|
506 |
<tr>
|
507 |
-
<td><?php _e('Name', '
|
508 |
-
<td><?php _e('Values', '
|
509 |
<td></td>
|
510 |
</tr>
|
511 |
</thead>
|
@@ -523,22 +535,22 @@
|
|
523 |
<p class="form-field wpallimport-radio-field" style="padding: 0 !important; position: relative; left: -100%; width: 200%;">
|
524 |
<span class='in_variations' style="margin-left:0px;">
|
525 |
<input type="checkbox" name="variable_in_variations[]" id="variable_in_variations_<?php echo $i; ?>" <?php echo ($post['variable_in_variations'][$i]) ? 'checked="checked"' : ''; ?> style="float:left;" value="1"/>
|
526 |
-
<label for="variable_in_variations_<?php echo $i; ?>"><?php _e('In Variations','
|
527 |
</span>
|
528 |
|
529 |
<span class='is_visible'>
|
530 |
<input type="checkbox" name="variable_is_visible[]" id="variable_is_visible_<?php echo $i; ?>" <?php echo ($post['variable_is_visible'][$i]) ? 'checked="checked"' : ''; ?> style="float: left;" value="1"/>
|
531 |
-
<label for="variable_is_visible_<?php echo $i; ?>"><?php _e('Is Visible','
|
532 |
</span>
|
533 |
|
534 |
<span class='is_taxonomy'>
|
535 |
<input type="checkbox" name="variable_is_taxonomy[]" id="variable_is_taxonomy_<?php echo $i; ?>" <?php echo ($post['variable_is_taxonomy'][$i]) ? 'checked="checked"' : ''; ?> style="float: left;" value="1"/>
|
536 |
-
<label for="variable_is_taxonomy_<?php echo $i; ?>"><?php _e('Taxonomy','
|
537 |
</span>
|
538 |
|
539 |
<span class='is_create_taxonomy'>
|
540 |
<input type="checkbox" name="variable_create_taxonomy_in_not_exists[]" id="variable_create_taxonomy_in_not_exists_<?php echo $i;?>" <?php echo ($post['variable_create_taxonomy_in_not_exists'][$i]) ? 'checked="checked"' : ''; ?> style="float:left;" value="1"/>
|
541 |
-
<label for="variable_create_taxonomy_in_not_exists_<?php echo $i; ?>"><?php _e('Auto-Create Terms','
|
542 |
</span>
|
543 |
</p>
|
544 |
</td>
|
@@ -557,19 +569,19 @@
|
|
557 |
<p class="form-field wpallimport-radio-field" style="padding: 0 !important; position: relative; left: -100%; width: 200%;">
|
558 |
<span class='in_variations' style="margin-left:0px;">
|
559 |
<input type="checkbox" name="variable_in_variations[]" id="variable_in_variations_0" checked="checked" style="float: left;" value="1"/>
|
560 |
-
<label for="variable_in_variations_0"><?php _e('In Variations','
|
561 |
</span>
|
562 |
<span class='is_visible'>
|
563 |
<input type="checkbox" name="variable_is_visible[]" id="variable_is_visible_0" checked="checked" style="float:left;" value="1"/>
|
564 |
-
<label for="variable_is_visible_0"><?php _e('Is Visible','
|
565 |
</span>
|
566 |
<span class='is_taxonomy'>
|
567 |
<input type="checkbox" name="variable_is_taxonomy[]" id="variable_is_taxonomy_0" checked="checked" style="float:left;" value="1"/>
|
568 |
-
<label for="variable_is_taxonomy_0"><?php _e('Taxonomy','
|
569 |
</span>
|
570 |
<span class='is_create_taxonomy'>
|
571 |
<input type="checkbox" name="variable_create_taxonomy_in_not_exists[]" id="variable_create_taxonomy_in_not_exists_0" checked="checked" style="float:left;" value="1"/>
|
572 |
-
<label for="variable_create_taxonomy_in_not_exists_0"><?php _e('Auto-Create Terms','
|
573 |
</span>
|
574 |
</p>
|
575 |
</td>
|
@@ -587,26 +599,26 @@
|
|
587 |
<p class="form-field wpallimport-radio-field" style="padding: 0 !important; position: relative; left: -100%; width: 200%;">
|
588 |
<span class='in_variations' style="margin-left:0px;">
|
589 |
<input type="checkbox" name="variable_in_variations[]" checked="checked" style="float: left;" value="1"/>
|
590 |
-
<label for=""><?php _e('In Variations','
|
591 |
</span>
|
592 |
<span class='is_visible'>
|
593 |
<input type="checkbox" name="variable_is_visible[]" checked="checked" style="float: left;" value="1"/>
|
594 |
-
<label for=""><?php _e('Is Visible','
|
595 |
</span>
|
596 |
<span class='is_taxonomy'>
|
597 |
<input type="checkbox" name="variable_is_taxonomy[]" checked="checked" style="float: left;" value="1"/>
|
598 |
-
<label for=""><?php _e('Taxonomy','
|
599 |
</span>
|
600 |
<span class='is_create_taxonomy'>
|
601 |
<input type="checkbox" name="variable_create_taxonomy_in_not_exists[]" checked="checked" style="float: left;" value="1"/>
|
602 |
-
<label for=""><?php _e('Auto-Create Terms','
|
603 |
</span>
|
604 |
</p>
|
605 |
</td>
|
606 |
<td class="action remove"><a href="#remove" style="top: 9px;"></a></td>
|
607 |
</tr>
|
608 |
<tr>
|
609 |
-
<td colspan="3"><a href="#add" title="<?php _e('add', '
|
610 |
</tr>
|
611 |
</tbody>
|
612 |
</table>
|
@@ -620,7 +632,7 @@
|
|
620 |
<div class="variations_tag">
|
621 |
<input type="hidden" name="variations_tagno" value="<?php echo (!empty($tagno)) ? $tagno : 0; ?>" />
|
622 |
<div class="title">
|
623 |
-
<?php printf(__('No matching elements found for XPath expression specified', '
|
624 |
</div>
|
625 |
<div class="clear"></div>
|
626 |
<div class="xml resetable"></div>
|
@@ -631,13 +643,75 @@
|
|
631 |
</div>
|
632 |
</div>
|
633 |
|
634 |
-
<div class="clear" style="margin-top:5px;"></div>
|
635 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
636 |
</div>
|
637 |
|
638 |
<div class="options_group">
|
639 |
|
640 |
-
<p class="form-field"><?php _e('Variation Enabled','
|
641 |
|
642 |
<p class="form-field wpallimport-radio-field">
|
643 |
<input type="radio" id="product_enabled_yes" class="switcher" name="is_product_enabled" value="yes" <?php echo 'yes' == $post['is_product_enabled'] ? 'checked="checked"': '' ?>/>
|
@@ -649,39 +723,56 @@
|
|
649 |
</p>
|
650 |
<div class="form-field wpallimport-radio-field">
|
651 |
<input type="radio" id="product_enabled_xpath" class="switcher" name="is_product_enabled" value="xpath" <?php echo 'xpath' == $post['is_product_enabled'] ? 'checked="checked"': '' ?>/>
|
652 |
-
<label for="product_enabled_xpath"><?php _e('Set with XPath', '
|
653 |
<span class="wpallimport-clear"></span>
|
654 |
<div class="switcher-target-product_enabled_xpath set_with_xpath">
|
655 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
656 |
<input type="text" class="smaller-text" name="single_product_enabled" style="width:300px;" value="<?php echo esc_attr($post['single_product_enabled']) ?>"/>
|
657 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', '
|
658 |
</span>
|
659 |
</div>
|
660 |
</div>
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
|
|
665 |
|
666 |
<p class="form-field wpallimport-radio-field">
|
667 |
-
<input type="radio" id="set_default_yes" name="is_default_attributes" value="1" <?php echo $post['is_default_attributes'] ? 'checked="checked"': '' ?>/>
|
668 |
-
<label for="set_default_yes" style="width: 400px;"><?php _e("Set
|
669 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('The attributes for the first variation will be automatically selected on the frontend.', '
|
670 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
671 |
<p class="form-field wpallimport-radio-field">
|
672 |
-
<input type="radio" id="set_default_no" name="is_default_attributes" value="0" <?php echo ! $post['is_default_attributes'] ? 'checked="checked"': '' ?>/>
|
673 |
-
<label for="set_default_no" style="width: 90%;"><?php _e("Do not set default selections for the dropdowns.", "
|
674 |
</p>
|
|
|
675 |
<p class="form-field wpallimport-radio-field">
|
676 |
<input type="hidden" name="make_simple_product" value="0" />
|
677 |
<input type="checkbox" id="make_simple_product" name="make_simple_product" value="1" <?php echo $post['make_simple_product'] ? 'checked="checked"' : '' ?> />
|
678 |
-
<label for="make_simple_product" style="width:340px;"><?php _e('Create products with no variations as simple products.', '
|
|
|
|
|
|
|
|
|
|
|
679 |
</p>
|
680 |
<p class="form-field wpallimport-radio-field set_parent_stock_option" style="display:none;">
|
681 |
<input type="hidden" name="set_parent_stock" value="0" />
|
682 |
<input type="checkbox" id="set_parent_stock" name="set_parent_stock" value="1" <?php echo $post['set_parent_stock'] ? 'checked="checked"' : '' ?> />
|
683 |
-
<label for="set_parent_stock" style="width: 435px;"><?php _e('Set _stock value for parent product to the _stock value for the first variation.', '
|
684 |
-
<a href="#help" class="wpallimport-help" title="<?php _e('This option works when there are no parent products in your feed ( cases 2 and 4 on Variations tab).', '
|
685 |
</p>
|
686 |
|
687 |
</div>
|
1 |
<div class="panel woocommerce_options_panel" id="variable_product_options" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
+
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the professional edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', 'wpai_woocommerce_addon_plugin');?></a>
|
4 |
+
<p><?php _e('If you already own it, remove the free edition and install the professional edition.', 'wp_all_import_plugin'); ?></p>
|
5 |
</div>
|
6 |
<div class="options_group" style="padding-bottom:0px;">
|
7 |
|
8 |
<p class="form-field wpallimport-radio-field">
|
9 |
<input type="radio" id="auto_matching_parent" class="switcher" name="matching_parent" value="auto" <?php echo 'auto' == $post['matching_parent'] ? 'checked="checked"': '' ?>/>
|
10 |
+
<label for="auto_matching_parent" style="width:95%"><?php _e('All my variable products have SKUs or some other unique identifier. Each variation is linked to its parent with its parent\'s SKU or other unique identifier.', 'wpai_woocommerce_addon_plugin' )?></label>
|
11 |
</p>
|
12 |
<div class="switcher-target-auto_matching_parent" style="padding-left:25px;">
|
13 |
<p class="form-field">
|
14 |
+
<label style="width:195px; padding-top:3px;"><?php _e("SKU element for parent", "wpai_woocommerce_addon_plugin"); ?></label>
|
15 |
<input type="text" class="short" placeholder="" name="single_product_id" value="<?php echo esc_attr($post['single_product_id']) ?>"/>
|
16 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('SKU column in the below example.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative;">?</a>
|
17 |
</p>
|
18 |
<p class="form-field">
|
19 |
+
<label style="width:195px; padding-top:3px;"><?php _e("Parent SKU element for variation", "wpai_woocommerce_addon_plugin"); ?></label>
|
20 |
<input type="text" class="short" placeholder="" name="single_product_parent_id" value="<?php echo esc_attr($post['single_product_parent_id']) ?>"/>
|
21 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('Parent SKU column in the below example.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative;">?</a>
|
22 |
</p>
|
23 |
<p class="form-field">
|
24 |
+
<strong><?php _e("Example Data For Use With This Option","wpai_woocommerce_addon_plugin");?> </strong> - <a href="http://www.wpallimport.com/wp-content/uploads/2014/10/data-example-1.csv" tatger="_blank"><?php _e("download","wpai_woocommerce_addon_plugin");?></a>
|
25 |
<span class="wpallimport-clear"></span>
|
26 |
<img src="<?php echo PMWI_ROOT_URL; ?>/static/img/data-example-1.png"/>
|
27 |
</p>
|
31 |
|
32 |
<p class="form-field wpallimport-radio-field">
|
33 |
<input type="radio" id="auto_matching_parent_first_is_parent_id" class="switcher" name="matching_parent" value="first_is_parent_id" <?php echo 'first_is_parent_id' == $post['matching_parent'] ? 'checked="checked"': '' ?> style="float:left;"/>
|
34 |
+
<label for="auto_matching_parent_first_is_parent_id" style="width:95%"><?php _e('All products with variations are grouped with a unique identifier that is the same for each variation and unique for each product.', 'wpai_woocommerce_addon_plugin' )?></label>
|
35 |
</p>
|
36 |
|
37 |
<div class="switcher-target-auto_matching_parent_first_is_parent_id" style="padding-left:25px;">
|
38 |
<p class="form-field">
|
39 |
+
<label style="width:105px; padding-top: 3px;"><?php _e("Unique Identifier", "wpai_woocommerce_addon_plugin"); ?></label>
|
40 |
<input type="text" class="short" placeholder="" name="single_product_id_first_is_parent_id" value="<?php echo esc_attr($post['single_product_id_first_is_parent_id']) ?>"/>
|
41 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('Group ID column in the below example.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative;">?</a>
|
42 |
</p>
|
43 |
<p class="form-field">
|
44 |
+
<strong><?php _e("Example Data For Use With This Option","wpai_woocommerce_addon_plugin");?> </strong> - <a href="http://www.wpallimport.com/wp-content/uploads/2014/10/data-example-2.csv" tatger="_blank"><?php _e("download","wpai_woocommerce_addon_plugin");?></a>
|
45 |
<span class="wpallimport-clear"></span>
|
46 |
<img src="<?php echo PMWI_ROOT_URL; ?>/static/img/data-example-2.png"/>
|
47 |
</p>
|
51 |
|
52 |
<p class="form-field wpallimport-radio-field">
|
53 |
<input type="radio" id="auto_matching_parent_first_is_parent_title" class="switcher" name="matching_parent" value="first_is_parent_title" <?php echo 'first_is_parent_title' == $post['matching_parent'] ? 'checked="checked"': '' ?> style="float:left;"/>
|
54 |
+
<label for="auto_matching_parent_first_is_parent_title" style="width:95%"><?php _e('All variations for a particular product have the same title as the parent product.', 'wpai_woocommerce_addon_plugin' )?></label>
|
55 |
</p>
|
56 |
|
57 |
<div class="switcher-target-auto_matching_parent_first_is_parent_title" style="padding-left:25px;">
|
58 |
<p class="form-field">
|
59 |
+
<label style="width:85px; padding-top: 3px;"><?php _e("Product Title", "wpai_woocommerce_addon_plugin"); ?></label>
|
60 |
<input type="text" class="short" placeholder="" name="single_product_id_first_is_parent_title" value="<?php echo ($post['single_product_id_first_is_parent_title']) ? esc_attr($post['single_product_id_first_is_parent_title']) : ((!empty(PMXI_Plugin::$session->options['title'])) ? esc_attr(PMXI_Plugin::$session->options['title']) : ''); ?>"/>
|
61 |
</p>
|
62 |
<p class="form-field">
|
63 |
+
<strong><?php _e("Example Data For Use With This Option","wpai_woocommerce_addon_plugin");?> </strong> - <a href="http://www.wpallimport.com/wp-content/uploads/2014/10/data-example-3.csv" tatger="_blank"><?php _e("download","wpai_woocommerce_addon_plugin");?></a>
|
64 |
<span class="wpallimport-clear"></span>
|
65 |
<img src="<?php echo PMWI_ROOT_URL; ?>/static/img/data-example-3.png"/>
|
66 |
</p>
|
70 |
|
71 |
<p class="form-field wpallimport-radio-field">
|
72 |
<input type="radio" id="auto_matching_parent_first_is_variation" class="switcher" name="matching_parent" value="first_is_variation" <?php echo 'first_is_variation' == $post['matching_parent'] ? 'checked="checked"': '' ?> style="float:left;"/>
|
73 |
+
<label for="auto_matching_parent_first_is_variation" style="width:95%"><?php _e('All variations for a particular product have the same title. There are no parent products.', 'wpai_woocommerce_addon_plugin' )?></label>
|
74 |
</p>
|
75 |
<div class="switcher-target-auto_matching_parent_first_is_variation" style="padding-left:25px;">
|
76 |
<p class="form-field">
|
78 |
<input type="text" class="short" placeholder="" name="single_product_id_first_is_variation" value="<?php echo ($post['single_product_id_first_is_variation']) ? esc_attr($post['single_product_id_first_is_variation']) : ((!empty(PMXI_Plugin::$session->options['title'])) ? esc_attr(PMXI_Plugin::$session->options['title']) : ''); ?>"/>
|
79 |
</p>
|
80 |
<p class="form-field">
|
81 |
+
<strong><?php _e("Example Data For Use With This Option","wpai_woocommerce_addon_plugin");?> </strong> - <a href="http://www.wpallimport.com/wp-content/uploads/2014/10/data-example-4.csv" tatger="_blank"><?php _e("download","wpai_woocommerce_addon_plugin");?></a>
|
82 |
<span class="wpallimport-clear"></span>
|
83 |
<img src="<?php echo PMWI_ROOT_URL; ?>/static/img/data-example-4.png"/>
|
84 |
</p>
|
85 |
</div>
|
86 |
|
87 |
+
<div class="wpallimport-clear" style="margin-top:5px;"></div>
|
88 |
|
89 |
<p class="form-field wpallimport-radio-field">
|
90 |
<input type="radio" id="xml_matching_parent" class="switcher" name="matching_parent" value="xml" <?php echo 'xml' == $post['matching_parent'] ? 'checked="checked"': '' ?> style="float:left;"/>
|
91 |
+
<label for="xml_matching_parent" style="width:350px;"><?php _e('I\'m importing XML and my variations are child XML elements', 'wpai_woocommerce_addon_plugin' )?> </label>
|
92 |
+
</p>
|
93 |
|
94 |
<div class="switcher-target-xml_matching_parent" style="padding-left:25px; position:relative;">
|
95 |
|
96 |
<div class="input">
|
97 |
|
98 |
+
<p class="form-field"><a href="http://youtu.be/F1NX4po0dsc" target="_blank"><?php _e("Video Example", "wpai_woocommerce_addon_plugin");?></a></p>
|
99 |
|
100 |
<p class="form-field">
|
101 |
+
<label style="width:150px;"><?php _e("Variations XPath", "wpai_woocommerce_addon_plugin"); ?></label>
|
102 |
+
<input type="text" class="short" placeholder="" id="variations_xpath" name="variations_xpath" value="<?php echo esc_attr($post['variations_xpath']) ?>" style="width:370px !important;"/> <a href="javascript:void(0);" id="toggle_xml_tree"><?php _e("Open XML Tree","wpai_woocommerce_addon_plugin"); ?></a>
|
103 |
<div class="wpallimport-clear"></div>
|
104 |
<span id="variations_console"></span>
|
105 |
</p>
|
106 |
|
107 |
+
<div style="margin-right:2%;">
|
108 |
+
|
109 |
+
<!--div class="options_group">
|
110 |
+
<p class="form-field wpallimport-radio-field">
|
111 |
+
<label style="border-right:none;" for="_variable_virtual"><?php _e('Virtual', 'wpai_woocommerce_addon_plugin');?> </label>
|
112 |
+
<input type="checkbox" name="_variable_virtual" id="_variable_virtual" style="position:relative; top:2px; margin-left:5px;" <?php echo ($post['_variable_virtual']) ? 'checked="checked"' : ''; ?>>
|
113 |
+
</p>
|
114 |
+
<p class="form-field wpallimport-radio-field">
|
115 |
+
<label for="_variable_downloadable" class="show_if_simple"><?php _e('Downloadable','wpai_woocommerce_addon_plugin');?></label>
|
116 |
+
<input type="checkbox" name="_variable_downloadable" id="_variable_downloadable" style="position:relative; top:2px; margin-left:5px;" <?php echo ($post['_variable_downloadable']) ? 'checked="checked"' : ''; ?>>
|
117 |
+
</p>
|
118 |
+
</div-->
|
119 |
|
120 |
<div class="options_group">
|
121 |
<p class="form-field">
|
122 |
+
<label style="width:150px;"><?php _e('SKU','wpai_woocommerce_addon_plugin');?></label>
|
123 |
<input type="text" value="<?php echo esc_attr($post['variable_sku']) ?>" style="" name="variable_sku" class="short">
|
124 |
<span class="use_parent">
|
125 |
<input type="hidden" name="variable_sku_add_parent" value="0"/>
|
126 |
<input type="checkbox" name="variable_sku_add_parent" id="variable_sku_add_parent" style="margin-left:5px; margin-right:5px;" <?php echo ($post['variable_sku_add_parent']) ? 'checked="checked"' : ''; ?>>
|
127 |
+
<label style="width: 160px;" for="variable_sku_add_parent"><?php _e("Add value to the parent SKU","wpai_woocommerce_addon_plugin"); ?></label>
|
128 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('Enable this checkbox to combine SKU from parent and variation products.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
129 |
</span>
|
130 |
</p>
|
131 |
<p class="form-field">
|
132 |
+
<label style="width:150px;"><?php _e('Image','wpai_woocommerce_addon_plugin');?></label>
|
133 |
<input type="text" value="<?php echo esc_attr($post['variable_image']) ?>" style="" name="variable_image" class="short">
|
134 |
<span class="use_parent">
|
135 |
<input type="hidden" name="variable_image_use_parent" value="0"/>
|
136 |
<input type="checkbox" name="variable_image_use_parent" id="variable_image_use_parent" style="position:relative; top:1px; margin-left:5px; margin-right:5px;" <?php echo ($post['variable_image_use_parent']) ? 'checked="checked"' : ''; ?>>
|
137 |
+
<label for="variable_image_use_parent" style="top:0px;"><?php _e("XPath Is From Parent","wpai_woocommerce_addon_plugin"); ?></label>
|
138 |
</span>
|
139 |
</p>
|
140 |
<p class="form-field">
|
141 |
+
<label style="width:150px;"><?php _e('Variation Description','wpai_woocommerce_addon_plugin');?></label>
|
142 |
<input type="text" value="<?php echo esc_attr($post['variable_description']) ?>" style="" name="variable_description" class="short">
|
143 |
<span class="use_parent">
|
144 |
<input type="hidden" name="variable_description_use_parent" value="0"/>
|
145 |
<input type="checkbox" name="variable_description_use_parent" id="variable_description_use_parent" style="position:relative; top:1px; margin-left:5px; margin-right:5px;" <?php echo ($post['variable_description_use_parent']) ? 'checked="checked"' : ''; ?>>
|
146 |
+
<label for="variable_description_use_parent" style="top:0px;"><?php _e("XPath Is From Parent","wpai_woocommerce_addon_plugin"); ?></label>
|
147 |
</span>
|
148 |
</p>
|
149 |
</div>
|
162 |
</p>
|
163 |
<div class="form-field wpallimport-radio-field">
|
164 |
<input type="radio" id="is_variable_product_manage_stock_xpath" class="switcher" name="is_variable_product_manage_stock" value="xpath" <?php echo 'xpath' == $post['is_variable_product_manage_stock'] ? 'checked="checked"': '' ?>/>
|
165 |
+
<label for="is_variable_product_manage_stock_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
166 |
<span class="wpallimport-clear"></span>
|
167 |
<div class="switcher-target-is_variable_product_manage_stock_xpath set_with_xpath" style="width:390px;">
|
168 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
169 |
<input type="text" class="smaller-text" name="single_variable_product_manage_stock" style="width:345px;" value="<?php echo esc_attr($post['single_variable_product_manage_stock']) ?>"/>
|
170 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
171 |
<span class="use_parent" style="float:right; top: 2px;">
|
172 |
<input type="hidden" name="single_variable_product_manage_stock_use_parent" value="0"/>
|
173 |
<input type="checkbox" name="single_variable_product_manage_stock_use_parent" id="single_variable_product_manage_stock_use_parent" style="position:relative; top:1px; margin-right:5px; float: left;" <?php echo ($post['single_variable_product_manage_stock_use_parent']) ? 'checked="checked"' : ''; ?>>
|
174 |
+
<label for="single_variable_product_manage_stock_use_parent" style="top:3px;"><?php _e("XPath Is From Parent","wpai_woocommerce_addon_plugin"); ?></label>
|
175 |
</span>
|
176 |
</span>
|
177 |
</div>
|
180 |
|
181 |
<div class="options_group variable_stock_fields">
|
182 |
<p class="form-field">
|
183 |
+
<label style="width:150px;"><?php _e('Stock Qty', 'wpai_woocommerce_addon_plugin');?></label>
|
184 |
<input type="text" value="<?php echo esc_attr($post['variable_stock']) ?>" style="" name="variable_stock" class="short">
|
185 |
<span class="use_parent">
|
186 |
<input type="hidden" name="variable_stock_use_parent" value="0"/>
|
187 |
<input type="checkbox" name="variable_stock_use_parent" id="variable_stock_use_parent" style="margin-left:5px; margin-right: 5px;" <?php echo ($post['variable_stock_use_parent']) ? 'checked="checked"' : ''; ?>>
|
188 |
+
<label for="variable_stock_use_parent" style="width:120px;"><?php _e("XPath Is From Parent","wpai_woocommerce_addon_plugin"); ?></label>
|
189 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('Enable this checkbox to determine XPath from parent element.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
190 |
</span>
|
191 |
</p>
|
192 |
</div>
|
206 |
<p class="form-field wpallimport-radio-field">
|
207 |
<input type="radio" id="variable_stock_status_auto" class="switcher" name="variable_stock_status" value="auto" <?php echo 'auto' == $post['variable_stock_status'] ? 'checked="checked"': '' ?>/>
|
208 |
<label for="variable_stock_status_auto" style="width:100px;"><?php _e("Set automatically"); ?></label>
|
209 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('Set the stock status to In Stock for positive or blank Stock Qty values, and Out Of Stock if Stock Qty is 0.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:3px;">?</a>
|
210 |
</p>
|
211 |
<div class="form-field wpallimport-radio-field">
|
212 |
<input type="radio" id="variable_stock_status_xpath" class="switcher" name="variable_stock_status" value="xpath" <?php echo 'xpath' == $post['variable_stock_status'] ? 'checked="checked"': '' ?>/>
|
213 |
+
<label for="variable_stock_status_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
214 |
<span class="wpallimport-clear"></span>
|
215 |
<div class="switcher-target-variable_stock_status_xpath set_with_xpath" style="width:390px;">
|
216 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
217 |
<input type="text" class="smaller-text" name="single_variable_stock_status" style="width:345px;" value="<?php echo esc_attr($post['single_variable_stock_status']) ?>"/>
|
218 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'instock\', \'outofstock\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
219 |
</span>
|
220 |
</div>
|
221 |
</div>
|
223 |
|
224 |
<div class="options_group">
|
225 |
<p class="form-field">
|
226 |
+
<label style="width:150px;"><?php _e('Regular Price','wpai_woocommerce_addon_plugin');?> (<?php echo get_woocommerce_currency_symbol(); ?>)</label>
|
227 |
<input type="text" value="<?php echo esc_attr($post['variable_regular_price']) ?>" style="" name="variable_regular_price" class="short">
|
228 |
<span class="use_parent">
|
229 |
<input type="hidden" name="variable_regular_price_use_parent" value="0"/>
|
230 |
<input type="checkbox" name="variable_regular_price_use_parent" id="variable_regular_price_use_parent" style="position:relative; top:1px; margin-left:5px; margin-right:5px;" <?php echo ($post['variable_regular_price_use_parent']) ? 'checked="checked"' : ''; ?>>
|
231 |
+
<label for="variable_regular_price_use_parent" style="top:1px; position: relative;"><?php _e("XPath Is From Parent","wpai_woocommerce_addon_plugin"); ?></label>
|
232 |
</span>
|
233 |
</p>
|
234 |
<p class="form-field">
|
235 |
+
<label style="width:150px;"><?php _e('Sale Price','wpai_woocommerce_addon_plugin');?> (<?php echo get_woocommerce_currency_symbol(); ?>)</label>
|
236 |
<a id="variable_sale_price_shedule" href="javascript:void(0);" style="<?php if ($post['is_variable_sale_price_shedule']):?>display:none;<?php endif; ?>position:relative; top:-10px;"><?php _e('schedule');?></a>
|
237 |
<input type="text" value="<?php echo esc_attr($post['variable_sale_price']) ?>" style="" name="variable_sale_price" class="short">
|
238 |
<input type="hidden" name="is_variable_sale_price_shedule" value="<?php echo esc_attr($post['is_variable_sale_price_shedule']) ?>"/>
|
239 |
<span class="use_parent">
|
240 |
<input type="hidden" name="variable_sale_price_use_parent" value="0"/>
|
241 |
<input type="checkbox" name="variable_sale_price_use_parent" id="variable_sale_price_use_parent" style="position:relative; top:1px; margin-right:5px;" <?php echo ($post['variable_sale_price_use_parent']) ? 'checked="checked"' : ''; ?>>
|
242 |
+
<label for="variable_sale_price_use_parent"><?php _e("XPath Is From Parent","wpai_woocommerce_addon_plugin"); ?></label>
|
243 |
</span>
|
244 |
</p>
|
245 |
<?php if ( class_exists('woocommerce_wholesale_pricing') ):?>
|
249 |
<span class="use_parent">
|
250 |
<input type="hidden" name="variable_whosale_price_use_parent" value="0"/>
|
251 |
<input type="checkbox" name="variable_whosale_price_use_parent" id="variable_whosale_price_use_parent" style="position:relative; top:1px; margin-left:5px; margin-right:5px;" <?php echo ($post['variable_whosale_price_use_parent']) ? 'checked="checked"' : ''; ?>>
|
252 |
+
<label for="variable_whosale_price_use_parent"><?php _e("XPath Is From Parent","wpai_woocommerce_addon_plugin"); ?></label>
|
253 |
</span>
|
254 |
</p>
|
255 |
<?php endif; ?>
|
258 |
<div class="options_group" <?php if ( ! $post['is_variable_sale_price_shedule']):?>style="display:none;"<?php endif; ?> id="variable_sale_price_range">
|
259 |
<p class="form-field">
|
260 |
<span style="vertical-align:middle">
|
261 |
+
<label style="width:150px;"><?php _e("Variable Sale Price Dates", "wpai_woocommerce_addon_plugin"); ?></label>
|
262 |
<span class="use_parent">
|
263 |
<input type="hidden" name="variable_sale_dates_use_parent" value="0"/>
|
264 |
<input type="checkbox" name="variable_sale_dates_use_parent" id="variable_sale_dates_use_parent" style="position:relative; top:1px; margin-left:5px; margin-right:5px;" <?php echo ($post['variable_sale_dates_use_parent']) ? 'checked="checked"' : ''; ?>>
|
265 |
+
<label for="variable_sale_dates_use_parent"><?php _e("XPath Is From Parent","wpai_woocommerce_addon_plugin"); ?></label>
|
266 |
</span>
|
267 |
<br>
|
268 |
<input type="text" class="datepicker" name="variable_sale_price_dates_from" value="<?php echo esc_attr($post['variable_sale_price_dates_from']) ?>" style="float:none;"/>
|
269 |
+
<?php _e('and', 'wpai_woocommerce_addon_plugin') ?>
|
270 |
<input type="text" class="datepicker" name="variable_sale_price_dates_to" value="<?php echo esc_attr($post['variable_sale_price_dates_to']) ?>" style="float:none;"/>
|
271 |
<a id="cancel_variable_regular_price_shedule" href="javascript:void(0);"><?php _e('cancel');?></a>
|
272 |
</span>
|
285 |
</p>
|
286 |
<div class="form-field wpallimport-radio-field">
|
287 |
<input type="radio" id="is_variable_product_virtual_xpath" class="switcher" name="is_variable_product_virtual" value="xpath" <?php echo 'xpath' == $post['is_variable_product_virtual'] ? 'checked="checked"': '' ?>/>
|
288 |
+
<label for="is_variable_product_virtual_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
289 |
<span class="wpallimport-clear"></span>
|
290 |
<div class="switcher-target-is_variable_product_virtual_xpath set_with_xpath" style="width:390px;">
|
291 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
292 |
<input type="text" class="smaller-text" name="single_variable_product_virtual" style="width:300px;" value="<?php echo esc_attr($post['single_variable_product_virtual']) ?>"/>
|
293 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
294 |
<span class="use_parent" style="float:right; top: 2px;">
|
295 |
<input type="hidden" name="single_variable_product_virtual_use_parent" value="0"/>
|
296 |
<input type="checkbox" name="single_variable_product_virtual_use_parent" id="single_variable_product_virtual_use_parent" style="position:relative; top:1px; margin-right:5px; float: left;" <?php echo ($post['single_variable_product_virtual_use_parent']) ? 'checked="checked"' : ''; ?>>
|
297 |
+
<label for="single_variable_product_virtual_use_parent" style="top:3px;"><?php _e("XPath Is From Parent","wpai_woocommerce_addon_plugin"); ?></label>
|
298 |
</span>
|
299 |
</span>
|
300 |
</div>
|
303 |
|
304 |
<div class="options_group" id="variable_dimensions">
|
305 |
<p class="form-field">
|
306 |
+
<label style="width:150px;"><?php _e('Weight','wpai_woocommerce_addon_plugin');?></label>
|
307 |
<input type="text" placeholder="0.00" value="<?php echo esc_attr($post['variable_weight']) ?>" style="" name="variable_weight" class="short">
|
308 |
<span class="use_parent">
|
309 |
<input type="hidden" name="variable_weight_use_parent" value="0"/>
|
310 |
<input type="checkbox" name="variable_weight_use_parent" id="variable_weight_use_parent" style="position:relative; top:1px; margin-left:5px; margin-right:5px;" <?php echo ($post['variable_weight_use_parent']) ? 'checked="checked"' : ''; ?>>
|
311 |
+
<label for="variable_weight_use_parent"><?php _e("XPath Is From Parent","wpai_woocommerce_addon_plugin"); ?></label>
|
312 |
</span>
|
313 |
</p>
|
314 |
<p class="form-field">
|
315 |
+
<label for"product_length"=""><?php _e('Dimensions (L×W×H)','wpai_woocommerce_addon_plugin');?></label>
|
316 |
<span class="use_parent">
|
317 |
<input type="hidden" name="variable_dimensions_use_parent" value="0"/>
|
318 |
<input type="checkbox" name="variable_dimensions_use_parent" id="variable_dimensions_use_parent" style="position:relative; top:1px; margin-left:5px; margin-right:5px;" <?php echo ($post['variable_dimensions_use_parent']) ? 'checked="checked"' : ''; ?>>
|
319 |
+
<label for="variable_dimensions_use_parent"><?php _e("XPath Is From Parent","wpai_woocommerce_addon_plugin"); ?></label>
|
320 |
</span>
|
321 |
<br>
|
322 |
<input type="text" placeholder="0" value="<?php echo esc_attr($post['variable_length']) ?>" name="variable_length" class="short" style="margin-right:5px;">
|
341 |
$args = array(
|
342 |
'taxonomy' => 'product_shipping_class',
|
343 |
'hide_empty' => 0,
|
344 |
+
'show_option_none' => __( 'No shipping class', 'wpai_woocommerce_addon_plugin' ),
|
345 |
'name' => 'multiple_variable_product_shipping_class',
|
346 |
'id' => 'multiple_variable_product_shipping_class',
|
347 |
'selected' => (!empty($post['multiple_variable_product_shipping_class'])) ? $post['multiple_variable_product_shipping_class'] : $current_shipping_class,
|
356 |
<!-- Shipping class -->
|
357 |
<div class="form-field wpallimport-radio-field">
|
358 |
<input type="radio" id="multiple_variable_product_shipping_class_no" class="switcher" name="is_multiple_variable_product_shipping_class" value="no" <?php echo 'no' == $post['is_multiple_variable_product_shipping_class'] ? 'checked="checked"': '' ?>/>
|
359 |
+
<label for="multiple_variable_product_shipping_class_no" style="width:300px;"><?php _e('Set product shipping class with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
360 |
<span class="wpallimport-clear"></span>
|
361 |
<div class="switcher-target-multiple_variable_product_shipping_class_no set_with_xpath">
|
362 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
363 |
<input type="text" class="smaller-text" name="single_variable_product_shipping_class" style="width:300px;" value="<?php echo esc_attr($post['single_variable_product_shipping_class']) ?>"/>
|
364 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'taxable\', \'shipping\', \'none\').', 'wpai_woocommerce_addon_plugin') ?>" style="position: relative; top: -10px;">?</a>
|
365 |
<span class="use_parent">
|
366 |
<input type="hidden" name="single_variable_product_shipping_class_use_parent" value="0"/>
|
367 |
<input type="checkbox" name="single_variable_product_shipping_class_use_parent" id="single_variable_product_shipping_class_use_parent" style="position:relative; top:2px; margin-left:5px; margin-right:5px;" <?php echo ($post['single_variable_product_shipping_class_use_parent']) ? 'checked="checked"' : ''; ?>>
|
368 |
+
<label for="single_variable_product_shipping_class_use_parent" style="top:2px; position: relative;"><?php _e("XPath Is From Parent","wpai_woocommerce_addon_plugin"); ?></label>
|
369 |
</span>
|
370 |
</span>
|
371 |
</div>
|
376 |
<!-- Tax class -->
|
377 |
<div class="form-field wpallimport-radio-field">
|
378 |
<input type="radio" id="multiple_variable_product_tax_class_yes" class="switcher" name="is_multiple_variable_product_tax_class" value="yes" <?php echo 'no' != $post['is_multiple_variable_product_tax_class'] ? 'checked="checked"': '' ?>/>
|
379 |
+
<label for="multiple_variable_product_tax_class_yes" style="width:150px;"><?php _e("Tax Class", "wpai_woocommerce_addon_plugin"); ?></label>
|
380 |
<span class="wpallimport-clear"></span>
|
381 |
<div class="switcher-target-multiple_variable_product_tax_class_yes set_with_xpath">
|
382 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
383 |
<?php
|
384 |
$tax_classes = array_filter( array_map( 'trim', explode( "\n", get_option( 'woocommerce_tax_classes' ) ) ) );
|
385 |
$classes_options = array();
|
386 |
+
$classes_options[''] = __( 'Standard', 'wpai_woocommerce_addon_plugin' );
|
387 |
if ( $tax_classes )
|
388 |
foreach ( $tax_classes as $class )
|
389 |
$classes_options[ sanitize_title( $class ) ] = esc_html( $class );
|
390 |
?>
|
391 |
<select class="select short" name="multiple_variable_product_tax_class">
|
392 |
+
<option value="parent" <?php echo 'parent' == $post['multiple_variable_product_tax_class'] ? 'selected="selected"': '' ?>><?php _e('Same as parent', 'wpai_woocommerce_addon_plugin');?></option>
|
393 |
<?php foreach ($classes_options as $key => $value):?>
|
394 |
<option value="<?php echo $key; ?>" <?php echo $key == $post['multiple_variable_product_tax_class'] ? 'selected="selected"': '' ?>><?php echo $value; ?></option>
|
395 |
<?php endforeach; ?>
|
400 |
<!-- Tax class -->
|
401 |
<div class="form-field wpallimport-radio-field">
|
402 |
<input type="radio" id="multiple_variable_product_tax_class_no" class="switcher" name="is_multiple_variable_product_tax_class" value="no" <?php echo 'no' == $post['is_multiple_variable_product_tax_class'] ? 'checked="checked"': '' ?>/>
|
403 |
+
<label for="multiple_variable_product_tax_class_no" style="width: 300px;"><?php _e('Set product tax class with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
404 |
<span class="wpallimport-clear"></span>
|
405 |
<div class="switcher-target-multiple_variable_product_tax_class_no set_with_xpath">
|
406 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
407 |
<input type="text" class="smaller-text" name="single_variable_product_tax_class" style="width:300px;" value="<?php echo esc_attr($post['single_variable_product_tax_class']) ?>"/>
|
408 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'reduced-rate\', \'zero-rate\').', 'wpai_woocommerce_addon_plugin') ?>" style="position: relative; top:-10px;">?</a>
|
409 |
<span class="use_parent">
|
410 |
<input type="hidden" name="single_variable_product_tax_class_use_parent" value="0"/>
|
411 |
<input type="checkbox" name="single_variable_product_tax_class_use_parent" id="single_variable_product_tax_class_use_parent" style="position:relative; top:2px; margin-left:5px; margin-right:5px;" <?php echo ($post['single_variable_product_tax_class_use_parent']) ? 'checked="checked"' : ''; ?>>
|
412 |
+
<label for="single_variable_product_tax_class_use_parent" style="top:1px; position: relative;"><?php _e("XPath Is From Parent","wpai_woocommerce_addon_plugin"); ?></label>
|
413 |
</span>
|
414 |
</span>
|
415 |
</div>
|
429 |
</p>
|
430 |
<div class="form-field wpallimport-radio-field">
|
431 |
<input type="radio" id="is_variable_product_downloadable_xpath" class="switcher" name="is_variable_product_downloadable" value="xpath" <?php echo 'xpath' == $post['is_variable_product_downloadable'] ? 'checked="checked"': '' ?>/>
|
432 |
+
<label for="is_variable_product_downloadable_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
433 |
<span class="wpallimport-clear"></span>
|
434 |
<div class="switcher-target-is_variable_product_downloadable_xpath set_with_xpath" style="width:390px;">
|
435 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
436 |
<input type="text" class="smaller-text" name="single_variable_product_downloadable" style="width:345px;" value="<?php echo esc_attr($post['single_variable_product_downloadable']) ?>"/>
|
437 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
438 |
<span class="use_parent" style="float:right; top: 2px;">
|
439 |
<input type="hidden" name="single_variable_product_downloadable_use_parent" value="0"/>
|
440 |
<input type="checkbox" name="single_variable_product_downloadable_use_parent" id="single_variable_product_downloadable_use_parent" style="position:relative; top:1px; margin-right:5px; float: left;" <?php echo ($post['single_variable_product_downloadable_use_parent']) ? 'checked="checked"' : ''; ?>>
|
441 |
+
<label for="single_variable_product_downloadable_use_parent" style="top:3px;"><?php _e("XPath Is From Parent","wpai_woocommerce_addon_plugin"); ?></label>
|
442 |
</span>
|
443 |
</span>
|
444 |
</div>
|
447 |
|
448 |
<div class="options_group variable_downloadable">
|
449 |
<p class="form-field">
|
450 |
+
<label style="width:150px;"><?php _e('File paths','wpai_woocommerce_addon_plugin');?></label>
|
451 |
<input type="text" value="<?php echo esc_attr($post['variable_file_paths']) ?>" name="variable_file_paths" class="short" style="width:60% !important;">
|
452 |
<input type="text" class="small" name="variable_product_files_delim" value="<?php echo esc_attr($post['variable_product_files_delim']) ?>" style="width:5% !important;text-align:center; margin-left:5px;"/>
|
453 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('File paths/URLs, comma separated. The delimiter option uses when xml element contains few paths/URLs (http://files.com/1.doc, http://files.com/2.doc).', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
454 |
</p>
|
455 |
<p class="form-field">
|
456 |
<label style="width:150px;"><?php _e("File names"); ?></label>
|
457 |
<input type="text" class="short" name="variable_file_names" value="<?php echo esc_attr($post['variable_file_names']) ?>" style="width:60% !important;"/>
|
458 |
<input type="text" class="small" name="variable_product_files_names_delim" value="<?php echo esc_attr($post['variable_product_files_names_delim']) ?>" style="width:5% !important;text-align:center; margin-left:5px;"/>
|
459 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('File names, comma separated. The delimiter is used when an XML element contains multiple names - i.e. <code>1.doc, 2.doc</code>.', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
460 |
</p>
|
461 |
<p class="form-field">
|
462 |
+
<label style="width:150px;"><?php _e('Download Limit','wpai_woocommerce_addon_plugin');?></label>
|
463 |
<input type="text" value="<?php echo esc_attr($post['variable_download_limit']) ?>" style="" name="variable_download_limit" class="short">
|
464 |
<span class="use_parent">
|
465 |
<input type="hidden" name="variable_download_limit_use_parent" value="0"/>
|
466 |
<input type="checkbox" name="variable_download_limit_use_parent" id="variable_download_limit_use_parent" style="margin-left:5px; margin-right:5px;" <?php echo ($post['variable_download_limit_use_parent']) ? 'checked="checked"' : ''; ?>>
|
467 |
+
<label for="variable_download_limit_use_parent"><?php _e("XPath Is From Parent","wpai_woocommerce_addon_plugin");?></label>
|
468 |
</span>
|
469 |
</p>
|
470 |
<p class="form-field">
|
471 |
+
<label style="width:150px;"><?php _e('Download Expiry','wpai_woocommerce_addon_plugin');?></label>
|
472 |
<input type="text" value="<?php echo esc_attr($post['variable_download_expiry']) ?>" style="" name="variable_download_expiry" class="short">
|
473 |
<span class="use_parent">
|
474 |
<input type="hidden" name="variable_download_expiry_use_parent" value="0"/>
|
475 |
<input type="checkbox" name="variable_download_expiry_use_parent" id="variable_download_expiry_use_parent" style="margin-left:5px; margin-right:5px;" <?php echo ($post['variable_download_expiry_use_parent']) ? 'checked="checked"' : ''; ?>>
|
476 |
+
<label for="variable_download_expiry_use_parent"><?php _e("XPath Is From Parent","wpai_woocommerce_addon_plugin");?></label>
|
477 |
</span>
|
478 |
</p>
|
479 |
+
</div>
|
480 |
|
481 |
<div class="options_group">
|
482 |
|
483 |
+
<label style="width:150px; padding-left:0px;"><?php _e('Variation Enabled','wpai_woocommerce_addon_plugin'); ?></label>
|
484 |
|
485 |
<span class="wpallimport-clear"></span>
|
486 |
|
494 |
</p>
|
495 |
<div class="form-field wpallimport-radio-field">
|
496 |
<input type="radio" id="variable_product_enabled_xpath" class="switcher" name="is_variable_product_enabled" value="xpath" <?php echo 'xpath' == $post['is_variable_product_enabled'] ? 'checked="checked"': '' ?>/>
|
497 |
+
<label for="variable_product_enabled_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
498 |
<span class="wpallimport-clear"></span>
|
499 |
<div class="switcher-target-variable_product_enabled_xpath set_with_xpath">
|
500 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
501 |
<input type="text" class="smaller-text" name="single_variable_product_enabled" style="width:300px; " value="<?php echo esc_attr($post['single_variable_product_enabled']) ?>"/>
|
502 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
503 |
</span>
|
504 |
</div>
|
505 |
</div>
|
508 |
|
509 |
<div class="options_group variation_attributes">
|
510 |
|
511 |
+
<label style="width:150px; padding-left:0px;"><?php _e('Variation Attributes','wpai_woocommerce_addon_plugin');?></label>
|
512 |
|
513 |
<span class="wpallimport-clear"></span>
|
514 |
|
516 |
<table class="form-table custom-params" style="max-width:95%;">
|
517 |
<thead>
|
518 |
<tr>
|
519 |
+
<td><?php _e('Name', 'wpai_woocommerce_addon_plugin') ?></td>
|
520 |
+
<td><?php _e('Values', 'wpai_woocommerce_addon_plugin') ?></td>
|
521 |
<td></td>
|
522 |
</tr>
|
523 |
</thead>
|
535 |
<p class="form-field wpallimport-radio-field" style="padding: 0 !important; position: relative; left: -100%; width: 200%;">
|
536 |
<span class='in_variations' style="margin-left:0px;">
|
537 |
<input type="checkbox" name="variable_in_variations[]" id="variable_in_variations_<?php echo $i; ?>" <?php echo ($post['variable_in_variations'][$i]) ? 'checked="checked"' : ''; ?> style="float:left;" value="1"/>
|
538 |
+
<label for="variable_in_variations_<?php echo $i; ?>"><?php _e('In Variations','wpai_woocommerce_addon_plugin');?></label>
|
539 |
</span>
|
540 |
|
541 |
<span class='is_visible'>
|
542 |
<input type="checkbox" name="variable_is_visible[]" id="variable_is_visible_<?php echo $i; ?>" <?php echo ($post['variable_is_visible'][$i]) ? 'checked="checked"' : ''; ?> style="float: left;" value="1"/>
|
543 |
+
<label for="variable_is_visible_<?php echo $i; ?>"><?php _e('Is Visible','wpai_woocommerce_addon_plugin');?></label>
|
544 |
</span>
|
545 |
|
546 |
<span class='is_taxonomy'>
|
547 |
<input type="checkbox" name="variable_is_taxonomy[]" id="variable_is_taxonomy_<?php echo $i; ?>" <?php echo ($post['variable_is_taxonomy'][$i]) ? 'checked="checked"' : ''; ?> style="float: left;" value="1"/>
|
548 |
+
<label for="variable_is_taxonomy_<?php echo $i; ?>"><?php _e('Taxonomy','wpai_woocommerce_addon_plugin');?></label>
|
549 |
</span>
|
550 |
|
551 |
<span class='is_create_taxonomy'>
|
552 |
<input type="checkbox" name="variable_create_taxonomy_in_not_exists[]" id="variable_create_taxonomy_in_not_exists_<?php echo $i;?>" <?php echo ($post['variable_create_taxonomy_in_not_exists'][$i]) ? 'checked="checked"' : ''; ?> style="float:left;" value="1"/>
|
553 |
+
<label for="variable_create_taxonomy_in_not_exists_<?php echo $i; ?>"><?php _e('Auto-Create Terms','wpai_woocommerce_addon_plugin');?></label>
|
554 |
</span>
|
555 |
</p>
|
556 |
</td>
|
569 |
<p class="form-field wpallimport-radio-field" style="padding: 0 !important; position: relative; left: -100%; width: 200%;">
|
570 |
<span class='in_variations' style="margin-left:0px;">
|
571 |
<input type="checkbox" name="variable_in_variations[]" id="variable_in_variations_0" checked="checked" style="float: left;" value="1"/>
|
572 |
+
<label for="variable_in_variations_0"><?php _e('In Variations','wpai_woocommerce_addon_plugin');?></label>
|
573 |
</span>
|
574 |
<span class='is_visible'>
|
575 |
<input type="checkbox" name="variable_is_visible[]" id="variable_is_visible_0" checked="checked" style="float:left;" value="1"/>
|
576 |
+
<label for="variable_is_visible_0"><?php _e('Is Visible','wpai_woocommerce_addon_plugin');?></label>
|
577 |
</span>
|
578 |
<span class='is_taxonomy'>
|
579 |
<input type="checkbox" name="variable_is_taxonomy[]" id="variable_is_taxonomy_0" checked="checked" style="float:left;" value="1"/>
|
580 |
+
<label for="variable_is_taxonomy_0"><?php _e('Taxonomy','wpai_woocommerce_addon_plugin');?></label>
|
581 |
</span>
|
582 |
<span class='is_create_taxonomy'>
|
583 |
<input type="checkbox" name="variable_create_taxonomy_in_not_exists[]" id="variable_create_taxonomy_in_not_exists_0" checked="checked" style="float:left;" value="1"/>
|
584 |
+
<label for="variable_create_taxonomy_in_not_exists_0"><?php _e('Auto-Create Terms','wpai_woocommerce_addon_plugin');?></label>
|
585 |
</span>
|
586 |
</p>
|
587 |
</td>
|
599 |
<p class="form-field wpallimport-radio-field" style="padding: 0 !important; position: relative; left: -100%; width: 200%;">
|
600 |
<span class='in_variations' style="margin-left:0px;">
|
601 |
<input type="checkbox" name="variable_in_variations[]" checked="checked" style="float: left;" value="1"/>
|
602 |
+
<label for=""><?php _e('In Variations','wpai_woocommerce_addon_plugin');?></label>
|
603 |
</span>
|
604 |
<span class='is_visible'>
|
605 |
<input type="checkbox" name="variable_is_visible[]" checked="checked" style="float: left;" value="1"/>
|
606 |
+
<label for=""><?php _e('Is Visible','wpai_woocommerce_addon_plugin');?></label>
|
607 |
</span>
|
608 |
<span class='is_taxonomy'>
|
609 |
<input type="checkbox" name="variable_is_taxonomy[]" checked="checked" style="float: left;" value="1"/>
|
610 |
+
<label for=""><?php _e('Taxonomy','wpai_woocommerce_addon_plugin');?></label>
|
611 |
</span>
|
612 |
<span class='is_create_taxonomy'>
|
613 |
<input type="checkbox" name="variable_create_taxonomy_in_not_exists[]" checked="checked" style="float: left;" value="1"/>
|
614 |
+
<label for=""><?php _e('Auto-Create Terms','wpai_woocommerce_addon_plugin');?></label>
|
615 |
</span>
|
616 |
</p>
|
617 |
</td>
|
618 |
<td class="action remove"><a href="#remove" style="top: 9px;"></a></td>
|
619 |
</tr>
|
620 |
<tr>
|
621 |
+
<td colspan="3"><a href="#add" title="<?php _e('add', 'wpai_woocommerce_addon_plugin')?>" class="action add-new-custom"><?php _e('Add more', 'wpai_woocommerce_addon_plugin') ?></a></td>
|
622 |
</tr>
|
623 |
</tbody>
|
624 |
</table>
|
632 |
<div class="variations_tag">
|
633 |
<input type="hidden" name="variations_tagno" value="<?php echo (!empty($tagno)) ? $tagno : 0; ?>" />
|
634 |
<div class="title">
|
635 |
+
<?php printf(__('No matching elements found for XPath expression specified', 'wpai_woocommerce_addon_plugin'), (!empty($tagno)) ? $tagno : 0, (!empty($variation_list_count)) ? $variation_list_count : 0); ?>
|
636 |
</div>
|
637 |
<div class="clear"></div>
|
638 |
<div class="xml resetable"></div>
|
643 |
</div>
|
644 |
</div>
|
645 |
|
646 |
+
<div class="clear" style="margin-top:5px;"></div>
|
647 |
+
|
648 |
+
</div>
|
649 |
+
|
650 |
+
<div class="options_group variations_are_not_child_elements">
|
651 |
+
<p class="form-field wpallimport-radio-field">
|
652 |
+
<label><?php _e("Manage stock?"); ?></label>
|
653 |
+
</p>
|
654 |
+
<p class="form-field wpallimport-radio-field">
|
655 |
+
<input type="radio" id="is_variation_product_manage_stock_yes" class="switcher" name="is_variation_product_manage_stock" value="yes" <?php echo 'yes' == $post['is_variation_product_manage_stock'] ? 'checked="checked"': '' ?>/>
|
656 |
+
<label for="is_variation_product_manage_stock_yes"><?php _e("Yes"); ?></label>
|
657 |
+
</p>
|
658 |
+
<p class="form-field wpallimport-radio-field">
|
659 |
+
<input type="radio" id="is_variation_product_manage_stock_no" class="switcher" name="is_variation_product_manage_stock" value="no" <?php echo 'no' == $post['is_variation_product_manage_stock'] ? 'checked="checked"': '' ?>/>
|
660 |
+
<label for="is_variation_product_manage_stock_no"><?php _e("No"); ?></label>
|
661 |
+
</p>
|
662 |
+
<div class="form-field wpallimport-radio-field">
|
663 |
+
<input type="radio" id="is_variation_product_manage_stock_xpath" class="switcher" name="is_variation_product_manage_stock" value="xpath" <?php echo 'xpath' == $post['is_variation_product_manage_stock'] ? 'checked="checked"': '' ?>/>
|
664 |
+
<label for="is_variation_product_manage_stock_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
665 |
+
<span class="wpallimport-clear"></span>
|
666 |
+
<div class="switcher-target-is_variation_product_manage_stock_xpath set_with_xpath" style="width:390px;">
|
667 |
+
<span class="wpallimport-slide-content" style="padding-left:0;">
|
668 |
+
<input type="text" class="smaller-text" name="single_variation_product_manage_stock" style="width:345px;" value="<?php echo esc_attr($post['single_variation_product_manage_stock']) ?>"/>
|
669 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
670 |
+
</span>
|
671 |
+
</div>
|
672 |
+
</div>
|
673 |
+
</div>
|
674 |
+
|
675 |
+
<div class="options_group variation_stock_fields variations_are_not_child_elements">
|
676 |
+
<p class="form-field">
|
677 |
+
<label style="width:150px;"><?php _e('Stock Qty', 'wpai_woocommerce_addon_plugin');?></label>
|
678 |
+
<input type="text" value="<?php echo esc_attr($post['variation_stock']) ?>" style="" name="variation_stock" class="short">
|
679 |
+
</p>
|
680 |
+
</div>
|
681 |
+
|
682 |
+
<div class="options_group variations_are_not_child_elements">
|
683 |
+
<p class="form-field wpallimport-radio-field">
|
684 |
+
<label><?php _e("Stock status"); ?></label>
|
685 |
+
</p>
|
686 |
+
<p class="form-field wpallimport-radio-field">
|
687 |
+
<input type="radio" id="variation_stock_status_in_stock" class="switcher" name="variation_stock_status" value="instock" <?php echo 'instock' == $post['variation_stock_status'] ? 'checked="checked"': '' ?>/>
|
688 |
+
<label for="variation_stock_status_in_stock"><?php _e("In stock"); ?></label>
|
689 |
+
</p>
|
690 |
+
<p class="form-field wpallimport-radio-field">
|
691 |
+
<input type="radio" id="variation_stock_status_out_of_stock" class="switcher" name="variation_stock_status" value="outofstock" <?php echo 'outofstock' == $post['variation_stock_status'] ? 'checked="checked"': '' ?>/>
|
692 |
+
<label for="variation_stock_status_out_of_stock"><?php _e("Out of stock"); ?></label>
|
693 |
+
</p>
|
694 |
+
<p class="form-field wpallimport-radio-field">
|
695 |
+
<input type="radio" id="variation_stock_status_auto" class="switcher" name="variation_stock_status" value="auto" <?php echo 'auto' == $post['variation_stock_status'] ? 'checked="checked"': '' ?>/>
|
696 |
+
<label for="variation_stock_status_auto" style="width:100px;"><?php _e("Set automatically"); ?></label>
|
697 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('Set the stock status to In Stock for positive Stock Qty values, and Out Of Stock if Stock Qty is 0 or blank.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:3px;">?</a>
|
698 |
+
</p>
|
699 |
+
<div class="form-field wpallimport-radio-field">
|
700 |
+
<input type="radio" id="variation_stock_status_xpath" class="switcher" name="variation_stock_status" value="xpath" <?php echo 'xpath' == $post['variation_stock_status'] ? 'checked="checked"': '' ?>/>
|
701 |
+
<label for="variation_stock_status_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
702 |
+
<span class="wpallimport-clear"></span>
|
703 |
+
<div class="switcher-target-variation_stock_status_xpath set_with_xpath" style="width:390px;">
|
704 |
+
<span class="wpallimport-slide-content" style="padding-left:0;">
|
705 |
+
<input type="text" class="smaller-text" name="single_variation_stock_status" style="width:345px;" value="<?php echo esc_attr($post['single_variation_stock_status']) ?>"/>
|
706 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'instock\', \'outofstock\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
707 |
+
</span>
|
708 |
+
</div>
|
709 |
+
</div>
|
710 |
</div>
|
711 |
|
712 |
<div class="options_group">
|
713 |
|
714 |
+
<p class="form-field"><?php _e('Variation Enabled','wpai_woocommerce_addon_plugin');?><a href="#help" class="wpallimport-help" title="<?php _e('This option is the same as the Enabled checkbox when editing an individual variation in WooCommerce.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:0px;">?</a></p>
|
715 |
|
716 |
<p class="form-field wpallimport-radio-field">
|
717 |
<input type="radio" id="product_enabled_yes" class="switcher" name="is_product_enabled" value="yes" <?php echo 'yes' == $post['is_product_enabled'] ? 'checked="checked"': '' ?>/>
|
723 |
</p>
|
724 |
<div class="form-field wpallimport-radio-field">
|
725 |
<input type="radio" id="product_enabled_xpath" class="switcher" name="is_product_enabled" value="xpath" <?php echo 'xpath' == $post['is_product_enabled'] ? 'checked="checked"': '' ?>/>
|
726 |
+
<label for="product_enabled_xpath"><?php _e('Set with XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
727 |
<span class="wpallimport-clear"></span>
|
728 |
<div class="switcher-target-product_enabled_xpath set_with_xpath">
|
729 |
<span class="wpallimport-slide-content" style="padding-left:0;">
|
730 |
<input type="text" class="smaller-text" name="single_product_enabled" style="width:300px;" value="<?php echo esc_attr($post['single_product_enabled']) ?>"/>
|
731 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The value of presented XPath should be one of the following: (\'yes\', \'no\').', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
732 |
</span>
|
733 |
</div>
|
734 |
</div>
|
735 |
+
</div>
|
736 |
+
|
737 |
+
<div class="options_group">
|
738 |
+
|
739 |
+
<div class="clear"></div>
|
740 |
|
741 |
<p class="form-field wpallimport-radio-field">
|
742 |
+
<input type="radio" id="set_default_yes" class="switcher" name="is_default_attributes" value="1" <?php echo $post['is_default_attributes'] ? 'checked="checked"': '' ?>/>
|
743 |
+
<label for="set_default_yes" style="width: 400px;"><?php _e("Set the default selection in the attributes dropdowns.", 'wpai_woocommerce_addon_plugin'); ?></label>
|
744 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('The attributes for the first variation will be automatically selected on the frontend.', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:2px;">?</a>
|
745 |
</p>
|
746 |
+
<div class="switcher-target-set_default_yes set_with_xpath" style="padding-left:17px;">
|
747 |
+
<p class="form-field wpallimport-radio-field">
|
748 |
+
<input type="radio" id="set_default_first" name="default_attributes_type" value="first" <?php echo ($post['default_attributes_type'] == 'first') ? 'checked="checked"': '' ?>/>
|
749 |
+
<label for="set_default_first" style="width: 90%;"><?php _e("Set first variation as the default selection.", "wpai_woocommerce_addon_plugin"); ?></label>
|
750 |
+
</p>
|
751 |
+
<p class="form-field wpallimport-radio-field">
|
752 |
+
<input type="radio" id="set_default_instock" name="default_attributes_type" value="instock" <?php echo ($post['default_attributes_type'] == 'instock') ? 'checked="checked"': '' ?>/>
|
753 |
+
<label for="set_default_instock" style="width: 90%;"><?php _e("Set first in stock variation as the default selection.", "wpai_woocommerce_addon_plugin"); ?></label>
|
754 |
+
</p>
|
755 |
+
</div>
|
756 |
<p class="form-field wpallimport-radio-field">
|
757 |
+
<input type="radio" id="set_default_no" class="switcher" name="is_default_attributes" value="0" <?php echo ! $post['is_default_attributes'] ? 'checked="checked"': '' ?>/>
|
758 |
+
<label for="set_default_no" style="width: 90%;"><?php _e("Do not set default selections for the dropdowns.", "wpai_woocommerce_addon_plugin"); ?></label>
|
759 |
</p>
|
760 |
+
|
761 |
<p class="form-field wpallimport-radio-field">
|
762 |
<input type="hidden" name="make_simple_product" value="0" />
|
763 |
<input type="checkbox" id="make_simple_product" name="make_simple_product" value="1" <?php echo $post['make_simple_product'] ? 'checked="checked"' : '' ?> />
|
764 |
+
<label for="make_simple_product" style="width:340px;"><?php _e('Create products with no variations as simple products.', 'wpai_woocommerce_addon_plugin') ?></label>
|
765 |
+
</p>
|
766 |
+
<p class="form-field wpallimport-radio-field">
|
767 |
+
<input type="hidden" name="put_variation_image_to_gallery" value="0" />
|
768 |
+
<input type="checkbox" id="put_variation_image_to_gallery" name="put_variation_image_to_gallery" value="1" <?php echo $post['put_variation_image_to_gallery'] ? 'checked="checked"' : '' ?> />
|
769 |
+
<label for="put_variation_image_to_gallery" style="width:340px;"><?php _e('Save variation image to the gallery.', 'wpai_woocommerce_addon_plugin') ?></label>
|
770 |
</p>
|
771 |
<p class="form-field wpallimport-radio-field set_parent_stock_option" style="display:none;">
|
772 |
<input type="hidden" name="set_parent_stock" value="0" />
|
773 |
<input type="checkbox" id="set_parent_stock" name="set_parent_stock" value="1" <?php echo $post['set_parent_stock'] ? 'checked="checked"' : '' ?> />
|
774 |
+
<label for="set_parent_stock" style="width: 435px;"><?php _e('Set _stock value for parent product to the _stock value for the first variation.', 'wpai_woocommerce_addon_plugin') ?></label>
|
775 |
+
<a href="#help" class="wpallimport-help" title="<?php _e('This option works when there are no parent products in your feed ( cases 2 and 4 on Variations tab).', 'wpai_woocommerce_addon_plugin') ?>" style="position:relative; top:1px;">?</a>
|
776 |
</p>
|
777 |
|
778 |
</div>
|
views/admin/import/index.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<div class="wpallimport-collapsed closed">
|
2 |
<div class="wpallimport-content-section">
|
3 |
<div class="wpallimport-collapsed-header">
|
4 |
-
<h3><?php _e('WooCommerce Add-On','
|
5 |
</div>
|
6 |
<div class="wpallimport-collapsed-content" style="padding:0;">
|
7 |
<div class="wpallimport-collapsed-content-inner">
|
@@ -13,38 +13,38 @@
|
|
13 |
<span>
|
14 |
<div class="main_choise" style="padding:0px; margin-right:0px;">
|
15 |
<input type="radio" id="multiple_product_type_yes" class="switcher" name="is_multiple_product_type" value="yes" <?php echo 'no' != $post['is_multiple_product_type'] ? 'checked="checked"': '' ?>/>
|
16 |
-
<label for="multiple_product_type_yes"><?php _e('Product Type', '
|
17 |
</div>
|
18 |
<div class="switcher-target-multiple_product_type_yes" style="float:left;">
|
19 |
<div class="input">
|
20 |
<select name="multiple_product_type" id="product-type">
|
21 |
<optgroup label="Product Type">
|
22 |
-
<option value="simple" <?php echo 'simple' == $post['multiple_product_type'] ? 'selected="selected"': '' ?>><?php _e('Simple product', '
|
23 |
-
<option value="grouped" <?php echo 'grouped' == $post['multiple_product_type'] ? 'selected="selected"': '' ?>><?php _e('Grouped product','
|
24 |
-
<option value="external" <?php echo 'external' == $post['multiple_product_type'] ? 'selected="selected"': '' ?>><?php _e('External/Affiliate product','
|
25 |
-
<option value="variable" <?php echo 'variable' == $post['multiple_product_type'] ? 'selected="selected"': '' ?>><?php _e('Variable product','
|
26 |
</optgroup>
|
27 |
</select>
|
28 |
</div>
|
29 |
</div>
|
30 |
<div class="main_choise" style="padding:0px; margin-left:40px;">
|
31 |
<input type="radio" id="multiple_product_type_no" class="switcher" name="is_multiple_product_type" value="no" <?php echo 'no' == $post['is_multiple_product_type'] ? 'checked="checked"': '' ?> disabled="disabled"/>
|
32 |
-
<label for="multiple_product_type_no"><?php _e('Set Product Type With XPath', '
|
33 |
</div>
|
34 |
<div class="switcher-target-multiple_product_type_no" style="float:left;">
|
35 |
<div class="input">
|
36 |
<input type="text" class="smaller-text" name="single_product_type" style="width:300px;" value="<?php echo esc_attr($post['single_product_type']) ?>"/>
|
37 |
-
<a href="#help" class="wpallimport-help" style="top: -1px;" title="<?php _e('The value of presented XPath should be one of the following: (\'simple\', \'grouped\', \'external\', \'variable\').', '
|
38 |
</div>
|
39 |
</div>
|
40 |
<!--div style="float:right;">
|
41 |
<label class="show_if_simple" for="_virtual" style="border-right:none;">
|
42 |
<input type="hidden" name="_virtual" value="0"/>
|
43 |
-
<?php _e('Virtual','
|
44 |
</label>
|
45 |
<label class="show_if_simple" for="_downloadable">
|
46 |
<input type="hidden" name="_downloadable" value="0"/>
|
47 |
-
<?php _e('Downloadable','
|
48 |
</label>
|
49 |
</div-->
|
50 |
</span>
|
@@ -55,21 +55,21 @@
|
|
55 |
|
56 |
<ul style="" class="product_data_tabs wc-tabs">
|
57 |
|
58 |
-
<li class="general_options hide_if_grouped active"><a href="javascript:void(0);" rel="general_product_data"><?php _e('General','
|
59 |
|
60 |
-
<li class="inventory_tab show_if_simple show_if_variable show_if_grouped inventory_options" style="display: block;"><a href="javascript:void(0);" rel="inventory_product_data"><?php _e('Inventory', '
|
61 |
|
62 |
-
<li class="shipping_tab shipping_options hide_if_grouped hide_if_external"><a href="javascript:void(0);" rel="shipping_product_data"><?php _e('Shipping', '
|
63 |
|
64 |
-
<li class="linked_product_tab linked_product_options"><a href="javascript:void(0);" rel="linked_product_data"><?php _e('Linked Products', '
|
65 |
|
66 |
-
<li class="attributes_tab attribute_options"><a href="javascript:void(0);" rel="woocommerce_attributes"><?php _e('Attributes','
|
67 |
|
68 |
-
<li class="advanced_tab advanced_options"><a href="javascript:void(0);" rel="advanced_product_data"><?php _e('Advanced','
|
69 |
|
70 |
-
<li class="variations_tab show_if_variable variation_options"><a title="Variations for variable products are defined here." href="javascript:void(0);" rel="variable_product_options"><?php _e('Variations','
|
71 |
|
72 |
-
<li class="options_tab advanced_options"><a title="Variations for variable products are defined here." href="javascript:void(0);" rel="add_on_options"><?php _e('Add-On Options', '
|
73 |
|
74 |
<?php //do_action('pmwi_tab_header'); ?>
|
75 |
|
1 |
<div class="wpallimport-collapsed closed">
|
2 |
<div class="wpallimport-content-section">
|
3 |
<div class="wpallimport-collapsed-header">
|
4 |
+
<h3><?php _e('WooCommerce Add-On','wpai_woocommerce_addon_plugin');?></h3>
|
5 |
</div>
|
6 |
<div class="wpallimport-collapsed-content" style="padding:0;">
|
7 |
<div class="wpallimport-collapsed-content-inner">
|
13 |
<span>
|
14 |
<div class="main_choise" style="padding:0px; margin-right:0px;">
|
15 |
<input type="radio" id="multiple_product_type_yes" class="switcher" name="is_multiple_product_type" value="yes" <?php echo 'no' != $post['is_multiple_product_type'] ? 'checked="checked"': '' ?>/>
|
16 |
+
<label for="multiple_product_type_yes"><?php _e('Product Type', 'wpai_woocommerce_addon_plugin' )?></label>
|
17 |
</div>
|
18 |
<div class="switcher-target-multiple_product_type_yes" style="float:left;">
|
19 |
<div class="input">
|
20 |
<select name="multiple_product_type" id="product-type">
|
21 |
<optgroup label="Product Type">
|
22 |
+
<option value="simple" <?php echo 'simple' == $post['multiple_product_type'] ? 'selected="selected"': '' ?>><?php _e('Simple product', 'wpai_woocommerce_addon_plugin');?></option>
|
23 |
+
<option value="grouped" <?php echo 'grouped' == $post['multiple_product_type'] ? 'selected="selected"': '' ?>><?php _e('Grouped product','wpai_woocommerce_addon_plugin');?></option>
|
24 |
+
<option value="external" <?php echo 'external' == $post['multiple_product_type'] ? 'selected="selected"': '' ?>><?php _e('External/Affiliate product','wpai_woocommerce_addon_plugin');?></option>
|
25 |
+
<option value="variable" <?php echo 'variable' == $post['multiple_product_type'] ? 'selected="selected"': '' ?>><?php _e('Variable product','wpai_woocommerce_addon_plugin');?></option>
|
26 |
</optgroup>
|
27 |
</select>
|
28 |
</div>
|
29 |
</div>
|
30 |
<div class="main_choise" style="padding:0px; margin-left:40px;">
|
31 |
<input type="radio" id="multiple_product_type_no" class="switcher" name="is_multiple_product_type" value="no" <?php echo 'no' == $post['is_multiple_product_type'] ? 'checked="checked"': '' ?> disabled="disabled"/>
|
32 |
+
<label for="multiple_product_type_no"><?php _e('Set Product Type With XPath', 'wpai_woocommerce_addon_plugin' )?></label>
|
33 |
</div>
|
34 |
<div class="switcher-target-multiple_product_type_no" style="float:left;">
|
35 |
<div class="input">
|
36 |
<input type="text" class="smaller-text" name="single_product_type" style="width:300px;" value="<?php echo esc_attr($post['single_product_type']) ?>"/>
|
37 |
+
<a href="#help" class="wpallimport-help" style="top: -1px;" title="<?php _e('The value of presented XPath should be one of the following: (\'simple\', \'grouped\', \'external\', \'variable\').', 'wpai_woocommerce_addon_plugin') ?>">?</a>
|
38 |
</div>
|
39 |
</div>
|
40 |
<!--div style="float:right;">
|
41 |
<label class="show_if_simple" for="_virtual" style="border-right:none;">
|
42 |
<input type="hidden" name="_virtual" value="0"/>
|
43 |
+
<?php _e('Virtual','wpai_woocommerce_addon_plugin');?>: <input type="checkbox" id="_virtual" name="_virtual" <?php echo ($post['_virtual']) ? 'checked="checked"' : ''; ?>>
|
44 |
</label>
|
45 |
<label class="show_if_simple" for="_downloadable">
|
46 |
<input type="hidden" name="_downloadable" value="0"/>
|
47 |
+
<?php _e('Downloadable','wpai_woocommerce_addon_plugin');?>: <input type="checkbox" id="_downloadable" name="_downloadable" <?php echo ($post['_downloadable']) ? 'checked="checked"' : ''; ?>>
|
48 |
</label>
|
49 |
</div-->
|
50 |
</span>
|
55 |
|
56 |
<ul style="" class="product_data_tabs wc-tabs">
|
57 |
|
58 |
+
<li class="general_options hide_if_grouped active"><a href="javascript:void(0);" rel="general_product_data"><?php _e('General','wpai_woocommerce_addon_plugin');?></a></li>
|
59 |
|
60 |
+
<li class="inventory_tab show_if_simple show_if_variable show_if_grouped inventory_options" style="display: block;"><a href="javascript:void(0);" rel="inventory_product_data"><?php _e('Inventory', 'wpai_woocommerce_addon_plugin');?></a></li>
|
61 |
|
62 |
+
<li class="shipping_tab shipping_options hide_if_grouped hide_if_external"><a href="javascript:void(0);" rel="shipping_product_data"><?php _e('Shipping', 'wpai_woocommerce_addon_plugin');?></a></li>
|
63 |
|
64 |
+
<li class="linked_product_tab linked_product_options"><a href="javascript:void(0);" rel="linked_product_data"><?php _e('Linked Products', 'wpai_woocommerce_addon_plugin');?></a></li>
|
65 |
|
66 |
+
<li class="attributes_tab attribute_options"><a href="javascript:void(0);" rel="woocommerce_attributes"><?php _e('Attributes','wpai_woocommerce_addon_plugin');?></a></li>
|
67 |
|
68 |
+
<li class="advanced_tab advanced_options"><a href="javascript:void(0);" rel="advanced_product_data"><?php _e('Advanced','wpai_woocommerce_addon_plugin');?></a></li>
|
69 |
|
70 |
+
<li class="variations_tab show_if_variable variation_options"><a title="Variations for variable products are defined here." href="javascript:void(0);" rel="variable_product_options"><?php _e('Variations','wpai_woocommerce_addon_plugin');?></a></li>
|
71 |
|
72 |
+
<li class="options_tab advanced_options"><a title="Variations for variable products are defined here." href="javascript:void(0);" rel="add_on_options"><?php _e('Add-On Options', 'wpai_woocommerce_addon_plugin');?></a></li>
|
73 |
|
74 |
<?php //do_action('pmwi_tab_header'); ?>
|
75 |
|