YITH WooCommerce Wishlist - Version 1.0.5

Version Description

  • Added: Shared wishlists can be seens also by not logged in users
  • Added: Support for WPML String translation
  • Updated: German translation by Stephanie Schlieske
  • Fixed: Add to cart button does not appear if the product is out of stock
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Wishlist
Version 1.0.5
Comparing to
See all releases

Code changes from version 1.0.4 to 1.0.5

README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: wishlist, woocommerce, products, themes, yit, e-commerce, shop
5
  Requires at least: 3.5.1
6
  Tested up to: 3.5.1
7
- Stable tag: 1.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -21,9 +21,9 @@ Working demo are available:
21
 
22
  **[LIVE DEMO 1](http://demo.yithemes.com/room09/product/africa-style/)** - **[LIVE DEMO 2](http://demo.yithemes.com/bazar/shop/ankle-shoes/)**
23
 
24
-
25
  Full documentation is available [here](http://yithemes.com/docs-plugins/yith_wishlist/).
26
 
 
27
 
28
  = Installation =
29
 
@@ -74,6 +74,12 @@ Yes, you can change the colors of background, text and border or apply a custom
74
 
75
  == Changelog ==
76
 
 
 
 
 
 
 
77
  = 1.0.4 =
78
 
79
  * Added: partial Ukrainian translation
4
  Tags: wishlist, woocommerce, products, themes, yit, e-commerce, shop
5
  Requires at least: 3.5.1
6
  Tested up to: 3.5.1
7
+ Stable tag: 1.0.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
21
 
22
  **[LIVE DEMO 1](http://demo.yithemes.com/room09/product/africa-style/)** - **[LIVE DEMO 2](http://demo.yithemes.com/bazar/shop/ankle-shoes/)**
23
 
 
24
  Full documentation is available [here](http://yithemes.com/docs-plugins/yith_wishlist/).
25
 
26
+ This plugin is 100% compatible with [WPML](http://wpml.org/?aid=24889&affiliate_key=Qn1wDeBNTcZV)
27
 
28
  = Installation =
29
 
74
 
75
  == Changelog ==
76
 
77
+ = 1.0.5 =
78
+ * Added: Shared wishlists can be seens also by not logged in users
79
+ * Added: Support for WPML String translation
80
+ * Updated: German translation by Stephanie Schlieske
81
+ * Fixed: Add to cart button does not appear if the product is out of stock
82
+
83
  = 1.0.4 =
84
 
85
  * Added: partial Ukrainian translation
class.yith-wcwl-init.php CHANGED
@@ -218,7 +218,7 @@ if( !class_exists( 'YITH_WCWL_Init' ) ) {
218
  public function install() {
219
  if( $this->db_version != get_option( 'yith_wcwl_db_version' ) || !$this->_yith_wcwl_install->is_installed() ) {
220
  register_activation_hook( YITH_WCWL_DIR, array( $this->_yith_wcwl_install, 'init' ) );
221
- $this->_yith_wcwl_install->init();
222
  $this->_yith_wcwl_install->default_options( $this->options );
223
 
224
  // Plugin installed
218
  public function install() {
219
  if( $this->db_version != get_option( 'yith_wcwl_db_version' ) || !$this->_yith_wcwl_install->is_installed() ) {
220
  register_activation_hook( YITH_WCWL_DIR, array( $this->_yith_wcwl_install, 'init' ) );
221
+ //$this->_yith_wcwl_install->init();
222
  $this->_yith_wcwl_install->default_options( $this->options );
223
 
224
  // Plugin installed
class.yith-wcwl-ui.php CHANGED
@@ -6,152 +6,152 @@
6
  * @package YITH WooCommerce Wishlist
7
  * @version 1.0.0
8
  */
9
-
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
11
 
12
  if( !class_exists( 'YITH_WCWL_UI' ) ) {
13
- class YITH_WCWL_UI {
14
-
15
- /**
16
- * Build the popup message HTML/jQuery.
17
- *
18
- * @return string
19
- * @static
20
- * @since 1.0.0
21
- */
22
- public static function popup_message() {
23
- ob_start() ?>
24
- <script type="text/javascript">
25
- if( !jQuery( '#yith-wcwl-popup-message' ).length ) {
26
- jQuery( 'body' ).prepend(
27
- '<div id="yith-wcwl-popup-message" style="display:none;">' +
28
- '<div id="yith-wcwl-message"></div>' +
29
  '</div>'
30
- );
31
- }
32
- </script>
33
- <?php
34
- return ob_get_clean();
35
- }
36
-
37
- /**
38
- * Build the "Add to Wishlist" HTML
39
- *
40
- * @param string $url
41
- * @param string $product_type
42
- * @param bool $exists
43
- * @return string
44
- * @static
45
- * @since 1.0.0
46
- */
47
- public static function add_to_wishlist_button( $url, $product_type, $exists ) {
48
- global $yith_wcwl, $product;
49
-
50
- $label = apply_filters( 'yith_wcwl_button_label', get_option( 'yith_wcwl_add_to_wishlist_text' ) );
51
- $icon = get_option( 'yith_wcwl_add_to_wishlist_icon' ) != 'none' ? '<i class="' . get_option( 'yith_wcwl_add_to_wishlist_icon' ) . '"></i>' : '';
52
-
53
- $classes = get_option( 'yith_wcwl_use_button' ) == 'yes' ? 'class="add_to_wishlist single_add_to_wishlist button alt"' : 'class="add_to_wishlist"';
54
-
55
- $html = '<div class="yith-wcwl-add-to-wishlist">';
56
- $html .= '<div class="yith-wcwl-add-button'; // the class attribute is closed in the next row
57
-
58
- $html .= $exists ? ' hide" style="display:none;"' : ' show"';
59
-
60
- $html .= '><a href="' . esc_url( $yith_wcwl->get_addtowishlist_url() ) . '" data-product-id="' . $product->id . '" data-product-type="' . $product_type . '" ' . $classes . ' >' . $icon . $label . '</a>';
61
- $html .= '<img src="' . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . '" class="ajax-loading" id="add-items-ajax-loading" alt="" width="16" height="16" style="visibility:hidden" />';
62
- $html .= '</div>';
63
-
64
- $html .= '<div class="yith-wcwl-wishlistaddedbrowse hide" style="display:none;"><span class="feedback">' . __( 'Product added!','yit' ) . '</span> <a href="' . esc_url( $url ) . '">' . apply_filters( 'yith-wcwl-browse-wishlist-label', __( 'Browse Wishlist', 'yit' ) ) . '</a></div>';
65
- $html .= '<div class="yith-wcwl-wishlistexistsbrowse ' . ( $exists ? 'show' : 'hide' ) . '" style="display:' . ( $exists ? 'block' : 'none' ) . '"><span class="feedback">' . __( 'The product is already in the wishlist!', 'yit' ) . '</span> <a href="' . esc_url( $url ) . '">' . apply_filters( 'yith-wcwl-browse-wishlist-label', __( 'Browse Wishlist', 'yit' ) ) . '</a></div>';
66
- $html .= '<div style="clear:both"></div><div class="yith-wcwl-wishlistaddresponse"></div>';
67
-
68
- $html .= '</div>';
69
- $html .= '<div class="clear"></div>';
70
-
71
- return $html;
72
  }
73
-
74
- /**
75
- * Build the "Add to cart" HTML.
76
- *
77
- * @param string $url
78
- * @param string $stock_status
79
- * @param string $type
80
- * @return string
81
- * @static
82
- * @since 1.0.0
83
- */
84
- public static function add_to_cart_button( $product_id, $stock_status ) {
85
- global $yith_wcwl;
86
-
87
- if ( function_exists( 'get_product' ) )
88
- $product = get_product( $product_id );
89
- else
90
- $product = new WC_Product( $product_id );
91
-
92
- $url = $product->product_type == 'external' ? $yith_wcwl->get_affiliate_product_url( $product_id ) : $yith_wcwl->get_addtocart_url( $product_id );
93
- $label = $product->product_type == 'variable' ? apply_filters( 'variable_add_to_cart_text', __('Select options', 'yit') ) : apply_filters( 'yith_wcwl_add_to_cart_label', get_option( 'yith_wcwl_add_to_cart_text' ) );
94
- $icon = get_option( 'yith_wcwl_use_button' ) == 'yes' && get_option( 'yith_wcwl_add_to_cart_icon' ) != 'none' ? '<i class="' . get_option( 'yith_wcwl_add_to_cart_icon' ) . '"></i>' : '';
95
-
96
- $cartlink = '';
97
- $redirect_to_cart = get_option( 'yith_wcwl_redirect_cart' ) == 'yes' && $product->product_type != 'variable' ? 'true' : 'false';
98
- $style = ''; //indicates the style (background-color and font color)
99
-
100
- if( get_option( 'yith_wcwl_use_button' ) == 'yes' ) {
101
- if( $product->product_type == 'external' ) {
102
- $cartlink .= '<a target="_blank" class="add_to_cart button alt" href="' . $url . '"';
103
- } else {
104
- $cartlink .= '<a class="add_to_cart button alt" onclick="check_for_stock(\'' . $url . '\',\'' . $stock_status . '\',\'' . $redirect_to_cart . '\');"';
105
- }
106
-
107
- $cartlink .= $style . '>' . $icon . $label . '</a>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  } else {
109
- if( $product->product_type == 'external' ) {
110
- $cartlink .= '<a target="_blank" class="add_to_cart button alt" href="' . $url . '">' . $icon . $label . '</a>';
111
- } else {
112
- $cartlink .= '<a class="add_to_cart button alt" href="javascript:void(0);" onclick="check_for_stock(\'' . $url . '\',\'' . $stock_status . '\',\'' . $redirect_to_cart . '\');">' . $icon . $label . '</a>';
113
- }
114
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
 
116
- return $cartlink;
117
- }
118
-
119
- /**
120
- * Build share HTML.
121
- *
122
- * @param string $url
123
- * @return $string
124
- * @static
125
- * @since 1.0.0
126
- */
127
- public static function get_share_links( $url ) {
128
- $normal_url = $url;
129
- $url = urlencode( $url );
130
- $title = urlencode( get_option( 'yith_wcwl_socials_title' ) );
131
- $twitter_summary = str_replace( '%wishlist_url%', '', get_option( 'yith_wcwl_socials_text' ) );
132
- $summary = urlencode( str_replace( '%wishlist_url%', $normal_url, get_option( 'yith_wcwl_socials_text' ) ) );
133
- $imageurl = urlencode( get_option( 'yith_wcwl_socials_image_url' ) );
134
-
135
- $html = '<div class="yith-wcwl-share">';
136
- $html .= apply_filters( 'yith_wcwl_socials_share_title', '<h4>' . __( 'Share on:', 'yit' ) . '</h4>' );
137
- $html .= '<ul>';
138
-
139
- if( get_option( 'yith_wcwl_share_fb' ) )
140
- { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="facebook" href="https://www.facebook.com/sharer.php?s=100&amp;p[title]=' . $title . '&amp;p[url]=' . $url . '&amp;p[summary]=' . $summary . '&amp;p[images][0]=' . $imageurl . '" title="' . __( 'Facebook', 'yit' ) . '"></a></li>'; }
141
-
142
- if( get_option( 'yith_wcwl_share_twitter' ) )
143
- { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="twitter" href="https://twitter.com/share?url=' . $url . '&amp;text=' . $twitter_summary . '" title="' . __( 'Twitter', 'yit' ) . '"></a></li>'; }
144
-
145
- if( get_option( 'yith_wcwl_share_pinterest' ) )
146
- { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="pinterest" href="http://pinterest.com/pin/create/button/?url=' . $url . '&amp;description=' . $summary . '&media=' . $imageurl . '" onclick="window.open(this.href); return false;"></a></li>'; }
147
-
148
- if( get_option( 'yith_wcwl_share_googleplus' ) == 'yes' )
149
- { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="googleplus" href="https://plus.google.com/share?url=' . $url . '&amp;title="' . $title . '" onclick=\'javascript:window.open(this.href, "", "menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600");return false;\'></a></li>'; }
150
-
151
- $html .= '</ul>';
152
- $html .= '</div>';
153
-
154
- return $html;
155
- }
156
  }
 
157
  }
6
  * @package YITH WooCommerce Wishlist
7
  * @version 1.0.0
8
  */
9
+
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
11
 
12
  if( !class_exists( 'YITH_WCWL_UI' ) ) {
13
+ class YITH_WCWL_UI {
14
+
15
+ /**
16
+ * Build the popup message HTML/jQuery.
17
+ *
18
+ * @return string
19
+ * @static
20
+ * @since 1.0.0
21
+ */
22
+ public static function popup_message() {
23
+ ob_start() ?>
24
+ <script type="text/javascript">
25
+ if( !jQuery( '#yith-wcwl-popup-message' ).length ) {
26
+ jQuery( 'body' ).prepend(
27
+ '<div id="yith-wcwl-popup-message" style="display:none;">' +
28
+ '<div id="yith-wcwl-message"></div>' +
29
  '</div>'
30
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  }
32
+ </script>
33
+ <?php
34
+ return ob_get_clean();
35
+ }
36
+
37
+ /**
38
+ * Build the "Add to Wishlist" HTML
39
+ *
40
+ * @param string $url
41
+ * @param string $product_type
42
+ * @param bool $exists
43
+ * @return string
44
+ * @static
45
+ * @since 1.0.0
46
+ */
47
+ public static function add_to_wishlist_button( $url, $product_type, $exists ) {
48
+ global $yith_wcwl, $product;
49
+
50
+ $label = apply_filters( 'yith_wcwl_button_label', get_option( 'yith_wcwl_add_to_wishlist_text' ) );
51
+ $icon = get_option( 'yith_wcwl_add_to_wishlist_icon' ) != 'none' ? '<i class="' . get_option( 'yith_wcwl_add_to_wishlist_icon' ) . '"></i>' : '';
52
+
53
+ $classes = get_option( 'yith_wcwl_use_button' ) == 'yes' ? 'class="add_to_wishlist single_add_to_wishlist button alt"' : 'class="add_to_wishlist"';
54
+
55
+ $html = '<div class="yith-wcwl-add-to-wishlist">';
56
+ $html .= '<div class="yith-wcwl-add-button'; // the class attribute is closed in the next row
57
+
58
+ $html .= $exists ? ' hide" style="display:none;"' : ' show"';
59
+
60
+ $html .= '><a href="' . esc_url( $yith_wcwl->get_addtowishlist_url() ) . '" data-product-id="' . $product->id . '" data-product-type="' . $product_type . '" ' . $classes . ' >' . $icon . $label . '</a>';
61
+ $html .= '<img src="' . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . '" class="ajax-loading" id="add-items-ajax-loading" alt="" width="16" height="16" style="visibility:hidden" />';
62
+ $html .= '</div>';
63
+
64
+ $html .= '<div class="yith-wcwl-wishlistaddedbrowse hide" style="display:none;"><span class="feedback">' . __( 'Product added!','yit' ) . '</span> <a href="' . esc_url( $url ) . '">' . apply_filters( 'yith-wcwl-browse-wishlist-label', __( 'Browse Wishlist', 'yit' ) ) . '</a></div>';
65
+ $html .= '<div class="yith-wcwl-wishlistexistsbrowse ' . ( $exists ? 'show' : 'hide' ) . '" style="display:' . ( $exists ? 'block' : 'none' ) . '"><span class="feedback">' . __( 'The product is already in the wishlist!', 'yit' ) . '</span> <a href="' . esc_url( $url ) . '">' . apply_filters( 'yith-wcwl-browse-wishlist-label', __( 'Browse Wishlist', 'yit' ) ) . '</a></div>';
66
+ $html .= '<div style="clear:both"></div><div class="yith-wcwl-wishlistaddresponse"></div>';
67
+
68
+ $html .= '</div>';
69
+ $html .= '<div class="clear"></div>';
70
+
71
+ return $html;
72
+ }
73
+
74
+ /**
75
+ * Build the "Add to cart" HTML.
76
+ *
77
+ * @param string $url
78
+ * @param string $stock_status
79
+ * @param string $type
80
+ * @return string
81
+ * @static
82
+ * @since 1.0.0
83
+ */
84
+ public static function add_to_cart_button( $product_id, $stock_status ) {
85
+ global $yith_wcwl;
86
+
87
+ if ( function_exists( 'get_product' ) )
88
+ $product = get_product( $product_id );
89
+ else
90
+ $product = new WC_Product( $product_id );
91
+
92
+ $url = $product->product_type == 'external' ? $yith_wcwl->get_affiliate_product_url( $product_id ) : $yith_wcwl->get_addtocart_url( $product_id );
93
+ $label = $product->product_type == 'variable' ? apply_filters( 'variable_add_to_cart_text', __('Select options', 'yit') ) : apply_filters( 'yith_wcwl_add_to_cart_label', get_option( 'yith_wcwl_add_to_cart_text' ) );
94
+ $icon = get_option( 'yith_wcwl_use_button' ) == 'yes' && get_option( 'yith_wcwl_add_to_cart_icon' ) != 'none' ? '<i class="' . get_option( 'yith_wcwl_add_to_cart_icon' ) . '"></i>' : '';
95
+
96
+ $cartlink = '';
97
+ $redirect_to_cart = get_option( 'yith_wcwl_redirect_cart' ) == 'yes' && $product->product_type != 'variable' ? 'true' : 'false';
98
+ $style = ''; //indicates the style (background-color and font color)
99
+
100
+ if( get_option( 'yith_wcwl_use_button' ) == 'yes' ) {
101
+ if( $product->product_type == 'external' ) {
102
+ $cartlink .= '<a target="_blank" class="add_to_cart button alt" href="' . $url . '"';
103
+ } else {
104
+ $cartlink .= '<a class="add_to_cart button alt" onclick="check_for_stock(\'' . $url . '\',\'' . $stock_status . '\',\'' . $redirect_to_cart . '\');"';
105
+ }
106
+
107
+ $cartlink .= $style . '>' . $icon . $label . '</a>';
108
+ } else {
109
+ if( $product->product_type == 'external' ) {
110
+ $cartlink .= '<a target="_blank" class="add_to_cart button alt" href="' . $url . '">' . $icon . $label . '</a>';
111
  } else {
112
+ $cartlink .= '<a class="add_to_cart button alt" href="javascript:void(0);" onclick="check_for_stock(\'' . $url . '\',\'' . $stock_status . '\',\'' . $redirect_to_cart . '\');">' . $icon . $label . '</a>';
 
 
 
 
113
  }
114
+ }
115
+
116
+ return $cartlink;
117
+ }
118
+
119
+ /**
120
+ * Build share HTML.
121
+ *
122
+ * @param string $url
123
+ * @return $string
124
+ * @static
125
+ * @since 1.0.0
126
+ */
127
+ public static function get_share_links( $url ) {
128
+ $normal_url = $url;
129
+ $url = urlencode( $url );
130
+ $title = urlencode( get_option( 'yith_wcwl_socials_title' ) );
131
+ $twitter_summary = str_replace( '%wishlist_url%', '', get_option( 'yith_wcwl_socials_text' ) );
132
+ $summary = urlencode( str_replace( '%wishlist_url%', $normal_url, get_option( 'yith_wcwl_socials_text' ) ) );
133
+ $imageurl = urlencode( get_option( 'yith_wcwl_socials_image_url' ) );
134
+
135
+ $html = '<div class="yith-wcwl-share">';
136
+ $html .= apply_filters( 'yith_wcwl_socials_share_title', '<h4>' . __( 'Share on:', 'yit' ) . '</h4>' );
137
+ $html .= '<ul>';
138
+
139
+ if( get_option( 'yith_wcwl_share_fb' ) )
140
+ { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="facebook" href="https://www.facebook.com/sharer.php?s=100&amp;p[title]=' . $title . '&amp;p[url]=' . $url . '&amp;p[summary]=' . $summary . '&amp;p[images][0]=' . $imageurl . '" title="' . __( 'Facebook', 'yit' ) . '"></a></li>'; }
141
+
142
+ if( get_option( 'yith_wcwl_share_twitter' ) )
143
+ { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="twitter" href="https://twitter.com/share?url=' . $url . '&amp;text=' . $twitter_summary . '" title="' . __( 'Twitter', 'yit' ) . '"></a></li>'; }
144
+
145
+ if( get_option( 'yith_wcwl_share_pinterest' ) )
146
+ { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="pinterest" href="http://pinterest.com/pin/create/button/?url=' . $url . '&amp;description=' . $summary . '&media=' . $imageurl . '" onclick="window.open(this.href); return false;"></a></li>'; }
147
+
148
+ if( get_option( 'yith_wcwl_share_googleplus' ) == 'yes' )
149
+ { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="googleplus" href="https://plus.google.com/share?url=' . $url . '&amp;title="' . $title . '" onclick=\'javascript:window.open(this.href, "", "menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600");return false;\'></a></li>'; }
150
+
151
+ $html .= '</ul>';
152
+ $html .= '</div>';
153
 
154
+ return $html;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  }
156
+ }
157
  }
init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Wishlist
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Wishlist allows you to add Wishlist functionality to your e-commerce.
6
- * Version: 1.0.4
7
  * Author: Your Inspiration Themes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yit
@@ -11,7 +11,7 @@
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Wishlist
14
- * @version 1.0.4
15
  */
16
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
3
  * Plugin Name: YITH WooCommerce Wishlist
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Wishlist allows you to add Wishlist functionality to your e-commerce.
6
+ * Version: 1.0.5
7
  * Author: Your Inspiration Themes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yit
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Wishlist
14
+ * @version 1.0.5
15
  */
16
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
languages/yit-de_DE.mo CHANGED
Binary file
languages/yit-de_DE.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist v1.0.3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-09-04 16:30+0100\n"
6
- "PO-Revision-Date: 2013-09-04 16:31+0100\n"
7
  "Last-Translator: YIThemes <support@yithemes.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -18,113 +18,121 @@ msgstr ""
18
  "X-Generator: Poedit 1.5.5\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
- #: class.yith-wcwl-init.php:105 class.yith-wcwl-install.php:137
 
 
 
 
 
 
 
 
22
  msgid "Wishlist"
23
  msgstr "Wunschliste"
24
 
25
- #: class.yith-wcwl-init.php:335
26
  msgid "Cannot add to the cart as product is Out of Stock!"
27
  msgstr ""
28
  "Gewähltes Produkt ist nicht mehr im Sortiment und kann daher nicht im "
29
  "Warenkorb eingefügt werden. "
30
 
31
- #: class.yith-wcwl-init.php:364
32
  msgid "Wishlist Page"
33
  msgstr "Wunschlistenseite"
34
 
35
- #: class.yith-wcwl-init.php:365
36
  msgid "Page contents: [yith_wcwl_wishlist]"
37
  msgstr "Seiteninhalt: [yith_wcwl_wishlist]"
38
 
39
- #: class.yith-wcwl-init.php:408 class.yith-wcwl-init.php:783
40
  msgid "General Settings"
41
  msgstr "Allgemeine Einstellungen"
42
 
43
- #: class.yith-wcwl-init.php:409 class.yith-wcwl-init.php:885
44
  msgid "Styles"
45
  msgstr "Style"
46
 
47
- #: class.yith-wcwl-init.php:410 class.yith-wcwl-init.php:948
48
  msgid "Socials &amp; Share"
49
  msgstr "Soziale Netzwerke; Teilen"
50
 
51
- #: class.yith-wcwl-init.php:430
52
  msgid "Colors"
53
  msgstr "Farben"
54
 
55
- #: class.yith-wcwl-init.php:457
56
  msgid "\"Add to Wishlist\" button background"
57
  msgstr "\"Zu Wunschliste hinzufügen\" Button Hintergrund"
58
 
59
- #: class.yith-wcwl-init.php:458
60
  msgid "\"Add to Wishlist\" button text"
61
  msgstr "\"Zu Wunschliste hinzufügen\" Button Text"
62
 
63
- #: class.yith-wcwl-init.php:459
64
  msgid "\"Add to Wishlist\" button border"
65
  msgstr "\"Zu Wunschliste hinzufügen\" Button Rahmen"
66
 
67
- #: class.yith-wcwl-init.php:464
68
  msgid "\"Add to Wishlist\" button background (hover)"
69
  msgstr "\"Zu Wunschliste hinzufügen\" Button Hintergrund (hover)"
70
 
71
- #: class.yith-wcwl-init.php:465
72
  msgid "\"Add to Wishlist\" button text (hover)"
73
  msgstr "\"Zu Wunschliste hinzufügen\" Button Text (hover)"
74
 
75
- #: class.yith-wcwl-init.php:466
76
  msgid "\"Add to Wishlist\" button border (hover)"
77
  msgstr "\"Zu Wunschliste hinzufügen\" Button Rahmen (hover)"
78
 
79
- #: class.yith-wcwl-init.php:470
80
  msgid "\"Add to Cart\" button background"
81
  msgstr "\"Zu Warenkorb hinzufügen\" Button Hintergrund"
82
 
83
- #: class.yith-wcwl-init.php:471
84
  msgid "\"Add to Cart\" button text"
85
  msgstr "\"Zu Warenkorb hinzufügen\" Button Text"
86
 
87
- #: class.yith-wcwl-init.php:472
88
  msgid "\"Add to Cart\" button border"
89
  msgstr "\"Zu Warenkorb hinzufügen\" Button Rahmen"
90
 
91
- #: class.yith-wcwl-init.php:477
92
  msgid "\"Add to Cart\" button background (hover)"
93
  msgstr "\"Zu Warenkorb hinzufügen\" Button Hintergrund (hover)"
94
 
95
- #: class.yith-wcwl-init.php:478
96
  msgid "\"Add to Cart\" button text (hover)"
97
  msgstr "\"Zu Warenkorb hinzufügen\" Button Text (hover)"
98
 
99
- #: class.yith-wcwl-init.php:479
100
  msgid "\"Add to Cart\" button border (hover)"
101
  msgstr "\"Zu Warenkorb hinzufügen\" Button Rahmen (hover)"
102
 
103
- #: class.yith-wcwl-init.php:483
104
  msgid "Wishlist table background"
105
  msgstr "Wunschliste Tabellenhintergrund"
106
 
107
- #: class.yith-wcwl-init.php:484
108
  msgid "Wishlist table text"
109
  msgstr "Wunschliste Tabellentext"
110
 
111
- #: class.yith-wcwl-init.php:485
112
  msgid "Wishlist table border"
113
  msgstr "Wunschliste Tabellenrahmen"
114
 
115
- #: class.yith-wcwl-init.php:535
116
  msgid "Settings"
117
  msgstr "Einstellungen"
118
 
119
- #: class.yith-wcwl-init.php:536
120
  msgid "Docs"
121
  msgstr "Dokumentation"
122
 
123
- #: class.yith-wcwl-init.php:786
124
  msgid "Enable YITH Wishlist"
125
  msgstr "Aktiviere YITH Wunschliste"
126
 
127
- #: class.yith-wcwl-init.php:787
128
  #, php-format
129
  msgid ""
130
  "Enable all plugin features. <strong>Be sure that the wishlist page is "
@@ -136,11 +144,11 @@ msgstr ""
136
  "markiert ist.</strong> Bitte lesen Sie die Plugin- <a href=\"%s\" target="
137
  "\"_blank\">Hinweise</a>."
138
 
139
- #: class.yith-wcwl-init.php:794
140
  msgid "Use cookies"
141
  msgstr "Cookies verwenden"
142
 
143
- #: class.yith-wcwl-init.php:795
144
  msgid ""
145
  "Use cookies instead of sessions. With this feature, the wishlist will be "
146
  "available for each not logged user for 30 days. Use the filter "
@@ -152,21 +160,21 @@ msgstr ""
152
  "Verwenden Sie den Filter yith_wcwl_cookie_expiration_time um die "
153
  "Einstellungen für die Laufzeit zu bestimmen (Zeitangabe erforderlich)"
154
 
155
- #: class.yith-wcwl-init.php:802
156
  msgid "Wishlist title"
157
  msgstr "Wunschlistentitel"
158
 
159
- #: class.yith-wcwl-init.php:804 class.yith-wcwl-init.php:805
160
- #: class.yith-wcwl-init.php:981 class.yith-wcwl-init.php:982
161
  #, php-format
162
  msgid "My wishlist on %s"
163
  msgstr "Meine Wunschliste von %s"
164
 
165
- #: class.yith-wcwl-init.php:810
166
  msgid "Position"
167
  msgstr "Position"
168
 
169
- #: class.yith-wcwl-init.php:811
170
  msgid ""
171
  "On variable products you can add it only After \"Add to Cart\" or use the "
172
  "shortcode [yith_wcwl_add_to_wishlist]."
@@ -174,27 +182,27 @@ msgstr ""
174
  "Bei Variablen Produkten kann nur nach \"Add to Cart\" eingetragen werden "
175
  "oder der Shortcode[yith_wcwl_add_to_wishlist] verwendet werden."
176
 
177
- #: class.yith-wcwl-init.php:817
178
  msgid "After \"Add to cart\""
179
  msgstr "Nach \"Add to cart\""
180
 
181
- #: class.yith-wcwl-init.php:818
182
  msgid "After thumbnails"
183
  msgstr "Nach Thumbnails (Miniaturbilder)"
184
 
185
- #: class.yith-wcwl-init.php:819
186
  msgid "After summary"
187
  msgstr "Nach Zusammenfassung"
188
 
189
- #: class.yith-wcwl-init.php:820
190
  msgid "Use shortcode"
191
  msgstr "Shortcode verwenden"
192
 
193
- #: class.yith-wcwl-init.php:825
194
  msgid "Redirect to cart"
195
  msgstr "Weiterleiten zum Warenkorb"
196
 
197
- #: class.yith-wcwl-init.php:826
198
  msgid ""
199
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
200
  "page."
@@ -202,115 +210,100 @@ msgstr ""
202
  "Zum Warenkorb weiterleiten, wenn \"Add to cart\" Button auf der "
203
  "Wunschlistenseite angeklickt wurde"
204
 
205
- #: class.yith-wcwl-init.php:833
206
  msgid "Remove if added to the cart"
207
  msgstr "Entfernen, wenn Produkt zum Warenkorb hinzugefügt wurde"
208
 
209
- #: class.yith-wcwl-init.php:834
210
  msgid "Remove the product from the wishlist if is been added to the cart."
211
  msgstr ""
212
  "Produkt von der Wunschliste enfernen, wenn es zum Warenkorb hinzugefügt wurde"
213
 
214
- #: class.yith-wcwl-init.php:841
215
  msgid "\"Add to Wishlist\" text"
216
  msgstr "\"Zu Wunschliste hinzufügen\" Text"
217
 
218
- #: class.yith-wcwl-init.php:843 class.yith-wcwl-init.php:844
219
  msgid "Add to Wishlist"
220
  msgstr "Zu Wunschliste hinzufügen"
221
 
222
- #: class.yith-wcwl-init.php:849
223
  msgid "\"Add to Cart\" text"
224
  msgstr "\"Auf die Wunschliste setzen\" Text"
225
 
226
- #: class.yith-wcwl-init.php:851 class.yith-wcwl-init.php:852
227
  msgid "Add to Cart"
228
  msgstr "Zum Warenkorb hinzufügen"
229
 
230
- #: class.yith-wcwl-init.php:857
231
- #, fuzzy
232
- msgid "Show Unit price"
233
- msgstr "Preis"
234
-
235
- #: class.yith-wcwl-init.php:865
236
- #, fuzzy
237
- msgid "Show \"Add to Cart\" button"
238
- msgstr "\"Zu Warenkorb hinzufügen\" Button Text"
239
-
240
- #: class.yith-wcwl-init.php:873
241
- #, fuzzy
242
- msgid "Show Stock status"
243
- msgstr "Lagerstatus"
244
-
245
- #: class.yith-wcwl-init.php:888
246
  msgid "Use buttons"
247
  msgstr "Buttons verwenden"
248
 
249
- #: class.yith-wcwl-init.php:889
250
  msgid "Use buttons instead of a simple anchors."
251
  msgstr "Buttons anstatt von einfachen Anchors verwenden"
252
 
253
- #: class.yith-wcwl-init.php:896
254
  msgid "Custom CSS"
255
  msgstr "Benutzerdefiniertes CSS"
256
 
257
- #: class.yith-wcwl-init.php:904
258
  msgid "Use theme style"
259
  msgstr "Theme Design verwenden"
260
 
261
- #: class.yith-wcwl-init.php:905
262
  msgid "Use the theme style."
263
  msgstr "Theme Design verwenden"
264
 
265
- #: class.yith-wcwl-init.php:912
266
  msgid "Buttons rounded corners"
267
  msgstr "Button mit abgerundeten Ecken"
268
 
269
- #: class.yith-wcwl-init.php:913
270
  msgid "Make buttons corner rounded"
271
  msgstr "Button mit abgerundeten Ecken nutzen"
272
 
273
- #: class.yith-wcwl-init.php:920
274
  msgid "\"Add to Wishlist\" icon"
275
  msgstr "\"Zur Wunschliste hinzufügen\" Icon"
276
 
277
- #: class.yith-wcwl-init.php:921
278
  msgid "Add an icon to the \"Add to Wishlist\" button"
279
  msgstr "Ein Icon zu \"Auf die Wunschliste setzen\" Button verwenden"
280
 
281
- #: class.yith-wcwl-init.php:932
282
  msgid "\"Add to Cart\" icon"
283
  msgstr "\"In den Warenkoeb\" Icon"
284
 
285
- #: class.yith-wcwl-init.php:933
286
  msgid "Add an icon to the \"Add to Cart\" button"
287
  msgstr "Ein \"In den Warenkorb\"- Icon hinzufügen"
288
 
289
- #: class.yith-wcwl-init.php:951
290
  msgid "Share on Facebook"
291
  msgstr "Auf Facebook teilen"
292
 
293
- #: class.yith-wcwl-init.php:958
294
  msgid "Tweet on Twitter"
295
  msgstr "Auf Twitter tweeten"
296
 
297
- #: class.yith-wcwl-init.php:965
298
  msgid "Pin on Pinterest"
299
  msgstr "Auf Pinterest pinnen"
300
 
301
- #: class.yith-wcwl-init.php:972
302
  msgid "Share on Google+"
303
  msgstr "Bei Google+ teilen"
304
 
305
- #: class.yith-wcwl-init.php:979
306
  msgid "Socials title"
307
  msgstr "Soziale Netzwerke-Titel"
308
 
309
- #: class.yith-wcwl-init.php:987
310
  msgid "Socials text"
311
  msgstr "Soziale Netzwerke Text"
312
 
313
- #: class.yith-wcwl-init.php:988
314
  msgid ""
315
  "Will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url%</"
316
  "strong> where you want the URL of your wishlist to appear."
@@ -318,159 +311,93 @@ msgstr ""
318
  "Wird bei Facebook, Twitter und Pinterest genutzt. Benutzen Sie <strong>"
319
  "%wishlist_url%</strong> wenn die URL der Wunschliste angezeigt werden soll. "
320
 
321
- #: class.yith-wcwl-init.php:996
322
  msgid "Socials image URL"
323
  msgstr "Soziale Netzwerke Bild URL"
324
 
325
- #: class.yith-wcwl-install.php:136
326
- #, fuzzy
327
- msgctxt "page_slug"
328
  msgid "wishlist"
329
  msgstr "Wunschliste"
330
 
331
- #: class.yith-wcwl-ui.php:64 class.yith-wcwl.php:351 yith-wcwl-ajax.php:47
 
332
  msgid "Product added!"
333
  msgstr "Produkt hinzugefügt!"
334
 
335
- #: class.yith-wcwl-ui.php:64 class.yith-wcwl-ui.php:65
336
  msgid "Browse Wishlist"
337
  msgstr "Wunschliste durchsuchen"
338
 
339
- #: class.yith-wcwl-ui.php:65
340
  msgid "The product is already in the wishlist!"
341
  msgstr "Dieses Produkt ist bereits in der Wunschliste vorhanden."
342
 
343
- #: class.yith-wcwl-ui.php:93
344
  msgid "Select options"
345
  msgstr "Optionen wählen"
346
 
347
- #: class.yith-wcwl-ui.php:136
348
  msgid "Share on:"
349
  msgstr "Teilen auf:"
350
 
351
- #: class.yith-wcwl-ui.php:140
352
  msgid "Facebook"
353
  msgstr "Facebook"
354
 
355
- #: class.yith-wcwl-ui.php:143
356
  msgid "Twitter"
357
  msgstr "Twitter"
358
 
359
- #: class.yith-wcwl.php:140
360
  msgid "Error occurred while adding product to wishlist."
361
  msgstr ""
362
  "Es ist ein Fehler aufgetreten. Produkt konnte nicht auf die Wunschliste "
363
  "gesetzt werden."
364
 
365
- #: class.yith-wcwl.php:162
366
  msgid "Error occurred while removing product from wishlist"
367
  msgstr ""
368
  "Es ist ein Fehler aufgetreten. Das Produkt konnte nicht von der Wunschliste "
369
  "entfernt werden. "
370
 
371
- #: class.yith-wcwl.php:353 yith-wcwl-ajax.php:49
372
  msgid "Product already in the wishlist."
373
  msgstr "Produkt ist bereits auf der Wunschliste"
374
 
375
- #: class.yith-wcwl.php:370 yith-wcwl-ajax.php:30
376
  msgid "Product successfully removed."
377
  msgstr "Produkt wurde von der Wunschliste entfernt. "
378
 
379
- #: class.yith-wcwl.php:373 yith-wcwl-ajax.php:33
380
  msgid "Error. Unable to remove the product from the wishlist."
381
  msgstr ""
382
  "Fehlermeldung: Entfernen des Produkts von der Wunschliste nicht möglich. "
383
 
384
- #: class.yith-wcwl.php:377 yith-wcwl-ajax.php:37 templates/wishlist.php:145
 
385
  msgid "No products were added to the wishlist"
386
  msgstr "Es wurden keine Produkte auf die Wunschliste gesetzt"
387
 
388
- #: templates/wishlist.php:75
389
  msgid "Product Name"
390
  msgstr "Produktname"
391
 
392
- #: templates/wishlist.php:76
393
  msgid "Unit Price"
394
  msgstr "Preis"
395
 
396
- #: templates/wishlist.php:77
397
  msgid "Stock Status"
398
  msgstr "Lagerstatus"
399
 
400
- #: templates/wishlist.php:99
401
  msgid "Remove this product"
402
  msgstr "Dieses Produkt entfernen"
403
 
404
- #: templates/wishlist.php:126
405
  msgid "Out of Stock"
406
  msgstr "Nicht auf Lager"
407
 
408
- #: templates/wishlist.php:129
409
  msgid "In Stock"
410
  msgstr "Auf Lager"
411
-
412
- #: yit-common/yith-panel.php:406
413
- msgid "Select a date"
414
- msgstr ""
415
-
416
- #: yit-common/yith-panel.php:407
417
- msgid "Hours"
418
- msgstr ""
419
-
420
- #: yit-common/yith-panel.php:408 yit-common/yith-panel.php:409
421
- msgid "Minutes"
422
- msgstr ""
423
-
424
- #: yit-common/yith-panel.php:417
425
- msgid "Upload"
426
- msgstr ""
427
-
428
- #: yit-common/yith-panel.php:444
429
- msgid "px"
430
- msgstr ""
431
-
432
- #: yit-common/yith-panel.php:445
433
- msgid "em"
434
- msgstr ""
435
-
436
- #: yit-common/yith-panel.php:446
437
- msgid "pt"
438
- msgstr ""
439
-
440
- #: yit-common/yith-panel.php:447
441
- msgid "rem"
442
- msgstr ""
443
-
444
- #: yit-common/yith-panel.php:457
445
- msgid "Select a font family"
446
- msgstr ""
447
-
448
- #: yit-common/yith-panel.php:465
449
- msgid "Regular"
450
- msgstr ""
451
-
452
- #: yit-common/yith-panel.php:466
453
- msgid "Bold"
454
- msgstr ""
455
-
456
- #: yit-common/yith-panel.php:467
457
- msgid "Extra bold"
458
- msgstr ""
459
-
460
- #: yit-common/yith-panel.php:468
461
- msgid "Italic"
462
- msgstr ""
463
-
464
- #: yit-common/yith-panel.php:469
465
- msgid "Italic bold"
466
- msgstr ""
467
-
468
- #: yit-common/yith-panel.php:481
469
- msgid "Click to preview"
470
- msgstr ""
471
-
472
- #~ msgid "View Cart &rarr;"
473
- #~ msgstr "Warenkorb ansehen"
474
-
475
- #~ msgid "Product successfully added to the cart."
476
- #~ msgstr "Produkt erfolgreich im Warenkorb eingefügt "
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist v1.0.3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-05-21 17:11+0100\n"
6
+ "PO-Revision-Date: 2013-09-19 09:15+0100\n"
7
  "Last-Translator: YIThemes <support@yithemes.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
18
  "X-Generator: Poedit 1.5.5\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
+ #: ../add-to-cart.php:31
22
+ msgid "View Cart &rarr;"
23
+ msgstr "Warenkorb ansehen"
24
+
25
+ #: ../add-to-cart.php:31
26
+ msgid "Product successfully added to the cart."
27
+ msgstr "Produkt erfolgreich im Warenkorb eingefügt "
28
+
29
+ #: ../class.yith-wcwl-init.php:105 ../class.yith-wcwl-install.php:137
30
  msgid "Wishlist"
31
  msgstr "Wunschliste"
32
 
33
+ #: ../class.yith-wcwl-init.php:335
34
  msgid "Cannot add to the cart as product is Out of Stock!"
35
  msgstr ""
36
  "Gewähltes Produkt ist nicht mehr im Sortiment und kann daher nicht im "
37
  "Warenkorb eingefügt werden. "
38
 
39
+ #: ../class.yith-wcwl-init.php:364
40
  msgid "Wishlist Page"
41
  msgstr "Wunschlistenseite"
42
 
43
+ #: ../class.yith-wcwl-init.php:365
44
  msgid "Page contents: [yith_wcwl_wishlist]"
45
  msgstr "Seiteninhalt: [yith_wcwl_wishlist]"
46
 
47
+ #: ../class.yith-wcwl-init.php:408 ../class.yith-wcwl-init.php:783
48
  msgid "General Settings"
49
  msgstr "Allgemeine Einstellungen"
50
 
51
+ #: ../class.yith-wcwl-init.php:409 ../class.yith-wcwl-init.php:861
52
  msgid "Styles"
53
  msgstr "Style"
54
 
55
+ #: ../class.yith-wcwl-init.php:410 ../class.yith-wcwl-init.php:924
56
  msgid "Socials &amp; Share"
57
  msgstr "Soziale Netzwerke; Teilen"
58
 
59
+ #: ../class.yith-wcwl-init.php:430
60
  msgid "Colors"
61
  msgstr "Farben"
62
 
63
+ #: ../class.yith-wcwl-init.php:457
64
  msgid "\"Add to Wishlist\" button background"
65
  msgstr "\"Zu Wunschliste hinzufügen\" Button Hintergrund"
66
 
67
+ #: ../class.yith-wcwl-init.php:458
68
  msgid "\"Add to Wishlist\" button text"
69
  msgstr "\"Zu Wunschliste hinzufügen\" Button Text"
70
 
71
+ #: ../class.yith-wcwl-init.php:459
72
  msgid "\"Add to Wishlist\" button border"
73
  msgstr "\"Zu Wunschliste hinzufügen\" Button Rahmen"
74
 
75
+ #: ../class.yith-wcwl-init.php:464
76
  msgid "\"Add to Wishlist\" button background (hover)"
77
  msgstr "\"Zu Wunschliste hinzufügen\" Button Hintergrund (hover)"
78
 
79
+ #: ../class.yith-wcwl-init.php:465
80
  msgid "\"Add to Wishlist\" button text (hover)"
81
  msgstr "\"Zu Wunschliste hinzufügen\" Button Text (hover)"
82
 
83
+ #: ../class.yith-wcwl-init.php:466
84
  msgid "\"Add to Wishlist\" button border (hover)"
85
  msgstr "\"Zu Wunschliste hinzufügen\" Button Rahmen (hover)"
86
 
87
+ #: ../class.yith-wcwl-init.php:470
88
  msgid "\"Add to Cart\" button background"
89
  msgstr "\"Zu Warenkorb hinzufügen\" Button Hintergrund"
90
 
91
+ #: ../class.yith-wcwl-init.php:471
92
  msgid "\"Add to Cart\" button text"
93
  msgstr "\"Zu Warenkorb hinzufügen\" Button Text"
94
 
95
+ #: ../class.yith-wcwl-init.php:472
96
  msgid "\"Add to Cart\" button border"
97
  msgstr "\"Zu Warenkorb hinzufügen\" Button Rahmen"
98
 
99
+ #: ../class.yith-wcwl-init.php:477
100
  msgid "\"Add to Cart\" button background (hover)"
101
  msgstr "\"Zu Warenkorb hinzufügen\" Button Hintergrund (hover)"
102
 
103
+ #: ../class.yith-wcwl-init.php:478
104
  msgid "\"Add to Cart\" button text (hover)"
105
  msgstr "\"Zu Warenkorb hinzufügen\" Button Text (hover)"
106
 
107
+ #: ../class.yith-wcwl-init.php:479
108
  msgid "\"Add to Cart\" button border (hover)"
109
  msgstr "\"Zu Warenkorb hinzufügen\" Button Rahmen (hover)"
110
 
111
+ #: ../class.yith-wcwl-init.php:483
112
  msgid "Wishlist table background"
113
  msgstr "Wunschliste Tabellenhintergrund"
114
 
115
+ #: ../class.yith-wcwl-init.php:484
116
  msgid "Wishlist table text"
117
  msgstr "Wunschliste Tabellentext"
118
 
119
+ #: ../class.yith-wcwl-init.php:485
120
  msgid "Wishlist table border"
121
  msgstr "Wunschliste Tabellenrahmen"
122
 
123
+ #: ../class.yith-wcwl-init.php:535
124
  msgid "Settings"
125
  msgstr "Einstellungen"
126
 
127
+ #: ../class.yith-wcwl-init.php:536
128
  msgid "Docs"
129
  msgstr "Dokumentation"
130
 
131
+ #: ../class.yith-wcwl-init.php:786
132
  msgid "Enable YITH Wishlist"
133
  msgstr "Aktiviere YITH Wunschliste"
134
 
135
+ #: ../class.yith-wcwl-init.php:787
136
  #, php-format
137
  msgid ""
138
  "Enable all plugin features. <strong>Be sure that the wishlist page is "
144
  "markiert ist.</strong> Bitte lesen Sie die Plugin- <a href=\"%s\" target="
145
  "\"_blank\">Hinweise</a>."
146
 
147
+ #: ../class.yith-wcwl-init.php:794
148
  msgid "Use cookies"
149
  msgstr "Cookies verwenden"
150
 
151
+ #: ../class.yith-wcwl-init.php:795
152
  msgid ""
153
  "Use cookies instead of sessions. With this feature, the wishlist will be "
154
  "available for each not logged user for 30 days. Use the filter "
160
  "Verwenden Sie den Filter yith_wcwl_cookie_expiration_time um die "
161
  "Einstellungen für die Laufzeit zu bestimmen (Zeitangabe erforderlich)"
162
 
163
+ #: ../class.yith-wcwl-init.php:802
164
  msgid "Wishlist title"
165
  msgstr "Wunschlistentitel"
166
 
167
+ #: ../class.yith-wcwl-init.php:804 ../class.yith-wcwl-init.php:805
168
+ #: ../class.yith-wcwl-init.php:957 ../class.yith-wcwl-init.php:958
169
  #, php-format
170
  msgid "My wishlist on %s"
171
  msgstr "Meine Wunschliste von %s"
172
 
173
+ #: ../class.yith-wcwl-init.php:810
174
  msgid "Position"
175
  msgstr "Position"
176
 
177
+ #: ../class.yith-wcwl-init.php:811
178
  msgid ""
179
  "On variable products you can add it only After \"Add to Cart\" or use the "
180
  "shortcode [yith_wcwl_add_to_wishlist]."
182
  "Bei Variablen Produkten kann nur nach \"Add to Cart\" eingetragen werden "
183
  "oder der Shortcode[yith_wcwl_add_to_wishlist] verwendet werden."
184
 
185
+ #: ../class.yith-wcwl-init.php:817
186
  msgid "After \"Add to cart\""
187
  msgstr "Nach \"Add to cart\""
188
 
189
+ #: ../class.yith-wcwl-init.php:818
190
  msgid "After thumbnails"
191
  msgstr "Nach Thumbnails (Miniaturbilder)"
192
 
193
+ #: ../class.yith-wcwl-init.php:819
194
  msgid "After summary"
195
  msgstr "Nach Zusammenfassung"
196
 
197
+ #: ../class.yith-wcwl-init.php:820
198
  msgid "Use shortcode"
199
  msgstr "Shortcode verwenden"
200
 
201
+ #: ../class.yith-wcwl-init.php:825
202
  msgid "Redirect to cart"
203
  msgstr "Weiterleiten zum Warenkorb"
204
 
205
+ #: ../class.yith-wcwl-init.php:826
206
  msgid ""
207
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
208
  "page."
210
  "Zum Warenkorb weiterleiten, wenn \"Add to cart\" Button auf der "
211
  "Wunschlistenseite angeklickt wurde"
212
 
213
+ #: ../class.yith-wcwl-init.php:833
214
  msgid "Remove if added to the cart"
215
  msgstr "Entfernen, wenn Produkt zum Warenkorb hinzugefügt wurde"
216
 
217
+ #: ../class.yith-wcwl-init.php:834
218
  msgid "Remove the product from the wishlist if is been added to the cart."
219
  msgstr ""
220
  "Produkt von der Wunschliste enfernen, wenn es zum Warenkorb hinzugefügt wurde"
221
 
222
+ #: ../class.yith-wcwl-init.php:841
223
  msgid "\"Add to Wishlist\" text"
224
  msgstr "\"Zu Wunschliste hinzufügen\" Text"
225
 
226
+ #: ../class.yith-wcwl-init.php:843 ../class.yith-wcwl-init.php:844
227
  msgid "Add to Wishlist"
228
  msgstr "Zu Wunschliste hinzufügen"
229
 
230
+ #: ../class.yith-wcwl-init.php:849
231
  msgid "\"Add to Cart\" text"
232
  msgstr "\"Auf die Wunschliste setzen\" Text"
233
 
234
+ #: ../class.yith-wcwl-init.php:851 ../class.yith-wcwl-init.php:852
235
  msgid "Add to Cart"
236
  msgstr "Zum Warenkorb hinzufügen"
237
 
238
+ #: ../class.yith-wcwl-init.php:864
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
239
  msgid "Use buttons"
240
  msgstr "Buttons verwenden"
241
 
242
+ #: ../class.yith-wcwl-init.php:865
243
  msgid "Use buttons instead of a simple anchors."
244
  msgstr "Buttons anstatt von einfachen Anchors verwenden"
245
 
246
+ #: ../class.yith-wcwl-init.php:872
247
  msgid "Custom CSS"
248
  msgstr "Benutzerdefiniertes CSS"
249
 
250
+ #: ../class.yith-wcwl-init.php:880
251
  msgid "Use theme style"
252
  msgstr "Theme Design verwenden"
253
 
254
+ #: ../class.yith-wcwl-init.php:881
255
  msgid "Use the theme style."
256
  msgstr "Theme Design verwenden"
257
 
258
+ #: ../class.yith-wcwl-init.php:888
259
  msgid "Buttons rounded corners"
260
  msgstr "Button mit abgerundeten Ecken"
261
 
262
+ #: ../class.yith-wcwl-init.php:889
263
  msgid "Make buttons corner rounded"
264
  msgstr "Button mit abgerundeten Ecken nutzen"
265
 
266
+ #: ../class.yith-wcwl-init.php:896
267
  msgid "\"Add to Wishlist\" icon"
268
  msgstr "\"Zur Wunschliste hinzufügen\" Icon"
269
 
270
+ #: ../class.yith-wcwl-init.php:897
271
  msgid "Add an icon to the \"Add to Wishlist\" button"
272
  msgstr "Ein Icon zu \"Auf die Wunschliste setzen\" Button verwenden"
273
 
274
+ #: ../class.yith-wcwl-init.php:908
275
  msgid "\"Add to Cart\" icon"
276
  msgstr "\"In den Warenkoeb\" Icon"
277
 
278
+ #: ../class.yith-wcwl-init.php:909
279
  msgid "Add an icon to the \"Add to Cart\" button"
280
  msgstr "Ein \"In den Warenkorb\"- Icon hinzufügen"
281
 
282
+ #: ../class.yith-wcwl-init.php:927
283
  msgid "Share on Facebook"
284
  msgstr "Auf Facebook teilen"
285
 
286
+ #: ../class.yith-wcwl-init.php:934
287
  msgid "Tweet on Twitter"
288
  msgstr "Auf Twitter tweeten"
289
 
290
+ #: ../class.yith-wcwl-init.php:941
291
  msgid "Pin on Pinterest"
292
  msgstr "Auf Pinterest pinnen"
293
 
294
+ #: ../class.yith-wcwl-init.php:948
295
  msgid "Share on Google+"
296
  msgstr "Bei Google+ teilen"
297
 
298
+ #: ../class.yith-wcwl-init.php:955
299
  msgid "Socials title"
300
  msgstr "Soziale Netzwerke-Titel"
301
 
302
+ #: ../class.yith-wcwl-init.php:963
303
  msgid "Socials text"
304
  msgstr "Soziale Netzwerke Text"
305
 
306
+ #: ../class.yith-wcwl-init.php:964
307
  msgid ""
308
  "Will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url%</"
309
  "strong> where you want the URL of your wishlist to appear."
311
  "Wird bei Facebook, Twitter und Pinterest genutzt. Benutzen Sie <strong>"
312
  "%wishlist_url%</strong> wenn die URL der Wunschliste angezeigt werden soll. "
313
 
314
+ #: ../class.yith-wcwl-init.php:972
315
  msgid "Socials image URL"
316
  msgstr "Soziale Netzwerke Bild URL"
317
 
318
+ #: ../class.yith-wcwl-install.php:136
 
 
319
  msgid "wishlist"
320
  msgstr "Wunschliste"
321
 
322
+ #: ../class.yith-wcwl-ui.php:64 ../class.yith-wcwl.php:351
323
+ #: ../yith-wcwl-ajax.php:47
324
  msgid "Product added!"
325
  msgstr "Produkt hinzugefügt!"
326
 
327
+ #: ../class.yith-wcwl-ui.php:64 ../class.yith-wcwl-ui.php:65
328
  msgid "Browse Wishlist"
329
  msgstr "Wunschliste durchsuchen"
330
 
331
+ #: ../class.yith-wcwl-ui.php:65
332
  msgid "The product is already in the wishlist!"
333
  msgstr "Dieses Produkt ist bereits in der Wunschliste vorhanden."
334
 
335
+ #: ../class.yith-wcwl-ui.php:93
336
  msgid "Select options"
337
  msgstr "Optionen wählen"
338
 
339
+ #: ../class.yith-wcwl-ui.php:136
340
  msgid "Share on:"
341
  msgstr "Teilen auf:"
342
 
343
+ #: ../class.yith-wcwl-ui.php:140
344
  msgid "Facebook"
345
  msgstr "Facebook"
346
 
347
+ #: ../class.yith-wcwl-ui.php:143
348
  msgid "Twitter"
349
  msgstr "Twitter"
350
 
351
+ #: ../class.yith-wcwl.php:140
352
  msgid "Error occurred while adding product to wishlist."
353
  msgstr ""
354
  "Es ist ein Fehler aufgetreten. Produkt konnte nicht auf die Wunschliste "
355
  "gesetzt werden."
356
 
357
+ #: ../class.yith-wcwl.php:162
358
  msgid "Error occurred while removing product from wishlist"
359
  msgstr ""
360
  "Es ist ein Fehler aufgetreten. Das Produkt konnte nicht von der Wunschliste "
361
  "entfernt werden. "
362
 
363
+ #: ../class.yith-wcwl.php:353 ../yith-wcwl-ajax.php:49
364
  msgid "Product already in the wishlist."
365
  msgstr "Produkt ist bereits auf der Wunschliste"
366
 
367
+ #: ../class.yith-wcwl.php:370 ../yith-wcwl-ajax.php:30
368
  msgid "Product successfully removed."
369
  msgstr "Produkt wurde von der Wunschliste entfernt. "
370
 
371
+ #: ../class.yith-wcwl.php:373 ../yith-wcwl-ajax.php:33
372
  msgid "Error. Unable to remove the product from the wishlist."
373
  msgstr ""
374
  "Fehlermeldung: Entfernen des Produkts von der Wunschliste nicht möglich. "
375
 
376
+ #: ../class.yith-wcwl.php:377 ../yith-wcwl-ajax.php:37
377
+ #: ../templates/wishlist.php:139
378
  msgid "No products were added to the wishlist"
379
  msgstr "Es wurden keine Produkte auf die Wunschliste gesetzt"
380
 
381
+ #: ../templates/wishlist.php:75
382
  msgid "Product Name"
383
  msgstr "Produktname"
384
 
385
+ #: ../templates/wishlist.php:76
386
  msgid "Unit Price"
387
  msgstr "Preis"
388
 
389
+ #: ../templates/wishlist.php:77
390
  msgid "Stock Status"
391
  msgstr "Lagerstatus"
392
 
393
+ #: ../templates/wishlist.php:99
394
  msgid "Remove this product"
395
  msgstr "Dieses Produkt entfernen"
396
 
397
+ #: ../templates/wishlist.php:123
398
  msgid "Out of Stock"
399
  msgstr "Nicht auf Lager"
400
 
401
+ #: ../templates/wishlist.php:126
402
  msgid "In Stock"
403
  msgstr "Auf Lager"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
templates/share.php CHANGED
@@ -11,5 +11,9 @@ global $yith_wcwl;
11
 
12
  if( !is_user_logged_in() ) { return; }
13
 
14
- if( get_option( 'yith_wcwl_share_fb' ) == 'yes' || get_option( 'yith_wcwl_share_twitter' ) == 'yes' || get_option( 'yith_wcwl_share_pinterest' ) == 'yes' )
15
- { echo YITH_WCWL_UI::get_share_links( $yith_wcwl->get_wishlist_url() . '&user_id=' . get_current_user_id() ); }
 
 
 
 
11
 
12
  if( !is_user_logged_in() ) { return; }
13
 
14
+ if( get_option( 'yith_wcwl_share_fb' ) == 'yes' || get_option( 'yith_wcwl_share_twitter' ) == 'yes' || get_option( 'yith_wcwl_share_pinterest' ) == 'yes' ) {
15
+ $share_url = $yith_wcwl->get_wishlist_url();
16
+ $share_url .= get_option( 'permalink-structure' ) != '' ? '&amp;user_id=' : '?user_id=';
17
+ $share_url .= get_current_user_id();
18
+ echo YITH_WCWL_UI::get_share_links( $share_url );
19
+ }
templates/wishlist.php CHANGED
@@ -6,7 +6,7 @@
6
  * @package YITH WooCommerce Wishlist
7
  * @version 1.0.0
8
  */
9
-
10
  global $wpdb, $yith_wcwl, $woocommerce;
11
 
12
  if( isset( $_GET['user_id'] ) && !empty( $_GET['user_id'] ) ) {
@@ -20,8 +20,8 @@ $limit_sql = '';
20
 
21
  if( $pagination == 'yes' ) {
22
  $count = array();
23
-
24
- if( is_user_logged_in() ) {
25
  $count = $wpdb->get_results( $wpdb->prepare( 'SELECT COUNT(*) as `cnt` FROM `' . YITH_WCWL_TABLE . '` WHERE `user_id` = %d', $user_id ), ARRAY_A );
26
  $count = $count[0]['cnt'];
27
  } elseif( yith_usecookies() ) {
@@ -29,11 +29,11 @@ if( $pagination == 'yes' ) {
29
  } else {
30
  $count[0]['cnt'] = count( $_SESSION['yith_wcwl_products'] );
31
  }
32
-
33
  $total_pages = $count/$per_page;
34
  if( $total_pages > 1 ) {
35
  $current_page = max( 1, get_query_var( 'page' ) );
36
-
37
  $page_links = paginate_links( array(
38
  'base' => get_pagenum_link( 1 ) . '%_%',
39
  'format' => '&page=%#%',
@@ -42,16 +42,16 @@ if( $pagination == 'yes' ) {
42
  'show_all' => true
43
  ) );
44
  }
45
-
46
  $limit_sql = "LIMIT " . ( $current_page - 1 ) * 1 . ',' . $per_page;
47
  }
48
 
49
- if( is_user_logged_in() )
50
- { $wishlist = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM `" . YITH_WCWL_TABLE . "` WHERE `user_id` = %s" . $limit_sql, $user_id ), ARRAY_A ); }
51
  elseif( yith_usecookies() )
52
- { $wishlist = yith_getcookie( 'yith_wcwl_products' ); }
53
  else
54
- { $wishlist = isset( $_SESSION['yith_wcwl_products'] ) ? $_SESSION['yith_wcwl_products'] : array(); }
55
 
56
  // Start wishlist page printing
57
  $woocommerce->show_messages() ?>
@@ -60,105 +60,107 @@ $woocommerce->show_messages() ?>
60
  <form id="yith-wcwl-form" action="<?php echo esc_url( $yith_wcwl->get_wishlist_url() ) ?>" method="post">
61
  <?php
62
  do_action( 'yith_wcwl_before_wishlist_title' );
63
-
64
  $wishlist_title = get_option( 'yith_wcwl_wishlist_title' );
65
  if( !empty( $wishlist_title ) )
66
- { echo apply_filters( 'yith_wcwl_wishlist_title', '<h2>' . $wishlist_title . '</h2>' ); }
67
-
68
  do_action( 'yith_wcwl_before_wishlist' );
69
  ?>
70
  <table class="shop_table cart wishlist_table" cellspacing="0">
71
- <thead>
72
- <tr>
73
- <th class="product-remove"></th>
74
- <th class="product-thumbnail"></th>
75
- <th class="product-name"><span class="nobr"><?php _e( 'Product Name', 'yit' ) ?></span></th>
76
- <?php if( get_option( 'yith_wcwl_price_show' ) == 'yes' ) : ?><th class="product-price"><span class="nobr"><?php _e( 'Unit Price', 'yit' ) ?></span></th><?php endif ?>
77
- <?php if( get_option( 'yith_wcwl_stock_show' ) == 'yes' ) : ?><th><span class="nobr"><?php _e( 'Stock Status', 'yit' ) ?></span></th><?php endif ?>
78
- <?php if( get_option( 'yith_wcwl_add_to_cart_show' ) == 'yes' ) : ?><th><span class="nobr"></th><?php endif ?>
79
- </tr>
80
- </thead>
81
  <tbody>
82
- <?php
83
- if( count( $wishlist ) > 0 ) :
84
- foreach( $wishlist as $values ) :
85
- if( !is_user_logged_in() ) {
86
- if( isset( $values['add-to-wishlist'] ) && is_numeric( $values['add-to-wishlist'] ) ) {
87
- $values['prod_id'] = $values['add-to-wishlist'];
88
- $values['ID'] = $values['add-to-wishlist'];
89
- } else {
90
- $values['prod_id'] = $values['product_id'];
91
- $values['ID'] = $values['product_id'];
92
- }
93
- }
94
-
95
- $product_obj = get_product( $values['prod_id'] );
96
-
97
- if( $product_obj !== false && $product_obj->exists() ) : ?>
98
  <tr id="yith-wcwl-row-<?php echo $values['ID'] ?>">
99
  <td class="product-remove"><div><a href="javascript:void(0)" onclick="remove_item_from_wishlist( '<?php echo esc_url( $yith_wcwl->get_remove_url( $values['ID'] ) )?>', 'yith-wcwl-row-<?php echo $values['ID'] ?>');" class="remove" title="<?php _e( 'Remove this product', 'yit' ) ?>">&times;</a></td>
100
  <td class="product-thumbnail">
101
  <a href="<?php echo esc_url( get_permalink( apply_filters( 'woocommerce_in_cart_product', $values['prod_id'] ) ) ) ?>">
102
  <?php echo $product_obj->get_image() ?>
103
- </a>
104
- </td>
105
  <td class="product-name">
106
  <a href="<?php echo esc_url( get_permalink( apply_filters( 'woocommerce_in_cart_product', $values['prod_id'] ) ) ) ?>"><?php echo apply_filters( 'woocommerce_in_cartproduct_obj_title', $product_obj->get_title(), $product_obj ) ?></a>
107
  </td>
108
  <?php if( get_option( 'yith_wcwl_price_show' ) == 'yes' ) : ?>
109
- <td class="product-price">
110
- <?php
111
- if( get_option( 'woocommerce_display_cart_prices_excluding_tax' ) == 'yes' )
112
  { echo apply_filters( 'woocommerce_cart_item_price_html', woocommerce_price( $product_obj->get_price_excluding_tax() ), $values, '' ); }
113
- else
114
- { echo apply_filters( 'woocommerce_cart_item_price_html', woocommerce_price( $product_obj->get_price() ), $values, '' ); }
115
- ?>
116
- </td>
117
  <?php endif ?>
118
  <?php if( get_option( 'yith_wcwl_stock_show' ) == 'yes' ) : ?>
119
- <td class="product-stock-status">
120
- <?php
121
- $availability = $product_obj->get_availability();
122
- $stock_status = $availability['class'];
123
-
124
- if( $stock_status == 'out-of-stock' ) {
125
- $stock_status = "Out";
126
- echo '<span class="wishlist-out-of-stock">' . __( 'Out of Stock', 'yit' ) . '</span>';
127
- } else {
128
- $stock_status = "In";
129
- echo '<span class="wishlist-in-stock">' . __( 'In Stock', 'yit' ) . '</span>';
130
- }
131
- ?>
132
- </td>
133
  <?php endif ?>
134
  <?php if( get_option( 'yith_wcwl_add_to_cart_show' ) == 'yes' ) : ?>
135
- <td class="product-add-to-cart">
136
- <?php echo YITH_WCWL_UI::add_to_cart_button( $values['prod_id'], $availability['class'] ) ?>
137
- </td>
 
 
138
  <?php endif ?>
139
  </tr>
140
- <?php
141
- endif;
142
- endforeach;
143
- else: ?>
144
- <tr>
145
- <td colspan="6" class="wishlist-empty"><?php _e( 'No products were added to the wishlist', 'yit' ) ?></td>
146
- </tr>
147
- <?php
148
- endif;
149
-
150
- if( isset( $page_links ) ) : ?>
151
  <tr>
152
  <td colspan="6"><?php echo $page_links ?></td>
153
  </tr>
154
- <?php endif ?>
155
  </tbody>
156
- </table>
157
- <?php
158
- do_action( 'yith_wcwl_after_wishlist' );
159
-
160
- yith_wcwl_get_template( 'share.php' );
161
-
162
- do_action( 'yith_wcwl_after_wishlist_share' );
163
- ?>
164
  </form>
6
  * @package YITH WooCommerce Wishlist
7
  * @version 1.0.0
8
  */
9
+
10
  global $wpdb, $yith_wcwl, $woocommerce;
11
 
12
  if( isset( $_GET['user_id'] ) && !empty( $_GET['user_id'] ) ) {
20
 
21
  if( $pagination == 'yes' ) {
22
  $count = array();
23
+
24
+ if( is_user_logged_in() || ( isset( $user_id ) && !empty( $user_id ) ) ) {
25
  $count = $wpdb->get_results( $wpdb->prepare( 'SELECT COUNT(*) as `cnt` FROM `' . YITH_WCWL_TABLE . '` WHERE `user_id` = %d', $user_id ), ARRAY_A );
26
  $count = $count[0]['cnt'];
27
  } elseif( yith_usecookies() ) {
29
  } else {
30
  $count[0]['cnt'] = count( $_SESSION['yith_wcwl_products'] );
31
  }
32
+
33
  $total_pages = $count/$per_page;
34
  if( $total_pages > 1 ) {
35
  $current_page = max( 1, get_query_var( 'page' ) );
36
+
37
  $page_links = paginate_links( array(
38
  'base' => get_pagenum_link( 1 ) . '%_%',
39
  'format' => '&page=%#%',
42
  'show_all' => true
43
  ) );
44
  }
45
+
46
  $limit_sql = "LIMIT " . ( $current_page - 1 ) * 1 . ',' . $per_page;
47
  }
48
 
49
+ if( is_user_logged_in() || ( isset( $user_id ) && !empty( $user_id ) ) )
50
+ { $wishlist = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM `" . YITH_WCWL_TABLE . "` WHERE `user_id` = %s" . $limit_sql, $user_id ), ARRAY_A ); }
51
  elseif( yith_usecookies() )
52
+ { $wishlist = yith_getcookie( 'yith_wcwl_products' ); }
53
  else
54
+ { $wishlist = isset( $_SESSION['yith_wcwl_products'] ) ? $_SESSION['yith_wcwl_products'] : array(); }
55
 
56
  // Start wishlist page printing
57
  $woocommerce->show_messages() ?>
60
  <form id="yith-wcwl-form" action="<?php echo esc_url( $yith_wcwl->get_wishlist_url() ) ?>" method="post">
61
  <?php
62
  do_action( 'yith_wcwl_before_wishlist_title' );
63
+
64
  $wishlist_title = get_option( 'yith_wcwl_wishlist_title' );
65
  if( !empty( $wishlist_title ) )
66
+ { echo apply_filters( 'yith_wcwl_wishlist_title', '<h2>' . $wishlist_title . '</h2>' ); }
67
+
68
  do_action( 'yith_wcwl_before_wishlist' );
69
  ?>
70
  <table class="shop_table cart wishlist_table" cellspacing="0">
71
+ <thead>
72
+ <tr>
73
+ <th class="product-remove"></th>
74
+ <th class="product-thumbnail"></th>
75
+ <th class="product-name"><span class="nobr"><?php _e( 'Product Name', 'yit' ) ?></span></th>
76
+ <?php if( get_option( 'yith_wcwl_price_show' ) == 'yes' ) : ?><th class="product-price"><span class="nobr"><?php _e( 'Unit Price', 'yit' ) ?></span></th><?php endif ?>
77
+ <?php if( get_option( 'yith_wcwl_stock_show' ) == 'yes' ) : ?><th><span class="nobr"><?php _e( 'Stock Status', 'yit' ) ?></span></th><?php endif ?>
78
+ <?php if( get_option( 'yith_wcwl_add_to_cart_show' ) == 'yes' ) : ?><th><span class="nobr"></th><?php endif ?>
79
+ </tr>
80
+ </thead>
81
  <tbody>
82
+ <?php
83
+ if( count( $wishlist ) > 0 ) :
84
+ foreach( $wishlist as $values ) :
85
+ if( !is_user_logged_in() && !isset( $_GET['user_id'] ) ) {
86
+ if( isset( $values['add-to-wishlist'] ) && is_numeric( $values['add-to-wishlist'] ) ) {
87
+ $values['prod_id'] = $values['add-to-wishlist'];
88
+ $values['ID'] = $values['add-to-wishlist'];
89
+ } else {
90
+ $values['prod_id'] = $values['product_id'];
91
+ $values['ID'] = $values['product_id'];
92
+ }
93
+ }
94
+
95
+ $product_obj = get_product( $values['prod_id'] );
96
+
97
+ if( $product_obj !== false && $product_obj->exists() ) : ?>
98
  <tr id="yith-wcwl-row-<?php echo $values['ID'] ?>">
99
  <td class="product-remove"><div><a href="javascript:void(0)" onclick="remove_item_from_wishlist( '<?php echo esc_url( $yith_wcwl->get_remove_url( $values['ID'] ) )?>', 'yith-wcwl-row-<?php echo $values['ID'] ?>');" class="remove" title="<?php _e( 'Remove this product', 'yit' ) ?>">&times;</a></td>
100
  <td class="product-thumbnail">
101
  <a href="<?php echo esc_url( get_permalink( apply_filters( 'woocommerce_in_cart_product', $values['prod_id'] ) ) ) ?>">
102
  <?php echo $product_obj->get_image() ?>
103
+ </a>
104
+ </td>
105
  <td class="product-name">
106
  <a href="<?php echo esc_url( get_permalink( apply_filters( 'woocommerce_in_cart_product', $values['prod_id'] ) ) ) ?>"><?php echo apply_filters( 'woocommerce_in_cartproduct_obj_title', $product_obj->get_title(), $product_obj ) ?></a>
107
  </td>
108
  <?php if( get_option( 'yith_wcwl_price_show' ) == 'yes' ) : ?>
109
+ <td class="product-price">
110
+ <?php
111
+ if( get_option( 'woocommerce_display_cart_prices_excluding_tax' ) == 'yes' )
112
  { echo apply_filters( 'woocommerce_cart_item_price_html', woocommerce_price( $product_obj->get_price_excluding_tax() ), $values, '' ); }
113
+ else
114
+ { echo apply_filters( 'woocommerce_cart_item_price_html', woocommerce_price( $product_obj->get_price() ), $values, '' ); }
115
+ ?>
116
+ </td>
117
  <?php endif ?>
118
  <?php if( get_option( 'yith_wcwl_stock_show' ) == 'yes' ) : ?>
119
+ <td class="product-stock-status">
120
+ <?php
121
+ $availability = $product_obj->get_availability();
122
+ $stock_status = $availability['class'];
123
+
124
+ if( $stock_status == 'out-of-stock' ) {
125
+ $stock_status = "Out";
126
+ echo '<span class="wishlist-out-of-stock">' . __( 'Out of Stock', 'yit' ) . '</span>';
127
+ } else {
128
+ $stock_status = "In";
129
+ echo '<span class="wishlist-in-stock">' . __( 'In Stock', 'yit' ) . '</span>';
130
+ }
131
+ ?>
132
+ </td>
133
  <?php endif ?>
134
  <?php if( get_option( 'yith_wcwl_add_to_cart_show' ) == 'yes' ) : ?>
135
+ <td class="product-add-to-cart">
136
+ <?php if($stock_status!='Out'): ?>
137
+ <?php echo YITH_WCWL_UI::add_to_cart_button( $values['prod_id'], $availability['class'] ) ?>
138
+ <?php endif ?>
139
+ </td>
140
  <?php endif ?>
141
  </tr>
142
+ <?php
143
+ endif;
144
+ endforeach;
145
+ else: ?>
146
+ <tr>
147
+ <td colspan="6" class="wishlist-empty"><?php _e( 'No products were added to the wishlist', 'yit' ) ?></td>
148
+ </tr>
149
+ <?php
150
+ endif;
151
+
152
+ if( isset( $page_links ) ) : ?>
153
  <tr>
154
  <td colspan="6"><?php echo $page_links ?></td>
155
  </tr>
156
+ <?php endif ?>
157
  </tbody>
158
+ </table>
159
+ <?php
160
+ do_action( 'yith_wcwl_after_wishlist' );
161
+
162
+ yith_wcwl_get_template( 'share.php' );
163
+
164
+ do_action( 'yith_wcwl_after_wishlist_share' );
165
+ ?>
166
  </form>
wpml-config.xml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <admin-texts>
2
+ <key name="yith_wcwl_wishlist_title">
3
+ <key name="yith_wcwl_add_to_wishlist_text">
4
+ <key name="yith_wcwl_add_to_cart_text">
5
+ <key name="yith_wcwl_socials_title">
6
+ <key name="yith_wcwl_socials_text">
7
+ <key name="yith_wcwl_socials_image_url">
8
+ </admin-texts>