WordPress Simple PayPal Shopping Cart - Version 4.2.4

Version Description

  • Added a new filter for the checkout button image (wspsc_cart_checkout_button_image_src). It can used to specify a custom button image for the checkout button. Example code: https://www.tipsandtricks-hq.com/ecommerce/customize-the-paypal-checkout-button-image-4026
  • Incomplete old cart orders will now be automatically cleaned by the plugin.
  • Made some improvements to the PayPal IPN validation code.
Download this release

Release Info

Developer mra13
Plugin Icon 128x128 WordPress Simple PayPal Shopping Cart
Version 4.2.4
Comparing to
See all releases

Code changes from version 4.1.3 to 4.2.4

Files changed (41) hide show
  1. class-coupon.php +10 -10
  2. includes/wspsc-cart-functions.php +43 -32
  3. ipn_handle_debug.log → ipn_handle_debug.txt +0 -0
  4. languages/WSPSC-es_ES.mo +0 -0
  5. languages/WSPSC-es_ES.po +0 -330
  6. languages/WSPSC-it_IT.mo +0 -0
  7. languages/WSPSC-it_IT.po +0 -906
  8. languages/WSPSC-sv_SE.mo +0 -0
  9. languages/WSPSC-sv_SE.po +0 -746
  10. languages/WSPSC-tr_TR.mo +0 -0
  11. languages/WSPSC-tr_TR.po +0 -743
  12. languages/{WSPSC-cs_CZ.MO → wordpress-simple-paypal-shopping-cart-cs_CZ.MO} +0 -0
  13. languages/{WSPSC-cs_CZ.PO → wordpress-simple-paypal-shopping-cart-cs_CZ.PO} +0 -0
  14. languages/{WSPSC-de_DE.mo → wordpress-simple-paypal-shopping-cart-de_DE.mo} +0 -0
  15. languages/{WSPSC-de_DE.po → wordpress-simple-paypal-shopping-cart-de_DE.po} +1 -1
  16. languages/{WSPSC-dk_DK.mo → wordpress-simple-paypal-shopping-cart-dk_DK.mo} +0 -0
  17. languages/{WSPSC-dk_DK.po → wordpress-simple-paypal-shopping-cart-dk_DK.po} +1 -1
  18. languages/{WSPSC-en_EN.mo → wordpress-simple-paypal-shopping-cart-en_EN.mo} +0 -0
  19. languages/{WSPSC-en_EN.po → wordpress-simple-paypal-shopping-cart-en_EN.po} +1 -1
  20. languages/{WSPSC-fr_FR.mo → wordpress-simple-paypal-shopping-cart-fr_FR.mo} +0 -0
  21. languages/{WSPSC-fr_FR.po → wordpress-simple-paypal-shopping-cart-fr_FR.po} +1 -1
  22. languages/{WSPSC-he_IL.mo → wordpress-simple-paypal-shopping-cart-he_IL.mo} +0 -0
  23. languages/{WSPSC-he_IL.po → wordpress-simple-paypal-shopping-cart-he_IL.po} +1 -1
  24. languages/{WSPSC-ja.mo → wordpress-simple-paypal-shopping-cart-ja_JP.mo} +0 -0
  25. languages/{WSPSC-ja.po → wordpress-simple-paypal-shopping-cart-ja_JP.po} +0 -0
  26. languages/wordpress-simple-paypal-shopping-cart-nl_NL.mo +0 -0
  27. languages/wordpress-simple-paypal-shopping-cart-nl_NL.po +885 -0
  28. languages/{WSPSC-no_NO.mo → wordpress-simple-paypal-shopping-cart-no_NO.mo} +0 -0
  29. languages/{WSPSC-no_NO.po → wordpress-simple-paypal-shopping-cart-no_NO.po} +0 -0
  30. languages/{WSPSC-pl_PL.mo → wordpress-simple-paypal-shopping-cart-pl_PL.mo} +0 -0
  31. languages/{WSPSC-pl_PL.po → wordpress-simple-paypal-shopping-cart-pl_PL.po} +1 -1
  32. languages/{WSPSC.pot → wordpress-simple-paypal-shopping-cart.pot} +143 -129
  33. paypal.php +67 -72
  34. readme.txt +52 -2
  35. wp_shopping_cart.php +147 -73
  36. wp_shopping_cart_discounts_menu.php +22 -19
  37. wp_shopping_cart_misc_functions.php +8 -8
  38. wp_shopping_cart_orders.php +85 -63
  39. wp_shopping_cart_settings.php +183 -140
  40. wp_shopping_cart_shortcodes.php +9 -9
  41. wp_shopping_cart_utility_functions.php +21 -9
class-coupon.php CHANGED
@@ -16,7 +16,7 @@ class WPSPSC_Coupons_Collection
16
  function find_coupon_by_code($coupon_code)
17
  {
18
  if(empty($this->coupon_items)){
19
- echo "<br />".(__("Admin needs to configure some discount coupons before it can be used", "WSPSC"));
20
  return new stdClass();
21
  }
22
  foreach($this->coupon_items as $key => $coupon)
@@ -83,10 +83,10 @@ class WPSPSC_COUPON_ITEM
83
 
84
  function print_coupon_item_details()
85
  {
86
- echo "<br />".(__("Coupon ID: ", "WSPSC")).$this->id;
87
- echo "<br />".(__("Coupon Code: ", "WSPSC")).$this->coupon_code;
88
- echo "<br />".(__("Discount Amt: ", "WSPSC")).$this->discount_rate;
89
- echo "<br />".(__("Expiry date: ", "WSPSC")).$this->expiry_date;
90
  }
91
  }
92
 
@@ -95,24 +95,24 @@ function wpspsc_apply_cart_discount($coupon_code)
95
  $collection_obj = WPSPSC_Coupons_Collection::get_instance();
96
  $coupon_item = $collection_obj->find_coupon_by_code($coupon_code);
97
  if(!isset($coupon_item->id)){
98
- $_SESSION['wpspsc_cart_action_msg'] = '<div class="wpspsc_error_message">'.__("Coupon code used does not exist!", "WSPSC").'</div>';
99
  return;
100
  }
101
  $coupon_expiry_date = $coupon_item->expiry_date;
102
  if(!empty($coupon_expiry_date)){
103
  $current_date = date("Y-m-d");
104
  if($current_date > $coupon_expiry_date){
105
- $_SESSION['wpspsc_cart_action_msg'] = '<div class="wpspsc_error_message">'.__("Coupon code expired!", "WSPSC").'</div>';
106
  return;
107
  }
108
  }
109
  if (isset($_SESSION['wpspsc_discount_applied_once']) && $_SESSION['wpspsc_discount_applied_once'] == '1'){
110
- $_SESSION['wpspsc_cart_action_msg'] = '<div class="wpspsc_error_message">'.__("Discount can only be applied once per checkout!", "WSPSC").'</div>';
111
  return;
112
  }
113
 
114
  //Apply the discount
115
- $curr_symbol = get_option('cart_currency_symbol');
116
  $discount_rate = $coupon_item->discount_rate;
117
  $products = $_SESSION['simpleCart'];
118
  $discount_total = 0;
@@ -129,7 +129,7 @@ function wpspsc_apply_cart_discount($coupon_code)
129
  }
130
  $_SESSION['simpleCart'] = $products;
131
  $disct_amt_msg = print_payment_currency($discount_total, $curr_symbol);
132
- $_SESSION['wpspsc_cart_action_msg'] = '<div class="wpspsc_success_message">'.__("Discount applied successfully! Total Discount: ", "WSPSC").$disct_amt_msg.'</div>';
133
  $_SESSION['wpspsc_discount_applied_once'] = '1';
134
  $_SESSION['wpspsc_applied_coupon_code'] = $coupon_code;
135
  }
16
  function find_coupon_by_code($coupon_code)
17
  {
18
  if(empty($this->coupon_items)){
19
+ echo "<br />".(__("Admin needs to configure some discount coupons before it can be used", "wordpress-simple-paypal-shopping-cart"));
20
  return new stdClass();
21
  }
22
  foreach($this->coupon_items as $key => $coupon)
83
 
84
  function print_coupon_item_details()
85
  {
86
+ echo "<br />".(__("Coupon ID: ", "wordpress-simple-paypal-shopping-cart")).$this->id;
87
+ echo "<br />".(__("Coupon Code: ", "wordpress-simple-paypal-shopping-cart")).$this->coupon_code;
88
+ echo "<br />".(__("Discount Amt: ", "wordpress-simple-paypal-shopping-cart")).$this->discount_rate;
89
+ echo "<br />".(__("Expiry date: ", "wordpress-simple-paypal-shopping-cart")).$this->expiry_date;
90
  }
91
  }
92
 
95
  $collection_obj = WPSPSC_Coupons_Collection::get_instance();
96
  $coupon_item = $collection_obj->find_coupon_by_code($coupon_code);
97
  if(!isset($coupon_item->id)){
98
+ $_SESSION['wpspsc_cart_action_msg'] = '<div class="wpspsc_error_message">'.__("Coupon code used does not exist!", "wordpress-simple-paypal-shopping-cart").'</div>';
99
  return;
100
  }
101
  $coupon_expiry_date = $coupon_item->expiry_date;
102
  if(!empty($coupon_expiry_date)){
103
  $current_date = date("Y-m-d");
104
  if($current_date > $coupon_expiry_date){
105
+ $_SESSION['wpspsc_cart_action_msg'] = '<div class="wpspsc_error_message">'.__("Coupon code expired!", "wordpress-simple-paypal-shopping-cart").'</div>';
106
  return;
107
  }
108
  }
109
  if (isset($_SESSION['wpspsc_discount_applied_once']) && $_SESSION['wpspsc_discount_applied_once'] == '1'){
110
+ $_SESSION['wpspsc_cart_action_msg'] = '<div class="wpspsc_error_message">'.__("Discount can only be applied once per checkout!", "wordpress-simple-paypal-shopping-cart").'</div>';
111
  return;
112
  }
113
 
114
  //Apply the discount
115
+ $curr_symbol = WP_CART_CURRENCY_SYMBOL;
116
  $discount_rate = $coupon_item->discount_rate;
117
  $products = $_SESSION['simpleCart'];
118
  $discount_total = 0;
129
  }
130
  $_SESSION['simpleCart'] = $products;
131
  $disct_amt_msg = print_payment_currency($discount_total, $curr_symbol);
132
+ $_SESSION['wpspsc_cart_action_msg'] = '<div class="wpspsc_success_message">'.__("Discount applied successfully! Total Discount: ", "wordpress-simple-paypal-shopping-cart").$disct_amt_msg.'</div>';
133
  $_SESSION['wpspsc_discount_applied_once'] = '1';
134
  $_SESSION['wpspsc_applied_coupon_code'] = $coupon_code;
135
  }
includes/wspsc-cart-functions.php CHANGED
@@ -15,7 +15,7 @@ function print_wp_shopping_cart($args = array()) {
15
  }
16
  $cart_products_page_url = get_option('cart_products_page_url');
17
  if (!empty($cart_products_page_url)) {
18
- $output .= '<div class="wp_cart_visit_shop_link"><a rel="nofollow" href="' . $cart_products_page_url . '">' . (__("Visit The Shop", "WSPSC")) . '</a></div>';
19
  }
20
  return $output;
21
  }
@@ -27,11 +27,11 @@ function print_wp_shopping_cart($args = array()) {
27
  if (!empty($defaultCurrency))
28
  $paypal_currency = $defaultCurrency;
29
  else
30
- $paypal_currency = __("USD", "WSPSC");
31
  if (!empty($defaultSymbol))
32
  $paypal_symbol = $defaultSymbol;
33
  else
34
- $paypal_symbol = __("$", "WSPSC");
35
 
36
  if (!empty($defaultEmail))
37
  $email = $defaultEmail;
@@ -43,20 +43,25 @@ function print_wp_shopping_cart($args = array()) {
43
  if (empty($return)) {
44
  $return = WP_CART_SITE_URL . '/';
45
  }
46
- $return_url = add_query_arg('reset_wp_cart', '1', $return);
47
 
48
  $urls .= '<input type="hidden" name="return" value="' . $return_url . '" />';
 
 
 
 
 
49
 
50
  $notify = WP_CART_SITE_URL . '/?simple_cart_ipn=1';
51
  $urls .= '<input type="hidden" name="notify_url" value="' . $notify . '" />';
52
 
53
  $title = get_option('wp_cart_title');
54
- //if (empty($title)) $title = __("Your Shopping Cart", "WSPSC");
55
 
56
  global $plugin_dir_name;
57
  $output .= '<div class="shopping_cart">';
58
  if (!get_option('wp_shopping_cart_image_hide')) {
59
- $output .= "<img src='" . WP_CART_URL . "/images/shopping_cart_icon.png' class='wspsc_cart_header_image' value='" . (__("Cart", "WSPSC")) . "' title='" . (__("Cart", "WSPSC")) . "' />";
60
  }
61
  if (!empty($title)) {
62
  $output .= '<h2>';
@@ -64,7 +69,7 @@ function print_wp_shopping_cart($args = array()) {
64
  $output .= '</h2>';
65
  }
66
 
67
- $output .= '<span id="pinfo" style="display: none; font-weight: bold; color: red;">' . (__("Hit enter to submit new Quantity.", "WSPSC")) . '</span>';
68
  $output .= '<table style="width: 100%;">';
69
 
70
  $count = 1;
@@ -73,8 +78,8 @@ function print_wp_shopping_cart($args = array()) {
73
  $form = '';
74
  if ($_SESSION['simpleCart'] && is_array($_SESSION['simpleCart'])) {
75
  $output .= '
76
- <tr>
77
- <th class="wspsc_cart_item_name_th">' . (__("Item Name", "WSPSC")) . '</th><th class="wspsc_cart_qty_th">' . (__("Quantity", "WSPSC")) . '</th><th class="wspsc_cart_price_th">' . (__("Price", "WSPSC")) . '</th><th></th>
78
  </tr>';
79
  $item_total_shipping = 0;
80
  $postage_cost = 0;
@@ -95,38 +100,38 @@ function print_wp_shopping_cart($args = array()) {
95
 
96
  foreach ($_SESSION['simpleCart'] as $item) {
97
 
98
- $output .= "<tr><td style='overflow: hidden;'>";
99
  $output .= '<div class="wp_cart_item_info">';
100
  if(isset($args['show_thumbnail'])){
101
- $output .= '<span class="wp_cart_item_thumbnail"><img src="'.$item['thumbnail'].'" class="wp_cart_thumb_image" ></span>';
102
  }
103
- $item_info = apply_filters('wspsc_cart_item_name', '<a href="'.$item['cartLink'].'">'.$item['name'].'</a>', $item);
104
  $output .= '<span class="wp_cart_item_name">'.$item_info.'</span>';
105
  $output .= '<span class="wp_cart_clear_float"></span>';
106
  $output .= '</div>';
107
  $output .= '</td>';
108
 
109
- $output .= "<td style='text-align: center'><form method=\"post\" action=\"\" name='pcquantity' style='display: inline'>
110
  <input type=\"hidden\" name=\"wspsc_product\" value=\"" . htmlspecialchars($item['name']) . "\" />
111
- <input type='hidden' name='cquantity' value='1' /><input type='text' name='quantity' value='" . $item['quantity'] . "' size='1' onchange='document.pcquantity.submit();' onkeypress='document.getElementById(\"pinfo\").style.display = \"\";' /></form></td>
112
  <td style='text-align: center'>" . print_payment_currency(($item['price'] * $item['quantity']), $paypal_symbol, $decimal) . "</td>
113
- <td><form method=\"post\" action=\"\" class=\"wp_cart_remove_item_form\">
114
- <input type=\"hidden\" name=\"wspsc_product\" value=\"" . $item['name'] . "\" />
115
  <input type='hidden' name='delcart' value='1' />
116
- <input type='image' src='" . WP_CART_URL . "/images/Shoppingcart_delete.png' value='" . (__("Remove", "WSPSC")) . "' title='" . (__("Remove", "WSPSC")) . "' /></form></td></tr>
117
  ";
118
 
119
  $form .= "
120
- <input type=\"hidden\" name=\"item_name_$count\" value=\"" . $item['name'] . "\" />
121
  <input type=\"hidden\" name=\"amount_$count\" value='" . wpspsc_number_format_price($item['price']) . "' />
122
- <input type=\"hidden\" name=\"quantity_$count\" value=\"" . $item['quantity'] . "\" />
123
- <input type='hidden' name='item_number_$count' value='" . $item['item_number'] . "' />
124
  ";
125
  $count++;
126
  }
127
  if (!get_option('wp_shopping_cart_use_profile_shipping')) {
128
  $postage_cost = wpspsc_number_format_price($postage_cost);
129
- $form .= "<input type=\"hidden\" name=\"shipping_1\" value='" . $postage_cost . "' />"; //You can also use "handling_cart" variable to use shipping and handling here
130
  }
131
  if (get_option('wp_shopping_cart_collect_address')) {//force address collection
132
  $form .= "<input type=\"hidden\" name=\"no_shipping\" value=\"2\" />";
@@ -138,23 +143,23 @@ function print_wp_shopping_cart($args = array()) {
138
  if ($count) {
139
  if ($postage_cost != 0) {
140
  $output .= "
141
- <tr><td colspan='2' style='font-weight: bold; text-align: right;'>" . (__("Subtotal", "WSPSC")) . ": </td><td style='text-align: center'>" . print_payment_currency($total, $paypal_symbol, $decimal) . "</td><td></td></tr>
142
- <tr><td colspan='2' style='font-weight: bold; text-align: right;'>" . (__("Shipping", "WSPSC")) . ": </td><td style='text-align: center'>" . print_payment_currency($postage_cost, $paypal_symbol, $decimal) . "</td><td></td></tr>";
143
  }
144
 
145
- $output .= "<tr><td colspan='2' style='font-weight: bold; text-align: right;'>" . (__("Total", "WSPSC")) . ": </td><td style='text-align: center'>" . print_payment_currency(($total + $postage_cost), $paypal_symbol, $decimal) . "</td><td></td></tr>";
146
 
147
  if (isset($_SESSION['wpspsc_cart_action_msg']) && !empty($_SESSION['wpspsc_cart_action_msg'])) {
148
- $output .= '<tr><td colspan="4"><span class="wpspsc_cart_action_msg">' . $_SESSION['wpspsc_cart_action_msg'] . '</span></td></tr>';
149
  }
150
 
151
  if (get_option('wpspsc_enable_coupon') == '1') {
152
- $output .= '<tr><td colspan="4">
153
  <div class="wpspsc_coupon_section">
154
- <span class="wpspsc_coupon_label">' . (__("Enter Coupon Code", "WSPSC")) . '</span>
155
- <form method="post" action="" >
156
  <input type="text" name="wpspsc_coupon_code" value="" size="10" />
157
- <span class="wpspsc_coupon_apply_button"><input type="submit" name="wpspsc_apply_coupon" class="wpspsc_apply_coupon" value="' . (__("Apply", "WSPSC")) . '" /></span>
158
  </form>
159
  </div>
160
  </td></tr>';
@@ -173,9 +178,11 @@ function print_wp_shopping_cart($args = array()) {
173
  $output .= "<tr class='wpspsc_checkout_form'><td colspan='4'>";
174
  $output .= '<form action="' . $paypal_checkout_url . '" method="post" ' . $form_target_code . '>';
175
  $output .= $form;
176
- if ($count)
177
- $output .= '<input type="image" src="' . WP_CART_URL . '/images/' . (__("paypal_checkout_EN.png", "WSPSC")) . '" name="submit" class="wp_cart_checkout_button" alt="' . (__("Make payments with PayPal - it\'s fast, free and secure!", "WSPSC")) . '" />';
178
-
 
 
179
  $output .= $urls . '
180
  <input type="hidden" name="business" value="' . $email . '" />
181
  <input type="hidden" name="currency_code" value="' . $paypal_currency . '" />
@@ -193,6 +200,10 @@ function print_wp_shopping_cart($args = array()) {
193
  $output .= '<input type="hidden" name="page_style" value="' . $page_style_name . '" />';
194
  }
195
  $output .= wp_cart_add_custom_field();
 
 
 
 
196
  $output .= '</form>';
197
  $output .= '</td></tr>';
198
  }
15
  }
16
  $cart_products_page_url = get_option('cart_products_page_url');
17
  if (!empty($cart_products_page_url)) {
18
+ $output .= '<div class="wp_cart_visit_shop_link"><a rel="nofollow" href="' . esc_url($cart_products_page_url) . '">' . (__("Visit The Shop", "wordpress-simple-paypal-shopping-cart")) . '</a></div>';
19
  }
20
  return $output;
21
  }
27
  if (!empty($defaultCurrency))
28
  $paypal_currency = $defaultCurrency;
29
  else
30
+ $paypal_currency = __("USD", "wordpress-simple-paypal-shopping-cart");
31
  if (!empty($defaultSymbol))
32
  $paypal_symbol = $defaultSymbol;
33
  else
34
+ $paypal_symbol = __("$", "wordpress-simple-paypal-shopping-cart");
35
 
36
  if (!empty($defaultEmail))
37
  $email = $defaultEmail;
43
  if (empty($return)) {
44
  $return = WP_CART_SITE_URL . '/';
45
  }
46
+ $return_url = add_query_arg('reset_wp_cart', '1', $return);
47
 
48
  $urls .= '<input type="hidden" name="return" value="' . $return_url . '" />';
49
+
50
+ $cancel = get_option('cart_cancel_from_paypal_url');
51
+ if(isset($cancel) && !empty($cancel)){
52
+ $urls .= '<input type="hidden" name="cancel_return" value="' . $cancel . '" />';
53
+ }
54
 
55
  $notify = WP_CART_SITE_URL . '/?simple_cart_ipn=1';
56
  $urls .= '<input type="hidden" name="notify_url" value="' . $notify . '" />';
57
 
58
  $title = get_option('wp_cart_title');
59
+ //if (empty($title)) $title = __("Your Shopping Cart", "wordpress-simple-paypal-shopping-cart");
60
 
61
  global $plugin_dir_name;
62
  $output .= '<div class="shopping_cart">';
63
  if (!get_option('wp_shopping_cart_image_hide')) {
64
+ $output .= "<img src='" . WP_CART_URL . "/images/shopping_cart_icon.png' class='wspsc_cart_header_image' value='" . (__("Cart", "wordpress-simple-paypal-shopping-cart")) . "' alt='" . (__("Cart", "wordpress-simple-paypal-shopping-cart")) . "' />";
65
  }
66
  if (!empty($title)) {
67
  $output .= '<h2>';
69
  $output .= '</h2>';
70
  }
71
 
72
+ $output .= '<span id="pinfo" style="display: none; font-weight: bold; color: red;">' . (__("Hit enter to submit new Quantity.", "wordpress-simple-paypal-shopping-cart")) . '</span>';
73
  $output .= '<table style="width: 100%;">';
74
 
75
  $count = 1;
78
  $form = '';
79
  if ($_SESSION['simpleCart'] && is_array($_SESSION['simpleCart'])) {
80
  $output .= '
81
+ <tr class="wspsc_cart_item_row">
82
+ <th class="wspsc_cart_item_name_th">' . (__("Item Name", "wordpress-simple-paypal-shopping-cart")) . '</th><th class="wspsc_cart_qty_th">' . (__("Quantity", "wordpress-simple-paypal-shopping-cart")) . '</th><th class="wspsc_cart_price_th">' . (__("Price", "wordpress-simple-paypal-shopping-cart")) . '</th><th></th>
83
  </tr>';
84
  $item_total_shipping = 0;
85
  $postage_cost = 0;
100
 
101
  foreach ($_SESSION['simpleCart'] as $item) {
102
 
103
+ $output .= '<tr class="wspsc_cart_item_thumb"><td style="overflow: hidden;">';
104
  $output .= '<div class="wp_cart_item_info">';
105
  if(isset($args['show_thumbnail'])){
106
+ $output .= '<span class="wp_cart_item_thumbnail"><img src="'.esc_url($item['thumbnail']).'" class="wp_cart_thumb_image" alt="'.esc_attr($item['name']).'" ></span>';
107
  }
108
+ $item_info = apply_filters('wspsc_cart_item_name', '<a href="'.esc_url($item['cartLink']).'">'.esc_attr($item['name']).'</a>', $item);
109
  $output .= '<span class="wp_cart_item_name">'.$item_info.'</span>';
110
  $output .= '<span class="wp_cart_clear_float"></span>';
111
  $output .= '</div>';
112
  $output .= '</td>';
113
 
114
+ $output .= "<td style='text-align: center'><form method=\"post\" action=\"\" name='pcquantity' style='display: inline'>".wp_nonce_field('wspsc_cquantity', '_wpnonce', true, false)."
115
  <input type=\"hidden\" name=\"wspsc_product\" value=\"" . htmlspecialchars($item['name']) . "\" />
116
+ <input type='hidden' name='cquantity' value='1' /><input type='text' name='quantity' value='" . esc_attr($item['quantity']) . "' size='1' onchange='document.pcquantity.submit();' onkeypress='document.getElementById(\"pinfo\").style.display = \"\";' /></form></td>
117
  <td style='text-align: center'>" . print_payment_currency(($item['price'] * $item['quantity']), $paypal_symbol, $decimal) . "</td>
118
+ <td><form method=\"post\" action=\"\" class=\"wp_cart_remove_item_form\">".wp_nonce_field('wspsc_delcart', '_wpnonce', true, false)."
119
+ <input type=\"hidden\" name=\"wspsc_product\" value=\"" . esc_attr($item['name']) . "\" />
120
  <input type='hidden' name='delcart' value='1' />
121
+ <input type='image' src='" . WP_CART_URL . "/images/Shoppingcart_delete.png' value='" . (__("Remove", "wordpress-simple-paypal-shopping-cart")) . "' title='" . (__("Remove", "wordpress-simple-paypal-shopping-cart")) . "' /></form></td></tr>
122
  ";
123
 
124
  $form .= "
125
+ <input type=\"hidden\" name=\"item_name_$count\" value=\"" . esc_attr($item['name']) . "\" />
126
  <input type=\"hidden\" name=\"amount_$count\" value='" . wpspsc_number_format_price($item['price']) . "' />
127
+ <input type=\"hidden\" name=\"quantity_$count\" value=\"" . esc_attr($item['quantity']) . "\" />
128
+ <input type='hidden' name='item_number_$count' value='" . esc_attr($item['item_number']) . "' />
129
  ";
130
  $count++;
131
  }
132
  if (!get_option('wp_shopping_cart_use_profile_shipping')) {
133
  $postage_cost = wpspsc_number_format_price($postage_cost);
134
+ $form .= "<input type=\"hidden\" name=\"shipping_1\" value='" . esc_attr($postage_cost) . "' />"; //You can also use "handling_cart" variable to use shipping and handling here
135
  }
136
  if (get_option('wp_shopping_cart_collect_address')) {//force address collection
137
  $form .= "<input type=\"hidden\" name=\"no_shipping\" value=\"2\" />";
143
  if ($count) {
144
  if ($postage_cost != 0) {
145
  $output .= "
146
+ <tr class='wspsc_cart_subtotal'><td colspan='2' style='font-weight: bold; text-align: right;'>" . (__("Subtotal", "wordpress-simple-paypal-shopping-cart")) . ": </td><td style='text-align: center'>" . print_payment_currency($total, $paypal_symbol, $decimal) . "</td><td></td></tr>
147
+ <tr class='wspsc_cart_shipping'><td colspan='2' style='font-weight: bold; text-align: right;'>" . (__("Shipping", "wordpress-simple-paypal-shopping-cart")) . ": </td><td style='text-align: center'>" . print_payment_currency($postage_cost, $paypal_symbol, $decimal) . "</td><td></td></tr>";
148
  }
149
 
150
+ $output .= "<tr class='wspsc_cart_total'><td colspan='2' style='font-weight: bold; text-align: right;'>" . (__("Total", "wordpress-simple-paypal-shopping-cart")) . ": </td><td style='text-align: center'>" . print_payment_currency(($total + $postage_cost), $paypal_symbol, $decimal) . "</td><td></td></tr>";
151
 
152
  if (isset($_SESSION['wpspsc_cart_action_msg']) && !empty($_SESSION['wpspsc_cart_action_msg'])) {
153
+ $output .= '<tr class="wspsc_cart_action_msg"><td colspan="4"><span class="wpspsc_cart_action_msg">' . $_SESSION['wpspsc_cart_action_msg'] . '</span></td></tr>';
154
  }
155
 
156
  if (get_option('wpspsc_enable_coupon') == '1') {
157
+ $output .= '<tr class="wspsc_cart_coupon_row"><td colspan="4">
158
  <div class="wpspsc_coupon_section">
159
+ <span class="wpspsc_coupon_label">' . (__("Enter Coupon Code", "wordpress-simple-paypal-shopping-cart")) . '</span>
160
+ <form method="post" action="" >'.wp_nonce_field('wspsc_coupon', '_wpnonce', true, false).'
161
  <input type="text" name="wpspsc_coupon_code" value="" size="10" />
162
+ <span class="wpspsc_coupon_apply_button"><input type="submit" name="wpspsc_apply_coupon" class="wpspsc_apply_coupon" value="' . (__("Apply", "wordpress-simple-paypal-shopping-cart")) . '" /></span>
163
  </form>
164
  </div>
165
  </td></tr>';
178
  $output .= "<tr class='wpspsc_checkout_form'><td colspan='4'>";
179
  $output .= '<form action="' . $paypal_checkout_url . '" method="post" ' . $form_target_code . '>';
180
  $output .= $form;
181
+ if ($count){
182
+ $checkout_button_img_src = WP_CART_URL . '/images/' . (__("paypal_checkout_EN.png", "wordpress-simple-paypal-shopping-cart"));
183
+ $output .= '<input type="image" src="' . apply_filters('wspsc_cart_checkout_button_image_src', $checkout_button_img_src) . '" name="submit" class="wp_cart_checkout_button" alt="' . (__("Make payments with PayPal - it\'s fast, free and secure!", "wordpress-simple-paypal-shopping-cart")) . '" />';
184
+ }
185
+
186
  $output .= $urls . '
187
  <input type="hidden" name="business" value="' . $email . '" />
188
  <input type="hidden" name="currency_code" value="' . $paypal_currency . '" />
200
  $output .= '<input type="hidden" name="page_style" value="' . $page_style_name . '" />';
201
  }
202
  $output .= wp_cart_add_custom_field();
203
+
204
+ $extra_pp_fields = apply_filters('wspsc_cart_extra_paypal_fields', '');//Can be used to add extra PayPal hidden input fields for the cart checkout
205
+ $output .= $extra_pp_fields;
206
+
207
  $output .= '</form>';
208
  $output .= '</td></tr>';
209
  }
ipn_handle_debug.log → ipn_handle_debug.txt RENAMED
File without changes
languages/WSPSC-es_ES.mo DELETED
Binary file
languages/WSPSC-es_ES.po DELETED
@@ -1,330 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WSPSC v2.8.9\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2011-03-16 21:49+0100\n"
6
- "PO-Revision-Date: 2012-04-04 17:16+0100\n"
7
- "Language-Team: Ruhul Amin\n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "X-Poedit-KeywordsList: _e;__\n"
12
- "X-Poedit-Basepath: .\n"
13
- "X-Poedit-Language: English\n"
14
- "X-Poedit-Country: UNITED STATES\n"
15
- "Last-Translator: Ignacio Gallego Puyol <ignavago@gmail.com>\n"
16
- "X-Poedit-SearchPath-0: ..\n"
17
-
18
- #: ../wp_shopping_cart.php:33
19
- msgid "Your Shopping Cart"
20
- msgstr "Su carrito de compra"
21
-
22
- #: ../wp_shopping_cart.php:34
23
- msgid "Your cart is empty"
24
- msgstr "Su cesta está vacía"
25
-
26
- #: ../wp_shopping_cart.php:140
27
- msgid "Shopping Cart Configuration Error! You must specify a value in the 'Checkout Page URL' field for the automatic redirection feature to work!"
28
- msgstr "¡Error en la configuración! Debe especificar un valor en el campo 'Checkout Page URL' para que la opción de redirección automática funcione."
29
-
30
- #: ../wp_shopping_cart.php:197
31
- msgid "Visit The Shop"
32
- msgstr "Visitar la tienda"
33
-
34
- #: ../wp_shopping_cart.php:209
35
- #: ../wp_shopping_cart.php:606
36
- msgid "USD"
37
- msgstr "EUR"
38
-
39
- #: ../wp_shopping_cart.php:213
40
- #: ../wp_shopping_cart.php:609
41
- msgid "$"
42
- msgstr "€"
43
-
44
- #: ../wp_shopping_cart.php:242
45
- msgid "Cart"
46
- msgstr "Carro"
47
-
48
- #: ../wp_shopping_cart.php:251
49
- msgid "Hit enter to submit new Quantity."
50
- msgstr "Pulse Intro para enviar nueva cantidad."
51
-
52
- #: ../wp_shopping_cart.php:262
53
- msgid "Item Name"
54
- msgstr "Nombre del artículo"
55
-
56
- #: ../wp_shopping_cart.php:262
57
- msgid "Quantity"
58
- msgstr "Cantidad"
59
-
60
- #: ../wp_shopping_cart.php:262
61
- msgid "Price"
62
- msgstr "Precio"
63
-
64
- #: ../wp_shopping_cart.php:299
65
- msgid "Remove"
66
- msgstr "Quitar"
67
-
68
- #: ../wp_shopping_cart.php:329
69
- msgid "Subtotal"
70
- msgstr "Subtotal"
71
-
72
- #: ../wp_shopping_cart.php:330
73
- msgid "Shipping"
74
- msgstr "Gastos de envío"
75
-
76
- #: ../wp_shopping_cart.php:334
77
- msgid "Total"
78
- msgstr "Total"
79
-
80
- #: ../wp_shopping_cart.php:339
81
- msgid "paypal_checkout_EN.png"
82
- msgstr "paypal_checkout_ES.png"
83
-
84
- #: ../wp_shopping_cart.php:339
85
- msgid "Make payments with PayPal - it\\'s fast, free and secure!"
86
- msgstr "Realice pagos con PayPal - ¡es rápido, gratis y seguro!"
87
-
88
- #: ../wp_shopping_cart.php:387
89
- #: ../wp_shopping_cart.php:469
90
- #: ../wp_shopping_cart.php:528
91
- #: ../wp_shopping_cart.php:534
92
- #: ../wp_shopping_cart.php:622
93
- msgid "Add to Cart"
94
- msgstr "Añadir a la cesta"
95
-
96
- #: ../wp_shopping_cart.php:602
97
- msgid "Options Updated!"
98
- msgstr "¡Opciones actualizadas!"
99
-
100
- #: ../wp_shopping_cart.php:662
101
- msgid "Simple Paypal Shopping Cart Settings"
102
- msgstr "Opciones de Simple Paypal Shopping Cart"
103
-
104
- #: ../wp_shopping_cart.php:664
105
- msgid "For information, updates and detailed documentation, please visit:"
106
- msgstr "Para más información, actualizaciones y documentación detallada, por favor visite:"
107
-
108
- #: ../wp_shopping_cart.php:668
109
- msgid "Usage:"
110
- msgstr "Utilización:"
111
-
112
- #: ../wp_shopping_cart.php:670
113
- msgid "1. To add the 'Add to Cart' button simply add the trigger text"
114
- msgstr "1. Para añadir un botón 'Añadir al carro' simplemente escribe el sigiuente texto"
115
-
116
- #: ../wp_shopping_cart.php:670
117
- msgid "PRODUCT-NAME"
118
- msgstr "NOMBRE-PRODUCTO"
119
-
120
- #: ../wp_shopping_cart.php:670
121
- msgid "PRODUCT-PRICE"
122
- msgstr "PRECIO-PRODUCTO"
123
-
124
- #: ../wp_shopping_cart.php:670
125
- msgid "to a post or page next to the product. Replace PRODUCT-NAME and PRODUCT-PRICE with the actual name and price. For example: [wp_cart:Test Product:price:15.00:end]"
126
- msgstr "en una entrada o tu página de productos. Coloca NOMBRE-PRODUCTO y PRECIO-PRODUCTO con el nombre real y el precio. Por ejemplo: [wp_cart: Producto de prueba:price:15.00:end]"
127
-
128
- #: ../wp_shopping_cart.php:671
129
- msgid "2. To add the shopping cart to a post or page (eg. checkout page) simply add the shortcode"
130
- msgstr "2. Para agregar el carro de la compra a una entrada o página (ej. página de pago) sólo tiene que añadir el siguiente código"
131
-
132
- #: ../wp_shopping_cart.php:671
133
- msgid "to a post or page or use the sidebar widget to add the shopping cart to the sidebar."
134
- msgstr "en la entrada o página o la barra lateral para añadir el carrito en la zona de la barra."
135
-
136
- #: ../wp_shopping_cart.php:679
137
- msgid "PayPal and Shopping Cart Settings"
138
- msgstr "Opciones PayPal and Shopping Cart"
139
-
140
- #: ../wp_shopping_cart.php:685
141
- msgid "Paypal Email Address"
142
- msgstr "Dirección Email en Paypal"
143
-
144
- #: ../wp_shopping_cart.php:689
145
- msgid "Shopping Cart title"
146
- msgstr "Título del Carro de la Compra"
147
-
148
- #: ../wp_shopping_cart.php:693
149
- msgid "Text/Image to Show When Cart Empty"
150
- msgstr "Texto/Imagen para mostrar cuando el carrito está vacío"
151
-
152
- #: ../wp_shopping_cart.php:694
153
- msgid "You can either enter plain text or the URL of an image that you want to show when the shopping cart is empty"
154
- msgstr "Puede introducir texto o la URL de una imagen que quieres mostrar cuando el carrito de la compra está vacío"
155
-
156
- #: ../wp_shopping_cart.php:697
157
- msgid "Currency"
158
- msgstr "Moneda"
159
-
160
- #: ../wp_shopping_cart.php:698
161
- #: ../wp_shopping_cart.php:702
162
- #: ../wp_shopping_cart.php:728
163
- msgid "e.g."
164
- msgstr "e.j."
165
-
166
- #: ../wp_shopping_cart.php:701
167
- msgid "Currency Symbol"
168
- msgstr "Símbolo de la moneda"
169
-
170
- #: ../wp_shopping_cart.php:707
171
- msgid "Base Shipping Cost"
172
- msgstr "Coste base del envío"
173
-
174
- #: ../wp_shopping_cart.php:708
175
- msgid "This is the base shipping cost that will be added to the total of individual products shipping cost. Put 0 if you do not want to charge shipping cost or use base shipping cost."
176
- msgstr "Esta es el coste base de los gastos de envío, que se sumará al total de los costes unitarios de envío del producto. Ponga 0 si no quiere cargar el coste de envío o use el coste base."
177
-
178
- #: ../wp_shopping_cart.php:708
179
- msgid "Learn More on Shipping Calculation"
180
- msgstr "Lea más información sobre el cálculo de envío"
181
-
182
- #: ../wp_shopping_cart.php:712
183
- msgid "Free Shipping for Orders Over"
184
- msgstr "Envío gratuito para pedidos superiores a"
185
-
186
- #: ../wp_shopping_cart.php:713
187
- msgid "When a customer orders more than this amount he/she will get free shipping. Leave empty if you do not want to use it."
188
- msgstr "Cuando un cliente ordena una cantidad mayor recibirá el envío gratis. Dejar en blanco si no desea utilizarlo."
189
-
190
- #: ../wp_shopping_cart.php:717
191
- msgid "Must Collect Shipping Address on PayPal"
192
- msgstr "Recoger la dirección de envío en Paypal"
193
-
194
- #: ../wp_shopping_cart.php:718
195
- msgid "If checked the customer will be forced to enter a shipping address on PayPal when checking out."
196
- msgstr "Si está marcado, el cliente será obligado a introducir una dirección de envío en PayPal al momento de pagar."
197
-
198
- #: ../wp_shopping_cart.php:722
199
- msgid "Use PayPal Profile Based Shipping"
200
- msgstr "Utilice gastos de envío basado en el perfíl de PayPal"
201
-
202
- #: ../wp_shopping_cart.php:723
203
- msgid "Check this if you want to use"
204
- msgstr "Marque esta opción si desea utilizar"
205
-
206
- #: ../wp_shopping_cart.php:723
207
- msgid "PayPal profile based shipping"
208
- msgstr "Envío basado en el perfil de Paypal"
209
-
210
- #: ../wp_shopping_cart.php:723
211
- msgid "Using this will ignore any other shipping options that you have specified in this plugin."
212
- msgstr "Usando esto se ignorará cualquier otra opción de gastos de envío que tu tengas especificada en este plugin."
213
-
214
- #: ../wp_shopping_cart.php:727
215
- msgid "Add to Cart button text or Image"
216
- msgstr "Añadir al botón del carro un texto o imagen "
217
-
218
- #: ../wp_shopping_cart.php:728
219
- msgid "To use a customized image as the button simply enter the URL of the image file."
220
- msgstr "Para utilizar una imagen personalizada como botón sólo escriba la dirección URL del archivo de la imagen."
221
-
222
- #: ../wp_shopping_cart.php:732
223
- msgid "Return URL"
224
- msgstr "URL de vuelta a la web"
225
-
226
- #: ../wp_shopping_cart.php:733
227
- msgid "This is the URL the customer will be redirected to after a successful payment"
228
- msgstr "Esta es la URL que el cliente va a ser redirigido después de haber pagado."
229
-
230
- #: ../wp_shopping_cart.php:737
231
- msgid "Products Page URL"
232
- msgstr "URL de Página de productos"
233
-
234
- #: ../wp_shopping_cart.php:738
235
- msgid "This is the URL of your products page if you have any. If used, the shopping cart widget will display a link to this page when cart is empty"
236
- msgstr "Esta es la URL de la página de productos si usted tiene alguna. Si es usado, el widget de carrito de la compra mostrará un enlace a esta página cuando la está vacío."
237
-
238
- #: ../wp_shopping_cart.php:742
239
- msgid "Automatic redirection to checkout page"
240
- msgstr "Redirección automática a página de la caja."
241
-
242
- #: ../wp_shopping_cart.php:744
243
- msgid "Checkout Page URL"
244
- msgstr "URL de página de la caja"
245
-
246
- #: ../wp_shopping_cart.php:745
247
- msgid "If checked the visitor will be redirected to the Checkout page after a product is added to the cart. You must enter a URL in the Checkout Page URL field for this to work."
248
- msgstr "Si es marcado el visitante será redirigido a la página de la caja después de añadir un producto al carro. Debes escribir la URL en 'URL de página de la caja' para qeu funcione."
249
-
250
- #: ../wp_shopping_cart.php:749
251
- msgid "Reset Cart After Redirection to Return Page"
252
- msgstr "Vaciar el carro después de volver a la página."
253
-
254
- #: ../wp_shopping_cart.php:751
255
- msgid "If checked the shopping cart will be reset when the customer lands on the return URL (Thank You) page."
256
- msgstr "Si es marcado, el carrito de la compra estará limpio cuando vuelva, con una página de gratitud."
257
-
258
- #: ../wp_shopping_cart.php:758
259
- msgid "Hide Shopping Cart Image"
260
- msgstr "Ocultar imagen de carrito de compra"
261
-
262
- #: ../wp_shopping_cart.php:759
263
- msgid "If ticked the shopping cart image will not be shown."
264
- msgstr "Si es marcado la imagen del carrito de compra no se mostrará."
265
-
266
- #: ../wp_shopping_cart.php:765
267
- msgid "Use WP Affiliate Platform"
268
- msgstr "Usar WP Plataforma de Afiliados"
269
-
270
- #: ../wp_shopping_cart.php:767
271
- msgid "Check this if using with the"
272
- msgstr "Marca esto si utilizas "
273
-
274
- #: ../wp_shopping_cart.php:767
275
- msgid "This plugin lets you run your own affiliate campaign/program and allows you to reward (pay commission) your affiliates for referred sales"
276
- msgstr "Este complemento le permite añadir su propia programa de fidelización y le permite recompensar con (pago por comisión) a sus afiliados por las ventas referenciadas."
277
-
278
- #: ../wp_shopping_cart.php:772
279
- msgid "Update Options &raquo;"
280
- msgstr "Actualiza los cambios &raquo;"
281
-
282
- #: ../wp_shopping_cart.php:776
283
- msgid "Like the Simple WordPress Shopping Cart Plugin?"
284
- msgstr "¿Te gusta Simple WordPress Shopping Cart Plugin?"
285
-
286
- #: ../wp_shopping_cart.php:776
287
- msgid "Give it a good rating"
288
- msgstr "Dale una buena valoración"
289
-
290
- #: ../wp_shopping_cart.php:781
291
- msgid "WP Paypal Shopping Cart Options"
292
- msgstr "Opciones WP Paypal Shopping Cart"
293
-
294
- #: ../wp_shopping_cart.php:791
295
- #: ../wp_shopping_cart.php:819
296
- #: ../wp_shopping_cart.php:820
297
- msgid "WP Paypal Shopping Cart"
298
- msgstr "WP Paypal Shopping Cart"
299
-
300
- #: ../wp_shopping_cart.php:791
301
- msgid "WP Shopping Cart"
302
- msgstr "WP Shopping Cart"
303
-
304
- #: ../wp_shopping_cart.php:799
305
- msgid "Shopping Cart"
306
- msgstr "Carrito de Compras"
307
-
308
- #: ../wp_shopping_cart.php:811
309
- msgid "Set the Plugin Settings from the Settings menu"
310
- msgstr "Establecer las opciones del complemento desde el menú de Ajustes"
311
-
312
- #: ../wp_shopping_cart.php:818
313
- msgid "Display WP Paypal Shopping Cart."
314
- msgstr "Muestra WP Paypal Shopping Cart."
315
-
316
- #: ../wp_shopping_cart.php:832
317
- msgid "Settings"
318
- msgstr "Opciones"
319
-
320
- #~ msgid "show-wp-shopping-cart"
321
- #~ msgstr "show-wp-shopping-cart"
322
-
323
- #~ msgid ""
324
- #~ "2. To add the shopping cart to a post or page (eg. checkout page) simply "
325
- #~ "add the shortcode <strong>[show_wp_shopping_cart]</strong> to a post or "
326
- #~ "page or use the sidebar widget to add the shopping cart to the sidebar."
327
- #~ msgstr ""
328
- #~ "2. To add the shopping cart to a post or page (eg. checkout page) simply "
329
- #~ "add the shortcode <strong>[show_wp_shopping_cart]</strong> to a post or "
330
- #~ "page or use the sidebar widget to add the shopping cart to the sidebar."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/WSPSC-it_IT.mo DELETED
Binary file
languages/WSPSC-it_IT.po DELETED
@@ -1,906 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WSPSC v4.0.5\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-01-21 23:24+0100\n"
6
- "PO-Revision-Date: 2015-01-22 22:36+0100\n"
7
- "Last-Translator: Giangiacomo Fanizzi <uomomacchina@gmail.com>\n"
8
- "Language-Team: Giangiacomo Fanizzi <uomomacchina@gmail.com>\n"
9
- "Language: it_IT\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: _e;__\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Generator: Poedit 1.7.3\n"
16
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
-
19
- #: ../class-coupon.php:19
20
- msgid "Admin needs to configure some discount coupons before it can be used"
21
- msgstr ""
22
- "L'amministratore deve configurare alcuni buoni sconto prima di poter essere "
23
- "utilizzato"
24
-
25
- #: ../class-coupon.php:86
26
- msgid "Coupon ID: "
27
- msgstr "ID del Coupon: "
28
-
29
- #: ../class-coupon.php:87
30
- msgid "Coupon Code: "
31
- msgstr "Codice del Coupon: "
32
-
33
- #: ../class-coupon.php:88
34
- msgid "Discount Amt: "
35
- msgstr "Ammontare Sconto: "
36
-
37
- #: ../class-coupon.php:89
38
- msgid "Expiry date: "
39
- msgstr "Data di scadenza: "
40
-
41
- #: ../class-coupon.php:98
42
- msgid "Coupon code used does not exist!"
43
- msgstr "Il Codice del Coupon utilizzato non esiste!"
44
-
45
- #: ../class-coupon.php:105
46
- msgid "Coupon code expired!"
47
- msgstr "Codice del Coupon scaduto!"
48
-
49
- #: ../class-coupon.php:110
50
- msgid "Discount can only be applied once per checkout!"
51
- msgstr "Discount can only be applied once per checkout!"
52
-
53
- #: ../class-coupon.php:132
54
- msgid "Discount applied successfully! Total Discount: "
55
- msgstr "Sconto applicato con successo! Totale Sconto: "
56
-
57
- #: ../includes/wspsc-cart-functions.php:18
58
- msgid "Visit The Shop"
59
- msgstr "Visita lo Shop"
60
-
61
- #: ../includes/wspsc-cart-functions.php:30
62
- #: ../wp_shopping_cart_settings.php:104
63
- msgid "USD"
64
- msgstr "EUR"
65
-
66
- #: ../includes/wspsc-cart-functions.php:34
67
- #: ../wp_shopping_cart_settings.php:107
68
- msgid "$"
69
- msgstr "€"
70
-
71
- #: ../includes/wspsc-cart-functions.php:59
72
- msgid "Cart"
73
- msgstr "Carrello"
74
-
75
- #: ../includes/wspsc-cart-functions.php:67
76
- msgid "Hit enter to submit new Quantity."
77
- msgstr "Premi Invio per confermare la nuova Quantità."
78
-
79
- #: ../includes/wspsc-cart-functions.php:77
80
- msgid "Item Name"
81
- msgstr "Nome Oggetto"
82
-
83
- #: ../includes/wspsc-cart-functions.php:77
84
- msgid "Quantity"
85
- msgstr "Quantità"
86
-
87
- #: ../includes/wspsc-cart-functions.php:77
88
- msgid "Price"
89
- msgstr "Prezzo"
90
-
91
- #: ../includes/wspsc-cart-functions.php:116
92
- msgid "Remove"
93
- msgstr "Rimuovi"
94
-
95
- #: ../includes/wspsc-cart-functions.php:141
96
- msgid "Subtotal"
97
- msgstr "Subtotale"
98
-
99
- #: ../includes/wspsc-cart-functions.php:142 ../wp_shopping_cart_orders.php:95
100
- msgid "Shipping"
101
- msgstr "Spedizione"
102
-
103
- #: ../includes/wspsc-cart-functions.php:145 ../wp_shopping_cart_orders.php:91
104
- #: ../wp_shopping_cart_orders.php:168
105
- msgid "Total"
106
- msgstr "Totale"
107
-
108
- #: ../includes/wspsc-cart-functions.php:154
109
- msgid "Enter Coupon Code"
110
- msgstr "Inserisci il Codice Coupon"
111
-
112
- #: ../includes/wspsc-cart-functions.php:157
113
- msgid "Apply"
114
- msgstr "Applica"
115
-
116
- #: ../includes/wspsc-cart-functions.php:177
117
- msgid "paypal_checkout_EN.png"
118
- msgstr "paypal_checkout_EN.png"
119
-
120
- #: ../includes/wspsc-cart-functions.php:177
121
- msgid "Make payments with PayPal - it\\'s fast, free and secure!"
122
- msgstr "Paga con PayPal - è veloce, gratuito e sicuro!"
123
-
124
- #: ../lib/gallery-wp-cart.php:32
125
- msgid "[View with PicLens]"
126
- msgstr "[Visualizza Con PicLens]"
127
-
128
- #: ../wp_shopping_cart.php:175
129
- msgid "Error! Your session is out of sync. Please reset your session."
130
- msgstr ""
131
- "Errore! La tua sessione non è sincronizzata. Prego, resetta la sessione."
132
-
133
- #: ../wp_shopping_cart.php:183
134
- msgid ""
135
- "Shopping Cart Configuration Error! You must specify a value in the 'Checkout "
136
- "Page URL' field for the automatic redirection feature to work!"
137
- msgstr ""
138
- "Errore di Configurazione Carrello! È necessario specificare un valore nel "
139
- "campo 'URL della pagina Cassa' affinché il reindirizzamento automatico "
140
- "funzioni!"
141
-
142
- #: ../wp_shopping_cart.php:272 ../wp_shopping_cart.php:347
143
- #: ../wp_shopping_cart.php:412 ../wp_shopping_cart.php:454
144
- #: ../wp_shopping_cart.php:458 ../wp_shopping_cart_settings.php:120
145
- msgid "Add to Cart"
146
- msgstr "Aggiungi al Carrello"
147
-
148
- #: ../wp_shopping_cart.php:540
149
- msgid "WP Paypal Shopping Cart"
150
- msgstr "WP Paypal Shopping Cart"
151
-
152
- #: ../wp_shopping_cart.php:540
153
- msgid "WP Shopping Cart"
154
- msgstr "WP Shopping Cart"
155
-
156
- #: ../wp_shopping_cart.php:567
157
- msgid "Shopping Cart"
158
- msgstr "Carrello della Spesa"
159
-
160
- #: ../wp_shopping_cart.php:592
161
- msgid "Settings"
162
- msgstr "Impostazioni"
163
-
164
- #: ../wp_shopping_cart_discounts_menu.php:52
165
- #: ../wp_shopping_cart_settings.php:186 ../wp_shopping_cart_settings.php:422
166
- msgid ""
167
- "For more information, updates, detailed documentation and video tutorial, "
168
- "please visit:"
169
- msgstr ""
170
- "Per maggiori informazioni, aggiornamenti, documentazione dettagliata e video "
171
- "tutorial, prego visita il sito:"
172
-
173
- #: ../wp_shopping_cart_discounts_menu.php:53
174
- #: ../wp_shopping_cart_settings.php:187 ../wp_shopping_cart_settings.php:423
175
- msgid "WP Simple Cart Homepage"
176
- msgstr "WP Simple Cart Homepage"
177
-
178
- #: ../wp_shopping_cart_discounts_menu.php:61
179
- msgid "Coupon/Discount Settings"
180
- msgstr "Opzioni Coupon/Sconto"
181
-
182
- #: ../wp_shopping_cart_discounts_menu.php:68
183
- msgid "Enable Discount Coupon Feature"
184
- msgstr "Abilita Opzione Coupon Sconto"
185
-
186
- #: ../wp_shopping_cart_discounts_menu.php:71
187
- msgid ""
188
- "When checked your customers will be able to enter a coupon code in the "
189
- "shopping cart before checkout."
190
- msgstr ""
191
- "Se selezionato il cliente potrà inserire un Codice Coupon nel Carrello prima "
192
- "del checkout."
193
-
194
- #: ../wp_shopping_cart_discounts_menu.php:78
195
- msgid "Update &raquo;"
196
- msgstr "Aggiorna &raquo;"
197
-
198
- #: ../wp_shopping_cart_discounts_menu.php:94
199
- msgid "Add Coupon/Discount"
200
- msgstr "Aggiungi Coupon/Sconto"
201
-
202
- #: ../wp_shopping_cart_discounts_menu.php:119
203
- msgid "Save Coupon &raquo;"
204
- msgstr "Salva Coupon &raquo;"
205
-
206
- #: ../wp_shopping_cart_discounts_menu.php:137
207
- msgid "Coupon Code"
208
- msgstr "Codice Coupon"
209
-
210
- #: ../wp_shopping_cart_discounts_menu.php:138
211
- msgid "Discount Rate (%)"
212
- msgstr "Percentuale Sconto (%)"
213
-
214
- #: ../wp_shopping_cart_discounts_menu.php:139
215
- msgid "Expiry Date"
216
- msgstr "Data di Scadenza"
217
-
218
- #: ../wp_shopping_cart_discounts_menu.php:158
219
- msgid "No Expiry"
220
- msgstr "Nessuna Scadenza"
221
-
222
- #: ../wp_shopping_cart_discounts_menu.php:174
223
- msgid "No Coupons Configured."
224
- msgstr "Nessun Coupon Configurato"
225
-
226
- #: ../wp_shopping_cart_discounts_menu.php:179
227
- msgid "No Record found"
228
- msgstr "Nessun Record trovato"
229
-
230
- #: ../wp_shopping_cart_misc_functions.php:169
231
- msgid "Your Shopping Cart"
232
- msgstr "Il tuo Carrello della Spesa"
233
-
234
- #: ../wp_shopping_cart_misc_functions.php:170
235
- msgid "Your cart is empty"
236
- msgstr "Il tuo carrello è vuoto"
237
-
238
- #: ../wp_shopping_cart_misc_functions.php:200
239
- msgid ""
240
- "Need a shopping cart plugin with a lot of features and good support? Check "
241
- "out our "
242
- msgstr ""
243
- "Hai bisogno di un plugin per il Carrello della Spesa con un sacco di "
244
- "funzioni e un buon supporto? Valuta il nostro "
245
-
246
- #: ../wp_shopping_cart_misc_functions.php:201
247
- msgid "WP eStore Plugin"
248
- msgstr "WP eStore Plugin"
249
-
250
- #: ../wp_shopping_cart_orders.php:10
251
- msgid "Cart Orders"
252
- msgstr "Ordini Carrello"
253
-
254
- #: ../wp_shopping_cart_orders.php:11
255
- msgid "Cart Order"
256
- msgstr "Ordine Carrello"
257
-
258
- #: ../wp_shopping_cart_orders.php:12
259
- msgid "Add New"
260
- msgstr "Aggiungi Nuovo"
261
-
262
- #: ../wp_shopping_cart_orders.php:13
263
- msgid "Add New Order"
264
- msgstr "Aggiungi Nuovo Ordine"
265
-
266
- #: ../wp_shopping_cart_orders.php:14
267
- msgid "Edit"
268
- msgstr "Modifica"
269
-
270
- #: ../wp_shopping_cart_orders.php:15
271
- msgid "Edit Order"
272
- msgstr "Modifica Ordine"
273
-
274
- #: ../wp_shopping_cart_orders.php:16
275
- msgid "New Order"
276
- msgstr "Nuovo Ordine"
277
-
278
- #: ../wp_shopping_cart_orders.php:17
279
- msgid "View"
280
- msgstr "Visualizza"
281
-
282
- #: ../wp_shopping_cart_orders.php:18
283
- msgid "View Order"
284
- msgstr "Visualizza Ordine"
285
-
286
- #: ../wp_shopping_cart_orders.php:19
287
- msgid "Search Order"
288
- msgstr "Cerca Ordine"
289
-
290
- #: ../wp_shopping_cart_orders.php:20
291
- msgid "No order found"
292
- msgstr "Nessun ordine trovato"
293
-
294
- #: ../wp_shopping_cart_orders.php:21
295
- msgid "No order found in Trash"
296
- msgstr "Nessun Ordine trovato nel Cestino"
297
-
298
- #: ../wp_shopping_cart_orders.php:22
299
- msgid "Parent Order"
300
- msgstr "Ordine Originale"
301
-
302
- #: ../wp_shopping_cart_orders.php:38
303
- msgid "Order Review"
304
- msgstr "Recensione Ordine"
305
-
306
- #: ../wp_shopping_cart_orders.php:70
307
- msgid "Order ID: #"
308
- msgstr "ID Ordine: #"
309
-
310
- #: ../wp_shopping_cart_orders.php:72
311
- msgid "Transaction ID: #"
312
- msgstr "ID Transazione: #"
313
-
314
- #: ../wp_shopping_cart_orders.php:75 ../wp_shopping_cart_orders.php:165
315
- msgid "First Name"
316
- msgstr "Nome"
317
-
318
- #: ../wp_shopping_cart_orders.php:79 ../wp_shopping_cart_orders.php:166
319
- msgid "Last Name"
320
- msgstr "Cognome"
321
-
322
- #: ../wp_shopping_cart_orders.php:83
323
- msgid "Email Address"
324
- msgstr "Indirizzo email"
325
-
326
- #: ../wp_shopping_cart_orders.php:87
327
- msgid "IP Address"
328
- msgstr "Indirizzo IP"
329
-
330
- #: ../wp_shopping_cart_orders.php:99
331
- msgid "Address"
332
- msgstr "Indirizzo"
333
-
334
- #: ../wp_shopping_cart_orders.php:103
335
- msgid "Phone"
336
- msgstr "Telefono"
337
-
338
- #: ../wp_shopping_cart_orders.php:107
339
- msgid "Buyer Email Sent?"
340
- msgstr "Email Acquirente Inviata?"
341
-
342
- #: ../wp_shopping_cart_orders.php:111
343
- msgid "Item(s) Ordered:"
344
- msgstr "Articolo/i Ordinato/i:"
345
-
346
- #: ../wp_shopping_cart_orders.php:115
347
- msgid "Applied Coupon Code:"
348
- msgstr "Applicato Codice Coupon:"
349
-
350
- #: ../wp_shopping_cart_orders.php:164
351
- msgid "Order ID"
352
- msgstr "ID Ordine"
353
-
354
- #: ../wp_shopping_cart_orders.php:167
355
- msgid "Email"
356
- msgstr "Email"
357
-
358
- #: ../wp_shopping_cart_orders.php:169
359
- msgid "Status"
360
- msgstr "Stato"
361
-
362
- #: ../wp_shopping_cart_orders.php:170
363
- msgid "Date"
364
- msgstr "Data"
365
-
366
- #: ../wp_shopping_cart_settings.php:10
367
- msgid "WP Paypal Shopping Cart Options"
368
- msgstr "Opzioni di WP Paypal Shopping Cart"
369
-
370
- #: ../wp_shopping_cart_settings.php:100
371
- msgid "Options Updated!"
372
- msgstr "Opzioni Aggiornate!"
373
-
374
- #: ../wp_shopping_cart_settings.php:183
375
- msgid "Simple PayPal Shopping Cart Settings"
376
- msgstr "Impostazioni di Simple Paypal Shopping Cart"
377
-
378
- #: ../wp_shopping_cart_settings.php:191
379
- msgid "Quick Usage Guide"
380
- msgstr "Guida Rapida"
381
-
382
- #: ../wp_shopping_cart_settings.php:194
383
- msgid "Step 1) "
384
- msgstr "Step 1) "
385
-
386
- #: ../wp_shopping_cart_settings.php:194
387
- msgid "To add an 'Add to Cart' button for a product simply add the shortcode"
388
- msgstr ""
389
- "Per aggiungere un pulsante 'Aggiungi al Carrello' per un prodotto trascrivi "
390
- "semplicemente lo shortcode"
391
-
392
- #: ../wp_shopping_cart_settings.php:194
393
- msgid "PRODUCT-NAME"
394
- msgstr "PRODOTTO-NOME"
395
-
396
- #: ../wp_shopping_cart_settings.php:194
397
- msgid "PRODUCT-PRICE"
398
- msgstr "PRODOTTO-PREZZO"
399
-
400
- #: ../wp_shopping_cart_settings.php:194
401
- msgid ""
402
- "to a post or page next to the product. Replace PRODUCT-NAME and PRODUCT-"
403
- "PRICE with the actual name and price of your product."
404
- msgstr ""
405
- "ad un articolo o ad una pagina accanto al prodotto. Sostituisci PRODOTTO-"
406
- "NOME e PRODOTTO-PREZZO con il nome e il prezzo effettivo."
407
-
408
- #: ../wp_shopping_cart_settings.php:195
409
- msgid "Example add to cart button shortcode usage:"
410
- msgstr "Esempio di utilizzo di shortcode per il pulsante Aggiungi al Carrello:"
411
-
412
- #: ../wp_shopping_cart_settings.php:196
413
- msgid "Step 2) "
414
- msgstr "Step 2) "
415
-
416
- #: ../wp_shopping_cart_settings.php:196
417
- msgid ""
418
- "To add the shopping cart to a post or page (example: a checkout page) simply "
419
- "add the shortcode"
420
- msgstr ""
421
- "Per aggiungere il Carrello di un articolo o ad una pagina (esempio: una "
422
- "pagina di checkout) semplicemente aggiungi lo shortcode"
423
-
424
- #: ../wp_shopping_cart_settings.php:196
425
- msgid ""
426
- "to a post or page or use the sidebar widget to add the shopping cart to the "
427
- "sidebar."
428
- msgstr ""
429
- "ad un Articolo o ad una Pagina oppure utilizzare il Sidecar Widget per "
430
- "aggiungere il Carrello alla sidebar."
431
-
432
- #: ../wp_shopping_cart_settings.php:197
433
- msgid "Example shopping cart shortcode usage:"
434
- msgstr "Esempio di utilizzo dello shortcode per il Carrello:"
435
-
436
- #: ../wp_shopping_cart_settings.php:206
437
- msgid "PayPal and Shopping Cart Settings"
438
- msgstr "Impostazioni PayPal e Carrello"
439
-
440
- #: ../wp_shopping_cart_settings.php:212
441
- msgid "Paypal Email Address"
442
- msgstr "Indirizzo email Paypal"
443
-
444
- #: ../wp_shopping_cart_settings.php:216
445
- msgid "Shopping Cart title"
446
- msgstr "Titolo del Carrello"
447
-
448
- #: ../wp_shopping_cart_settings.php:220
449
- msgid "Text/Image to Show When Cart Empty"
450
- msgstr "Testo/Immagine da visualizzare quando il Carrello è vuoto"
451
-
452
- #: ../wp_shopping_cart_settings.php:221
453
- msgid ""
454
- "You can either enter plain text or the URL of an image that you want to show "
455
- "when the shopping cart is empty"
456
- msgstr ""
457
- "Puoi inserire un testo o l'URL di un'immagine che desideri visualizzare "
458
- "quando il Carrello è vuoto"
459
-
460
- #: ../wp_shopping_cart_settings.php:224
461
- msgid "Currency"
462
- msgstr "Valuta"
463
-
464
- #: ../wp_shopping_cart_settings.php:225 ../wp_shopping_cart_settings.php:229
465
- #: ../wp_shopping_cart_settings.php:256
466
- msgid "e.g."
467
- msgstr "es."
468
-
469
- #: ../wp_shopping_cart_settings.php:228
470
- msgid "Currency Symbol"
471
- msgstr "Simbolo Valuta"
472
-
473
- #: ../wp_shopping_cart_settings.php:234
474
- msgid "Base Shipping Cost"
475
- msgstr "Costo base per la Spedizione"
476
-
477
- #: ../wp_shopping_cart_settings.php:235
478
- msgid ""
479
- "This is the base shipping cost that will be added to the total of individual "
480
- "products shipping cost. Put 0 if you do not want to charge shipping cost or "
481
- "use base shipping cost."
482
- msgstr ""
483
- "Questo è il costo di trasporto di base che verrà aggiunto al totale del "
484
- "costo di spedizione di ogni singolo prodotto. Scrivi 0 se non vuoi far "
485
- "pagare alcun costo di spedizione o comunque un costo base per la spedizione."
486
-
487
- #: ../wp_shopping_cart_settings.php:235
488
- msgid "Learn More on Shipping Calculation"
489
- msgstr "Leggi altro sul Calcolo delle Spese di Spedizione"
490
-
491
- #: ../wp_shopping_cart_settings.php:239
492
- msgid "Free Shipping for Orders Over"
493
- msgstr "Spedizione Gratuita per Ordini Superiori"
494
-
495
- #: ../wp_shopping_cart_settings.php:240
496
- msgid ""
497
- "When a customer orders more than this amount he/she will get free shipping. "
498
- "Leave empty if you do not want to use it."
499
- msgstr ""
500
- "Quando un cliente ordina per più di questo importo otterrà la spedizione "
501
- "gratuita. Lascia vuoto se non desideri utilizzarlo."
502
-
503
- #: ../wp_shopping_cart_settings.php:244
504
- msgid "Must Collect Shipping Address on PayPal"
505
- msgstr "Deve raccogliere l'Indirizzo di Spedizione su PayPal"
506
-
507
- #: ../wp_shopping_cart_settings.php:245
508
- msgid ""
509
- "If checked the customer will be forced to enter a shipping address on PayPal "
510
- "when checking out."
511
- msgstr ""
512
- "Se selezionato il cliente sarà costretto a inserire un indirizzo di "
513
- "spedizione su PayPal al momento del checkout."
514
-
515
- #: ../wp_shopping_cart_settings.php:249
516
- msgid "Use PayPal Profile Based Shipping"
517
- msgstr "Utilizza Profilo di Spedizione Base di PayPal"
518
-
519
- #: ../wp_shopping_cart_settings.php:250
520
- msgid "Check this if you want to use"
521
- msgstr "Seleziona se desideri utilizzare"
522
-
523
- #: ../wp_shopping_cart_settings.php:250
524
- msgid "PayPal profile based shipping"
525
- msgstr "Spedizione basata sul profilo PayPal"
526
-
527
- #: ../wp_shopping_cart_settings.php:250
528
- msgid ""
529
- "Using this will ignore any other shipping options that you have specified in "
530
- "this plugin."
531
- msgstr ""
532
- "L'utilizzando questa funzione verrà ignorata ogni altra opzione di "
533
- "spedizione che hai specificato in questo plugin."
534
-
535
- #: ../wp_shopping_cart_settings.php:254
536
- msgid "Add to Cart button text or Image"
537
- msgstr "Testo del pulsante o immagine Aggiungi al Carrello"
538
-
539
- #: ../wp_shopping_cart_settings.php:256
540
- msgid ""
541
- "To use a customized image as the button simply enter the URL of the image "
542
- "file."
543
- msgstr ""
544
- "Per utilizzare un'immagine personalizzata come pulsante è sufficiente "
545
- "inserire l'URL del file immagine."
546
-
547
- #: ../wp_shopping_cart_settings.php:262
548
- msgid "Return URL"
549
- msgstr "URL di ritorno"
550
-
551
- #: ../wp_shopping_cart_settings.php:263
552
- msgid ""
553
- "This is the URL the customer will be redirected to after a successful payment"
554
- msgstr ""
555
- "Questo è l'URL cui il cliente che verrà reindirizzato dopo un pagamento "
556
- "confermato"
557
-
558
- #: ../wp_shopping_cart_settings.php:267
559
- msgid "Products Page URL"
560
- msgstr "URL Pagina Prodotti"
561
-
562
- #: ../wp_shopping_cart_settings.php:268
563
- msgid ""
564
- "This is the URL of your products page if you have any. If used, the shopping "
565
- "cart widget will display a link to this page when cart is empty"
566
- msgstr ""
567
- "Questo è l'URL della pagina dei prodotti, se ne hai. Se utilizzato, il "
568
- "Widget del Carrello visualizzerà un link a questa pagina quando è vuoto"
569
-
570
- #: ../wp_shopping_cart_settings.php:272
571
- msgid "Automatic redirection to checkout page"
572
- msgstr "Reindirizzamento automatico alla pagina di checkout"
573
-
574
- #: ../wp_shopping_cart_settings.php:274
575
- msgid "Checkout Page URL"
576
- msgstr "URL Pagina Checkout"
577
-
578
- #: ../wp_shopping_cart_settings.php:275
579
- msgid ""
580
- "If checked the visitor will be redirected to the Checkout page after a "
581
- "product is added to the cart. You must enter a URL in the Checkout Page URL "
582
- "field for this to work."
583
- msgstr ""
584
- "Se selezionato il visitatore verrà reindirizzato alla pagina di checkout "
585
- "dopo che un prodotto viene aggiunto al Carrello. Devi inserire un URL nel "
586
- "campo URL Pagina Checkout affinché ciò funzioni."
587
-
588
- #: ../wp_shopping_cart_settings.php:279
589
- msgid "Open PayPal Checkout Page in a New Tab"
590
- msgstr "Apri la Pagina di Checkout di PayPal in una Nuova Scheda"
591
-
592
- #: ../wp_shopping_cart_settings.php:281
593
- msgid ""
594
- "If checked the PayPal checkout page will be opened in a new tab/window when "
595
- "the user clicks the checkout button."
596
- msgstr ""
597
- "Se selezionato la pagina di checkout PayPal verrà aperta in una nuova scheda/"
598
- "finestra quando l'utente fa clic sul pulsante di checkout."
599
-
600
- #: ../wp_shopping_cart_settings.php:285
601
- msgid "Reset Cart After Redirection to Return Page"
602
- msgstr "Ripristina Carrello dopo reindirizzamento alla pagina di ritorno"
603
-
604
- #: ../wp_shopping_cart_settings.php:287
605
- msgid ""
606
- "If checked the shopping cart will be reset when the customer lands on the "
607
- "return URL (Thank You) page."
608
- msgstr ""
609
- "Se selezionata il Carrello verrà svuotato quando i clienti saranno "
610
- "reindirizzati sulla pagina di ritorno (grazie per l'acquisto)."
611
-
612
- #: ../wp_shopping_cart_settings.php:294
613
- msgid "Hide Shopping Cart Image"
614
- msgstr "Nascondi Immagine Carrello"
615
-
616
- #: ../wp_shopping_cart_settings.php:295
617
- msgid "If ticked the shopping cart image will not be shown."
618
- msgstr "Se selezionato non verrà mostrata l'immagine del Carrello."
619
-
620
- #: ../wp_shopping_cart_settings.php:301
621
- msgid "Customize the Note to Seller Text"
622
- msgstr "Personalizza il testo della Nota per il Venditore"
623
-
624
- #: ../wp_shopping_cart_settings.php:303
625
- msgid ""
626
- "Specify the text that you want to use for the note field on PayPal checkout "
627
- "page to collect special instruction (leave this field empty if you don't "
628
- "need to customize it). The default label for the note field is \"Add special "
629
- "instructions to merchant\"."
630
- msgstr ""
631
- "Specifica il testo che desideri utilizzare per il campo nota sulla pagina di "
632
- "checkout di PayPal per raccogliere istruzioni speciali (lascia il campo "
633
- "vuoto se non è necessario personalizzarlo). L'etichetta di default per il "
634
- "campo della nota è \"Aggiungi istruzioni speciali per il venditore\"."
635
-
636
- #: ../wp_shopping_cart_settings.php:309
637
- msgid "Custom Checkout Page Style Name"
638
- msgstr "Nome dello Stile personalizzato per la Pagina Checkout"
639
-
640
- #: ../wp_shopping_cart_settings.php:311
641
- msgid ""
642
- "Specify the page style name here if you want to customize the paypal "
643
- "checkout page with custom page style otherwise leave this field empty."
644
- msgstr ""
645
- "Specifica il nome dello stile pagina qui se desideri personalizzare la "
646
- "pagina di checkout di PayPal con stile di pagina personalizzata, altrimenti "
647
- "lascia vuoto questo campo."
648
-
649
- #: ../wp_shopping_cart_settings.php:317
650
- msgid "Use Strict PayPal Email Address Checking"
651
- msgstr "Utilizza controllo rigoroso dell'indirizzo email Paypal"
652
-
653
- #: ../wp_shopping_cart_settings.php:318
654
- msgid ""
655
- "If checked the script will check to make sure that the PayPal email address "
656
- "specified is the same as the account where the payment was deposited (Usage "
657
- "of PayPal Email Alias will fail too)."
658
- msgstr ""
659
- "Se selezionato lo script controllerà per assicurarsi che l'indirizzo email "
660
- "di PayPal specificato sia lo stesso del conto su cui è stato depositato il "
661
- "pagamento (l'utilizzo di PayPal Email Alias darà ugualmente esito negativo)."
662
-
663
- #: ../wp_shopping_cart_settings.php:324
664
- msgid "Use WP Affiliate Platform"
665
- msgstr "Utilizza WP Affiliate Platform (piattaforma di affiliazione)"
666
-
667
- #: ../wp_shopping_cart_settings.php:326
668
- msgid "Check this if using with the"
669
- msgstr "Seleziona questo se si utilizza con il"
670
-
671
- #: ../wp_shopping_cart_settings.php:326
672
- msgid ""
673
- "This plugin lets you run your own affiliate campaign/program and allows you "
674
- "to reward (pay commission) your affiliates for referred sales"
675
- msgstr ""
676
- "Questo plugin consente di eseguire la propria campagna/programma di "
677
- "affiliazione e ti permette di premiare i tuoi affiliati (pagare le "
678
- "commissioni) per le vendite sponsorizzate"
679
-
680
- #: ../wp_shopping_cart_settings.php:332
681
- msgid "Testing and Debugging Settings"
682
- msgstr "Opzioni di Testing e Debugging"
683
-
684
- #: ../wp_shopping_cart_settings.php:338
685
- msgid "Enable Debug"
686
- msgstr "Abilita Debug"
687
-
688
- #: ../wp_shopping_cart_settings.php:340
689
- msgid ""
690
- "If checked, debug output will be written to the log file. This is useful for "
691
- "troubleshooting post payment failures"
692
- msgstr ""
693
- "Se selezionato, l'output di debug verrà scritto nel file di registro. Questo "
694
- "è utile per la risoluzione di problemi ed errori successivi al pagamento."
695
-
696
- #: ../wp_shopping_cart_settings.php:351
697
- msgid "Enable Sandbox Testing"
698
- msgstr "Abilita Sandbox Testing"
699
-
700
- #: ../wp_shopping_cart_settings.php:353
701
- msgid ""
702
- "Check this option if you want to do PayPal sandbox testing. You will need to "
703
- "create a PayPal sandbox account from PayPal Developer site"
704
- msgstr ""
705
- "Spunta questa opzione se vuoi fare il test sandbox PayPal. Sarà necessario "
706
- "creare un account PayPal sandbox dal sito Paypal Developer."
707
-
708
- #: ../wp_shopping_cart_settings.php:362 ../wp_shopping_cart_settings.php:506
709
- msgid "Update Options &raquo;"
710
- msgstr "Aggiorna Opzioni &raquo;"
711
-
712
- #: ../wp_shopping_cart_settings.php:366
713
- msgid "Like the Simple WordPress Shopping Cart Plugin?"
714
- msgstr "Ti piace il plugin Simple WordPress Shopping Cart?"
715
-
716
- #: ../wp_shopping_cart_settings.php:366
717
- msgid "Give it a good rating"
718
- msgstr "Attribuiscigli una buona valutazione"
719
-
720
- #: ../wp_shopping_cart_settings.php:431
721
- msgid "Purchase Confirmation Email Settings"
722
- msgstr "Impostazioni Email di Conferma del Pagamento"
723
-
724
- #: ../wp_shopping_cart_settings.php:434
725
- msgid ""
726
- "The following options affect the emails that gets sent to your buyers after "
727
- "a purchase."
728
- msgstr ""
729
- "Le seguenti opzioni riguardano l'email che viene inviata agli acquirenti "
730
- "dopo un acquisto."
731
-
732
- #: ../wp_shopping_cart_settings.php:439
733
- msgid "Send Emails to Buyer After Purchase"
734
- msgstr "Invia Email all'Acquirente dopo l'Acquisto"
735
-
736
- #: ../wp_shopping_cart_settings.php:440
737
- msgid ""
738
- "If checked the plugin will send an email to the buyer with the sale details. "
739
- "If digital goods are purchased then the email will contain the download "
740
- "links for the purchased products."
741
- msgstr ""
742
- "Se selezionato il plugin invierà un'email all'acquirente con i dettagli di "
743
- "vendita. Se vengono acquistati beni digitali allora l'email conterrà i link "
744
- "di download per i prodotti acquistati."
745
-
746
- #: ../wp_shopping_cart_settings.php:444
747
- msgid "From Email Address"
748
- msgstr "Da Indirizzo Email"
749
-
750
- #: ../wp_shopping_cart_settings.php:446
751
- msgid ""
752
- "Example: Your Name &lt;sales@your-domain.com&gt; This is the email address "
753
- "that will be used to send the email to the buyer. This name and email "
754
- "address will appear in the from field of the email."
755
- msgstr ""
756
- "Esempio: Tuo Nome &lt;vendite@tuo-dominio.com&gt; Questo è l'indirizzo email "
757
- "che verrà utilizzato per inviare l'email all'acquirente. Questo nome e "
758
- "indirizzo email appariranno nei campi dell'email inviata."
759
-
760
- #: ../wp_shopping_cart_settings.php:450
761
- msgid "Buyer Email Subject"
762
- msgstr "Oggetto dell'Email per l'Acquirente"
763
-
764
- #: ../wp_shopping_cart_settings.php:452
765
- msgid "This is the subject of the email that will be sent to the buyer."
766
- msgstr "Questo è l'oggetto dell'email che verrà inviata all'acquirente."
767
-
768
- #: ../wp_shopping_cart_settings.php:456
769
- msgid "Buyer Email Body"
770
- msgstr "Messaggio dell'Email per l'Acquirente"
771
-
772
- #: ../wp_shopping_cart_settings.php:459
773
- msgid ""
774
- "This is the body of the email that will be sent to the buyer. Do not change "
775
- "the text within the braces {}. You can use the following email tags in this "
776
- "email body field:"
777
- msgstr ""
778
- "Questo è il corpo dell'email che verrà inviata all'acquirente. Non "
779
- "modificare il testo all'interno delle parentesi graffe {}. È possibile "
780
- "utilizzare i seguenti tag email in questo campo per il messaggio:"
781
-
782
- #: ../wp_shopping_cart_settings.php:460 ../wp_shopping_cart_settings.php:491
783
- msgid "First name of the buyer"
784
- msgstr "Nome dell'acquirente"
785
-
786
- #: ../wp_shopping_cart_settings.php:461 ../wp_shopping_cart_settings.php:492
787
- msgid "Last name of the buyer"
788
- msgstr "Cognome dell'acquirente"
789
-
790
- #: ../wp_shopping_cart_settings.php:462 ../wp_shopping_cart_settings.php:494
791
- msgid ""
792
- "The item details of the purchased product (this will include the download "
793
- "link for digital items)."
794
- msgstr ""
795
- "I dettagli del prodotto acquistato (questi includeranno il link per "
796
- "scaricare oggetti digitali)."
797
-
798
- #: ../wp_shopping_cart_settings.php:463 ../wp_shopping_cart_settings.php:495
799
- msgid "The unique transaction ID of the purchase"
800
- msgstr "L'ID univoco della transazione di acquisto"
801
-
802
- #: ../wp_shopping_cart_settings.php:464 ../wp_shopping_cart_settings.php:496
803
- msgid "The amount paid for the current transaction"
804
- msgstr "L'importo pagato per la transazione corrente"
805
-
806
- #: ../wp_shopping_cart_settings.php:465 ../wp_shopping_cart_settings.php:497
807
- msgid "The date of the purchase"
808
- msgstr "La data di acquisto"
809
-
810
- #: ../wp_shopping_cart_settings.php:470
811
- msgid "Send Emails to Seller After Purchase"
812
- msgstr "Invia Emails al Venditore dopo gli Acquisti"
813
-
814
- #: ../wp_shopping_cart_settings.php:471
815
- msgid ""
816
- "If checked the plugin will send an email to the seller with the sale details"
817
- msgstr ""
818
- "Se selezionato il plugin invierà un'email al venditore con i dettagli di "
819
- "vendita"
820
-
821
- #: ../wp_shopping_cart_settings.php:475
822
- msgid "Notification Email Address*"
823
- msgstr "Indirizzo Email di Notifica*"
824
-
825
- #: ../wp_shopping_cart_settings.php:477
826
- msgid ""
827
- "This is the email address where the seller will be notified of product "
828
- "sales. You can put multiple email addresses separated by comma (,) in the "
829
- "above field to send the notification to multiple email addresses."
830
- msgstr ""
831
- "Questo è l'indirizzo email presso il quale il venditore sarà informato delle "
832
- "vendite dei prodotti. È possibile inserire più indirizzi email separati da "
833
- "virgola (,) nel campo sopra per inviare la notifica a più indirizzi email."
834
-
835
- #: ../wp_shopping_cart_settings.php:481
836
- msgid "Seller Email Subject*"
837
- msgstr "Oggetto Email per il Venditore*"
838
-
839
- #: ../wp_shopping_cart_settings.php:483
840
- msgid ""
841
- "This is the subject of the email that will be sent to the seller for record."
842
- msgstr ""
843
- "Questo è l'oggetto dell'email che verrà inviata al venditore per la notifica."
844
-
845
- #: ../wp_shopping_cart_settings.php:487
846
- msgid "Seller Email Body*"
847
- msgstr "Messaggio Email per il Venditore*"
848
-
849
- #: ../wp_shopping_cart_settings.php:490
850
- msgid ""
851
- "This is the body of the email that will be sent to the seller for record. Do "
852
- "not change the text within the braces {}. You can use the following email "
853
- "tags in this email body field:"
854
- msgstr ""
855
- "Questo è il corpo dell'email che verrà inviata al venditore per la notifica. "
856
- "Non modificare il testo all'interno delle parentesi graffe {}. È possibile "
857
- "utilizzare i seguenti tag email in questo campo per il messaggio dell'email:"
858
-
859
- #: ../wp_shopping_cart_settings.php:493
860
- msgid "Email Address of the buyer"
861
- msgstr "Indirizzo Email dell'Acquirente"
862
-
863
- #: ../wp_shopping_cart_shortcodes.php:19 ../wp_shopping_cart_shortcodes.php:48
864
- msgid "Error! You must specify a product name in the shortcode."
865
- msgstr "Errore! È necessario specificare il nome del prodotto nello shortcode."
866
-
867
- #: ../wp_shopping_cart_shortcodes.php:22 ../wp_shopping_cart_shortcodes.php:51
868
- msgid "Error! You must specify a price for your product in the shortcode."
869
- msgstr ""
870
- "Errore! È necessario specificare il prezzo del prodotto nello shortcode."
871
-
872
- #: ../wp_shopping_cart_shortcodes.php:54
873
- msgid ""
874
- "Error! You must specify a thumbnail image for your product in the shortcode."
875
- msgstr ""
876
- "Errore! È necessario specificare l'immagine miniatura del prodotto nello "
877
- "shortcode."
878
-
879
- #: ../wp_shopping_cart_shortcodes.php:103
880
- msgid "View Cart"
881
- msgstr "Visualizza Carrello"
882
-
883
- #: ../wp_shopping_cart_shortcodes.php:108
884
- msgid "Cart is empty"
885
- msgstr "Il Carrello è vuoto"
886
-
887
- #~ msgid "Usage:"
888
- #~ msgstr "Istruzioni:"
889
-
890
- #~ msgid "Set the Plugin Settings from the Settings menu"
891
- #~ msgstr "Imposta le opzioni del plugin dal Menu Impostazioni"
892
-
893
- #~ msgid "Display WP Paypal Shopping Cart."
894
- #~ msgstr "Visualizza WP Paypal Shopping Cart."
895
-
896
- #~ msgid "show-wp-shopping-cart"
897
- #~ msgstr "show-wp-shopping-cart"
898
-
899
- #~ msgid ""
900
- #~ "2. To add the shopping cart to a post or page (eg. checkout page) simply "
901
- #~ "add the shortcode <strong>[show_wp_shopping_cart]</strong> to a post or "
902
- #~ "page or use the sidebar widget to add the shopping cart to the sidebar."
903
- #~ msgstr ""
904
- #~ "2. To add the shopping cart to a post or page (eg. checkout page) simply "
905
- #~ "add the shortcode <strong>[show_wp_shopping_cart]</strong> to a post or "
906
- #~ "page or use the sidebar widget to add the shopping cart to the sidebar."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/WSPSC-sv_SE.mo DELETED
Binary file
languages/WSPSC-sv_SE.po DELETED
@@ -1,746 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WordPress Simple PayPal Shopping Cart\n"
4
- "POT-Creation-Date: 2014-01-24 16:14+1000\n"
5
- "PO-Revision-Date: 2014-07-11 18:08+0100\n"
6
- "Last-Translator: Felicia Fortes <kontakt@feliciafortes.com>\n"
7
- "Language-Team: \n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "X-Generator: Poedit 1.6.6\n"
12
- "X-Poedit-KeywordsList: _e;__\n"
13
- "X-Poedit-Basepath: .\n"
14
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
- "Language: sv_SE\n"
16
- "X-Poedit-SearchPath-0: .\n"
17
-
18
- #: class-coupon.php:19
19
- msgid "Admin needs to configure some discount coupons before it can be used"
20
- msgstr "Admin behöver ställa in rabattkuponger innan de kan användas"
21
-
22
- #: class-coupon.php:85
23
- msgid "Coupon ID: "
24
- msgstr "Kupong ID:"
25
-
26
- #: class-coupon.php:86
27
- msgid "Coupon Code: "
28
- msgstr "Kupongkod:"
29
-
30
- #: class-coupon.php:87
31
- msgid "Discount Amt: "
32
- msgstr "Rabatt:"
33
-
34
- #: class-coupon.php:96
35
- msgid "Coupon code used does not exist!"
36
- msgstr "Kupongkoden finns inte!"
37
-
38
- #: class-coupon.php:101
39
- msgid "Discount can only be applied once per checkout!"
40
- msgstr "Rabatt kan bara gälla en gång/beställning!"
41
-
42
- #: class-coupon.php:123
43
- msgid "Discount applied successfully! Total Discount: "
44
- msgstr "Rabatten har dragits! Total rabatt:"
45
-
46
- #: wp_shopping_cart.php:167
47
- msgid "Error! Your session is out of sync. Please reset your session."
48
- msgstr ""
49
- "Oj, nu blev det fel! Din session har blivit avbruten. Var god börja om."
50
-
51
- #: wp_shopping_cart.php:177
52
- msgid ""
53
- "Shopping Cart Configuration Error! You must specify a value in the 'Checkout "
54
- "Page URL' field for the automatic redirection feature to work!"
55
- msgstr ""
56
- "Fel i beställningsidesinställningarna! Du måste ange ett värde i "
57
- "'Beställningssidans URL'-fältet för att den automatiska vidaresändningen ska "
58
- "fungera!"
59
-
60
- #: wp_shopping_cart.php:259
61
- msgid "Visit The Shop"
62
- msgstr "Besök butiken"
63
-
64
- #: wp_shopping_cart.php:271 wp_shopping_cart_settings.php:101
65
- msgid "USD"
66
- msgstr "USD"
67
-
68
- #: wp_shopping_cart.php:275 wp_shopping_cart_settings.php:104
69
- msgid "$"
70
- msgstr "$"
71
-
72
- #: wp_shopping_cart.php:301
73
- msgid "Cart"
74
- msgstr "Kundvagn"
75
-
76
- #: wp_shopping_cart.php:310
77
- msgid "Hit enter to submit new Quantity."
78
- msgstr "Tryck på Enter för att välja det nya antalet."
79
-
80
- #: wp_shopping_cart.php:321
81
- msgid "Item Name"
82
- msgstr "Produkt"
83
-
84
- #: wp_shopping_cart.php:321
85
- msgid "Quantity"
86
- msgstr "Antal"
87
-
88
- #: wp_shopping_cart.php:321
89
- msgid "Price"
90
- msgstr "Pris"
91
-
92
- #: wp_shopping_cart.php:355
93
- msgid "Remove"
94
- msgstr "Ta bort"
95
-
96
- #: wp_shopping_cart.php:384
97
- msgid "Subtotal"
98
- msgstr "Totalt"
99
-
100
- #: wp_shopping_cart.php:385
101
- msgid "Shipping"
102
- msgstr "Frakt"
103
-
104
- #: wp_shopping_cart.php:388 wp_shopping_cart_orders.php:89
105
- #: wp_shopping_cart_orders.php:152
106
- msgid "Total"
107
- msgstr "Summa"
108
-
109
- #: wp_shopping_cart.php:397
110
- msgid "Enter Coupon Code"
111
- msgstr "Skriv in rabattkod"
112
-
113
- #: wp_shopping_cart.php:400
114
- msgid "Apply"
115
- msgstr "Välj"
116
-
117
- #: wp_shopping_cart.php:414
118
- msgid "paypal_checkout_EN.png"
119
- msgstr "paypal_checkout_EN.png"
120
-
121
- #: wp_shopping_cart.php:414
122
- msgid "Make payments with PayPal - it\\'s fast, free and secure!"
123
- msgstr "Betala genom PayPal -det går snabbt, är gratis och säkert!"
124
-
125
- #: wp_shopping_cart.php:476 wp_shopping_cart.php:559 wp_shopping_cart.php:618
126
- #: wp_shopping_cart.php:666 wp_shopping_cart.php:672
127
- #: wp_shopping_cart_settings.php:117
128
- msgid "Add to Cart"
129
- msgstr "Beställ"
130
-
131
- #: wp_shopping_cart.php:744
132
- msgid "WP Paypal Shopping Cart"
133
- msgstr "WP Paypal Shopping Cart"
134
-
135
- #: wp_shopping_cart.php:744
136
- msgid "WP Shopping Cart"
137
- msgstr "WP Shopping Cart"
138
-
139
- #: wp_shopping_cart.php:767
140
- msgid "Shopping Cart"
141
- msgstr "Shopping Cart"
142
-
143
- #: wp_shopping_cart.php:793
144
- msgid "Settings"
145
- msgstr "Inställningar"
146
-
147
- #: wp_shopping_cart_discounts_menu.php:51 wp_shopping_cart_settings.php:172
148
- #: wp_shopping_cart_settings.php:366
149
- msgid ""
150
- "For more information, updates, detailed documentation and video tutorial, "
151
- "please visit:"
152
- msgstr ""
153
- "For more information, updates, detailed documentation and video tutorial, "
154
- "please visit:"
155
-
156
- #: wp_shopping_cart_discounts_menu.php:52 wp_shopping_cart_settings.php:173
157
- #: wp_shopping_cart_settings.php:367
158
- msgid "WP Simple Cart Homepage"
159
- msgstr "WP Simple Cart Homepage"
160
-
161
- #: wp_shopping_cart_discounts_menu.php:60
162
- msgid "Coupon/Discount Settings"
163
- msgstr "Kupong-/Rabattinställningar"
164
-
165
- #: wp_shopping_cart_discounts_menu.php:67
166
- msgid "Enable Discount Coupon Feature"
167
- msgstr "Sätt på Rabatt/Kupong-funktionen"
168
-
169
- #: wp_shopping_cart_discounts_menu.php:70
170
- msgid ""
171
- "When checked your customers will be able to enter a coupon code in the "
172
- "shopping cart before checkout."
173
- msgstr ""
174
- "När du klickar för den här så kommer kunder kunna skriva in en rabattkod i "
175
- "beställningen innan de betalar."
176
-
177
- #: wp_shopping_cart_discounts_menu.php:77
178
- msgid "Update &raquo;"
179
- msgstr "Uppdatera &raquo;"
180
-
181
- #: wp_shopping_cart_discounts_menu.php:93
182
- msgid "Add Coupon/Discount"
183
- msgstr "Lägg till kupong/rabatt"
184
-
185
- #: wp_shopping_cart_discounts_menu.php:113
186
- msgid "Save Coupon &raquo;"
187
- msgstr "Spara kupong &raquo;"
188
-
189
- #: wp_shopping_cart_discounts_menu.php:131
190
- msgid "Coupon Code"
191
- msgstr "Kupongkod"
192
-
193
- #: wp_shopping_cart_discounts_menu.php:132
194
- msgid "Discount Rate (%)"
195
- msgstr "Rabatt (%)"
196
-
197
- #: wp_shopping_cart_discounts_menu.php:161
198
- msgid "No Coupons Configured."
199
- msgstr "Inga kuponger inställda"
200
-
201
- #: wp_shopping_cart_discounts_menu.php:166
202
- msgid "No Record found"
203
- msgstr "Ingen uppgift funnen"
204
-
205
- #: wp_shopping_cart_misc_functions.php:155
206
- msgid "Your Shopping Cart"
207
- msgstr "Din beställning"
208
-
209
- #: wp_shopping_cart_misc_functions.php:156
210
- msgid "Your cart is empty"
211
- msgstr "Din order är tom "
212
-
213
- #: wp_shopping_cart_orders.php:10
214
- msgid "Cart Orders"
215
- msgstr "Beställningar"
216
-
217
- #: wp_shopping_cart_orders.php:11
218
- msgid "Cart Order"
219
- msgstr "Beställning"
220
-
221
- #: wp_shopping_cart_orders.php:12
222
- msgid "Add New"
223
- msgstr "Lägg till"
224
-
225
- #: wp_shopping_cart_orders.php:13
226
- msgid "Add New Order"
227
- msgstr "Lägg till ny beställning"
228
-
229
- #: wp_shopping_cart_orders.php:14
230
- msgid "Edit"
231
- msgstr "Ändra"
232
-
233
- #: wp_shopping_cart_orders.php:15
234
- msgid "Edit Order"
235
- msgstr "Ändra beställning"
236
-
237
- #: wp_shopping_cart_orders.php:16
238
- msgid "New Order"
239
- msgstr "Ny beställning"
240
-
241
- #: wp_shopping_cart_orders.php:17
242
- msgid "View"
243
- msgstr "Se"
244
-
245
- #: wp_shopping_cart_orders.php:18
246
- msgid "View Order"
247
- msgstr "Se beställning"
248
-
249
- #: wp_shopping_cart_orders.php:19
250
- msgid "Search Order"
251
- msgstr "Sök beställning"
252
-
253
- #: wp_shopping_cart_orders.php:20
254
- msgid "No order found"
255
- msgstr "Ingen beställning funnen"
256
-
257
- #: wp_shopping_cart_orders.php:21
258
- msgid "No order found in Trash"
259
- msgstr "Ingen beställning funnen i Papperskorgen"
260
-
261
- #: wp_shopping_cart_orders.php:22
262
- msgid "Parent Order"
263
- msgstr "Överordnad beställning"
264
-
265
- #: wp_shopping_cart_orders.php:38
266
- msgid "Order Review"
267
- msgstr "Beställningssammanställning"
268
-
269
- #: wp_shopping_cart_orders.php:68
270
- msgid "Order ID: #"
271
- msgstr "Beställnings-ID: #"
272
-
273
- #: wp_shopping_cart_orders.php:70
274
- msgid "Transaction ID: #"
275
- msgstr "Transaktions-ID: #"
276
-
277
- #: wp_shopping_cart_orders.php:73 wp_shopping_cart_orders.php:149
278
- msgid "First Name"
279
- msgstr "Förnamn"
280
-
281
- #: wp_shopping_cart_orders.php:77 wp_shopping_cart_orders.php:150
282
- msgid "Last Name"
283
- msgstr "Efternamn"
284
-
285
- #: wp_shopping_cart_orders.php:81
286
- msgid "Email Address"
287
- msgstr "Mailadress"
288
-
289
- #: wp_shopping_cart_orders.php:85
290
- msgid "IP Address"
291
- msgstr "IP-adress"
292
-
293
- #: wp_shopping_cart_orders.php:93
294
- msgid "Address"
295
- msgstr "Adress"
296
-
297
- #: wp_shopping_cart_orders.php:97
298
- msgid "Buyer Email Sent?"
299
- msgstr "Kundmail sänt?"
300
-
301
- #: wp_shopping_cart_orders.php:101
302
- msgid "Item(s) Ordered:"
303
- msgstr "Produkt(er) beställda:"
304
-
305
- #: wp_shopping_cart_orders.php:105
306
- msgid "Applied Coupon Code:"
307
- msgstr "Tillämpad rabattkupong"
308
-
309
- #: wp_shopping_cart_orders.php:148
310
- msgid "Order ID"
311
- msgstr "Beställnings-ID"
312
-
313
- #: wp_shopping_cart_orders.php:151
314
- msgid "Email"
315
- msgstr "Mail"
316
-
317
- #: wp_shopping_cart_orders.php:153
318
- msgid "Status"
319
- msgstr "Status"
320
-
321
- #: wp_shopping_cart_orders.php:154
322
- msgid "Date"
323
- msgstr "Datum"
324
-
325
- #: wp_shopping_cart_settings.php:10
326
- msgid "WP Paypal Shopping Cart Options"
327
- msgstr "WP Paypal Shopping Cart alternativ"
328
-
329
- #: wp_shopping_cart_settings.php:97
330
- msgid "Options Updated!"
331
- msgstr "Inställningarna är uppdaterade!"
332
-
333
- #: wp_shopping_cart_settings.php:169
334
- msgid "Simple PayPal Shopping Cart Settings"
335
- msgstr "Simple PayPal Shopping Cart inställningar"
336
-
337
- #: wp_shopping_cart_settings.php:177
338
- msgid "Quick Usage Guide"
339
- msgstr "Snabbguide"
340
-
341
- #: wp_shopping_cart_settings.php:180
342
- msgid "Step 1) "
343
- msgstr "Steg 1) "
344
-
345
- #: wp_shopping_cart_settings.php:180
346
- msgid "To add an 'Add to Cart' button for a product simply add the shortcode"
347
- msgstr ""
348
- "För att lägga till en 'Add to Cart' -knapp så lägger du helt enkelt till "
349
- "shortcode:n"
350
-
351
- #: wp_shopping_cart_settings.php:180
352
- msgid "PRODUCT-NAME"
353
- msgstr "PRODUCT-NAME"
354
-
355
- #: wp_shopping_cart_settings.php:180
356
- msgid "PRODUCT-PRICE"
357
- msgstr "PRODUCT-PRICE"
358
-
359
- #: wp_shopping_cart_settings.php:180
360
- msgid ""
361
- "to a post or page next to the product. Replace PRODUCT-NAME and PRODUCT-"
362
- "PRICE with the actual name and price of your product."
363
- msgstr ""
364
- "bredvid produkten i ett inlägg eller på en sida. Byt ut PRODUCT-NAME och "
365
- "PRODUCT-PRICE till det faktiska namnet och priset på produkten."
366
-
367
- #: wp_shopping_cart_settings.php:181
368
- msgid "Example add to cart button shortcode usage:"
369
- msgstr ""
370
- "Exempel på hut du använder shortcodes för att lägga till en 'add to cart'-"
371
- "knapp:"
372
-
373
- #: wp_shopping_cart_settings.php:182
374
- msgid "Step 2) "
375
- msgstr "Step 2) "
376
-
377
- #: wp_shopping_cart_settings.php:182
378
- msgid ""
379
- "To add the shopping cart to a post or page (example: a checkout page) simply "
380
- "add the shortcode"
381
- msgstr ""
382
- "Om du vill lägga till kundvagn till ett inlägg eller en sida (exempelvis: "
383
- "Din order-sidan) så lägger du helt enkelt till shortcoden"
384
-
385
- #: wp_shopping_cart_settings.php:182
386
- msgid ""
387
- "to a post or page or use the sidebar widget to add the shopping cart to the "
388
- "sidebar."
389
- msgstr ""
390
- "till ett inlägg eller en sida eller använd sidebar-widgeten för att lägga "
391
- "till kundvagnen i sidebaren."
392
-
393
- #: wp_shopping_cart_settings.php:183
394
- msgid "Example shopping cart shortcode usage:"
395
- msgstr "Exempel på hur du använder Kundvagns-shortcode:"
396
-
397
- #: wp_shopping_cart_settings.php:192
398
- msgid "PayPal and Shopping Cart Settings"
399
- msgstr "PayPal och Kundvagns-inställningar"
400
-
401
- #: wp_shopping_cart_settings.php:198
402
- msgid "Paypal Email Address"
403
- msgstr "PayPal mailadress"
404
-
405
- #: wp_shopping_cart_settings.php:202
406
- msgid "Shopping Cart title"
407
- msgstr "Kundvagnstitel"
408
-
409
- #: wp_shopping_cart_settings.php:206
410
- msgid "Text/Image to Show When Cart Empty"
411
- msgstr "Text/Bild att visa när kundvagnen är tom"
412
-
413
- #: wp_shopping_cart_settings.php:207
414
- msgid ""
415
- "You can either enter plain text or the URL of an image that you want to show "
416
- "when the shopping cart is empty"
417
- msgstr ""
418
- "Du kan antingen skriva in vanlig text eller webbadressen till en bild som du "
419
- "vill visa när kundvagn är tom"
420
-
421
- #: wp_shopping_cart_settings.php:210
422
- msgid "Currency"
423
- msgstr "Valuta"
424
-
425
- #: wp_shopping_cart_settings.php:211 wp_shopping_cart_settings.php:215
426
- #: wp_shopping_cart_settings.php:242
427
- msgid "e.g."
428
- msgstr "t.ex."
429
-
430
- #: wp_shopping_cart_settings.php:214
431
- msgid "Currency Symbol"
432
- msgstr "Valutasymbol"
433
-
434
- #: wp_shopping_cart_settings.php:220
435
- msgid "Base Shipping Cost"
436
- msgstr "Grundfraktkostnaden"
437
-
438
- #: wp_shopping_cart_settings.php:221
439
- msgid ""
440
- "This is the base shipping cost that will be added to the total of individual "
441
- "products shipping cost. Put 0 if you do not want to charge shipping cost or "
442
- "use base shipping cost."
443
- msgstr ""
444
- "Detta är grundfraktkostnaden som kommer att läggas till de individuella "
445
- "produkternas fraktkostnad. Skriv 0 om du inte vill ta ut fraktkostnad eller "
446
- "använda grundfraktkostnad."
447
-
448
- #: wp_shopping_cart_settings.php:221
449
- msgid "Learn More on Shipping Calculation"
450
- msgstr "Lär dig mer om uträkning av fraktkostnad"
451
-
452
- #: wp_shopping_cart_settings.php:225
453
- msgid "Free Shipping for Orders Over"
454
- msgstr "Gratis frakt för order över"
455
-
456
- #: wp_shopping_cart_settings.php:226
457
- msgid ""
458
- "When a customer orders more than this amount he/she will get free shipping. "
459
- "Leave empty if you do not want to use it."
460
- msgstr ""
461
- "När en kund beställer mer än detta belopp kommer hon/han att få fri frakt. "
462
- "Lämna tomt om du inte vill använda den."
463
-
464
- #: wp_shopping_cart_settings.php:230
465
- msgid "Must Collect Shipping Address on PayPal"
466
- msgstr "Ta in leveransadress på PayPal"
467
-
468
- #: wp_shopping_cart_settings.php:231
469
- msgid ""
470
- "If checked the customer will be forced to enter a shipping address on PayPal "
471
- "when checking out."
472
- msgstr ""
473
- "Klicka i om du vill att kunden ska tvingas att ange en leveransadress på "
474
- "PayPal när hon/han checkar ut."
475
-
476
- #: wp_shopping_cart_settings.php:235
477
- msgid "Use PayPal Profile Based Shipping"
478
- msgstr "Använd frakt baserat på PayPal-profil"
479
-
480
- #: wp_shopping_cart_settings.php:236
481
- msgid "Check this if you want to use"
482
- msgstr "Klicka i om du vill använda"
483
-
484
- #: wp_shopping_cart_settings.php:236
485
- msgid "PayPal profile based shipping"
486
- msgstr "frakt baserat på PayPal-profil"
487
-
488
- #: wp_shopping_cart_settings.php:236
489
- msgid ""
490
- "Using this will ignore any other shipping options that you have specified in "
491
- "this plugin."
492
- msgstr ""
493
- "Om du använder det här kommer de andra inställningarna för frakt som du "
494
- "angett i tillägget att ignoreras."
495
-
496
- #: wp_shopping_cart_settings.php:240
497
- msgid "Add to Cart button text or Image"
498
- msgstr "Beställ-knappens text eller bild"
499
-
500
- #: wp_shopping_cart_settings.php:242
501
- msgid ""
502
- "To use a customized image as the button simply enter the URL of the image "
503
- "file."
504
- msgstr ""
505
- "För att använda en egen knapp-bild ska du helt enkelt skriva in bildens "
506
- "webbadress."
507
-
508
- #: wp_shopping_cart_settings.php:248
509
- msgid "Return URL"
510
- msgstr "Återkomst-URL"
511
-
512
- #: wp_shopping_cart_settings.php:249
513
- msgid ""
514
- "This is the URL the customer will be redirected to after a successful payment"
515
- msgstr ""
516
- "Det här är den webbsida (URL) som kunden kommer att skickas till efter att "
517
- "betalningen är gjord"
518
-
519
- #: wp_shopping_cart_settings.php:253
520
- msgid "Products Page URL"
521
- msgstr "Produktsidans URL"
522
-
523
- #: wp_shopping_cart_settings.php:254
524
- msgid ""
525
- "This is the URL of your products page if you have any. If used, the shopping "
526
- "cart widget will display a link to this page when cart is empty"
527
- msgstr ""
528
- "Det här är webbsidesadressen (URL) till produktsidan, om du använder en "
529
- "sådan. Om du använder den så kommer Kundvagns-widgeten att visa en länk till "
530
- "den sidan när kundvagnen är tom."
531
-
532
- #: wp_shopping_cart_settings.php:258
533
- msgid "Automatic redirection to checkout page"
534
- msgstr "Automatisk vidaresändning till Din order-sidan"
535
-
536
- #: wp_shopping_cart_settings.php:260
537
- msgid "Checkout Page URL"
538
- msgstr "Din order-sida"
539
-
540
- #: wp_shopping_cart_settings.php:261
541
- msgid ""
542
- "If checked the visitor will be redirected to the Checkout page after a "
543
- "product is added to the cart. You must enter a URL in the Checkout Page URL "
544
- "field for this to work."
545
- msgstr ""
546
- "Klicka för om kunden ska skickas automatiskt till Din order-sidan efter att "
547
- "en produkt beställts. Du måste skriva in en URL i Din order-sidans URL-fält "
548
- "för att det ska fungera. "
549
-
550
- #: wp_shopping_cart_settings.php:265
551
- msgid "Reset Cart After Redirection to Return Page"
552
- msgstr "Återställ ordern efter återkomst till webbsidan."
553
-
554
- #: wp_shopping_cart_settings.php:267
555
- msgid ""
556
- "If checked the shopping cart will be reset when the customer lands on the "
557
- "return URL (Thank You) page."
558
- msgstr ""
559
- "Klicka för om du vill återställa ordern när kunden kommer tillbaka till "
560
- "sidans (Tack för beställningen)-sida."
561
-
562
- #: wp_shopping_cart_settings.php:274
563
- msgid "Hide Shopping Cart Image"
564
- msgstr "Göm kundvagnsbild"
565
-
566
- #: wp_shopping_cart_settings.php:275
567
- msgid "If ticked the shopping cart image will not be shown."
568
- msgstr "Klicka för om du vill dölja kundvagnsbilden."
569
-
570
- #: wp_shopping_cart_settings.php:281
571
- msgid "Customize the Note to Seller Text"
572
- msgstr "Anpassa texten i meddelandet till försäljaren"
573
-
574
- #: wp_shopping_cart_settings.php:283
575
- msgid ""
576
- "Specify the text that you want to use for the note field on PayPal checkout "
577
- "page to collect special instruction (leave this field empty if you don't "
578
- "need to customize it). The default label for the note field is \"Add special "
579
- "instructions to merchant\"."
580
- msgstr ""
581
- "Skriv in texten sm du vill använda i noteringsfältet på PayPals checkout-"
582
- "sida för att samla in speciella instruktioner (lämna det här fältet tomt om "
583
- "du inte behöver anpassa texten). Grundinställningen för texten är \"Add "
584
- "special instructions to merchant\"."
585
-
586
- #: wp_shopping_cart_settings.php:289
587
- msgid "Use WP Affiliate Platform"
588
- msgstr "Anbänd WP Affiliate Platform"
589
-
590
- #: wp_shopping_cart_settings.php:291
591
- msgid "Check this if using with the"
592
- msgstr "Klicka för om du använder med"
593
-
594
- #: wp_shopping_cart_settings.php:291
595
- msgid ""
596
- "This plugin lets you run your own affiliate campaign/program and allows you "
597
- "to reward (pay commission) your affiliates for referred sales"
598
- msgstr ""
599
- "Det här tillägget låter dig köra affiliate kampanjer/program och tillåter "
600
- "att du belönar (betalar kommission) till samarbetspartners på deras kopplade "
601
- "försäljningar"
602
-
603
- #: wp_shopping_cart_settings.php:297
604
- msgid "Testing and Debugging Settings"
605
- msgstr "Test och Felsöknings-inställningar"
606
-
607
- #: wp_shopping_cart_settings.php:303
608
- msgid "Enable Debug"
609
- msgstr "Sätt igång Debug"
610
-
611
- #: wp_shopping_cart_settings.php:305
612
- msgid ""
613
- "If checked, debug output will be written to the log file. This is useful for "
614
- "troubleshooting post payment failures"
615
- msgstr ""
616
- "Om du klickat i så skrivs det in debug-information i logg-filen. Det kan "
617
- "vara användbart vid felsökning om betalningar misslyckas"
618
-
619
- #: wp_shopping_cart_settings.php:315
620
- msgid "Enable Sandbox Testing"
621
- msgstr "Sätt igång Sandbox-test"
622
-
623
- #: wp_shopping_cart_settings.php:317
624
- msgid ""
625
- "Check this option if you want to do PayPal sandbox testing. You will need to "
626
- "create a PayPal sandbox account from PayPal Developer site"
627
- msgstr ""
628
- "Klicka i här om du vill testa med hjälp av PayPal sandbox. Du behöver skapa "
629
- "ett PayPal sandbox-konto på PayPal Developer-sidan"
630
-
631
- #: wp_shopping_cart_settings.php:326 wp_shopping_cart_settings.php:415
632
- msgid "Update Options &raquo;"
633
- msgstr "Uppdatera alternativ &raquo;"
634
-
635
- #: wp_shopping_cart_settings.php:330
636
- msgid "Like the Simple WordPress Shopping Cart Plugin?"
637
- msgstr "Tycker du om Simple WordPress Shopping Cart-tillägget?"
638
-
639
- #: wp_shopping_cart_settings.php:330
640
- msgid "Give it a good rating"
641
- msgstr "Ge tillägget en bra recension"
642
-
643
- #: wp_shopping_cart_settings.php:333
644
- msgid "Need a shopping cart plugin with more features? Checkout my "
645
- msgstr "Behöver du ett shopping-tillägg med mer funktioner? Kolla in mitt"
646
-
647
- #: wp_shopping_cart_settings.php:334
648
- msgid "WP eStore Plugin"
649
- msgstr "WP eStore-tillägg"
650
-
651
- #: wp_shopping_cart_settings.php:375
652
- msgid "Purchase Confirmation Email Settings"
653
- msgstr "Inställningar av mail med beställningsbekräftelse"
654
-
655
- #: wp_shopping_cart_settings.php:378
656
- msgid ""
657
- "The following options affect the emails that gets sent to your buyers after "
658
- "a purchase."
659
- msgstr ""
660
- "Följande alternativ påverkar de mail som skickas till kunden efter ett köp."
661
-
662
- #: wp_shopping_cart_settings.php:383
663
- msgid "Send Emails to Buyer After Purchase"
664
- msgstr "Skicka mail till kunden efter köp"
665
-
666
- #: wp_shopping_cart_settings.php:384
667
- msgid ""
668
- "If checked the plugin will send an email to the buyer with the sale details. "
669
- "If digital goods are purchased then the email will contain the download "
670
- "links for the purchased products."
671
- msgstr ""
672
- "Om du klickat i här så kommer tillägget att skicka ett mail till kunden med "
673
- "beställningsinformation. Om digitala produkter blivit köpta så kommer mailet "
674
- "att även innehålla nedladdningslänken för produkten/produkterna."
675
-
676
- #: wp_shopping_cart_settings.php:388
677
- msgid "From Email Address"
678
- msgstr "Från mailadress"
679
-
680
- #: wp_shopping_cart_settings.php:390
681
- msgid ""
682
- "Example: Your Name &lt;sales@your-domain.com&gt; This is the email address "
683
- "that will be used to send the email to the buyer. This name and email "
684
- "address will appear in the from field of the email."
685
- msgstr ""
686
- "Exempel: Ditt namn &lt;order@domain.se&gt; Det här är mailadressen som "
687
- "kommer att användas för att skicka mail till kunder. Det här namnet och "
688
- "mailadressen kommer att synas i Från-fältet på mailet."
689
-
690
- #: wp_shopping_cart_settings.php:394
691
- msgid "Buyer Email Subject"
692
- msgstr "Kundmailets ämnesrad"
693
-
694
- #: wp_shopping_cart_settings.php:396
695
- msgid "This is the subject of the email that will be sent to the buyer."
696
- msgstr "Det här är ämnesraden på mail som skickas till kund. "
697
-
698
- #: wp_shopping_cart_settings.php:400
699
- msgid "Buyer Email Body"
700
- msgstr "Kundmailets text"
701
-
702
- #: wp_shopping_cart_settings.php:403
703
- msgid ""
704
- "This is the body of the email that will be sent to the buyer. Do not change "
705
- "the text within the braces {}. You can use the following email tags in this "
706
- "email body field:"
707
- msgstr ""
708
- "Det här är texten i mailet som skickas till kunden. Ändra inte texten "
709
- "innanför gåsvingarna {}. Du kan använda följande mail-taggar i texten:"
710
-
711
- #: wp_shopping_cart_settings.php:404
712
- msgid "First name of the buyer"
713
- msgstr "Kundens förnamn"
714
-
715
- #: wp_shopping_cart_settings.php:405
716
- msgid "Last name of the buyer"
717
- msgstr "Kundens efternamn"
718
-
719
- #: wp_shopping_cart_settings.php:406
720
- msgid ""
721
- "The item details of the purchased product (this will include the download "
722
- "link for digital items)."
723
- msgstr ""
724
- "Den beställda produktens beskrivning (kommer att följa med "
725
- "nedladdningslänken för digitala produkter).)"
726
-
727
- #: wp_shopping_cart_shortcodes.php:16 wp_shopping_cart_shortcodes.php:40
728
- msgid "Error! You must specify a product name in the shortcode."
729
- msgstr ""
730
- "Oj, nu blev det fel! Du måste ange ett namn för produkten i shortcoden."
731
-
732
- #: wp_shopping_cart_shortcodes.php:19 wp_shopping_cart_shortcodes.php:43
733
- msgid "Error! You must specify a price for your product in the shortcode."
734
- msgstr ""
735
- "Oj, nu blev det fel! Du måste ange ett pris för produkten i shortcoden."
736
-
737
- #: wp_shopping_cart_shortcodes.php:46
738
- msgid ""
739
- "Error! You must specify a thumbnail image for your product in the shortcode."
740
- msgstr ""
741
- "Oj, där blev det fel! Du måste ange en tumnagel-bild för produkten i "
742
- "shortcoden."
743
-
744
- #: lib/gallery-wp-cart.php:32
745
- msgid "[View with PicLens]"
746
- msgstr "[Se med PicLens]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/WSPSC-tr_TR.mo DELETED
Binary file
languages/WSPSC-tr_TR.po DELETED
@@ -1,743 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WordPress Simple PayPal Shopping Cart\n"
4
- "POT-Creation-Date: 2014-01-24 16:14+1000\n"
5
- "PO-Revision-Date: 2015-04-15 15:51+0200\n"
6
- "Last-Translator: \n"
7
- "Language-Team: \n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "X-Generator: Poedit 1.7.5\n"
12
- "X-Poedit-KeywordsList: _e;__\n"
13
- "X-Poedit-Basepath: .\n"
14
- "Plural-Forms: nplurals=1; plural=0;\n"
15
- "Language: tr_TR\n"
16
- "X-Poedit-SearchPath-0: .\n"
17
-
18
- #: class-coupon.php:19
19
- msgid "Admin needs to configure some discount coupons before it can be used"
20
- msgstr ""
21
- "İndirim kuponlarının kullanılabilmesi için öncelikle Yönetici tarafından "
22
- "tanımlanmaları gerekiyor"
23
-
24
- #: class-coupon.php:85
25
- msgid "Coupon ID: "
26
- msgstr "Kupon ID: "
27
-
28
- #: class-coupon.php:86
29
- msgid "Coupon Code: "
30
- msgstr "Kupon Kodu: "
31
-
32
- #: class-coupon.php:87
33
- msgid "Discount Amt: "
34
- msgstr "İndirim Miktarı: "
35
-
36
- #: class-coupon.php:96
37
- msgid "Coupon code used does not exist!"
38
- msgstr "Kullanılan kupon kodu geçersiz!"
39
-
40
- #: class-coupon.php:101
41
- msgid "Discount can only be applied once per checkout!"
42
- msgstr "Her alışverişinizde yalnızca bir defa indirim kullanılabilir!"
43
-
44
- #: class-coupon.php:123
45
- msgid "Discount applied successfully! Total Discount: "
46
- msgstr "İndirim başarıyla uygulandı! Toplam İndirim: "
47
-
48
- #: wp_shopping_cart.php:167
49
- msgid "Error! Your session is out of sync. Please reset your session."
50
- msgstr ""
51
- "Hata! Oturumunuz eşzamanlılığını kaybetti. Lütfen oturumunuzu yenileyin."
52
-
53
- #: wp_shopping_cart.php:177
54
- msgid ""
55
- "Shopping Cart Configuration Error! You must specify a value in the 'Checkout "
56
- "Page URL' field for the automatic redirection feature to work!"
57
- msgstr ""
58
- "Alışveriş Sepeti Konfigürasyon Hatası! Otomatik yönlendirme özelliğinin "
59
- "çalışabilmesi için 'Checkout Page URL' alanında bir değer tanımlamalısınız."
60
-
61
- #: wp_shopping_cart.php:259
62
- msgid "Visit The Shop"
63
- msgstr "Mağazayı Ziyaret Et"
64
-
65
- #: wp_shopping_cart.php:271 wp_shopping_cart_settings.php:101
66
- msgid "USD"
67
- msgstr "USD"
68
-
69
- #: wp_shopping_cart.php:275 wp_shopping_cart_settings.php:104
70
- msgid "$"
71
- msgstr "$"
72
-
73
- #: wp_shopping_cart.php:301
74
- msgid "Cart"
75
- msgstr "Sepet"
76
-
77
- #: wp_shopping_cart.php:310
78
- msgid "Hit enter to submit new Quantity."
79
- msgstr "Yeni miktarı belirlemek için Enter'a basın."
80
-
81
- #: wp_shopping_cart.php:321
82
- msgid "Item Name"
83
- msgstr "Ürün Adı"
84
-
85
- #: wp_shopping_cart.php:321
86
- msgid "Quantity"
87
- msgstr "Miktar"
88
-
89
- #: wp_shopping_cart.php:321
90
- msgid "Price"
91
- msgstr "Fiyat"
92
-
93
- #: wp_shopping_cart.php:355
94
- msgid "Remove"
95
- msgstr "Kaldır"
96
-
97
- #: wp_shopping_cart.php:384
98
- msgid "Subtotal"
99
- msgstr "Alt Toplam"
100
-
101
- #: wp_shopping_cart.php:385
102
- msgid "Shipping"
103
- msgstr "Nakliye"
104
-
105
- #: wp_shopping_cart.php:388 wp_shopping_cart_orders.php:89
106
- #: wp_shopping_cart_orders.php:152
107
- msgid "Total"
108
- msgstr "Toplam"
109
-
110
- #: wp_shopping_cart.php:397
111
- msgid "Enter Coupon Code"
112
- msgstr "Kupon Kodunu Girin"
113
-
114
- #: wp_shopping_cart.php:400
115
- msgid "Apply"
116
- msgstr "Uygula"
117
-
118
- #: wp_shopping_cart.php:414
119
- msgid "paypal_checkout_EN.png"
120
- msgstr "paypal_checkout_TR.png"
121
-
122
- #: wp_shopping_cart.php:414
123
- msgid "Make payments with PayPal - it\\'s fast, free and secure!"
124
- msgstr "Ödemelerinizi Paypal ile yapın - Hızlı, ücretsiz ve güvenli!"
125
-
126
- #: wp_shopping_cart.php:476 wp_shopping_cart.php:559 wp_shopping_cart.php:618
127
- #: wp_shopping_cart.php:666 wp_shopping_cart.php:672
128
- #: wp_shopping_cart_settings.php:117
129
- msgid "Add to Cart"
130
- msgstr "Sepete Ekle"
131
-
132
- #: wp_shopping_cart.php:744
133
- msgid "WP Paypal Shopping Cart"
134
- msgstr "WP Paypal Alışveriş Sepeti"
135
-
136
- #: wp_shopping_cart.php:744
137
- msgid "WP Shopping Cart"
138
- msgstr "WP Alışveriş Sepeti"
139
-
140
- #: wp_shopping_cart.php:767
141
- msgid "Shopping Cart"
142
- msgstr "Alışveriş Sepeti"
143
-
144
- #: wp_shopping_cart.php:793
145
- msgid "Settings"
146
- msgstr "Ayarlar"
147
-
148
- #: wp_shopping_cart_discounts_menu.php:51 wp_shopping_cart_settings.php:172
149
- #: wp_shopping_cart_settings.php:366
150
- msgid ""
151
- "For more information, updates, detailed documentation and video tutorial, "
152
- "please visit:"
153
- msgstr ""
154
- "Daha fazla bilgi, güncellemeler, detaylı dokümantasyon ve video kursları "
155
- "için lütfen ziyaret edin:"
156
-
157
- #: wp_shopping_cart_discounts_menu.php:52 wp_shopping_cart_settings.php:173
158
- #: wp_shopping_cart_settings.php:367
159
- msgid "WP Simple Cart Homepage"
160
- msgstr "WP Basit Sepet Anasayfası"
161
-
162
- #: wp_shopping_cart_discounts_menu.php:60
163
- msgid "Coupon/Discount Settings"
164
- msgstr "Kupon/İndirim Ayarları"
165
-
166
- #: wp_shopping_cart_discounts_menu.php:67
167
- msgid "Enable Discount Coupon Feature"
168
- msgstr "İndirim Kuponu Özelliğini Etkinleştirin"
169
-
170
- #: wp_shopping_cart_discounts_menu.php:70
171
- msgid ""
172
- "When checked your customers will be able to enter a coupon code in the "
173
- "shopping cart before checkout."
174
- msgstr ""
175
- "İşaretliyken müşterileriniz ödemeden önce alışveriş sepetlerine kupon kodu "
176
- "uygulayabilecekler."
177
-
178
- #: wp_shopping_cart_discounts_menu.php:77
179
- msgid "Update &raquo;"
180
- msgstr "Güncelle &raquo;"
181
-
182
- #: wp_shopping_cart_discounts_menu.php:93
183
- msgid "Add Coupon/Discount"
184
- msgstr "Kupon/İndirim Ekle"
185
-
186
- #: wp_shopping_cart_discounts_menu.php:113
187
- msgid "Save Coupon &raquo;"
188
- msgstr "Kuponu Kaydet &raquo;"
189
-
190
- #: wp_shopping_cart_discounts_menu.php:131
191
- msgid "Coupon Code"
192
- msgstr "Kupon Kodu"
193
-
194
- #: wp_shopping_cart_discounts_menu.php:132
195
- msgid "Discount Rate (%)"
196
- msgstr "İndirim Oranı (%)"
197
-
198
- #: wp_shopping_cart_discounts_menu.php:161
199
- msgid "No Coupons Configured."
200
- msgstr "Tanımlanan Kupon Bulunmuyor."
201
-
202
- #: wp_shopping_cart_discounts_menu.php:166
203
- msgid "No Record found"
204
- msgstr "Kayıt bulunamadı"
205
-
206
- #: wp_shopping_cart_misc_functions.php:155
207
- msgid "Your Shopping Cart"
208
- msgstr "Alışveriş Sepetiniz"
209
-
210
- #: wp_shopping_cart_misc_functions.php:156
211
- msgid "Your cart is empty"
212
- msgstr "Sepetiniz boş"
213
-
214
- #: wp_shopping_cart_orders.php:10
215
- msgid "Cart Orders"
216
- msgstr "Sepet Siparişleri"
217
-
218
- #: wp_shopping_cart_orders.php:11
219
- msgid "Cart Order"
220
- msgstr "Sepet Siparişi"
221
-
222
- #: wp_shopping_cart_orders.php:12
223
- msgid "Add New"
224
- msgstr "Yeni Ekle"
225
-
226
- #: wp_shopping_cart_orders.php:13
227
- msgid "Add New Order"
228
- msgstr "Yeni Sipariş Ekle"
229
-
230
- #: wp_shopping_cart_orders.php:14
231
- msgid "Edit"
232
- msgstr "Düzenle"
233
-
234
- #: wp_shopping_cart_orders.php:15
235
- msgid "Edit Order"
236
- msgstr "Siparişi Düzenle"
237
-
238
- #: wp_shopping_cart_orders.php:16
239
- msgid "New Order"
240
- msgstr "Yeni Sipariş"
241
-
242
- #: wp_shopping_cart_orders.php:17
243
- msgid "View"
244
- msgstr "Görüntüle"
245
-
246
- #: wp_shopping_cart_orders.php:18
247
- msgid "View Order"
248
- msgstr "Siparişi Görüntüle"
249
-
250
- #: wp_shopping_cart_orders.php:19
251
- msgid "Search Order"
252
- msgstr "Sipariş Ara"
253
-
254
- #: wp_shopping_cart_orders.php:20
255
- msgid "No order found"
256
- msgstr "Sipariş bulunamadı."
257
-
258
- #: wp_shopping_cart_orders.php:21
259
- msgid "No order found in Trash"
260
- msgstr "Çöpte sipariş bulunamadı."
261
-
262
- #: wp_shopping_cart_orders.php:22
263
- msgid "Parent Order"
264
- msgstr "Ana Sipariş"
265
-
266
- #: wp_shopping_cart_orders.php:38
267
- msgid "Order Review"
268
- msgstr "Sipariş İncelemesi"
269
-
270
- #: wp_shopping_cart_orders.php:68
271
- msgid "Order ID: #"
272
- msgstr "Sipariş ID: #"
273
-
274
- #: wp_shopping_cart_orders.php:70
275
- msgid "Transaction ID: #"
276
- msgstr "İşlem ID: #"
277
-
278
- #: wp_shopping_cart_orders.php:73 wp_shopping_cart_orders.php:149
279
- msgid "First Name"
280
- msgstr "Ad"
281
-
282
- #: wp_shopping_cart_orders.php:77 wp_shopping_cart_orders.php:150
283
- msgid "Last Name"
284
- msgstr "Soyad"
285
-
286
- #: wp_shopping_cart_orders.php:81
287
- msgid "Email Address"
288
- msgstr "Eposta Adresi"
289
-
290
- #: wp_shopping_cart_orders.php:85
291
- msgid "IP Address"
292
- msgstr "IP Adresi"
293
-
294
- #: wp_shopping_cart_orders.php:93
295
- msgid "Address"
296
- msgstr "Adres"
297
-
298
- #: wp_shopping_cart_orders.php:97
299
- msgid "Buyer Email Sent?"
300
- msgstr "Alıcı Eposta\\'sı gönderildi mi?"
301
-
302
- #: wp_shopping_cart_orders.php:101
303
- msgid "Item(s) Ordered:"
304
- msgstr "Şipariş Edilen Ürün(ler):"
305
-
306
- #: wp_shopping_cart_orders.php:105
307
- msgid "Applied Coupon Code:"
308
- msgstr "Uygulanan Kupon Kodu:"
309
-
310
- #: wp_shopping_cart_orders.php:148
311
- msgid "Order ID"
312
- msgstr "Sipariş ID"
313
-
314
- #: wp_shopping_cart_orders.php:151
315
- msgid "Email"
316
- msgstr "Eposta"
317
-
318
- #: wp_shopping_cart_orders.php:153
319
- msgid "Status"
320
- msgstr "Durum"
321
-
322
- #: wp_shopping_cart_orders.php:154
323
- msgid "Date"
324
- msgstr "Tarih"
325
-
326
- #: wp_shopping_cart_settings.php:10
327
- msgid "WP Paypal Shopping Cart Options"
328
- msgstr "WP Paypal Alışveriş Sepeti Seçenekleri"
329
-
330
- #: wp_shopping_cart_settings.php:97
331
- msgid "Options Updated!"
332
- msgstr "Seçenekler Güncellendi!"
333
-
334
- #: wp_shopping_cart_settings.php:169
335
- msgid "Simple PayPal Shopping Cart Settings"
336
- msgstr "Basit Paypal Alışveriş Sepeti Ayarları"
337
-
338
- #: wp_shopping_cart_settings.php:177
339
- msgid "Quick Usage Guide"
340
- msgstr "Hızlı Kullanım Kılavuzu"
341
-
342
- #: wp_shopping_cart_settings.php:180
343
- msgid "Step 1) "
344
- msgstr "Adım 1) "
345
-
346
- #: wp_shopping_cart_settings.php:180
347
- msgid "To add an 'Add to Cart' button for a product simply add the shortcode"
348
- msgstr "Bir ürüne 'Sepete Ekle' butonu eklemek için verilen kısa kodu"
349
-
350
- #: wp_shopping_cart_settings.php:180
351
- msgid "PRODUCT-NAME"
352
- msgstr "ÜRÜN-ADI"
353
-
354
- #: wp_shopping_cart_settings.php:180
355
- msgid "PRODUCT-PRICE"
356
- msgstr "ÜRÜN-FİYATI"
357
-
358
- #: wp_shopping_cart_settings.php:180
359
- msgid ""
360
- "to a post or page next to the product. Replace PRODUCT-NAME and PRODUCT-"
361
- "PRICE with the actual name and price of your product."
362
- msgstr ""
363
- "ürünün yer aldığı sayfada uygun yere yerleştirin. ÜRÜN-ADI ve ÜRÜN-FİYATI "
364
- "kısımlarını ürünün gerçek adı ve fiyatı ile değiştirin."
365
-
366
- #: wp_shopping_cart_settings.php:181
367
- msgid "Example add to cart button shortcode usage:"
368
- msgstr "Örnek sepete ekle butonu kısa kodu kullanımı:"
369
-
370
- #: wp_shopping_cart_settings.php:182
371
- msgid "Step 2) "
372
- msgstr "Adım 2) "
373
-
374
- #: wp_shopping_cart_settings.php:182
375
- msgid ""
376
- "To add the shopping cart to a post or page (example: a checkout page) simply "
377
- "add the shortcode"
378
- msgstr ""
379
- "Alışveriş sepetini bir sayfaya eklemek için (örnek: ödeme sayfası) verilen "
380
- "kısa kodu"
381
-
382
- #: wp_shopping_cart_settings.php:182
383
- msgid ""
384
- "to a post or page or use the sidebar widget to add the shopping cart to the "
385
- "sidebar."
386
- msgstr ""
387
- "sayfanıza ekleyin veya alışveriş sepetini yan çubuğa eklemek için yan çubuk "
388
- "aygıtını kullanın."
389
-
390
- #: wp_shopping_cart_settings.php:183
391
- msgid "Example shopping cart shortcode usage:"
392
- msgstr "ALışveriş sepeti kısa kodu kullanım örneği:"
393
-
394
- #: wp_shopping_cart_settings.php:192
395
- msgid "PayPal and Shopping Cart Settings"
396
- msgstr "PayPal ve Alışveriş Sepeti Ayarları"
397
-
398
- #: wp_shopping_cart_settings.php:198
399
- msgid "Paypal Email Address"
400
- msgstr "Paypal Eposta Adresi"
401
-
402
- #: wp_shopping_cart_settings.php:202
403
- msgid "Shopping Cart title"
404
- msgstr "Alışveriş Sepeti başlığı"
405
-
406
- #: wp_shopping_cart_settings.php:206
407
- msgid "Text/Image to Show When Cart Empty"
408
- msgstr "Sepet Boşken Gösterilecek Metin/Görsel"
409
-
410
- #: wp_shopping_cart_settings.php:207
411
- msgid ""
412
- "You can either enter plain text or the URL of an image that you want to show "
413
- "when the shopping cart is empty"
414
- msgstr ""
415
- "Alışveriş sepeti boşken gösterilmek üzere düz bir metin ya da bir görsele "
416
- "işaret eden bir URL girebilirsiniz"
417
-
418
- #: wp_shopping_cart_settings.php:210
419
- msgid "Currency"
420
- msgstr "Para Birimi"
421
-
422
- #: wp_shopping_cart_settings.php:211 wp_shopping_cart_settings.php:215
423
- #: wp_shopping_cart_settings.php:242
424
- msgid "e.g."
425
- msgstr "ör."
426
-
427
- #: wp_shopping_cart_settings.php:214
428
- msgid "Currency Symbol"
429
- msgstr "Para Birimi Sembolü"
430
-
431
- #: wp_shopping_cart_settings.php:220
432
- msgid "Base Shipping Cost"
433
- msgstr "Baz Nakliye Masrafı"
434
-
435
- #: wp_shopping_cart_settings.php:221
436
- msgid ""
437
- "This is the base shipping cost that will be added to the total of individual "
438
- "products shipping cost. Put 0 if you do not want to charge shipping cost or "
439
- "use base shipping cost."
440
- msgstr ""
441
- "Bu, her ürün için ayrı ayrı hesaplanan nakliye ücretlerine eklenecek olan "
442
- "baz nakliye ücretidir. Nakliye ücreti talep etmeyecekseniz ya da baz nakliye "
443
- "ücretini kullanmayacaksanız 0 yazın."
444
-
445
- #: wp_shopping_cart_settings.php:221
446
- msgid "Learn More on Shipping Calculation"
447
- msgstr "Nakliye Tutarı Hesaplaması İle İlgili Daha Fazla Bilgi Edinin"
448
-
449
- #: wp_shopping_cart_settings.php:225
450
- msgid "Free Shipping for Orders Over"
451
- msgstr "Üzeri Siparişlerde Ücretsiz Nakliye"
452
-
453
- #: wp_shopping_cart_settings.php:226
454
- msgid ""
455
- "When a customer orders more than this amount he/she will get free shipping. "
456
- "Leave empty if you do not want to use it."
457
- msgstr ""
458
- "Müşteri bu tutardan daha fazla sipariş ettiğinde ücretsiz nakliyeye hak "
459
- "kazanacak. Kullanmak istemiyorsanız boş bırakın."
460
-
461
- #: wp_shopping_cart_settings.php:230
462
- msgid "Must Collect Shipping Address on PayPal"
463
- msgstr "PayPal üzerinde Adres Bilgisi Girilmeli"
464
-
465
- #: wp_shopping_cart_settings.php:231
466
- msgid ""
467
- "If checked the customer will be forced to enter a shipping address on PayPal "
468
- "when checking out."
469
- msgstr ""
470
- "Eğer işaretlenirse, müşteri PayPal üzerinden ödeme adımında adresini girmeye "
471
- "mecbur bırakılır."
472
-
473
- #: wp_shopping_cart_settings.php:235
474
- msgid "Use PayPal Profile Based Shipping"
475
- msgstr "PayPal Profilinizdeki Nakliye Seçeneklerini Kullan"
476
-
477
- #: wp_shopping_cart_settings.php:236
478
- msgid "Check this if you want to use"
479
- msgstr "PayPal profilinizdeki nakliye seçeneklerini kullanmak için"
480
-
481
- #: wp_shopping_cart_settings.php:236
482
- msgid "PayPal profile based shipping"
483
- msgstr "burayı işaretleyin."
484
-
485
- #: wp_shopping_cart_settings.php:236
486
- msgid ""
487
- "Using this will ignore any other shipping options that you have specified in "
488
- "this plugin."
489
- msgstr ""
490
- "Bunu kullanmak bu plugin içerisinde tanımladığınız tüm nakliye seçeneklerini "
491
- "göz ardı eder."
492
-
493
- #: wp_shopping_cart_settings.php:240
494
- msgid "Add to Cart button text or Image"
495
- msgstr "Sepete Ekle butonu metni ya da Görseli"
496
-
497
- #: wp_shopping_cart_settings.php:242
498
- msgid ""
499
- "To use a customized image as the button simply enter the URL of the image "
500
- "file."
501
- msgstr ""
502
- "Buton olarak kişiselleştirilmiş bir görsel kullanmak istiyorsanız bu görsele "
503
- "işaret eden URL\\'yi girin."
504
-
505
- #: wp_shopping_cart_settings.php:248
506
- msgid "Return URL"
507
- msgstr "Geri Dönüş URL\\'si"
508
-
509
- #: wp_shopping_cart_settings.php:249
510
- msgid ""
511
- "This is the URL the customer will be redirected to after a successful payment"
512
- msgstr ""
513
- "Bu, müşteri başarılı bir ödeme yaptıktan sonra onu yönlendireceğiniz "
514
- "sayfanın URL\\'sidir."
515
-
516
- #: wp_shopping_cart_settings.php:253
517
- msgid "Products Page URL"
518
- msgstr "Ürünler Sayfası URL\\'si"
519
-
520
- #: wp_shopping_cart_settings.php:254
521
- msgid ""
522
- "This is the URL of your products page if you have any. If used, the shopping "
523
- "cart widget will display a link to this page when cart is empty"
524
- msgstr ""
525
- "Bu, eğer önceden hazırladığınız bir ürünler sayfanız varsa o sayfanın URL"
526
- "\\'sidir. Eğer kullanılırsa, alışveriş sepeti aygıtı sepet boş iken bu "
527
- "sayfaya bir bağlantı görüntüler."
528
-
529
- #: wp_shopping_cart_settings.php:258
530
- msgid "Automatic redirection to checkout page"
531
- msgstr "Ödeme sayfasına otomatik yönlendirme"
532
-
533
- #: wp_shopping_cart_settings.php:260
534
- msgid "Checkout Page URL"
535
- msgstr "Ödeme Sayfası URL\\'si"
536
-
537
- #: wp_shopping_cart_settings.php:261
538
- msgid ""
539
- "If checked the visitor will be redirected to the Checkout page after a "
540
- "product is added to the cart. You must enter a URL in the Checkout Page URL "
541
- "field for this to work."
542
- msgstr ""
543
- "Eğer işaretlenirse, sepete bir ürün eklendiğinde ziyaretçi ödeme sayfasına "
544
- "yönlendirilecektir. Bunun çalışabilmesi için Ödeme Sayfası URL\\'si alanına "
545
- "bir URL yazmış olmanız gerekir."
546
-
547
- #: wp_shopping_cart_settings.php:265
548
- msgid "Reset Cart After Redirection to Return Page"
549
- msgstr "Geri Dönüş Sayfası yönlendirmesinden sonra Sepeti Sıfırla"
550
-
551
- #: wp_shopping_cart_settings.php:267
552
- msgid ""
553
- "If checked the shopping cart will be reset when the customer lands on the "
554
- "return URL (Thank You) page."
555
- msgstr ""
556
- "Eğer işaretlenirse, müşteri geri dönüş sayfası URL\\'sine (Teşekkürler "
557
- "sayfası) geldiğinde alışveriş sepeti sıfırlanacaktır."
558
-
559
- #: wp_shopping_cart_settings.php:274
560
- msgid "Hide Shopping Cart Image"
561
- msgstr "Alışveriş Sepeti Görselini Gizle"
562
-
563
- #: wp_shopping_cart_settings.php:275
564
- msgid "If ticked the shopping cart image will not be shown."
565
- msgstr "Eğer işaretlenirse Alışveriş Sepeti görseli gösterilmeyecektir."
566
-
567
- #: wp_shopping_cart_settings.php:281
568
- msgid "Customize the Note to Seller Text"
569
- msgstr "Satıcıya Not Metnini Kişiselleştir"
570
-
571
- #: wp_shopping_cart_settings.php:283
572
- msgid ""
573
- "Specify the text that you want to use for the note field on PayPal checkout "
574
- "page to collect special instruction (leave this field empty if you don't "
575
- "need to customize it). The default label for the note field is \"Add special "
576
- "instructions to merchant\"."
577
- msgstr ""
578
- "PayPal ödeme sayfasındaki Not alanı için kullanmak istediğiniz metni "
579
- "belirtin (özelleştirmek istemiyorsanız bu alanı boş bırakın). Not alanının "
580
- "varsayılan etiketi \"Satıcıya, özel talimat ekle\" \\'dir."
581
-
582
- #: wp_shopping_cart_settings.php:289
583
- msgid "Use WP Affiliate Platform"
584
- msgstr "WP Üyelik Platformu\\'nu Kullan"
585
-
586
- #: wp_shopping_cart_settings.php:291
587
- msgid "Check this if using with the"
588
- msgstr "ile birlikte kullanıyorsanız işaret koyun"
589
-
590
- #: wp_shopping_cart_settings.php:291
591
- msgid ""
592
- "This plugin lets you run your own affiliate campaign/program and allows you "
593
- "to reward (pay commission) your affiliates for referred sales"
594
- msgstr ""
595
- "Bu eklenti kendi üyelik/ortaklık kampanyanızı yürütmenizi ve üyelerinize/"
596
- "ortaklarınıza satışlar üzerinden komisyon ödemenizi olanaklı kılar"
597
-
598
- #: wp_shopping_cart_settings.php:297
599
- msgid "Testing and Debugging Settings"
600
- msgstr "Test Etme ve Hata Ayıklama Ayarları"
601
-
602
- #: wp_shopping_cart_settings.php:303
603
- msgid "Enable Debug"
604
- msgstr "Hata Ayıklamayı Etkinleştir"
605
-
606
- #: wp_shopping_cart_settings.php:305
607
- msgid ""
608
- "If checked, debug output will be written to the log file. This is useful for "
609
- "troubleshooting post payment failures"
610
- msgstr ""
611
- "Eğer işaretlenirse, hata ayıklama çıktısı kayıt dosyasına yazılacaktır. Bu, "
612
- "ödeme sonrası hatalarını ayıklamak için kullanışlıdır."
613
-
614
- #: wp_shopping_cart_settings.php:315
615
- msgid "Enable Sandbox Testing"
616
- msgstr "Sandbox Test Etmeyi Etkinleştir"
617
-
618
- #: wp_shopping_cart_settings.php:317
619
- msgid ""
620
- "Check this option if you want to do PayPal sandbox testing. You will need to "
621
- "create a PayPal sandbox account from PayPal Developer site"
622
- msgstr ""
623
- "PayPal Sandbox test etmeyi etkinleştirmek için bu seçeneği işaretleyin. "
624
- "PayPal Geliştirici sitesinden bir PayPal sandbox hesabı oluşturmanız "
625
- "gerekecek"
626
-
627
- #: wp_shopping_cart_settings.php:326 wp_shopping_cart_settings.php:415
628
- msgid "Update Options &raquo;"
629
- msgstr "Seçenekleri Güncelle &raquo;"
630
-
631
- #: wp_shopping_cart_settings.php:330
632
- msgid "Like the Simple WordPress Shopping Cart Plugin?"
633
- msgstr "WordPress Alışveriş Sepeti Eklentisini Beğendiniz mi?"
634
-
635
- #: wp_shopping_cart_settings.php:330
636
- msgid "Give it a good rating"
637
- msgstr "İyi bir puan verin"
638
-
639
- #: wp_shopping_cart_settings.php:333
640
- msgid "Need a shopping cart plugin with more features? Checkout my "
641
- msgstr ""
642
- "Daha fazla özelliğe sahip bir alışveriş sepeti eklentisine mi ihtiyacınız "
643
- "var? Ziyaret edin"
644
-
645
- #: wp_shopping_cart_settings.php:334
646
- msgid "WP eStore Plugin"
647
- msgstr "WP eStore Plugin"
648
-
649
- #: wp_shopping_cart_settings.php:375
650
- msgid "Purchase Confirmation Email Settings"
651
- msgstr "Satış Onayı Eposta Ayarları"
652
-
653
- #: wp_shopping_cart_settings.php:378
654
- msgid ""
655
- "The following options affect the emails that gets sent to your buyers after "
656
- "a purchase."
657
- msgstr ""
658
- "Aşağıdaki seçenekler ödeme sonrasında müşterilerinize gönderilecek olan "
659
- "epostaları etkiler."
660
-
661
- #: wp_shopping_cart_settings.php:383
662
- msgid "Send Emails to Buyer After Purchase"
663
- msgstr "Ödeme Sonrasında Alıcıya E-posta Gönder"
664
-
665
- #: wp_shopping_cart_settings.php:384
666
- msgid ""
667
- "If checked the plugin will send an email to the buyer with the sale details. "
668
- "If digital goods are purchased then the email will contain the download "
669
- "links for the purchased products."
670
- msgstr ""
671
- "Eğer işaretlenirse, eklenti alıcıya satış detaylarını içeren bir eposta "
672
- "gönderir. Eğer dijital ürünler satın alındıysa eposta içinde satın alınan "
673
- "ürünler için indirme bağlantıları bulunacaktır."
674
-
675
- #: wp_shopping_cart_settings.php:388
676
- msgid "From Email Address"
677
- msgstr "Gönderen Eposta Adresi"
678
-
679
- #: wp_shopping_cart_settings.php:390
680
- msgid ""
681
- "Example: Your Name &lt;sales@your-domain.com&gt; This is the email address "
682
- "that will be used to send the email to the buyer. This name and email "
683
- "address will appear in the from field of the email."
684
- msgstr ""
685
- "Örnek: İsminiz &lt;satis@alanadiniz.com&gt; Bu, müşteriye epostanın "
686
- "gönderilecek olduğu eposta adresidir. Buradaki isim ve eposta adresi, "
687
- "gönderilecek epostanın kimden alanında görünecektir."
688
-
689
- #: wp_shopping_cart_settings.php:394
690
- msgid "Buyer Email Subject"
691
- msgstr "Müşteri Eposta Konusu"
692
-
693
- #: wp_shopping_cart_settings.php:396
694
- msgid "This is the subject of the email that will be sent to the buyer."
695
- msgstr "Bu, müşteriye gönderilecek olan epostanın konusudur."
696
-
697
- #: wp_shopping_cart_settings.php:400
698
- msgid "Buyer Email Body"
699
- msgstr "Müşteri Eposta Gövdesi"
700
-
701
- #: wp_shopping_cart_settings.php:403
702
- msgid ""
703
- "This is the body of the email that will be sent to the buyer. Do not change "
704
- "the text within the braces {}. You can use the following email tags in this "
705
- "email body field:"
706
- msgstr ""
707
- "Bu, müşteriye gönderilecek olan epostanın gövde metnidir. {} arasındaki "
708
- "metinleri değiştirmeyin. Aşağıda verilen eposta etiketlerini bu eposta gövde "
709
- "metni alanında kullanabilirsiniz."
710
-
711
- #: wp_shopping_cart_settings.php:404
712
- msgid "First name of the buyer"
713
- msgstr "Müşteri Adı"
714
-
715
- #: wp_shopping_cart_settings.php:405
716
- msgid "Last name of the buyer"
717
- msgstr "Müşteri Soyadı"
718
-
719
- #: wp_shopping_cart_settings.php:406
720
- msgid ""
721
- "The item details of the purchased product (this will include the download "
722
- "link for digital items)."
723
- msgstr ""
724
- "Satın alınan ürün detayları (bu, dijital ürünler için indirme bağlantılarını "
725
- "içerecektir)."
726
-
727
- #: wp_shopping_cart_shortcodes.php:16 wp_shopping_cart_shortcodes.php:40
728
- msgid "Error! You must specify a product name in the shortcode."
729
- msgstr "Hata! Kısa kod içinde ürün adını belirtmelisiniz."
730
-
731
- #: wp_shopping_cart_shortcodes.php:19 wp_shopping_cart_shortcodes.php:43
732
- msgid "Error! You must specify a price for your product in the shortcode."
733
- msgstr "Hata! Kısa kod içinde ürün fiyatını belirtmelisiniz."
734
-
735
- #: wp_shopping_cart_shortcodes.php:46
736
- msgid ""
737
- "Error! You must specify a thumbnail image for your product in the shortcode."
738
- msgstr ""
739
- "Hata! Kısa kod içinde ürününüz için bir ön izleme görseli belirtmelisiniz."
740
-
741
- #: lib/gallery-wp-cart.php:32
742
- msgid "[View with PicLens]"
743
- msgstr "[PicLens ile Görüntüle]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/{WSPSC-cs_CZ.MO → wordpress-simple-paypal-shopping-cart-cs_CZ.MO} RENAMED
File without changes
languages/{WSPSC-cs_CZ.PO → wordpress-simple-paypal-shopping-cart-cs_CZ.PO} RENAMED
File without changes
languages/{WSPSC-de_DE.mo → wordpress-simple-paypal-shopping-cart-de_DE.mo} RENAMED
File without changes
languages/{WSPSC-de_DE.po → wordpress-simple-paypal-shopping-cart-de_DE.po} RENAMED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WSPSC v2.8.9\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2011-03-16 21:50+0100\n"
6
  "PO-Revision-Date: 2011-03-16 22:24+0100\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: wordpress-simple-paypal-shopping-cart v2.8.9\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2011-03-16 21:50+0100\n"
6
  "PO-Revision-Date: 2011-03-16 22:24+0100\n"
languages/{WSPSC-dk_DK.mo → wordpress-simple-paypal-shopping-cart-dk_DK.mo} RENAMED
File without changes
languages/{WSPSC-dk_DK.po → wordpress-simple-paypal-shopping-cart-dk_DK.po} RENAMED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WSPSC v2.8.9\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2011-03-16 21:49+0100\n"
6
  "PO-Revision-Date: 2014-11-10 02:12+0100\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: wordpress-simple-paypal-shopping-cart v2.8.9\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2011-03-16 21:49+0100\n"
6
  "PO-Revision-Date: 2014-11-10 02:12+0100\n"
languages/{WSPSC-en_EN.mo → wordpress-simple-paypal-shopping-cart-en_EN.mo} RENAMED
File without changes
languages/{WSPSC-en_EN.po → wordpress-simple-paypal-shopping-cart-en_EN.po} RENAMED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WSPSC v2.8.9\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2011-03-16 21:49+0100\n"
6
  "PO-Revision-Date: 2011-03-16 22:25+0100\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: wordpress-simple-paypal-shopping-cart v2.8.9\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2011-03-16 21:49+0100\n"
6
  "PO-Revision-Date: 2011-03-16 22:25+0100\n"
languages/{WSPSC-fr_FR.mo → wordpress-simple-paypal-shopping-cart-fr_FR.mo} RENAMED
File without changes
languages/{WSPSC-fr_FR.po → wordpress-simple-paypal-shopping-cart-fr_FR.po} RENAMED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WSPSC v2.8.9\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2012-03-26 01:16+0100\n"
6
  "PO-Revision-Date: 2012-04-04 00:41+0100\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: wordpress-simple-paypal-shopping-cart v2.8.9\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2012-03-26 01:16+0100\n"
6
  "PO-Revision-Date: 2012-04-04 00:41+0100\n"
languages/{WSPSC-he_IL.mo → wordpress-simple-paypal-shopping-cart-he_IL.mo} RENAMED
File without changes
languages/{WSPSC-he_IL.po → wordpress-simple-paypal-shopping-cart-he_IL.po} RENAMED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WSPSC v2.8.9\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2011-03-16 21:49+0100\n"
6
  "PO-Revision-Date: 2014-06-12 10:00+0200\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: wordpress-simple-paypal-shopping-cart v2.8.9\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2011-03-16 21:49+0100\n"
6
  "PO-Revision-Date: 2014-06-12 10:00+0200\n"
languages/{WSPSC-ja.mo → wordpress-simple-paypal-shopping-cart-ja_JP.mo} RENAMED
File without changes
languages/{WSPSC-ja.po → wordpress-simple-paypal-shopping-cart-ja_JP.po} RENAMED
File without changes
languages/wordpress-simple-paypal-shopping-cart-nl_NL.mo ADDED
Binary file
languages/wordpress-simple-paypal-shopping-cart-nl_NL.po ADDED
@@ -0,0 +1,885 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Simple Shopping Cart\n"
4
+ "POT-Creation-Date: 2015-11-21 13:26+0100\n"
5
+ "PO-Revision-Date: 2015-11-21 16:38+0100\n"
6
+ "Language-Team: \n"
7
+ "MIME-Version: 1.0\n"
8
+ "Content-Type: text/plain; charset=UTF-8\n"
9
+ "Content-Transfer-Encoding: 8bit\n"
10
+ "X-Generator: Poedit 1.8.6\n"
11
+ "X-Poedit-KeywordsList: __;_e\n"
12
+ "X-Poedit-Basepath: .\n"
13
+ "Last-Translator: \n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "Language: nl\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: class-coupon.php:19
19
+ msgid "Admin needs to configure some discount coupons before it can be used"
20
+ msgstr ""
21
+ "Administrator moet een korting coupons instellen voordat het gebruikt kan "
22
+ "worden"
23
+
24
+ #: class-coupon.php:86
25
+ msgid "Coupon ID: "
26
+ msgstr "Coupon ID:"
27
+
28
+ #: class-coupon.php:87
29
+ msgid "Coupon Code: "
30
+ msgstr "Coupon Code:"
31
+
32
+ #: class-coupon.php:88
33
+ msgid "Discount Amt: "
34
+ msgstr "Korting:"
35
+
36
+ #: class-coupon.php:89
37
+ msgid "Expiry date: "
38
+ msgstr "Expiratie Datum:"
39
+
40
+ #: class-coupon.php:98
41
+ msgid "Coupon code used does not exist!"
42
+ msgstr "Coupon code bestaat niet!"
43
+
44
+ #: class-coupon.php:105
45
+ msgid "Coupon code expired!"
46
+ msgstr "Coupon code is verlopen!"
47
+
48
+ #: class-coupon.php:110
49
+ msgid "Discount can only be applied once per checkout!"
50
+ msgstr "Korting kan slechts eenmalig worden toegepast per checkout!"
51
+
52
+ #: class-coupon.php:132
53
+ msgid "Discount applied successfully! Total Discount: "
54
+ msgstr "Korting succesvol toegepast! Totale Korting:"
55
+
56
+ #: wp_shopping_cart.php:182
57
+ msgid "Error! Your session is out of sync. Please reset your session."
58
+ msgstr "Fout! Jouw sessie is verlopen. Graag je sessie vernieuwen."
59
+
60
+ #: wp_shopping_cart.php:190
61
+ msgid ""
62
+ "Shopping Cart Configuration Error! You must specify a value in the 'Checkout "
63
+ "Page URL' field for the automatic redirection feature to work!"
64
+ msgstr ""
65
+ "Winkelwagen Configuratie Fout! Je moet een bedrag in ‘Checkout Pagina URL’ "
66
+ "veld invullen voor om de automatische verwijs functie te laten werken!"
67
+
68
+ #: wp_shopping_cart.php:279 wp_shopping_cart.php:354 wp_shopping_cart.php:411
69
+ #: wp_shopping_cart.php:453 wp_shopping_cart.php:457
70
+ #: wp_shopping_cart_settings.php:120
71
+ msgid "Add to Cart"
72
+ msgstr "Voeg toe aan Winkelwagen"
73
+
74
+ #: wp_shopping_cart.php:539
75
+ msgid "WP Paypal Shopping Cart"
76
+ msgstr "WP Paypal Winkelwagen"
77
+
78
+ #: wp_shopping_cart.php:539
79
+ msgid "WP Shopping Cart"
80
+ msgstr "WP Winkelwagen"
81
+
82
+ #: wp_shopping_cart.php:573
83
+ msgid "Shopping Cart"
84
+ msgstr "Winkelwagen"
85
+
86
+ #: wp_shopping_cart.php:606
87
+ msgid "Settings"
88
+ msgstr "Instellingen"
89
+
90
+ #: wp_shopping_cart_discounts_menu.php:52 wp_shopping_cart_settings.php:186
91
+ #: wp_shopping_cart_settings.php:422
92
+ msgid ""
93
+ "For more information, updates, detailed documentation and video tutorial, "
94
+ "please visit:"
95
+ msgstr ""
96
+ "Voor meer informatie, updates, gedetailleerde documentatie en video "
97
+ "tutorials, kijkt u op:"
98
+
99
+ #: wp_shopping_cart_discounts_menu.php:53 wp_shopping_cart_settings.php:187
100
+ #: wp_shopping_cart_settings.php:423
101
+ msgid "WP Simple Cart Homepage"
102
+ msgstr "WP Simpel Winkelwagen Homepagina"
103
+
104
+ #: wp_shopping_cart_discounts_menu.php:61
105
+ msgid "Coupon/Discount Settings"
106
+ msgstr "Coupon/Korting Instellingen"
107
+
108
+ #: wp_shopping_cart_discounts_menu.php:68
109
+ msgid "Enable Discount Coupon Feature"
110
+ msgstr "Pas Korting Coupon Mogelijkheid Toe"
111
+
112
+ #: wp_shopping_cart_discounts_menu.php:71
113
+ msgid ""
114
+ "When checked your customers will be able to enter a coupon code in the "
115
+ "shopping cart before checkout."
116
+ msgstr ""
117
+ "Indien aangevinkt kunnen jouw klanten een coupon code in de winkelwagen in "
118
+ "te voeren bij de checkout."
119
+
120
+ #: wp_shopping_cart_discounts_menu.php:78
121
+ msgid "Update &raquo;"
122
+ msgstr "Update &raquo"
123
+
124
+ #: wp_shopping_cart_discounts_menu.php:94
125
+ msgid "Add Coupon/Discount"
126
+ msgstr "Voeg Coupon/Korting toe"
127
+
128
+ #: wp_shopping_cart_discounts_menu.php:119
129
+ msgid "Save Coupon &raquo;"
130
+ msgstr "Sla Coupon &raquo op"
131
+
132
+ #: wp_shopping_cart_discounts_menu.php:137
133
+ msgid "Coupon Code"
134
+ msgstr "Coupon Code"
135
+
136
+ #: wp_shopping_cart_discounts_menu.php:138
137
+ msgid "Discount Rate (%)"
138
+ msgstr "Kortingspercentage (%)"
139
+
140
+ #: wp_shopping_cart_discounts_menu.php:139
141
+ msgid "Expiry Date"
142
+ msgstr "Verloop Datum"
143
+
144
+ #: wp_shopping_cart_discounts_menu.php:158
145
+ msgid "No Expiry"
146
+ msgstr "Oneindig geldin"
147
+
148
+ #: wp_shopping_cart_discounts_menu.php:174
149
+ msgid "No Coupons Configured."
150
+ msgstr "Geen Coupons Ingesteld."
151
+
152
+ #: wp_shopping_cart_discounts_menu.php:179
153
+ msgid "No Record found"
154
+ msgstr "Geen Bestand Gevonden"
155
+
156
+ #: wp_shopping_cart_misc_functions.php:169
157
+ msgid "Your Shopping Cart"
158
+ msgstr "Jouw Winkelwagen"
159
+
160
+ #: wp_shopping_cart_misc_functions.php:170
161
+ msgid "Your cart is empty"
162
+ msgstr "Jouw winkelwagen is leeg"
163
+
164
+ #: wp_shopping_cart_misc_functions.php:200
165
+ msgid ""
166
+ "Need a shopping cart plugin with a lot of features and good support? Check "
167
+ "out our "
168
+ msgstr ""
169
+ "Heb je een winkelwagen plugin nodig met een heleboel opties en goede "
170
+ "ondersteuning? Check onze"
171
+
172
+ #: wp_shopping_cart_misc_functions.php:201
173
+ msgid "WP eStore Plugin"
174
+ msgstr "WP eWinkel Plugin"
175
+
176
+ #: wp_shopping_cart_orders.php:10
177
+ msgid "Cart Orders"
178
+ msgstr "Winkelwagen Orders"
179
+
180
+ #: wp_shopping_cart_orders.php:11
181
+ msgid "Cart Order"
182
+ msgstr "Winkelwagen Order"
183
+
184
+ #: wp_shopping_cart_orders.php:12
185
+ msgid "Add New"
186
+ msgstr "Voeg Nieuwe Toe"
187
+
188
+ #: wp_shopping_cart_orders.php:13
189
+ msgid "Add New Order"
190
+ msgstr "Voeg Nieuwe Order Toe"
191
+
192
+ #: wp_shopping_cart_orders.php:14
193
+ msgid "Edit"
194
+ msgstr "Aanpassen"
195
+
196
+ #: wp_shopping_cart_orders.php:15
197
+ msgid "Edit Order"
198
+ msgstr "Pas Order Aan"
199
+
200
+ #: wp_shopping_cart_orders.php:16
201
+ msgid "New Order"
202
+ msgstr "Nieuwe Order"
203
+
204
+ #: wp_shopping_cart_orders.php:17
205
+ msgid "View"
206
+ msgstr "Controleer"
207
+
208
+ #: wp_shopping_cart_orders.php:18
209
+ msgid "View Order"
210
+ msgstr "Controleer Order"
211
+
212
+ #: wp_shopping_cart_orders.php:19
213
+ msgid "Search Order"
214
+ msgstr "Zoek Order"
215
+
216
+ #: wp_shopping_cart_orders.php:20
217
+ msgid "No order found"
218
+ msgstr "Geen order gevonden"
219
+
220
+ #: wp_shopping_cart_orders.php:21
221
+ msgid "No order found in Trash"
222
+ msgstr "Geen order gevonden in de Prullenbak"
223
+
224
+ #: wp_shopping_cart_orders.php:22
225
+ msgid "Parent Order"
226
+ msgstr "Overkoepelende Order"
227
+
228
+ #: wp_shopping_cart_orders.php:38
229
+ msgid "Order Review"
230
+ msgstr "Order Overzicht"
231
+
232
+ #: wp_shopping_cart_orders.php:70
233
+ msgid "Order ID: #"
234
+ msgstr "Order ID: #"
235
+
236
+ #: wp_shopping_cart_orders.php:72
237
+ msgid "Transaction ID: #"
238
+ msgstr "Transactie ID: #"
239
+
240
+ #: wp_shopping_cart_orders.php:75 wp_shopping_cart_orders.php:165
241
+ msgid "First Name"
242
+ msgstr "Voornaam"
243
+
244
+ #: wp_shopping_cart_orders.php:79 wp_shopping_cart_orders.php:166
245
+ msgid "Last Name"
246
+ msgstr "Achternaam"
247
+
248
+ #: wp_shopping_cart_orders.php:83
249
+ msgid "Email Address"
250
+ msgstr "Emailadres"
251
+
252
+ #: wp_shopping_cart_orders.php:87
253
+ msgid "IP Address"
254
+ msgstr "IP Adres"
255
+
256
+ #: wp_shopping_cart_orders.php:91 wp_shopping_cart_orders.php:168
257
+ #: includes/wspsc-cart-functions.php:145
258
+ msgid "Total"
259
+ msgstr "Totaal"
260
+
261
+ #: wp_shopping_cart_orders.php:95 includes/wspsc-cart-functions.php:142
262
+ msgid "Shipping"
263
+ msgstr "Verzendkosten"
264
+
265
+ #: wp_shopping_cart_orders.php:99
266
+ msgid "Address"
267
+ msgstr "Adres"
268
+
269
+ #: wp_shopping_cart_orders.php:103
270
+ msgid "Phone"
271
+ msgstr "Telefoonnummer"
272
+
273
+ #: wp_shopping_cart_orders.php:107
274
+ msgid "Buyer Email Sent?"
275
+ msgstr "Klant Email Verzonden?"
276
+
277
+ #: wp_shopping_cart_orders.php:111
278
+ msgid "Item(s) Ordered:"
279
+ msgstr "Item(s) Aangeschadft:"
280
+
281
+ #: wp_shopping_cart_orders.php:115
282
+ msgid "Applied Coupon Code:"
283
+ msgstr "Toegepaste Coupon Code:"
284
+
285
+ #: wp_shopping_cart_orders.php:164
286
+ msgid "Order ID"
287
+ msgstr "Order ID"
288
+
289
+ #: wp_shopping_cart_orders.php:167
290
+ msgid "Email"
291
+ msgstr "Email"
292
+
293
+ #: wp_shopping_cart_orders.php:169
294
+ msgid "Status"
295
+ msgstr "Status"
296
+
297
+ #: wp_shopping_cart_orders.php:170
298
+ msgid "Date"
299
+ msgstr "Datum"
300
+
301
+ #: wp_shopping_cart_settings.php:10
302
+ msgid "WP Paypal Shopping Cart Options"
303
+ msgstr "WP Paypal Winkelwagen Opties"
304
+
305
+ #: wp_shopping_cart_settings.php:100
306
+ msgid "Options Updated!"
307
+ msgstr "Opties Aangepast!"
308
+
309
+ #: wp_shopping_cart_settings.php:104 includes/wspsc-cart-functions.php:30
310
+ msgid "USD"
311
+ msgstr "EUR"
312
+
313
+ #: wp_shopping_cart_settings.php:107 includes/wspsc-cart-functions.php:34
314
+ msgid "$"
315
+ msgstr "€"
316
+
317
+ #: wp_shopping_cart_settings.php:183
318
+ msgid "Simple PayPal Shopping Cart Settings"
319
+ msgstr "Simpele PayPal Winkelwagen Instellingen"
320
+
321
+ #: wp_shopping_cart_settings.php:191
322
+ msgid "Quick Usage Guide"
323
+ msgstr "Snelle Start Gebruiksaanwijzingen"
324
+
325
+ #: wp_shopping_cart_settings.php:194
326
+ msgid "Step 1) "
327
+ msgstr "Stap 1)"
328
+
329
+ #: wp_shopping_cart_settings.php:194
330
+ msgid "To add an 'Add to Cart' button for a product simply add the shortcode"
331
+ msgstr ""
332
+ "Om een ‘Voeg toe aan Winkelwagen’ knop toe te voegen voor een product, voeg "
333
+ "simpelweg de shortcode toe "
334
+
335
+ #: wp_shopping_cart_settings.php:194
336
+ msgid "PRODUCT-NAME"
337
+ msgstr "PRODUCT-NAAM"
338
+
339
+ #: wp_shopping_cart_settings.php:194
340
+ msgid "PRODUCT-PRICE"
341
+ msgstr "PRODUCT-PRIJS"
342
+
343
+ #: wp_shopping_cart_settings.php:194
344
+ msgid ""
345
+ "to a post or page next to the product. Replace PRODUCT-NAME and PRODUCT-"
346
+ "PRICE with the actual name and price of your product."
347
+ msgstr ""
348
+ "voor een post of pagina naast het product. Vervang PRODUCT-NAAM en PRODUCT-"
349
+ "PRIJS met de correcte naam en prijs van jouw product."
350
+
351
+ #: wp_shopping_cart_settings.php:195
352
+ msgid "Example add to cart button shortcode usage:"
353
+ msgstr "Bijvoorbeeld voeg de winkelwagen knop shortcode gebruik:"
354
+
355
+ #: wp_shopping_cart_settings.php:196
356
+ msgid "Step 2) "
357
+ msgstr "Stap 2)"
358
+
359
+ #: wp_shopping_cart_settings.php:196
360
+ msgid ""
361
+ "To add the shopping cart to a post or page (example: a checkout page) simply "
362
+ "add the shortcode"
363
+ msgstr ""
364
+ "Om de winkelwagen om aan een post of pagina (bijvoorbeeld: een kassa pagina) "
365
+ "toe te voegen, hoef je simpelweg de shortcode toe te voegen aan deze pagina"
366
+
367
+ #: wp_shopping_cart_settings.php:196
368
+ msgid ""
369
+ "to a post or page or use the sidebar widget to add the shopping cart to the "
370
+ "sidebar."
371
+ msgstr ""
372
+ "aan een post of pagina of gebruik de zijbalk widget om de winkelwagen toe te "
373
+ "voegen aan de zijbalk."
374
+
375
+ #: wp_shopping_cart_settings.php:197
376
+ msgid "Example shopping cart shortcode usage:"
377
+ msgstr "Voorbeeld winkelwagen shortcode gebruik"
378
+
379
+ #: wp_shopping_cart_settings.php:206
380
+ msgid "PayPal and Shopping Cart Settings"
381
+ msgstr "PayPal en Winkelwagen Instellingen"
382
+
383
+ #: wp_shopping_cart_settings.php:212
384
+ msgid "Paypal Email Address"
385
+ msgstr "Paypal Emailadres"
386
+
387
+ #: wp_shopping_cart_settings.php:216
388
+ msgid "Shopping Cart title"
389
+ msgstr "Winkelwagen Titel"
390
+
391
+ #: wp_shopping_cart_settings.php:220
392
+ msgid "Text/Image to Show When Cart Empty"
393
+ msgstr "Tekst/Afbeelding om te laten zien dat de Winkelwagen leeg is"
394
+
395
+ #: wp_shopping_cart_settings.php:221
396
+ msgid ""
397
+ "You can either enter plain text or the URL of an image that you want to show "
398
+ "when the shopping cart is empty"
399
+ msgstr ""
400
+ "Je kunt ofwel platte tekst invoeren of de URL van een afbeelding die u wilt "
401
+ "weergeven wanneer de winkelwagen leeg is"
402
+
403
+ #: wp_shopping_cart_settings.php:224
404
+ msgid "Currency"
405
+ msgstr "Valuta"
406
+
407
+ #: wp_shopping_cart_settings.php:225 wp_shopping_cart_settings.php:229
408
+ #: wp_shopping_cart_settings.php:256
409
+ msgid "e.g."
410
+ msgstr "Bijv."
411
+
412
+ #: wp_shopping_cart_settings.php:228
413
+ msgid "Currency Symbol"
414
+ msgstr "Valuta Symbool"
415
+
416
+ #: wp_shopping_cart_settings.php:234
417
+ msgid "Base Shipping Cost"
418
+ msgstr "Basis Verzendkosten"
419
+
420
+ #: wp_shopping_cart_settings.php:235
421
+ msgid ""
422
+ "This is the base shipping cost that will be added to the total of individual "
423
+ "products shipping cost. Put 0 if you do not want to charge shipping cost or "
424
+ "use base shipping cost."
425
+ msgstr ""
426
+ "Dit zijn de basis verzendkosten die worden toegevoegd aan de som van de "
427
+ "individuele producten verzendkosten. Zet 0 neer als u geen verzendkosten "
428
+ "wilt rekenen of basis verzendkosten."
429
+
430
+ #: wp_shopping_cart_settings.php:235
431
+ msgid "Learn More on Shipping Calculation"
432
+ msgstr "Leer Meer over Verzendkosten Berekenen"
433
+
434
+ #: wp_shopping_cart_settings.php:239
435
+ msgid "Free Shipping for Orders Over"
436
+ msgstr "Geen Verzendkosten voor Orders Boven"
437
+
438
+ #: wp_shopping_cart_settings.php:240
439
+ msgid ""
440
+ "When a customer orders more than this amount he/she will get free shipping. "
441
+ "Leave empty if you do not want to use it."
442
+ msgstr ""
443
+ "Wanneer een klant bestellingen plaatst boven dit bedrag dan zal hij / zij "
444
+ "gratis verzending krijgen. Laat leeg als u dit niet wilt gebruiken."
445
+
446
+ #: wp_shopping_cart_settings.php:244
447
+ msgid "Must Collect Shipping Address on PayPal"
448
+ msgstr "Moet het Afleveradres verkrijgen bij PayPal"
449
+
450
+ #: wp_shopping_cart_settings.php:245
451
+ msgid ""
452
+ "If checked the customer will be forced to enter a shipping address on PayPal "
453
+ "when checking out."
454
+ msgstr ""
455
+ "Indien aangevinkt zal de klant worden gedwongen om een afleveradres in te "
456
+ "voeren op PayPal bij het uitchecken."
457
+
458
+ #: wp_shopping_cart_settings.php:249
459
+ msgid "Use PayPal Profile Based Shipping"
460
+ msgstr "Gebruik PayPal op Profiel Gebaseerde Verzendkosten"
461
+
462
+ #: wp_shopping_cart_settings.php:250
463
+ msgid "Check this if you want to use"
464
+ msgstr "Vink aan dit als u dit wilt gebruiken"
465
+
466
+ #: wp_shopping_cart_settings.php:250
467
+ msgid "PayPal profile based shipping"
468
+ msgstr "PayPal profiel gebaseerde verzending"
469
+
470
+ #: wp_shopping_cart_settings.php:250
471
+ msgid ""
472
+ "Using this will ignore any other shipping options that you have specified in "
473
+ "this plugin."
474
+ msgstr ""
475
+ "Met behulp hiervan zal andere verzendingsopties die u hebt opgegeven in deze "
476
+ "plugin worden genegeerd."
477
+
478
+ #: wp_shopping_cart_settings.php:254
479
+ msgid "Add to Cart button text or Image"
480
+ msgstr "Voeg toe aan Winkelwagen knop tekst of afbeelding"
481
+
482
+ #: wp_shopping_cart_settings.php:256
483
+ msgid ""
484
+ "To use a customized image as the button simply enter the URL of the image "
485
+ "file."
486
+ msgstr ""
487
+ "Om een aangepaste afbeelding gebruiken als de knop voert u de URL van de "
488
+ "afbeelding."
489
+
490
+ #: wp_shopping_cart_settings.php:262
491
+ msgid "Return URL"
492
+ msgstr "Terugkeer URL"
493
+
494
+ #: wp_shopping_cart_settings.php:263
495
+ msgid ""
496
+ "This is the URL the customer will be redirected to after a successful payment"
497
+ msgstr ""
498
+ "Dit is de URL waar de klant naar wordt doorgestuurd na een succesvolle "
499
+ "betaling"
500
+
501
+ #: wp_shopping_cart_settings.php:267
502
+ msgid "Products Page URL"
503
+ msgstr "Product Pagina URL"
504
+
505
+ #: wp_shopping_cart_settings.php:268
506
+ msgid ""
507
+ "This is the URL of your products page if you have any. If used, the shopping "
508
+ "cart widget will display a link to this page when cart is empty"
509
+ msgstr ""
510
+ "Dit is de URL van uw producten pagina indien u die gebruik. Indien u die "
511
+ "heeft, zal de winkelwagen widget een link naar deze pagina weergeven wanneer "
512
+ "winkelwagen leeg is"
513
+
514
+ #: wp_shopping_cart_settings.php:272
515
+ msgid "Automatic redirection to checkout page"
516
+ msgstr "Automatische doorverwijzing naar de kassa pagina"
517
+
518
+ #: wp_shopping_cart_settings.php:274
519
+ msgid "Checkout Page URL"
520
+ msgstr "Kassa Pagina URL"
521
+
522
+ #: wp_shopping_cart_settings.php:275
523
+ msgid ""
524
+ "If checked the visitor will be redirected to the Checkout page after a "
525
+ "product is added to the cart. You must enter a URL in the Checkout Page URL "
526
+ "field for this to work."
527
+ msgstr ""
528
+ "Als controleerde de bezoeker wordt doorgestuurd naar de kassa pagina nadat "
529
+ "een product wordt toegevoegd aan de winkelwagen. U moet een URL in de "
530
+ "Betaalpagina URL veld in te voeren om dit te laten werken."
531
+
532
+ #: wp_shopping_cart_settings.php:279
533
+ msgid "Open PayPal Checkout Page in a New Tab"
534
+ msgstr "Open PayPal Kassa Pagina in een Nieuw Tabblad"
535
+
536
+ #: wp_shopping_cart_settings.php:281
537
+ msgid ""
538
+ "If checked the PayPal checkout page will be opened in a new tab/window when "
539
+ "the user clicks the checkout button."
540
+ msgstr ""
541
+ "Indien aangevinkt wordt de PayPal kassa pagina in een nieuw tabblad / "
542
+ "venster geopend wanneer de gebruiker op de kassa knop klikt."
543
+
544
+ #: wp_shopping_cart_settings.php:285
545
+ msgid "Reset Cart After Redirection to Return Page"
546
+ msgstr "Leeg Winkelwagen Na Doorverwijzing naar Terugkeer Pagina"
547
+
548
+ #: wp_shopping_cart_settings.php:287
549
+ msgid ""
550
+ "If checked the shopping cart will be reset when the customer lands on the "
551
+ "return URL (Thank You) page."
552
+ msgstr ""
553
+ "Indien aangevinkt wordt de winkelwagen geleegd wanneer de klant landt op de "
554
+ "terugkeer URL (dank u) pagina."
555
+
556
+ #: wp_shopping_cart_settings.php:294
557
+ msgid "Hide Shopping Cart Image"
558
+ msgstr "Verberg Winkelwagen Afbeelding"
559
+
560
+ #: wp_shopping_cart_settings.php:295
561
+ msgid "If ticked the shopping cart image will not be shown."
562
+ msgstr "Indien aangevinkt wordt de winkelwagen afbeelding niet getoond."
563
+
564
+ #: wp_shopping_cart_settings.php:301
565
+ msgid "Customize the Note to Seller Text"
566
+ msgstr "Pas de Persoonlijke Tekst voor de Verkoper aan"
567
+
568
+ #: wp_shopping_cart_settings.php:303
569
+ msgid ""
570
+ "Specify the text that you want to use for the note field on PayPal checkout "
571
+ "page to collect special instruction (leave this field empty if you don't "
572
+ "need to customize it). The default label for the note field is \"Add special "
573
+ "instructions to merchant\"."
574
+ msgstr ""
575
+ "Geef de tekst op die u wilt gebruiken voor het veld opmerking op de PayPal "
576
+ "kassa pagina, voor speciale instructies (dit veld leeg als u het niet nodig "
577
+ "vind om aan te passen). Het standaard label voor de notitie is \"Voeg "
578
+ "speciale instructies toe voor de verkoper\"."
579
+
580
+ #: wp_shopping_cart_settings.php:309
581
+ msgid "Custom Checkout Page Style Name"
582
+ msgstr "Aangepaste Kassa Pagina Stijl Naam"
583
+
584
+ #: wp_shopping_cart_settings.php:311
585
+ msgid ""
586
+ "Specify the page style name here if you want to customize the paypal "
587
+ "checkout page with custom page style otherwise leave this field empty."
588
+ msgstr ""
589
+ "Geef hier de naam van de pagina stijl als je de paypal kassa pagina wil "
590
+ "aanpassen met aangepaste pagina stijl aanpassen anders laat je dit veld leeg."
591
+
592
+ #: wp_shopping_cart_settings.php:317
593
+ msgid "Use Strict PayPal Email Address Checking"
594
+ msgstr "Gebruik strenge PayPal Emailadres controle"
595
+
596
+ #: wp_shopping_cart_settings.php:318
597
+ msgid ""
598
+ "If checked the script will check to make sure that the PayPal email address "
599
+ "specified is the same as the account where the payment was deposited (Usage "
600
+ "of PayPal Email Alias will fail too)."
601
+ msgstr ""
602
+ "Indien aangevinkt zal het script controleren om ervoor te zorgen dat de "
603
+ "PayPal-e-mailadres wat is opgegeven hetzelfde is als de rekening waar de "
604
+ "betaling van wordt gedaan (gebruik van PayPal E-mail alias zal hierdoor ook "
605
+ "niet lukken)."
606
+
607
+ #: wp_shopping_cart_settings.php:324
608
+ msgid "Use WP Affiliate Platform"
609
+ msgstr "Gebruik WP Affiliate Platform"
610
+
611
+ #: wp_shopping_cart_settings.php:326
612
+ msgid "Check this if using with the"
613
+ msgstr "Vink dit aan als u dit gebruikt met de"
614
+
615
+ #: wp_shopping_cart_settings.php:326
616
+ msgid ""
617
+ "This plugin lets you run your own affiliate campaign/program and allows you "
618
+ "to reward (pay commission) your affiliates for referred sales"
619
+ msgstr ""
620
+ "Met deze plugin kunt u uw eigen affiliate campagne / programma uit voeren en "
621
+ "het kan u dat belonen (commissie betalen) aan secundaire verkopers"
622
+
623
+ #: wp_shopping_cart_settings.php:332
624
+ msgid "Testing and Debugging Settings"
625
+ msgstr "Testen en Debuggen van Instellingen"
626
+
627
+ #: wp_shopping_cart_settings.php:338
628
+ msgid "Enable Debug"
629
+ msgstr "Maak Debugging Mogelijk"
630
+
631
+ #: wp_shopping_cart_settings.php:340
632
+ msgid ""
633
+ "If checked, debug output will be written to the log file. This is useful for "
634
+ "troubleshooting post payment failures"
635
+ msgstr ""
636
+ "Indien aangevinkt, zal debug worden geschreven naar het logbestand. Dit is "
637
+ "handig voor het oplossen van problemen na mislukte betalingen"
638
+
639
+ #: wp_shopping_cart_settings.php:351
640
+ msgid "Enable Sandbox Testing"
641
+ msgstr "Schakel Sandbox Testen In"
642
+
643
+ #: wp_shopping_cart_settings.php:353
644
+ msgid ""
645
+ "Check this option if you want to do PayPal sandbox testing. You will need to "
646
+ "create a PayPal sandbox account from PayPal Developer site"
647
+ msgstr ""
648
+ "Vink deze optie aan als u PayPal sandbox testen wilt doen. U moet een PayPal-"
649
+ "rekening van de PayPal Sandbox Developer website hebben"
650
+
651
+ #: wp_shopping_cart_settings.php:362 wp_shopping_cart_settings.php:508
652
+ msgid "Update Options &raquo;"
653
+ msgstr "Update Opties &raquo;"
654
+
655
+ #: wp_shopping_cart_settings.php:366
656
+ msgid "Like the Simple WordPress Shopping Cart Plugin?"
657
+ msgstr "Vind je de Simpele WordPress Winkelwagen Plugin goed?"
658
+
659
+ #: wp_shopping_cart_settings.php:366
660
+ msgid "Give it a good rating"
661
+ msgstr "Geef hem een goede beoordeling"
662
+
663
+ #: wp_shopping_cart_settings.php:431
664
+ msgid "Purchase Confirmation Email Settings"
665
+ msgstr "Bevestiging aankoop Emailinstellingen"
666
+
667
+ #: wp_shopping_cart_settings.php:434
668
+ msgid ""
669
+ "The following options affect the emails that gets sent to your buyers after "
670
+ "a purchase."
671
+ msgstr ""
672
+ "De volgende opties zijn van invloed op de emails die naar uw kopers worden "
673
+ "gestuurd na een aankoop."
674
+
675
+ #: wp_shopping_cart_settings.php:439
676
+ msgid "Send Emails to Buyer After Purchase"
677
+ msgstr "Stuur Kopers Emails Na Aanschaf"
678
+
679
+ #: wp_shopping_cart_settings.php:440
680
+ msgid ""
681
+ "If checked the plugin will send an email to the buyer with the sale details. "
682
+ "If digital goods are purchased then the email will contain the download "
683
+ "links for the purchased products."
684
+ msgstr ""
685
+ "Indien aangevinkt zal de plugin een email sturen naar de koper met de "
686
+ "verkoop details. Als er digitale goederen zijn gekocht dan zal de e-mail de "
687
+ "download links voor de gekochte producten tonen."
688
+
689
+ #: wp_shopping_cart_settings.php:444
690
+ msgid "From Email Address"
691
+ msgstr "Van Emailadres"
692
+
693
+ #: wp_shopping_cart_settings.php:446
694
+ msgid ""
695
+ "Example: Your Name &lt;sales@your-domain.com&gt; This is the email address "
696
+ "that will be used to send the email to the buyer. This name and email "
697
+ "address will appear in the from field of the email."
698
+ msgstr ""
699
+ "Voorbeeld: Uw Naam & lt; sales@jouw-domein.com&gt; Dit is het emailadres dat "
700
+ "zal worden gebruikt om de e-mail te sturen naar de koper. Deze naam en e-"
701
+ "mailadres verschijnen in het veld van de email."
702
+
703
+ #: wp_shopping_cart_settings.php:450
704
+ msgid "Buyer Email Subject"
705
+ msgstr "Koper Email Onderwerp"
706
+
707
+ #: wp_shopping_cart_settings.php:452
708
+ msgid "This is the subject of the email that will be sent to the buyer."
709
+ msgstr ""
710
+ "Dit is het onderwerp van de email die aan de koper zal worden verzonden."
711
+
712
+ #: wp_shopping_cart_settings.php:456
713
+ msgid "Buyer Email Body"
714
+ msgstr "Koper Email Inhoud"
715
+
716
+ #: wp_shopping_cart_settings.php:459
717
+ msgid ""
718
+ "This is the body of the email that will be sent to the buyer. Do not change "
719
+ "the text within the braces {}. You can use the following email tags in this "
720
+ "email body field:"
721
+ msgstr ""
722
+ "Dit is de inhoud van de e-mail die naar de koper zal worden verzonden. "
723
+ "Verander niet de tekst binnen de accolades {}. U kunt gebruik maken van de "
724
+ "volgende e-tags in het email inhoudsveld: "
725
+
726
+ #: wp_shopping_cart_settings.php:460 wp_shopping_cart_settings.php:492
727
+ msgid "First name of the buyer"
728
+ msgstr "Voornaam van de koper"
729
+
730
+ #: wp_shopping_cart_settings.php:461 wp_shopping_cart_settings.php:493
731
+ msgid "Last name of the buyer"
732
+ msgstr "Achternaam van de koper"
733
+
734
+ #: wp_shopping_cart_settings.php:462 wp_shopping_cart_settings.php:495
735
+ msgid ""
736
+ "The item details of the purchased product (this will include the download "
737
+ "link for digital items)."
738
+ msgstr ""
739
+ "De item details van het gekochte product (dit bevat ook de eventuele "
740
+ "download link voor digitale items)."
741
+
742
+ #: wp_shopping_cart_settings.php:463 wp_shopping_cart_settings.php:496
743
+ msgid "The unique transaction ID of the purchase"
744
+ msgstr "De unieke transactie ID van de aankoop"
745
+
746
+ #: wp_shopping_cart_settings.php:464 wp_shopping_cart_settings.php:497
747
+ msgid "The amount paid for the current transaction"
748
+ msgstr "De prijs betaald voor de huidige transactie"
749
+
750
+ #: wp_shopping_cart_settings.php:465 wp_shopping_cart_settings.php:498
751
+ msgid "The date of the purchase"
752
+ msgstr "De datum van de aankoop"
753
+
754
+ #: wp_shopping_cart_settings.php:466 wp_shopping_cart_settings.php:499
755
+ msgid "Coupon code applied to the purchase"
756
+ msgstr "Coupon code die is toegepast voor de aankoop"
757
+
758
+ #: wp_shopping_cart_settings.php:471
759
+ msgid "Send Emails to Seller After Purchase"
760
+ msgstr "Stuur Emails naar de verkoper na aankoop"
761
+
762
+ #: wp_shopping_cart_settings.php:472
763
+ msgid ""
764
+ "If checked the plugin will send an email to the seller with the sale details"
765
+ msgstr ""
766
+ "Indien aangevinkt zal de plugin een email sturen naar de verkoper met de "
767
+ "verkoop gegevens"
768
+
769
+ #: wp_shopping_cart_settings.php:476
770
+ msgid "Notification Email Address*"
771
+ msgstr "Meldingen emailadres *"
772
+
773
+ #: wp_shopping_cart_settings.php:478
774
+ msgid ""
775
+ "This is the email address where the seller will be notified of product "
776
+ "sales. You can put multiple email addresses separated by comma (,) in the "
777
+ "above field to send the notification to multiple email addresses."
778
+ msgstr ""
779
+ "Dit is het e-mailadres waarop de verkoper op de hoogte zal worden gesteld "
780
+ "van de verkoop van producten. U kunt meerdere e-mailadressen, gescheiden "
781
+ "door een komma (,) in het bovenstaande veld invoeren om de melding naar "
782
+ "meerdere e-mailadressen te sturen."
783
+
784
+ #: wp_shopping_cart_settings.php:482
785
+ msgid "Seller Email Subject*"
786
+ msgstr "Verkoper Email Onderwerp *"
787
+
788
+ #: wp_shopping_cart_settings.php:484
789
+ msgid ""
790
+ "This is the subject of the email that will be sent to the seller for record."
791
+ msgstr ""
792
+ "Dit is het onderwerp van de email die naar de verkoper wordt verzonden ter "
793
+ "bevestiging."
794
+
795
+ #: wp_shopping_cart_settings.php:488
796
+ msgid "Seller Email Body*"
797
+ msgstr "Verkoper Email Inhoud*"
798
+
799
+ #: wp_shopping_cart_settings.php:491
800
+ msgid ""
801
+ "This is the body of the email that will be sent to the seller for record. Do "
802
+ "not change the text within the braces {}. You can use the following email "
803
+ "tags in this email body field:"
804
+ msgstr ""
805
+ "Dit is de inhoud van de email die naar de verkoper wordt verzonden ter "
806
+ "bevestiging. Verander de tekst binnen de accolades niet {}. U kunt gebruik "
807
+ "maken van de volgende e-tags in dit email inhoudsgebied: "
808
+
809
+ #: wp_shopping_cart_settings.php:494
810
+ msgid "Email Address of the buyer"
811
+ msgstr "Emailadres van de koper"
812
+
813
+ #: wp_shopping_cart_shortcodes.php:19 wp_shopping_cart_shortcodes.php:49
814
+ msgid "Error! You must specify a product name in the shortcode."
815
+ msgstr "Fout! U moet een naam van het product in de shortcode specificeren."
816
+
817
+ #: wp_shopping_cart_shortcodes.php:22 wp_shopping_cart_shortcodes.php:52
818
+ msgid "Error! You must specify a price for your product in the shortcode."
819
+ msgstr "Fout! U moet een prijs opgeven voor uw product in de shortcode."
820
+
821
+ #: wp_shopping_cart_shortcodes.php:55
822
+ msgid ""
823
+ "Error! You must specify a thumbnail image for your product in the shortcode."
824
+ msgstr ""
825
+ "Fout! U moet een miniatuurafbeelding opgeven voor uw product in de shortcode."
826
+
827
+ #: wp_shopping_cart_shortcodes.php:107
828
+ msgid "View Cart"
829
+ msgstr "Check Winkelwagen"
830
+
831
+ #: wp_shopping_cart_shortcodes.php:112
832
+ msgid "Cart is empty"
833
+ msgstr "Winkelwagen is leeg"
834
+
835
+ #: includes/wspsc-cart-functions.php:18
836
+ msgid "Visit The Shop"
837
+ msgstr "Bezoek De Winkel"
838
+
839
+ #: includes/wspsc-cart-functions.php:59
840
+ msgid "Cart"
841
+ msgstr "Winkelwagen"
842
+
843
+ #: includes/wspsc-cart-functions.php:67
844
+ msgid "Hit enter to submit new Quantity."
845
+ msgstr "Druk op enter om een nieuwe Hoeveelheid toe te voegen."
846
+
847
+ #: includes/wspsc-cart-functions.php:77
848
+ msgid "Item Name"
849
+ msgstr "Item Naam"
850
+
851
+ #: includes/wspsc-cart-functions.php:77
852
+ msgid "Quantity"
853
+ msgstr "Hoeveelheid"
854
+
855
+ #: includes/wspsc-cart-functions.php:77
856
+ msgid "Price"
857
+ msgstr "Prijs"
858
+
859
+ #: includes/wspsc-cart-functions.php:116
860
+ msgid "Remove"
861
+ msgstr "Verwijder"
862
+
863
+ #: includes/wspsc-cart-functions.php:141
864
+ msgid "Subtotal"
865
+ msgstr "Subtotaal"
866
+
867
+ #: includes/wspsc-cart-functions.php:154
868
+ msgid "Enter Coupon Code"
869
+ msgstr "Voer Coupon Code In"
870
+
871
+ #: includes/wspsc-cart-functions.php:157
872
+ msgid "Apply"
873
+ msgstr "Pas Toe"
874
+
875
+ #: includes/wspsc-cart-functions.php:177
876
+ msgid "paypal_checkout_EN.png"
877
+ msgstr "paypal_checkout_EN.png"
878
+
879
+ #: includes/wspsc-cart-functions.php:177
880
+ msgid "Make payments with PayPal - it\\'s fast, free and secure!"
881
+ msgstr "Betaal me PayPal - het is snel, gratis en veilig!"
882
+
883
+ #: lib/gallery-wp-cart.php:32
884
+ msgid "[View with PicLens]"
885
+ msgstr "[View with PicLens]"
languages/{WSPSC-no_NO.mo → wordpress-simple-paypal-shopping-cart-no_NO.mo} RENAMED
File without changes
languages/{WSPSC-no_NO.po → wordpress-simple-paypal-shopping-cart-no_NO.po} RENAMED
File without changes
languages/{WSPSC-pl_PL.mo → wordpress-simple-paypal-shopping-cart-pl_PL.mo} RENAMED
File without changes
languages/{WSPSC-pl_PL.po → wordpress-simple-paypal-shopping-cart-pl_PL.po} RENAMED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WSPSC v2.8.9\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2011-03-16 21:50+0100\n"
6
  "PO-Revision-Date: 2014-03-06 20:57+0100\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: wordpress-simple-paypal-shopping-cart v2.8.9\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2011-03-16 21:50+0100\n"
6
  "PO-Revision-Date: 2014-03-06 20:57+0100\n"
languages/{WSPSC.pot → wordpress-simple-paypal-shopping-cart.pot} RENAMED
@@ -1,14 +1,14 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Simple Shopping Cart\n"
4
- "POT-Creation-Date: 2015-05-29 16:46+1000\n"
5
- "PO-Revision-Date: 2015-05-29 16:47+1000\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "X-Generator: Poedit 1.5.7\n"
12
  "X-Poedit-KeywordsList: __;_e\n"
13
  "X-Poedit-Basepath: .\n"
14
  "X-Poedit-SearchPath-0: .\n"
@@ -49,47 +49,47 @@ msgstr ""
49
  msgid "Discount applied successfully! Total Discount: "
50
  msgstr ""
51
 
52
- #: wp_shopping_cart.php:182
53
  msgid "Error! Your session is out of sync. Please reset your session."
54
  msgstr ""
55
 
56
- #: wp_shopping_cart.php:190
57
  msgid ""
58
  "Shopping Cart Configuration Error! You must specify a value in the 'Checkout "
59
  "Page URL' field for the automatic redirection feature to work!"
60
  msgstr ""
61
 
62
- #: wp_shopping_cart.php:279 wp_shopping_cart.php:354 wp_shopping_cart.php:411
63
- #: wp_shopping_cart.php:453 wp_shopping_cart.php:457
64
- #: wp_shopping_cart_settings.php:120
65
  msgid "Add to Cart"
66
  msgstr ""
67
 
68
- #: wp_shopping_cart.php:539
69
  msgid "WP Paypal Shopping Cart"
70
  msgstr ""
71
 
72
- #: wp_shopping_cart.php:539
73
  msgid "WP Shopping Cart"
74
  msgstr ""
75
 
76
- #: wp_shopping_cart.php:573
77
  msgid "Shopping Cart"
78
  msgstr ""
79
 
80
- #: wp_shopping_cart.php:606
81
  msgid "Settings"
82
  msgstr ""
83
 
84
- #: wp_shopping_cart_discounts_menu.php:52 wp_shopping_cart_settings.php:186
85
- #: wp_shopping_cart_settings.php:422
86
  msgid ""
87
  "For more information, updates, detailed documentation and video tutorial, "
88
  "please visit:"
89
  msgstr ""
90
 
91
- #: wp_shopping_cart_discounts_menu.php:53 wp_shopping_cart_settings.php:187
92
- #: wp_shopping_cart_settings.php:423
93
  msgid "WP Simple Cart Homepage"
94
  msgstr ""
95
 
@@ -143,21 +143,21 @@ msgstr ""
143
  msgid "No Record found"
144
  msgstr ""
145
 
146
- #: wp_shopping_cart_misc_functions.php:169
147
  msgid "Your Shopping Cart"
148
  msgstr ""
149
 
150
- #: wp_shopping_cart_misc_functions.php:170
151
  msgid "Your cart is empty"
152
  msgstr ""
153
 
154
- #: wp_shopping_cart_misc_functions.php:200
155
  msgid ""
156
  "Need a shopping cart plugin with a lot of features and good support? Check "
157
  "out our "
158
  msgstr ""
159
 
160
- #: wp_shopping_cart_misc_functions.php:201
161
  msgid "WP eStore Plugin"
162
  msgstr ""
163
 
@@ -242,11 +242,11 @@ msgid "IP Address"
242
  msgstr ""
243
 
244
  #: wp_shopping_cart_orders.php:91 wp_shopping_cart_orders.php:168
245
- #: includes/wspsc-cart-functions.php:145
246
  msgid "Total"
247
  msgstr ""
248
 
249
- #: wp_shopping_cart_orders.php:95 includes/wspsc-cart-functions.php:142
250
  msgid "Shipping"
251
  msgstr ""
252
 
@@ -290,237 +290,247 @@ msgstr ""
290
  msgid "WP Paypal Shopping Cart Options"
291
  msgstr ""
292
 
293
- #: wp_shopping_cart_settings.php:100
294
  msgid "Options Updated!"
295
  msgstr ""
296
 
297
- #: wp_shopping_cart_settings.php:104 includes/wspsc-cart-functions.php:30
298
  msgid "USD"
299
  msgstr ""
300
 
301
- #: wp_shopping_cart_settings.php:107 includes/wspsc-cart-functions.php:34
302
  msgid "$"
303
  msgstr ""
304
 
305
- #: wp_shopping_cart_settings.php:183
306
  msgid "Simple PayPal Shopping Cart Settings"
307
  msgstr ""
308
 
309
- #: wp_shopping_cart_settings.php:191
310
  msgid "Quick Usage Guide"
311
  msgstr ""
312
 
313
- #: wp_shopping_cart_settings.php:194
314
  msgid "Step 1) "
315
  msgstr ""
316
 
317
- #: wp_shopping_cart_settings.php:194
318
  msgid "To add an 'Add to Cart' button for a product simply add the shortcode"
319
  msgstr ""
320
 
321
- #: wp_shopping_cart_settings.php:194
322
  msgid "PRODUCT-NAME"
323
  msgstr ""
324
 
325
- #: wp_shopping_cart_settings.php:194
326
  msgid "PRODUCT-PRICE"
327
  msgstr ""
328
 
329
- #: wp_shopping_cart_settings.php:194
330
  msgid ""
331
  "to a post or page next to the product. Replace PRODUCT-NAME and PRODUCT-"
332
  "PRICE with the actual name and price of your product."
333
  msgstr ""
334
 
335
- #: wp_shopping_cart_settings.php:195
336
  msgid "Example add to cart button shortcode usage:"
337
  msgstr ""
338
 
339
- #: wp_shopping_cart_settings.php:196
340
  msgid "Step 2) "
341
  msgstr ""
342
 
343
- #: wp_shopping_cart_settings.php:196
344
  msgid ""
345
  "To add the shopping cart to a post or page (example: a checkout page) simply "
346
  "add the shortcode"
347
  msgstr ""
348
 
349
- #: wp_shopping_cart_settings.php:196
350
  msgid ""
351
  "to a post or page or use the sidebar widget to add the shopping cart to the "
352
  "sidebar."
353
  msgstr ""
354
 
355
- #: wp_shopping_cart_settings.php:197
356
  msgid "Example shopping cart shortcode usage:"
357
  msgstr ""
358
 
359
- #: wp_shopping_cart_settings.php:206
360
  msgid "PayPal and Shopping Cart Settings"
361
  msgstr ""
362
 
363
- #: wp_shopping_cart_settings.php:212
364
  msgid "Paypal Email Address"
365
  msgstr ""
366
 
367
- #: wp_shopping_cart_settings.php:216
368
  msgid "Shopping Cart title"
369
  msgstr ""
370
 
371
- #: wp_shopping_cart_settings.php:220
372
  msgid "Text/Image to Show When Cart Empty"
373
  msgstr ""
374
 
375
- #: wp_shopping_cart_settings.php:221
376
  msgid ""
377
  "You can either enter plain text or the URL of an image that you want to show "
378
  "when the shopping cart is empty"
379
  msgstr ""
380
 
381
- #: wp_shopping_cart_settings.php:224
382
  msgid "Currency"
383
  msgstr ""
384
 
385
- #: wp_shopping_cart_settings.php:225 wp_shopping_cart_settings.php:229
386
- #: wp_shopping_cart_settings.php:256
387
  msgid "e.g."
388
  msgstr ""
389
 
390
- #: wp_shopping_cart_settings.php:228
391
  msgid "Currency Symbol"
392
  msgstr ""
393
 
394
- #: wp_shopping_cart_settings.php:234
395
  msgid "Base Shipping Cost"
396
  msgstr ""
397
 
398
- #: wp_shopping_cart_settings.php:235
399
  msgid ""
400
  "This is the base shipping cost that will be added to the total of individual "
401
  "products shipping cost. Put 0 if you do not want to charge shipping cost or "
402
  "use base shipping cost."
403
  msgstr ""
404
 
405
- #: wp_shopping_cart_settings.php:235
406
  msgid "Learn More on Shipping Calculation"
407
  msgstr ""
408
 
409
- #: wp_shopping_cart_settings.php:239
410
  msgid "Free Shipping for Orders Over"
411
  msgstr ""
412
 
413
- #: wp_shopping_cart_settings.php:240
414
  msgid ""
415
  "When a customer orders more than this amount he/she will get free shipping. "
416
  "Leave empty if you do not want to use it."
417
  msgstr ""
418
 
419
- #: wp_shopping_cart_settings.php:244
420
  msgid "Must Collect Shipping Address on PayPal"
421
  msgstr ""
422
 
423
- #: wp_shopping_cart_settings.php:245
424
  msgid ""
425
  "If checked the customer will be forced to enter a shipping address on PayPal "
426
  "when checking out."
427
  msgstr ""
428
 
429
- #: wp_shopping_cart_settings.php:249
430
  msgid "Use PayPal Profile Based Shipping"
431
  msgstr ""
432
 
433
- #: wp_shopping_cart_settings.php:250
434
  msgid "Check this if you want to use"
435
  msgstr ""
436
 
437
- #: wp_shopping_cart_settings.php:250
438
  msgid "PayPal profile based shipping"
439
  msgstr ""
440
 
441
- #: wp_shopping_cart_settings.php:250
442
  msgid ""
443
  "Using this will ignore any other shipping options that you have specified in "
444
  "this plugin."
445
  msgstr ""
446
 
447
- #: wp_shopping_cart_settings.php:254
448
  msgid "Add to Cart button text or Image"
449
  msgstr ""
450
 
451
- #: wp_shopping_cart_settings.php:256
452
  msgid ""
453
  "To use a customized image as the button simply enter the URL of the image "
454
  "file."
455
  msgstr ""
456
 
457
- #: wp_shopping_cart_settings.php:262
458
  msgid "Return URL"
459
  msgstr ""
460
 
461
- #: wp_shopping_cart_settings.php:263
462
  msgid ""
463
  "This is the URL the customer will be redirected to after a successful payment"
464
  msgstr ""
465
 
466
- #: wp_shopping_cart_settings.php:267
 
 
 
 
 
 
 
 
 
 
467
  msgid "Products Page URL"
468
  msgstr ""
469
 
470
- #: wp_shopping_cart_settings.php:268
471
  msgid ""
472
  "This is the URL of your products page if you have any. If used, the shopping "
473
  "cart widget will display a link to this page when cart is empty"
474
  msgstr ""
475
 
476
- #: wp_shopping_cart_settings.php:272
477
  msgid "Automatic redirection to checkout page"
478
  msgstr ""
479
 
480
- #: wp_shopping_cart_settings.php:274
481
  msgid "Checkout Page URL"
482
  msgstr ""
483
 
484
- #: wp_shopping_cart_settings.php:275
485
  msgid ""
486
  "If checked the visitor will be redirected to the Checkout page after a "
487
  "product is added to the cart. You must enter a URL in the Checkout Page URL "
488
  "field for this to work."
489
  msgstr ""
490
 
491
- #: wp_shopping_cart_settings.php:279
492
  msgid "Open PayPal Checkout Page in a New Tab"
493
  msgstr ""
494
 
495
- #: wp_shopping_cart_settings.php:281
496
  msgid ""
497
  "If checked the PayPal checkout page will be opened in a new tab/window when "
498
  "the user clicks the checkout button."
499
  msgstr ""
500
 
501
- #: wp_shopping_cart_settings.php:285
502
  msgid "Reset Cart After Redirection to Return Page"
503
  msgstr ""
504
 
505
- #: wp_shopping_cart_settings.php:287
506
  msgid ""
507
  "If checked the shopping cart will be reset when the customer lands on the "
508
  "return URL (Thank You) page."
509
  msgstr ""
510
 
511
- #: wp_shopping_cart_settings.php:294
512
  msgid "Hide Shopping Cart Image"
513
  msgstr ""
514
 
515
- #: wp_shopping_cart_settings.php:295
516
  msgid "If ticked the shopping cart image will not be shown."
517
  msgstr ""
518
 
519
- #: wp_shopping_cart_settings.php:301
520
  msgid "Customize the Note to Seller Text"
521
  msgstr ""
522
 
523
- #: wp_shopping_cart_settings.php:303
524
  msgid ""
525
  "Specify the text that you want to use for the note field on PayPal checkout "
526
  "page to collect special instruction (leave this field empty if you don't "
@@ -528,202 +538,206 @@ msgid ""
528
  "instructions to merchant\"."
529
  msgstr ""
530
 
531
- #: wp_shopping_cart_settings.php:309
532
  msgid "Custom Checkout Page Style Name"
533
  msgstr ""
534
 
535
- #: wp_shopping_cart_settings.php:311
536
  msgid ""
537
  "Specify the page style name here if you want to customize the paypal "
538
  "checkout page with custom page style otherwise leave this field empty."
539
  msgstr ""
540
 
541
- #: wp_shopping_cart_settings.php:317
542
  msgid "Use Strict PayPal Email Address Checking"
543
  msgstr ""
544
 
545
- #: wp_shopping_cart_settings.php:318
546
  msgid ""
547
  "If checked the script will check to make sure that the PayPal email address "
548
  "specified is the same as the account where the payment was deposited (Usage "
549
  "of PayPal Email Alias will fail too)."
550
  msgstr ""
551
 
552
- #: wp_shopping_cart_settings.php:324
553
  msgid "Use WP Affiliate Platform"
554
  msgstr ""
555
 
556
- #: wp_shopping_cart_settings.php:326
557
  msgid "Check this if using with the"
558
  msgstr ""
559
 
560
- #: wp_shopping_cart_settings.php:326
561
  msgid ""
562
  "This plugin lets you run your own affiliate campaign/program and allows you "
563
  "to reward (pay commission) your affiliates for referred sales"
564
  msgstr ""
565
 
566
- #: wp_shopping_cart_settings.php:332
567
  msgid "Testing and Debugging Settings"
568
  msgstr ""
569
 
570
- #: wp_shopping_cart_settings.php:338
571
  msgid "Enable Debug"
572
  msgstr ""
573
 
574
- #: wp_shopping_cart_settings.php:340
575
  msgid ""
576
  "If checked, debug output will be written to the log file. This is useful for "
577
  "troubleshooting post payment failures"
578
  msgstr ""
579
 
580
- #: wp_shopping_cart_settings.php:351
581
  msgid "Enable Sandbox Testing"
582
  msgstr ""
583
 
584
- #: wp_shopping_cart_settings.php:353
585
  msgid ""
586
  "Check this option if you want to do PayPal sandbox testing. You will need to "
587
  "create a PayPal sandbox account from PayPal Developer site"
588
  msgstr ""
589
 
590
- #: wp_shopping_cart_settings.php:362 wp_shopping_cart_settings.php:508
591
  msgid "Update Options &raquo;"
592
  msgstr ""
593
 
594
- #: wp_shopping_cart_settings.php:366
595
  msgid "Like the Simple WordPress Shopping Cart Plugin?"
596
  msgstr ""
597
 
598
- #: wp_shopping_cart_settings.php:366
599
  msgid "Give it a good rating"
600
  msgstr ""
601
 
602
- #: wp_shopping_cart_settings.php:431
603
  msgid "Purchase Confirmation Email Settings"
604
  msgstr ""
605
 
606
- #: wp_shopping_cart_settings.php:434
607
  msgid ""
608
  "The following options affect the emails that gets sent to your buyers after "
609
  "a purchase."
610
  msgstr ""
611
 
612
- #: wp_shopping_cart_settings.php:439
613
  msgid "Send Emails to Buyer After Purchase"
614
  msgstr ""
615
 
616
- #: wp_shopping_cart_settings.php:440
617
  msgid ""
618
  "If checked the plugin will send an email to the buyer with the sale details. "
619
  "If digital goods are purchased then the email will contain the download "
620
  "links for the purchased products."
621
  msgstr ""
622
 
623
- #: wp_shopping_cart_settings.php:444
624
  msgid "From Email Address"
625
  msgstr ""
626
 
627
- #: wp_shopping_cart_settings.php:446
628
  msgid ""
629
  "Example: Your Name &lt;sales@your-domain.com&gt; This is the email address "
630
  "that will be used to send the email to the buyer. This name and email "
631
  "address will appear in the from field of the email."
632
  msgstr ""
633
 
634
- #: wp_shopping_cart_settings.php:450
635
  msgid "Buyer Email Subject"
636
  msgstr ""
637
 
638
- #: wp_shopping_cart_settings.php:452
639
  msgid "This is the subject of the email that will be sent to the buyer."
640
  msgstr ""
641
 
642
- #: wp_shopping_cart_settings.php:456
643
  msgid "Buyer Email Body"
644
  msgstr ""
645
 
646
- #: wp_shopping_cart_settings.php:459
647
  msgid ""
648
  "This is the body of the email that will be sent to the buyer. Do not change "
649
  "the text within the braces {}. You can use the following email tags in this "
650
  "email body field:"
651
  msgstr ""
652
 
653
- #: wp_shopping_cart_settings.php:460 wp_shopping_cart_settings.php:492
654
  msgid "First name of the buyer"
655
  msgstr ""
656
 
657
- #: wp_shopping_cart_settings.php:461 wp_shopping_cart_settings.php:493
658
  msgid "Last name of the buyer"
659
  msgstr ""
660
 
661
- #: wp_shopping_cart_settings.php:462 wp_shopping_cart_settings.php:495
 
 
 
 
 
 
 
 
662
  msgid ""
663
  "The item details of the purchased product (this will include the download "
664
  "link for digital items)."
665
  msgstr ""
666
 
667
- #: wp_shopping_cart_settings.php:463 wp_shopping_cart_settings.php:496
668
  msgid "The unique transaction ID of the purchase"
669
  msgstr ""
670
 
671
- #: wp_shopping_cart_settings.php:464 wp_shopping_cart_settings.php:497
672
  msgid "The amount paid for the current transaction"
673
  msgstr ""
674
 
675
- #: wp_shopping_cart_settings.php:465 wp_shopping_cart_settings.php:498
676
  msgid "The date of the purchase"
677
  msgstr ""
678
 
679
- #: wp_shopping_cart_settings.php:466 wp_shopping_cart_settings.php:499
680
  msgid "Coupon code applied to the purchase"
681
  msgstr ""
682
 
683
- #: wp_shopping_cart_settings.php:471
684
  msgid "Send Emails to Seller After Purchase"
685
  msgstr ""
686
 
687
- #: wp_shopping_cart_settings.php:472
688
  msgid ""
689
  "If checked the plugin will send an email to the seller with the sale details"
690
  msgstr ""
691
 
692
- #: wp_shopping_cart_settings.php:476
693
  msgid "Notification Email Address*"
694
  msgstr ""
695
 
696
- #: wp_shopping_cart_settings.php:478
697
  msgid ""
698
  "This is the email address where the seller will be notified of product "
699
  "sales. You can put multiple email addresses separated by comma (,) in the "
700
  "above field to send the notification to multiple email addresses."
701
  msgstr ""
702
 
703
- #: wp_shopping_cart_settings.php:482
704
  msgid "Seller Email Subject*"
705
  msgstr ""
706
 
707
- #: wp_shopping_cart_settings.php:484
708
  msgid ""
709
  "This is the subject of the email that will be sent to the seller for record."
710
  msgstr ""
711
 
712
- #: wp_shopping_cart_settings.php:488
713
  msgid "Seller Email Body*"
714
  msgstr ""
715
 
716
- #: wp_shopping_cart_settings.php:491
717
  msgid ""
718
  "This is the body of the email that will be sent to the seller for record. Do "
719
  "not change the text within the braces {}. You can use the following email "
720
  "tags in this email body field:"
721
  msgstr ""
722
 
723
- #: wp_shopping_cart_settings.php:494
724
- msgid "Email Address of the buyer"
725
- msgstr ""
726
-
727
  #: wp_shopping_cart_shortcodes.php:19 wp_shopping_cart_shortcodes.php:49
728
  msgid "Error! You must specify a product name in the shortcode."
729
  msgstr ""
@@ -749,47 +763,47 @@ msgstr ""
749
  msgid "Visit The Shop"
750
  msgstr ""
751
 
752
- #: includes/wspsc-cart-functions.php:59
753
  msgid "Cart"
754
  msgstr ""
755
 
756
- #: includes/wspsc-cart-functions.php:67
757
  msgid "Hit enter to submit new Quantity."
758
  msgstr ""
759
 
760
- #: includes/wspsc-cart-functions.php:77
761
  msgid "Item Name"
762
  msgstr ""
763
 
764
- #: includes/wspsc-cart-functions.php:77
765
  msgid "Quantity"
766
  msgstr ""
767
 
768
- #: includes/wspsc-cart-functions.php:77
769
  msgid "Price"
770
  msgstr ""
771
 
772
- #: includes/wspsc-cart-functions.php:116
773
  msgid "Remove"
774
  msgstr ""
775
 
776
- #: includes/wspsc-cart-functions.php:141
777
  msgid "Subtotal"
778
  msgstr ""
779
 
780
- #: includes/wspsc-cart-functions.php:154
781
  msgid "Enter Coupon Code"
782
  msgstr ""
783
 
784
- #: includes/wspsc-cart-functions.php:157
785
  msgid "Apply"
786
  msgstr ""
787
 
788
- #: includes/wspsc-cart-functions.php:177
789
  msgid "paypal_checkout_EN.png"
790
  msgstr ""
791
 
792
- #: includes/wspsc-cart-functions.php:177
793
  msgid "Make payments with PayPal - it\\'s fast, free and secure!"
794
  msgstr ""
795
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Simple Shopping Cart\n"
4
+ "POT-Creation-Date: 2016-01-06 13:33+1000\n"
5
+ "PO-Revision-Date: 2016-01-06 13:34+1000\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.5.5\n"
12
  "X-Poedit-KeywordsList: __;_e\n"
13
  "X-Poedit-Basepath: .\n"
14
  "X-Poedit-SearchPath-0: .\n"
49
  msgid "Discount applied successfully! Total Discount: "
50
  msgstr ""
51
 
52
+ #: wp_shopping_cart.php:190
53
  msgid "Error! Your session is out of sync. Please reset your session."
54
  msgstr ""
55
 
56
+ #: wp_shopping_cart.php:198
57
  msgid ""
58
  "Shopping Cart Configuration Error! You must specify a value in the 'Checkout "
59
  "Page URL' field for the automatic redirection feature to work!"
60
  msgstr ""
61
 
62
+ #: wp_shopping_cart.php:290 wp_shopping_cart.php:365 wp_shopping_cart.php:431
63
+ #: wp_shopping_cart.php:473 wp_shopping_cart.php:477
64
+ #: wp_shopping_cart_settings.php:123
65
  msgid "Add to Cart"
66
  msgstr ""
67
 
68
+ #: wp_shopping_cart.php:568
69
  msgid "WP Paypal Shopping Cart"
70
  msgstr ""
71
 
72
+ #: wp_shopping_cart.php:568
73
  msgid "WP Shopping Cart"
74
  msgstr ""
75
 
76
+ #: wp_shopping_cart.php:602
77
  msgid "Shopping Cart"
78
  msgstr ""
79
 
80
+ #: wp_shopping_cart.php:635
81
  msgid "Settings"
82
  msgstr ""
83
 
84
+ #: wp_shopping_cart_discounts_menu.php:52 wp_shopping_cart_settings.php:189
85
+ #: wp_shopping_cart_settings.php:430
86
  msgid ""
87
  "For more information, updates, detailed documentation and video tutorial, "
88
  "please visit:"
89
  msgstr ""
90
 
91
+ #: wp_shopping_cart_discounts_menu.php:53 wp_shopping_cart_settings.php:190
92
+ #: wp_shopping_cart_settings.php:431
93
  msgid "WP Simple Cart Homepage"
94
  msgstr ""
95
 
143
  msgid "No Record found"
144
  msgstr ""
145
 
146
+ #: wp_shopping_cart_misc_functions.php:160
147
  msgid "Your Shopping Cart"
148
  msgstr ""
149
 
150
+ #: wp_shopping_cart_misc_functions.php:161
151
  msgid "Your cart is empty"
152
  msgstr ""
153
 
154
+ #: wp_shopping_cart_misc_functions.php:195
155
  msgid ""
156
  "Need a shopping cart plugin with a lot of features and good support? Check "
157
  "out our "
158
  msgstr ""
159
 
160
+ #: wp_shopping_cart_misc_functions.php:196
161
  msgid "WP eStore Plugin"
162
  msgstr ""
163
 
242
  msgstr ""
243
 
244
  #: wp_shopping_cart_orders.php:91 wp_shopping_cart_orders.php:168
245
+ #: includes/wspsc-cart-functions.php:150
246
  msgid "Total"
247
  msgstr ""
248
 
249
+ #: wp_shopping_cart_orders.php:95 includes/wspsc-cart-functions.php:147
250
  msgid "Shipping"
251
  msgstr ""
252
 
290
  msgid "WP Paypal Shopping Cart Options"
291
  msgstr ""
292
 
293
+ #: wp_shopping_cart_settings.php:101
294
  msgid "Options Updated!"
295
  msgstr ""
296
 
297
+ #: wp_shopping_cart_settings.php:105 includes/wspsc-cart-functions.php:30
298
  msgid "USD"
299
  msgstr ""
300
 
301
+ #: wp_shopping_cart_settings.php:108 includes/wspsc-cart-functions.php:34
302
  msgid "$"
303
  msgstr ""
304
 
305
+ #: wp_shopping_cart_settings.php:186
306
  msgid "Simple PayPal Shopping Cart Settings"
307
  msgstr ""
308
 
309
+ #: wp_shopping_cart_settings.php:194
310
  msgid "Quick Usage Guide"
311
  msgstr ""
312
 
313
+ #: wp_shopping_cart_settings.php:197
314
  msgid "Step 1) "
315
  msgstr ""
316
 
317
+ #: wp_shopping_cart_settings.php:197
318
  msgid "To add an 'Add to Cart' button for a product simply add the shortcode"
319
  msgstr ""
320
 
321
+ #: wp_shopping_cart_settings.php:197
322
  msgid "PRODUCT-NAME"
323
  msgstr ""
324
 
325
+ #: wp_shopping_cart_settings.php:197
326
  msgid "PRODUCT-PRICE"
327
  msgstr ""
328
 
329
+ #: wp_shopping_cart_settings.php:197
330
  msgid ""
331
  "to a post or page next to the product. Replace PRODUCT-NAME and PRODUCT-"
332
  "PRICE with the actual name and price of your product."
333
  msgstr ""
334
 
335
+ #: wp_shopping_cart_settings.php:198
336
  msgid "Example add to cart button shortcode usage:"
337
  msgstr ""
338
 
339
+ #: wp_shopping_cart_settings.php:199
340
  msgid "Step 2) "
341
  msgstr ""
342
 
343
+ #: wp_shopping_cart_settings.php:199
344
  msgid ""
345
  "To add the shopping cart to a post or page (example: a checkout page) simply "
346
  "add the shortcode"
347
  msgstr ""
348
 
349
+ #: wp_shopping_cart_settings.php:199
350
  msgid ""
351
  "to a post or page or use the sidebar widget to add the shopping cart to the "
352
  "sidebar."
353
  msgstr ""
354
 
355
+ #: wp_shopping_cart_settings.php:200
356
  msgid "Example shopping cart shortcode usage:"
357
  msgstr ""
358
 
359
+ #: wp_shopping_cart_settings.php:209
360
  msgid "PayPal and Shopping Cart Settings"
361
  msgstr ""
362
 
363
+ #: wp_shopping_cart_settings.php:215
364
  msgid "Paypal Email Address"
365
  msgstr ""
366
 
367
+ #: wp_shopping_cart_settings.php:219
368
  msgid "Shopping Cart title"
369
  msgstr ""
370
 
371
+ #: wp_shopping_cart_settings.php:223
372
  msgid "Text/Image to Show When Cart Empty"
373
  msgstr ""
374
 
375
+ #: wp_shopping_cart_settings.php:224
376
  msgid ""
377
  "You can either enter plain text or the URL of an image that you want to show "
378
  "when the shopping cart is empty"
379
  msgstr ""
380
 
381
+ #: wp_shopping_cart_settings.php:227
382
  msgid "Currency"
383
  msgstr ""
384
 
385
+ #: wp_shopping_cart_settings.php:228 wp_shopping_cart_settings.php:232
386
+ #: wp_shopping_cart_settings.php:259
387
  msgid "e.g."
388
  msgstr ""
389
 
390
+ #: wp_shopping_cart_settings.php:231
391
  msgid "Currency Symbol"
392
  msgstr ""
393
 
394
+ #: wp_shopping_cart_settings.php:237
395
  msgid "Base Shipping Cost"
396
  msgstr ""
397
 
398
+ #: wp_shopping_cart_settings.php:238
399
  msgid ""
400
  "This is the base shipping cost that will be added to the total of individual "
401
  "products shipping cost. Put 0 if you do not want to charge shipping cost or "
402
  "use base shipping cost."
403
  msgstr ""
404
 
405
+ #: wp_shopping_cart_settings.php:238
406
  msgid "Learn More on Shipping Calculation"
407
  msgstr ""
408
 
409
+ #: wp_shopping_cart_settings.php:242
410
  msgid "Free Shipping for Orders Over"
411
  msgstr ""
412
 
413
+ #: wp_shopping_cart_settings.php:243
414
  msgid ""
415
  "When a customer orders more than this amount he/she will get free shipping. "
416
  "Leave empty if you do not want to use it."
417
  msgstr ""
418
 
419
+ #: wp_shopping_cart_settings.php:247
420
  msgid "Must Collect Shipping Address on PayPal"
421
  msgstr ""
422
 
423
+ #: wp_shopping_cart_settings.php:248
424
  msgid ""
425
  "If checked the customer will be forced to enter a shipping address on PayPal "
426
  "when checking out."
427
  msgstr ""
428
 
429
+ #: wp_shopping_cart_settings.php:252
430
  msgid "Use PayPal Profile Based Shipping"
431
  msgstr ""
432
 
433
+ #: wp_shopping_cart_settings.php:253
434
  msgid "Check this if you want to use"
435
  msgstr ""
436
 
437
+ #: wp_shopping_cart_settings.php:253
438
  msgid "PayPal profile based shipping"
439
  msgstr ""
440
 
441
+ #: wp_shopping_cart_settings.php:253
442
  msgid ""
443
  "Using this will ignore any other shipping options that you have specified in "
444
  "this plugin."
445
  msgstr ""
446
 
447
+ #: wp_shopping_cart_settings.php:257
448
  msgid "Add to Cart button text or Image"
449
  msgstr ""
450
 
451
+ #: wp_shopping_cart_settings.php:259
452
  msgid ""
453
  "To use a customized image as the button simply enter the URL of the image "
454
  "file."
455
  msgstr ""
456
 
457
+ #: wp_shopping_cart_settings.php:265
458
  msgid "Return URL"
459
  msgstr ""
460
 
461
+ #: wp_shopping_cart_settings.php:266
462
  msgid ""
463
  "This is the URL the customer will be redirected to after a successful payment"
464
  msgstr ""
465
 
466
+ #: wp_shopping_cart_settings.php:270
467
+ msgid "Cancel URL"
468
+ msgstr ""
469
+
470
+ #: wp_shopping_cart_settings.php:271
471
+ msgid ""
472
+ "The customer will be redirected to the above page if the payment is "
473
+ "cancelled."
474
+ msgstr ""
475
+
476
+ #: wp_shopping_cart_settings.php:275
477
  msgid "Products Page URL"
478
  msgstr ""
479
 
480
+ #: wp_shopping_cart_settings.php:276
481
  msgid ""
482
  "This is the URL of your products page if you have any. If used, the shopping "
483
  "cart widget will display a link to this page when cart is empty"
484
  msgstr ""
485
 
486
+ #: wp_shopping_cart_settings.php:280
487
  msgid "Automatic redirection to checkout page"
488
  msgstr ""
489
 
490
+ #: wp_shopping_cart_settings.php:282
491
  msgid "Checkout Page URL"
492
  msgstr ""
493
 
494
+ #: wp_shopping_cart_settings.php:283
495
  msgid ""
496
  "If checked the visitor will be redirected to the Checkout page after a "
497
  "product is added to the cart. You must enter a URL in the Checkout Page URL "
498
  "field for this to work."
499
  msgstr ""
500
 
501
+ #: wp_shopping_cart_settings.php:287
502
  msgid "Open PayPal Checkout Page in a New Tab"
503
  msgstr ""
504
 
505
+ #: wp_shopping_cart_settings.php:289
506
  msgid ""
507
  "If checked the PayPal checkout page will be opened in a new tab/window when "
508
  "the user clicks the checkout button."
509
  msgstr ""
510
 
511
+ #: wp_shopping_cart_settings.php:293
512
  msgid "Reset Cart After Redirection to Return Page"
513
  msgstr ""
514
 
515
+ #: wp_shopping_cart_settings.php:295
516
  msgid ""
517
  "If checked the shopping cart will be reset when the customer lands on the "
518
  "return URL (Thank You) page."
519
  msgstr ""
520
 
521
+ #: wp_shopping_cart_settings.php:302
522
  msgid "Hide Shopping Cart Image"
523
  msgstr ""
524
 
525
+ #: wp_shopping_cart_settings.php:303
526
  msgid "If ticked the shopping cart image will not be shown."
527
  msgstr ""
528
 
529
+ #: wp_shopping_cart_settings.php:309
530
  msgid "Customize the Note to Seller Text"
531
  msgstr ""
532
 
533
+ #: wp_shopping_cart_settings.php:311
534
  msgid ""
535
  "Specify the text that you want to use for the note field on PayPal checkout "
536
  "page to collect special instruction (leave this field empty if you don't "
538
  "instructions to merchant\"."
539
  msgstr ""
540
 
541
+ #: wp_shopping_cart_settings.php:317
542
  msgid "Custom Checkout Page Style Name"
543
  msgstr ""
544
 
545
+ #: wp_shopping_cart_settings.php:319
546
  msgid ""
547
  "Specify the page style name here if you want to customize the paypal "
548
  "checkout page with custom page style otherwise leave this field empty."
549
  msgstr ""
550
 
551
+ #: wp_shopping_cart_settings.php:325
552
  msgid "Use Strict PayPal Email Address Checking"
553
  msgstr ""
554
 
555
+ #: wp_shopping_cart_settings.php:326
556
  msgid ""
557
  "If checked the script will check to make sure that the PayPal email address "
558
  "specified is the same as the account where the payment was deposited (Usage "
559
  "of PayPal Email Alias will fail too)."
560
  msgstr ""
561
 
562
+ #: wp_shopping_cart_settings.php:332
563
  msgid "Use WP Affiliate Platform"
564
  msgstr ""
565
 
566
+ #: wp_shopping_cart_settings.php:334
567
  msgid "Check this if using with the"
568
  msgstr ""
569
 
570
+ #: wp_shopping_cart_settings.php:334
571
  msgid ""
572
  "This plugin lets you run your own affiliate campaign/program and allows you "
573
  "to reward (pay commission) your affiliates for referred sales"
574
  msgstr ""
575
 
576
+ #: wp_shopping_cart_settings.php:340
577
  msgid "Testing and Debugging Settings"
578
  msgstr ""
579
 
580
+ #: wp_shopping_cart_settings.php:346
581
  msgid "Enable Debug"
582
  msgstr ""
583
 
584
+ #: wp_shopping_cart_settings.php:348
585
  msgid ""
586
  "If checked, debug output will be written to the log file. This is useful for "
587
  "troubleshooting post payment failures"
588
  msgstr ""
589
 
590
+ #: wp_shopping_cart_settings.php:359
591
  msgid "Enable Sandbox Testing"
592
  msgstr ""
593
 
594
+ #: wp_shopping_cart_settings.php:361
595
  msgid ""
596
  "Check this option if you want to do PayPal sandbox testing. You will need to "
597
  "create a PayPal sandbox account from PayPal Developer site"
598
  msgstr ""
599
 
600
+ #: wp_shopping_cart_settings.php:370 wp_shopping_cart_settings.php:519
601
  msgid "Update Options &raquo;"
602
  msgstr ""
603
 
604
+ #: wp_shopping_cart_settings.php:374
605
  msgid "Like the Simple WordPress Shopping Cart Plugin?"
606
  msgstr ""
607
 
608
+ #: wp_shopping_cart_settings.php:374
609
  msgid "Give it a good rating"
610
  msgstr ""
611
 
612
+ #: wp_shopping_cart_settings.php:439
613
  msgid "Purchase Confirmation Email Settings"
614
  msgstr ""
615
 
616
+ #: wp_shopping_cart_settings.php:442
617
  msgid ""
618
  "The following options affect the emails that gets sent to your buyers after "
619
  "a purchase."
620
  msgstr ""
621
 
622
+ #: wp_shopping_cart_settings.php:447
623
  msgid "Send Emails to Buyer After Purchase"
624
  msgstr ""
625
 
626
+ #: wp_shopping_cart_settings.php:448
627
  msgid ""
628
  "If checked the plugin will send an email to the buyer with the sale details. "
629
  "If digital goods are purchased then the email will contain the download "
630
  "links for the purchased products."
631
  msgstr ""
632
 
633
+ #: wp_shopping_cart_settings.php:452
634
  msgid "From Email Address"
635
  msgstr ""
636
 
637
+ #: wp_shopping_cart_settings.php:454
638
  msgid ""
639
  "Example: Your Name &lt;sales@your-domain.com&gt; This is the email address "
640
  "that will be used to send the email to the buyer. This name and email "
641
  "address will appear in the from field of the email."
642
  msgstr ""
643
 
644
+ #: wp_shopping_cart_settings.php:458
645
  msgid "Buyer Email Subject"
646
  msgstr ""
647
 
648
+ #: wp_shopping_cart_settings.php:460
649
  msgid "This is the subject of the email that will be sent to the buyer."
650
  msgstr ""
651
 
652
+ #: wp_shopping_cart_settings.php:464
653
  msgid "Buyer Email Body"
654
  msgstr ""
655
 
656
+ #: wp_shopping_cart_settings.php:467
657
  msgid ""
658
  "This is the body of the email that will be sent to the buyer. Do not change "
659
  "the text within the braces {}. You can use the following email tags in this "
660
  "email body field:"
661
  msgstr ""
662
 
663
+ #: wp_shopping_cart_settings.php:468 wp_shopping_cart_settings.php:502
664
  msgid "First name of the buyer"
665
  msgstr ""
666
 
667
+ #: wp_shopping_cart_settings.php:469 wp_shopping_cart_settings.php:503
668
  msgid "Last name of the buyer"
669
  msgstr ""
670
 
671
+ #: wp_shopping_cart_settings.php:470 wp_shopping_cart_settings.php:504
672
+ msgid "Email Address of the buyer"
673
+ msgstr ""
674
+
675
+ #: wp_shopping_cart_settings.php:471 wp_shopping_cart_settings.php:505
676
+ msgid "Address of the buyer"
677
+ msgstr ""
678
+
679
+ #: wp_shopping_cart_settings.php:472 wp_shopping_cart_settings.php:506
680
  msgid ""
681
  "The item details of the purchased product (this will include the download "
682
  "link for digital items)."
683
  msgstr ""
684
 
685
+ #: wp_shopping_cart_settings.php:473 wp_shopping_cart_settings.php:507
686
  msgid "The unique transaction ID of the purchase"
687
  msgstr ""
688
 
689
+ #: wp_shopping_cart_settings.php:474 wp_shopping_cart_settings.php:508
690
  msgid "The amount paid for the current transaction"
691
  msgstr ""
692
 
693
+ #: wp_shopping_cart_settings.php:475 wp_shopping_cart_settings.php:509
694
  msgid "The date of the purchase"
695
  msgstr ""
696
 
697
+ #: wp_shopping_cart_settings.php:476 wp_shopping_cart_settings.php:510
698
  msgid "Coupon code applied to the purchase"
699
  msgstr ""
700
 
701
+ #: wp_shopping_cart_settings.php:481
702
  msgid "Send Emails to Seller After Purchase"
703
  msgstr ""
704
 
705
+ #: wp_shopping_cart_settings.php:482
706
  msgid ""
707
  "If checked the plugin will send an email to the seller with the sale details"
708
  msgstr ""
709
 
710
+ #: wp_shopping_cart_settings.php:486
711
  msgid "Notification Email Address*"
712
  msgstr ""
713
 
714
+ #: wp_shopping_cart_settings.php:488
715
  msgid ""
716
  "This is the email address where the seller will be notified of product "
717
  "sales. You can put multiple email addresses separated by comma (,) in the "
718
  "above field to send the notification to multiple email addresses."
719
  msgstr ""
720
 
721
+ #: wp_shopping_cart_settings.php:492
722
  msgid "Seller Email Subject*"
723
  msgstr ""
724
 
725
+ #: wp_shopping_cart_settings.php:494
726
  msgid ""
727
  "This is the subject of the email that will be sent to the seller for record."
728
  msgstr ""
729
 
730
+ #: wp_shopping_cart_settings.php:498
731
  msgid "Seller Email Body*"
732
  msgstr ""
733
 
734
+ #: wp_shopping_cart_settings.php:501
735
  msgid ""
736
  "This is the body of the email that will be sent to the seller for record. Do "
737
  "not change the text within the braces {}. You can use the following email "
738
  "tags in this email body field:"
739
  msgstr ""
740
 
 
 
 
 
741
  #: wp_shopping_cart_shortcodes.php:19 wp_shopping_cart_shortcodes.php:49
742
  msgid "Error! You must specify a product name in the shortcode."
743
  msgstr ""
763
  msgid "Visit The Shop"
764
  msgstr ""
765
 
766
+ #: includes/wspsc-cart-functions.php:64
767
  msgid "Cart"
768
  msgstr ""
769
 
770
+ #: includes/wspsc-cart-functions.php:72
771
  msgid "Hit enter to submit new Quantity."
772
  msgstr ""
773
 
774
+ #: includes/wspsc-cart-functions.php:82
775
  msgid "Item Name"
776
  msgstr ""
777
 
778
+ #: includes/wspsc-cart-functions.php:82
779
  msgid "Quantity"
780
  msgstr ""
781
 
782
+ #: includes/wspsc-cart-functions.php:82
783
  msgid "Price"
784
  msgstr ""
785
 
786
+ #: includes/wspsc-cart-functions.php:121
787
  msgid "Remove"
788
  msgstr ""
789
 
790
+ #: includes/wspsc-cart-functions.php:146
791
  msgid "Subtotal"
792
  msgstr ""
793
 
794
+ #: includes/wspsc-cart-functions.php:159
795
  msgid "Enter Coupon Code"
796
  msgstr ""
797
 
798
+ #: includes/wspsc-cart-functions.php:162
799
  msgid "Apply"
800
  msgstr ""
801
 
802
+ #: includes/wspsc-cart-functions.php:182
803
  msgid "paypal_checkout_EN.png"
804
  msgstr ""
805
 
806
+ #: includes/wspsc-cart-functions.php:182
807
  msgid "Make payments with PayPal - it\\'s fast, free and secure!"
808
  msgstr ""
809
 
paypal.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  status_header(200);
4
 
5
- $debug_log = "ipn_handle_debug.log"; // Debug log file name
6
 
7
  class paypal_ipn_handler {
8
 
@@ -18,14 +18,15 @@ class paypal_ipn_handler {
18
  {
19
  $this->paypal_url = 'https://www.paypal.com/cgi-bin/webscr';
20
  $this->last_error = '';
21
- $this->ipn_log_file = WP_CART_PATH.'ipn_handle_debug.log';
22
  $this->ipn_response = '';
23
  }
24
 
25
  function validate_and_dispatch_product()
26
  {
27
- // Check Product Name , Price , Currency , Receivers email ,
28
- global $products,$currency,$paypal_email;
 
29
  $txn_id = $this->ipn_data['txn_id'];
30
  $transaction_type = $this->ipn_data['txn_type'];
31
  $payment_status = $this->ipn_data['payment_status'];
@@ -41,7 +42,7 @@ class paypal_ipn_handler {
41
  $zip = $this->ipn_data['address_zip'];
42
  $country = $this->ipn_data['address_country'];
43
  $phone = $this->ipn_data['contact_phone'];
44
- $address = $street_address.", ".$city.", ".$state.", ".$zip.", ".$country;
45
  $custom_values = wp_cart_get_custom_var_array($custom_value_str);
46
  $this->debug_log('Payment Status: '.$payment_status,true);
47
  if($payment_status == "Completed" || $payment_status == "Processed" ){
@@ -236,12 +237,14 @@ class paypal_ipn_handler {
236
  update_post_meta( $post_id, 'wpsc_shipping_amount', $shipping);
237
  $args = array();
238
  $args['product_details'] = $product_details;
 
 
 
239
  update_post_meta($post_id, 'wpspsc_items_ordered', $product_details);
240
  $from_email = get_option('wpspc_buyer_from_email');
241
  $subject = get_option('wpspc_buyer_email_subj');
242
  $body = get_option('wpspc_buyer_email_body');
243
  $args['email_body'] = $body;
244
- $args['coupon_code'] = $applied_coupon_code;
245
  $body = wpspc_apply_dynamic_tags_on_email_body($this->ipn_data, $args);
246
 
247
  $this->debug_log('Applying filter - wspsc_buyer_notification_email_body', true);
@@ -261,8 +264,6 @@ class paypal_ipn_handler {
261
  $seller_email_subject = get_option('wpspc_seller_email_subj');
262
  $seller_email_body = get_option('wpspc_seller_email_body');
263
  $args['email_body'] = $seller_email_body;
264
- $args['order_id'] = $post_id;
265
- $args['coupon_code'] = $applied_coupon_code;
266
  $seller_email_body = wpspc_apply_dynamic_tags_on_email_body($this->ipn_data, $args);
267
 
268
  $this->debug_log('Applying filter - wspsc_seller_notification_email_body', true);
@@ -303,78 +304,72 @@ class paypal_ipn_handler {
303
 
304
  do_action('wpspc_paypal_ipn_processed',$this->ipn_data);
305
 
 
 
 
306
  return true;
307
  }
308
 
309
  function validate_ipn()
310
- {
311
- // parse the paypal URL
312
- $url_parsed=parse_url($this->paypal_url);
313
-
314
- // generate the post string from the _POST vars aswell as load the _POST vars into an arry
315
- $post_string = '';
316
- foreach ($_POST as $field=>$value) {
317
- $this->ipn_data["$field"] = $value;
318
- $post_string .= $field.'='.urlencode(stripslashes($value)).'&';
319
- }
320
 
321
- $this->post_string = $post_string;
322
- $this->debug_log('Post string : '. $this->post_string,true);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
323
 
324
- $post_string.="cmd=_notify-validate"; // append ipn command
 
 
 
325
 
326
- // open the connection to paypal
327
- if($this->sandbox_mode){//connect to PayPal sandbox
328
- $uri = 'ssl://'.$url_parsed['host'];
329
- $port = '443';
330
- $fp = fsockopen($uri,$port,$err_num,$err_str,30);
331
- }
332
- else{//connect to live PayPal site using standard approach
333
- $fp = fsockopen($url_parsed['host'],"80",$err_num,$err_str,30);
334
- }
335
-
336
- if(!$fp)
337
- {
338
- // could not open the connection. If loggin is on, the error message
339
- // will be in the log.
340
- $this->debug_log('Connection to '.$url_parsed['host']." failed. fsockopen error no. $errnum: $errstr",false);
341
- return false;
342
 
343
- }
344
- else
345
- {
346
- // Post the data back to paypal
347
- fputs($fp, "POST $url_parsed[path] HTTP/1.1\r\n");
348
- fputs($fp, "Host: $url_parsed[host]\r\n");
349
- fputs($fp, "User-Agent: Simple PayPal Shopping Cart Plugin\r\n" );
350
- fputs($fp, "Content-type: application/x-www-form-urlencoded\r\n");
351
- fputs($fp, "Content-length: ".strlen($post_string)."\r\n");
352
- fputs($fp, "Connection: close\r\n\r\n");
353
- fputs($fp, $post_string . "\r\n\r\n");
354
-
355
- // loop through the response from the server and append to variable
356
- while(!feof($fp)) {
357
- $this->ipn_response .= fgets($fp, 1024);
358
- }
359
-
360
- fclose($fp); // close connection
361
-
362
- $this->debug_log('Connection to '.$url_parsed['host'].' successfuly completed.',true);
363
- }
364
 
365
- //if (eregi("VERIFIED",$this->ipn_response))
366
- if (strpos($this->ipn_response, "VERIFIED") !== false)// Valid IPN transaction.
367
- {
368
- $this->debug_log('IPN successfully verified.',true);
369
- return true;
370
- }
371
- else
372
- {
373
- // Invalid IPN transaction. Check the log for details.
374
- $this->debug_log('IPN validation failed.',false);
375
- return false;
376
- }
377
- }
378
 
379
  function log_ipn_results($success)
380
  {
@@ -445,7 +440,7 @@ class paypal_ipn_handler {
445
  // Start of IPN handling (script execution)
446
  function wpc_handle_paypal_ipn()
447
  {
448
- $debug_log = "ipn_handle_debug.log"; // Debug log file name
449
  $ipn_handler_instance = new paypal_ipn_handler();
450
 
451
  $debug_enabled = false;
2
 
3
  status_header(200);
4
 
5
+ $debug_log = "ipn_handle_debug.txt"; // Debug log file name
6
 
7
  class paypal_ipn_handler {
8
 
18
  {
19
  $this->paypal_url = 'https://www.paypal.com/cgi-bin/webscr';
20
  $this->last_error = '';
21
+ $this->ipn_log_file = WP_CART_PATH.'ipn_handle_debug.txt';
22
  $this->ipn_response = '';
23
  }
24
 
25
  function validate_and_dispatch_product()
26
  {
27
+ //Check Product Name, Price, Currency, Receivers email
28
+ $array_temp = $this->ipn_data;
29
+ $this->ipn_data = array_map('sanitize_text_field', $array_temp);
30
  $txn_id = $this->ipn_data['txn_id'];
31
  $transaction_type = $this->ipn_data['txn_type'];
32
  $payment_status = $this->ipn_data['payment_status'];
42
  $zip = $this->ipn_data['address_zip'];
43
  $country = $this->ipn_data['address_country'];
44
  $phone = $this->ipn_data['contact_phone'];
45
+ $address = $street_address.", ".$city.", ".$state.", ".$zip.", ".$country;
46
  $custom_values = wp_cart_get_custom_var_array($custom_value_str);
47
  $this->debug_log('Payment Status: '.$payment_status,true);
48
  if($payment_status == "Completed" || $payment_status == "Processed" ){
237
  update_post_meta( $post_id, 'wpsc_shipping_amount', $shipping);
238
  $args = array();
239
  $args['product_details'] = $product_details;
240
+ $args['order_id'] = $post_id;
241
+ $args['coupon_code'] = $applied_coupon_code;
242
+ $args['address'] = $address;
243
  update_post_meta($post_id, 'wpspsc_items_ordered', $product_details);
244
  $from_email = get_option('wpspc_buyer_from_email');
245
  $subject = get_option('wpspc_buyer_email_subj');
246
  $body = get_option('wpspc_buyer_email_body');
247
  $args['email_body'] = $body;
 
248
  $body = wpspc_apply_dynamic_tags_on_email_body($this->ipn_data, $args);
249
 
250
  $this->debug_log('Applying filter - wspsc_buyer_notification_email_body', true);
264
  $seller_email_subject = get_option('wpspc_seller_email_subj');
265
  $seller_email_body = get_option('wpspc_seller_email_body');
266
  $args['email_body'] = $seller_email_body;
 
 
267
  $seller_email_body = wpspc_apply_dynamic_tags_on_email_body($this->ipn_data, $args);
268
 
269
  $this->debug_log('Applying filter - wspsc_seller_notification_email_body', true);
304
 
305
  do_action('wpspc_paypal_ipn_processed',$this->ipn_data);
306
 
307
+ //Empty any incomplete old cart orders.
308
+ wspsc_clean_incomplete_old_cart_orders();
309
+
310
  return true;
311
  }
312
 
313
  function validate_ipn()
314
+ {
315
+ //Generate the post string from the _POST vars aswell as load the _POST vars into an array
316
+ $post_string = '';
317
+ foreach ($_POST as $field => $value) {
318
+ $this->ipn_data["$field"] = $value;
319
+ $post_string .= $field . '=' . urlencode(stripslashes($value)) . '&';
320
+ }
 
 
 
321
 
322
+ $this->post_string = $post_string;
323
+ $this->debug_log('Post string : ' . $this->post_string, true);
324
+
325
+ //IPN validation check
326
+ if($this->validate_ipn_using_remote_post()){
327
+ //We can also use an alternative validation using the validate_ipn_using_curl() function
328
+ return true;
329
+ } else {
330
+ return false;
331
+ }
332
+ }
333
+
334
+ function validate_ipn_using_remote_post(){
335
+ $this->debug_log( 'Checking if PayPal IPN response is valid', true);
336
+
337
+ // Get received values from post data
338
+ $validate_ipn = array( 'cmd' => '_notify-validate' );
339
+ $validate_ipn += wp_unslash( $_POST );
340
+
341
+ // Send back post vars to paypal
342
+ $params = array(
343
+ 'body' => $validate_ipn,
344
+ 'timeout' => 60,
345
+ 'httpversion' => '1.1',
346
+ 'compress' => false,
347
+ 'decompress' => false,
348
+ 'user-agent' => 'Simple PayPal Shopping Cart/' . WP_CART_VERSION
349
+ );
350
 
351
+ // Post back to get a response.
352
+ $connection_url = $this->sandbox_mode ? 'https://www.sandbox.paypal.com/cgi-bin/webscr' : 'https://www.paypal.com/cgi-bin/webscr';
353
+ $this->debug_log('Connecting to: ' . $connection_url, true);
354
+ $response = wp_safe_remote_post( $connection_url, $params );
355
 
356
+ //The following two lines can be used for debugging
357
+ //$this->debug_log( 'IPN Request: ' . print_r( $params, true ) , true);
358
+ //$this->debug_log( 'IPN Response: ' . print_r( $response, true ), true);
 
 
 
 
 
 
 
 
 
 
 
 
 
359
 
360
+ // Check to see if the request was valid.
361
+ if ( ! is_wp_error( $response ) && strstr( $response['body'], 'VERIFIED' ) ) {
362
+ $this->debug_log('IPN successfully verified.', true);
363
+ return true;
364
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
365
 
366
+ // Invalid IPN transaction. Check the log for details.
367
+ $this->debug_log('IPN validation failed.', false);
368
+ if ( is_wp_error( $response ) ) {
369
+ $this->debug_log('Error response: ' . $response->get_error_message(), false);
370
+ }
371
+ return false;
372
+ }
 
 
 
 
 
 
373
 
374
  function log_ipn_results($success)
375
  {
440
  // Start of IPN handling (script execution)
441
  function wpc_handle_paypal_ipn()
442
  {
443
+ $debug_log = "ipn_handle_debug.txt"; // Debug log file name
444
  $ipn_handler_instance = new paypal_ipn_handler();
445
 
446
  $debug_enabled = false;
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Tips and Tricks HQ, Ruhul Amin, wptipsntricks, mbrsolution
3
  Donate link: https://www.tipsandtricks-hq.com
4
  Tags: cart, shopping cart, WordPress shopping cart, Paypal shopping cart, sell, selling, sell products, online shop, shop, e-commerce, wordpress ecommerce, wordpress store, store, PayPal cart widget, sell digital products, sell service, digital downloads, paypal, paypal cart, e-shop, compact cart, coupon, discount
5
  Requires at least: 3.0
6
- Tested up to: 4.3
7
- Stable tag: 4.1.3
8
  License: GPLv2 or later
9
 
10
  Very easy to use Simple WordPress Paypal Shopping Cart Plugin. Great for selling products online in one click from your WordPress site.
@@ -85,6 +85,7 @@ The following language translations are already available:
85
  * Norwegian
86
  * Danish
87
  * Turkish
 
88
 
89
  You can translate the plugin using [this documentation](http://www.tipsandtricks-hq.com/ecommerce/translating-the-wp-simple-shopping-cart-plugin-2627).
90
 
@@ -167,6 +168,8 @@ Yes. You can configure sale notification from the "Email Settings" interface of
167
  Yes.
168
  12. Can I customize the format of the price display?
169
  Yes.
 
 
170
 
171
  == Screenshots ==
172
  Visit the plugin site at https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768 for screenshots.
@@ -177,6 +180,53 @@ None
177
 
178
  == Changelog ==
179
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
  = 4.1.3 =
181
  - Updated the WP_Widget initialization to use PHP5 style constructor.
182
  - There is a bug in WordPress 4.3 for the widgets which prevents the sidebar widget from working. WordPress 4.3.1 will fix this.
3
  Donate link: https://www.tipsandtricks-hq.com
4
  Tags: cart, shopping cart, WordPress shopping cart, Paypal shopping cart, sell, selling, sell products, online shop, shop, e-commerce, wordpress ecommerce, wordpress store, store, PayPal cart widget, sell digital products, sell service, digital downloads, paypal, paypal cart, e-shop, compact cart, coupon, discount
5
  Requires at least: 3.0
6
+ Tested up to: 4.5
7
+ Stable tag: 4.2.4
8
  License: GPLv2 or later
9
 
10
  Very easy to use Simple WordPress Paypal Shopping Cart Plugin. Great for selling products online in one click from your WordPress site.
85
  * Norwegian
86
  * Danish
87
  * Turkish
88
+ * Dutch
89
 
90
  You can translate the plugin using [this documentation](http://www.tipsandtricks-hq.com/ecommerce/translating-the-wp-simple-shopping-cart-plugin-2627).
91
 
168
  Yes.
169
  12. Can I customize the format of the price display?
170
  Yes.
171
+ 13. Can the customers be sent to a cancel URL when they click "cancel" from the PayPal checkout page?
172
+ Yes.
173
 
174
  == Screenshots ==
175
  Visit the plugin site at https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768 for screenshots.
180
 
181
  == Changelog ==
182
 
183
+ = 4.2.4 =
184
+ - Added a new filter for the checkout button image (wspsc_cart_checkout_button_image_src). It can used to specify a custom button image for the checkout button.
185
+ Example code: https://www.tipsandtricks-hq.com/ecommerce/customize-the-paypal-checkout-button-image-4026
186
+ - Incomplete old cart orders will now be automatically cleaned by the plugin.
187
+ - Made some improvements to the PayPal IPN validation code.
188
+
189
+ = 4.2.2 =
190
+ - Minor update for backwards compatibility with an old shortcode.
191
+ - WordPress 4.5 compatibility.
192
+
193
+ = 4.2.1 =
194
+ - Added backwards compatibility for the old shortcodes. So the old add to cart button shortcodes will continue to work as usual.
195
+
196
+ = 4.2.0 =
197
+ - Added an option in the settings to disable nonce check for the add to cart button.
198
+ This is useful for some sites that are using caching. Otherwise 48 hour old cached pages will have stale nonce and the nonce security check will fail.
199
+ If you are using a caching solution on your site and having issue with nonce security check failing, then enable this option from the settings.
200
+
201
+ = 4.1.9 =
202
+ - Added more sanitization and validation on POST/GET/REQUEST data.
203
+
204
+ = 4.1.8 =
205
+ - Added a new filter in the cart (wspsc_cart_extra_paypal_fields) that will allow you to add extra hidden fields for the PayPal cart checkout.
206
+ - Deleted the local copy of the Spanish language file so the plugin loads the language file from translate.wordpress.org.
207
+ - Deleted the local copy of the Italian language file so the plugin loads the language file from translate.wordpress.org.
208
+ - Deleted the local copy of the Swedish language file so the plugin loads the language file from translate.wordpress.org.
209
+ - Deleted the local copy of the Turkish language file so the plugin loads the language file from translate.wordpress.org.
210
+ - Improved the add to cart price validation code against potential vulnerability.
211
+
212
+ = 4.1.7 =
213
+ - Added a new text field in the settings - Cancel URL.
214
+ - Debug log file has been renamed to "ipn_handle_debug.txt".
215
+ - Added CSS class to the plain text add to cart button so it can be customized via custom CSS code.
216
+
217
+ = 4.1.6 =
218
+ - Fixed an issue where post payment price validation would fail for a transaction with a discount coupon.
219
+
220
+ = 4.1.5 =
221
+ - Added CSS classes to all the "tr" elements in the cart.
222
+ - Added alt tag to all the images and icons in the cart.
223
+ - Added Dutch Language translation to the plugin. The Turkish translation file was submitted by Boye Dorenbos.
224
+ - Added a new email tag {address} that can be used in the notification email to include the buyers address.
225
+
226
+ = 4.1.4 =
227
+ - Our plugin is being imported to translate.wordpress.org. Changed the plugin text domain so it can be imported into translate.wordpress.org.
228
+ - Fixed an issue with an email shortcode not working in the buyer email body.
229
+
230
  = 4.1.3 =
231
  - Updated the WP_Widget initialization to use PHP5 style constructor.
232
  - There is a bug in WordPress 4.3 for the widgets which prevents the sidebar widget from working. WordPress 4.3.1 will fix this.
wp_shopping_cart.php CHANGED
@@ -1,16 +1,20 @@
1
  <?php
2
  /*
3
  Plugin Name: WP Simple Paypal Shopping cart
4
- Version: 4.1.3
5
  Plugin URI: https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768
6
  Author: Tips and Tricks HQ, Ruhul Amin
7
  Author URI: https://www.tipsandtricks-hq.com/
8
  Description: Simple WordPress Shopping Cart Plugin, very easy to use and great for selling products and services from your blog!
9
- Text Domain: WSPSC
10
  Domain Path: /languages/
11
  */
12
 
13
- if (!defined('ABSPATH'))exit; //Exit if accessed directly
 
 
 
 
14
 
15
  if (version_compare(PHP_VERSION, '5.4.0') >= 0) {
16
  if (session_status() == PHP_SESSION_NONE) {
@@ -22,13 +26,14 @@ if (version_compare(PHP_VERSION, '5.4.0') >= 0) {
22
  }
23
  }
24
 
25
- define('WP_CART_VERSION', '4.1.3');
26
  define('WP_CART_FOLDER', dirname(plugin_basename(__FILE__)));
27
  define('WP_CART_PATH', plugin_dir_path(__FILE__));
28
  define('WP_CART_URL', plugins_url('', __FILE__));
29
  define('WP_CART_SITE_URL', site_url());
30
  define('WP_CART_LIVE_PAYPAL_URL', 'https://www.paypal.com/cgi-bin/webscr');
31
  define('WP_CART_SANDBOX_PAYPAL_URL', 'https://www.sandbox.paypal.com/cgi-bin/webscr');
 
32
  if (!defined('WP_CART_MANAGEMENT_PERMISSION')){//This will allow the user to define custom capability for this constant in wp-config file
33
  define('WP_CART_MANAGEMENT_PERMISSION', 'manage_options');
34
  }
@@ -37,9 +42,9 @@ define('WP_CART_MAIN_MENU_SLUG', 'wspsc-main');
37
 
38
  // loading language files
39
  //Set up localisation. First loaded overrides strings present in later loaded file
40
- $locale = apply_filters( 'plugin_locale', get_locale(), 'WSPSC' );
41
- load_textdomain( 'WSPSC', WP_LANG_DIR . "/WSPSC-$locale.mo" );
42
- load_plugin_textdomain('WSPSC', false, WP_CART_FOLDER . '/languages');
43
 
44
  include_once('wp_shopping_cart_utility_functions.php');
45
  include_once('wp_shopping_cart_shortcodes.php');
@@ -77,7 +82,7 @@ if (isset($_REQUEST["reset_wp_cart"]) && !empty($_REQUEST["reset_wp_cart"])) {
77
  reset_wp_cart();
78
  }
79
 
80
- //Clear the cart if the customer landed on the thank you page
81
  if (get_option('wp_shopping_cart_reset_after_redirection_to_return_page')) {
82
  //TODO - remove this field altogether later. Cart will always be reset using query prameter on the thank you page.
83
  if (get_option('cart_return_from_paypal_url') == cart_current_page_url()) {
@@ -104,29 +109,75 @@ function reset_wp_cart() {
104
  }
105
 
106
  function wpspc_cart_actions_handler() {
107
- unset($_SESSION['wpspsc_cart_action_msg']);
108
- if (isset($_POST['addcart'])) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  setcookie("cart_in_use", "true", time() + 21600, "/", COOKIE_DOMAIN); //useful to not serve cached page when using with a caching plugin
110
  if (function_exists('wp_cache_serve_cache_file')) {//WP Super cache workaround
111
  setcookie("comment_author_", "wp_cart", time() + 21600, "/", COOKIE_DOMAIN);
112
  }
113
-
114
- //sanitize data
115
- $_POST['wspsc_product'] = strip_tags($_POST['wspsc_product']); //for PHP5.2 use filter_var($_POST['wspsc_product'], FILTER_SANITIZE_STRING);
116
- $_POST['item_number'] = strip_tags($_POST['item_number']);
 
 
 
 
 
117
  if (isset($_POST['price'])){
118
- $_POST['price'] = strip_tags($_POST['price']);
119
- //Validate price
120
- $hash_once_p = strip_tags($_POST['hash_one']);
121
  $p_key = get_option('wspsc_private_key_one');
122
- $hash_one_cm = md5($p_key.'|'.$_POST['price']);
123
- if($hash_once_p != $hash_one_cm){//Validation failed
124
- wp_die('Error! The price validation failed.');
 
 
 
 
 
125
  }
 
 
 
 
126
  }
127
- isset($_POST['shipping']) ? $_POST['shipping'] = strip_tags($_POST['shipping']) : $_POST['shipping'] = '';
128
- isset($_POST['cartLink']) ? $_POST['cartLink'] = strip_tags($_POST['cartLink']) : $_POST['cartLink'] = '';
129
- isset($_POST['stamp_pdf']) ? $_POST['stamp_pdf'] = strip_tags($_POST['stamp_pdf']) : $_POST['stamp_pdf'] = '';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
 
131
  $count = 1;
132
  $products = array();
@@ -134,7 +185,7 @@ function wpspc_cart_actions_handler() {
134
  $products = $_SESSION['simpleCart'];
135
  if (is_array($products)) {
136
  foreach ($products as $key => $item) {
137
- if ($item['name'] == stripslashes($_POST['wspsc_product'])) {
138
  $count += $item['quantity'];
139
  $item['quantity']++;
140
  unset($products[$key]);
@@ -147,31 +198,17 @@ function wpspc_cart_actions_handler() {
147
  }
148
 
149
  if ($count == 1) {
150
- if (!empty($_POST[$_POST['wspsc_product']])) {
151
- $price = $_POST[$_POST['wspsc_product']];
152
- } else {
153
- $price = $_POST['price'];
154
- }
155
-
156
- $default_cur_symbol = get_option('cart_currency_symbol');
157
- $price = str_replace($default_cur_symbol, "", $price);
158
-
159
- $shipping = $_POST['shipping'];
160
- $shipping = str_replace($default_cur_symbol, "", $shipping);
161
-
162
- $product = array('name' => stripslashes($_POST['wspsc_product']), 'price' => $price, 'price_orig' => $price, 'quantity' => $count, 'shipping' => $shipping, 'cartLink' => $_POST['cartLink'], 'item_number' => $_POST['item_number']);
163
- if (isset($_POST['file_url']) && !empty($_POST['file_url'])) {
164
- $file_url = strip_tags($_POST['file_url']);
165
- $product['file_url'] = $file_url;
166
  }
167
- if (isset($_POST['thumbnail']) && !empty($_POST['thumbnail'])) {
168
- $thumbnail = strip_tags($_POST['thumbnail']);
169
- $product['thumbnail'] = $thumbnail;
170
  }
171
- if (isset($_POST['stamp_pdf']) && !empty($_POST['stamp_pdf'])) {
172
- $stamp_pdf = strip_tags($_POST['stamp_pdf']);
173
- $product['stamp_pdf'] = $stamp_pdf;
174
- }
175
  array_push($products, $product);
176
  }
177
 
@@ -187,7 +224,7 @@ function wpspc_cart_actions_handler() {
187
  if (isset($_SESSION['simple_cart_id']) && !empty($_SESSION['simple_cart_id'])) {
188
  wpspc_update_cart_items_record();
189
  } else {
190
- echo "<p>" . (__("Error! Your session is out of sync. Please reset your session.", "WSPSC")) . "</p>";
191
  }
192
  }
193
 
@@ -195,7 +232,7 @@ function wpspc_cart_actions_handler() {
195
  if (get_option('wp_shopping_cart_auto_redirect_to_checkout_page')) {
196
  $checkout_url = get_option('cart_checkout_page_url');
197
  if (empty($checkout_url)) {
198
- echo "<br /><strong>" . (__("Shopping Cart Configuration Error! You must specify a value in the 'Checkout Page URL' field for the automatic redirection feature to work!", "WSPSC")) . "</strong><br />";
199
  } else {
200
  $redirection_parameter = 'Location: ' . $checkout_url;
201
  header($redirection_parameter);
@@ -203,13 +240,22 @@ function wpspc_cart_actions_handler() {
203
  }
204
  }
205
  } else if (isset($_POST['cquantity'])) {
 
 
 
 
 
 
 
 
 
206
  $products = $_SESSION['simpleCart'];
207
  foreach ($products as $key => $item) {
208
- if ((stripslashes($item['name']) == stripslashes($_POST['wspsc_product'])) && $_POST['quantity']) {
209
- $item['quantity'] = $_POST['quantity'];
210
  unset($products[$key]);
211
  array_push($products, $item);
212
- } else if (($item['name'] == stripslashes($_POST['wspsc_product'])) && !$_POST['quantity']) {
213
  unset($products[$key]);
214
  }
215
  }
@@ -222,9 +268,14 @@ function wpspc_cart_actions_handler() {
222
  wpspc_update_cart_items_record();
223
  }
224
  } else if (isset($_POST['delcart'])) {
 
 
 
 
 
225
  $products = $_SESSION['simpleCart'];
226
  foreach ($products as $key => $item) {
227
- if ($item['name'] == stripslashes($_POST['wspsc_product']))
228
  unset($products[$key]);
229
  }
230
  $_SESSION['simpleCart'] = $products;
@@ -238,8 +289,15 @@ function wpspc_cart_actions_handler() {
238
  reset_wp_cart();
239
  }
240
  } else if (isset($_POST['wpspsc_coupon_code'])) {
241
- $coupon_code = strip_tags($_POST['wpspsc_coupon_code']);
 
 
 
 
242
  wpspsc_apply_cart_discount($coupon_code);
 
 
 
243
  }
244
  }
245
 
@@ -284,7 +342,7 @@ function wp_cart_add_custom_field() {
284
  function print_wp_cart_button_new($content) {
285
  $addcart = get_option('addToCartButtonName');
286
  if (!$addcart || ($addcart == ''))
287
- $addcart = __("Add to Cart", "WSPSC");
288
 
289
  $pattern = '#\[wp_cart:.+:price:.+:end]#';
290
  preg_match_all($pattern, $content, $matches);
@@ -354,14 +412,18 @@ function print_wp_cart_button_new($content) {
354
 
355
  $replacement = '<div class="wp_cart_button_wrapper">';
356
  $replacement .= '<form method="post" class="wp-cart-button-form" action="" style="display:inline" onsubmit="return ReadForm(this, true);" ' . apply_filters("wspsc_add_cart_button_form_attr", "") . '>';
 
 
357
  if (!empty($var_output)) {
358
  $replacement .= $var_output;
359
  }
360
 
361
- if (preg_match("/http/", $addcart)) { // Use the image as the 'add to cart' button
362
- $replacement .= '<input type="image" src="' . $addcart . '" class="wp_cart_button" alt="' . (__("Add to Cart", "WSPSC")) . '"/>';
 
363
  } else {
364
- $replacement .= '<input type="submit" value="' . $addcart . '" />';
 
365
  }
366
 
367
  $replacement .= '<input type="hidden" name="wspsc_product" value="' . $pieces['0'] . '" /><input type="hidden" name="price" value="' . $pieces['1'] . '" />';
@@ -369,15 +431,22 @@ function print_wp_cart_button_new($content) {
369
  if (sizeof($pieces) > 2) {
370
  //we have shipping
371
  $replacement .= '<input type="hidden" name="shipping" value="' . $pieces['2'] . '" />';
 
 
 
 
372
  }
373
 
374
  $p_key = get_option('wspsc_private_key_one');
375
  if(empty($p_key)){
376
- $p_key = uniqid();
377
  update_option('wspsc_private_key_one',$p_key);
378
  }
379
- $hash_one = md5($p_key.'|'.$pieces['1']);
380
  $replacement .= '<input type="hidden" name="hash_one" value="' . $hash_one . '" />';
 
 
 
381
 
382
  $replacement .= '<input type="hidden" name="cartLink" value="' . cart_current_page_url() . '" />';
383
  $replacement .= '<input type="hidden" name="addcart" value="1" /></form>';
@@ -425,7 +494,7 @@ function wp_cart_add_read_form_javascript() {
425
  function print_wp_cart_button_for_product($name, $price, $shipping = 0, $var1 = '', $var2 = '', $var3 = '', $atts = array()) {
426
  $addcart = get_option('addToCartButtonName');
427
  if (!$addcart || ($addcart == ''))
428
- $addcart = __("Add to Cart", "WSPSC");
429
 
430
  $var_output = "";
431
  if (!empty($var1)) {
@@ -461,19 +530,22 @@ function print_wp_cart_button_for_product($name, $price, $shipping = 0, $var1 =
461
 
462
  $replacement = '<div class="wp_cart_button_wrapper">';
463
  $replacement .= '<form method="post" class="wp-cart-button-form" action="" style="display:inline" onsubmit="return ReadForm(this, true);" ' . apply_filters("wspsc_add_cart_button_form_attr", "") . '>';
 
464
  if (!empty($var_output)) {//Show variation
465
  $replacement .= '<div class="wp_cart_variation_section">' . $var_output . '</div>';
466
  }
467
 
468
  if (isset($atts['button_image']) && !empty($atts['button_image'])) {
469
  //Use the custom button image for this shortcode
470
- $replacement .= '<input type="image" src="' . $atts['button_image'] . '" class="wp_cart_button" alt="' . (__("Add to Cart", "WSPSC")) . '"/>';
471
  } else {
472
  //Use the button text or image value from the settings
473
- if (preg_match("/http:/", $addcart) || preg_match("/https:/", $addcart)) { // Use the image as the 'add to cart' button
474
- $replacement .= '<input type="image" src="' . $addcart . '" class="wp_cart_button" alt="' . (__("Add to Cart", "WSPSC")) . '"/>';
 
475
  } else {
476
- $replacement .= '<input type="submit" value="' . apply_filters('wspsc_add_cart_submit_button_value', $addcart, $price) . '" />';
 
477
  }
478
  }
479
 
@@ -496,12 +568,15 @@ function print_wp_cart_button_for_product($name, $price, $shipping = 0, $var1 =
496
 
497
  $p_key = get_option('wspsc_private_key_one');
498
  if(empty($p_key)){
499
- $p_key = uniqid();
500
  update_option('wspsc_private_key_one',$p_key);
501
  }
502
  $hash_one = md5($p_key.'|'.$price);
503
  $replacement .= '<input type="hidden" name="hash_one" value="' . $hash_one . '" />';
504
 
 
 
 
505
  $replacement .= '</form>';
506
  $replacement .= '</div>';
507
  return $replacement;
@@ -562,13 +637,13 @@ function simple_cart_total() {
562
  // Handle the options page display
563
  function wp_cart_options_page() {
564
  include_once('wp_shopping_cart_settings.php');
565
- add_options_page(__("WP Paypal Shopping Cart", "WSPSC"), __("WP Shopping Cart", "WSPSC"), WP_CART_MANAGEMENT_PERMISSION, 'wordpress-paypal-shopping-cart', 'wp_cart_options');
566
 
567
  //Main menu - Complete this when the dashboard menu is ready
568
  //$menu_icon_url = '';//TODO - use
569
- //add_menu_page(__('Simple Cart', 'WSPSC'), __('Simple Cart', 'WSPSC'), WP_CART_MANAGEMENT_PERMISSION, WP_CART_MAIN_MENU_SLUG , 'wp_cart_options', $menu_icon_url);
570
- //add_submenu_page(WP_CART_MAIN_MENU_SLUG, __('Settings', 'WSPSC'), __('Settings', 'WSPSC') , WP_CART_MANAGEMENT_PERMISSION, WP_CART_MAIN_MENU_SLUG, 'wp_cart_options');
571
- //add_submenu_page(WP_CART_MAIN_MENU_SLUG, __('Bla', 'WSPSC'), __('Bla', 'WSPSC') , WP_CART_MANAGEMENT_PERMISSION, 'wspsc-bla', 'wp_cart_options');
572
 
573
  }
574
 
@@ -596,7 +671,7 @@ class WP_PayPal_Cart_Widget extends WP_Widget {
596
 
597
  $cart_title = get_option('wp_cart_title');
598
  if (empty($cart_title))
599
- $cart_title = __("Shopping Cart", "WSPSC");
600
 
601
  echo $before_widget;
602
  echo $before_title . $cart_title . $after_title;
@@ -629,7 +704,7 @@ register_activation_hook(__FILE__, 'wpspc_plugin_install');
629
  // Add the settings link
630
  function wp_simple_cart_add_settings_link($links, $file) {
631
  if ($file == plugin_basename(__FILE__)) {
632
- $settings_link = '<a href="options-general.php?page=wordpress-paypal-shopping-cart">' . (__("Settings", "WSPSC")) . '</a>';
633
  array_unshift($links, $settings_link);
634
  }
635
  return $links;
@@ -644,7 +719,6 @@ add_action('widgets_init', 'wp_paypal_shopping_cart_load_widgets');
644
  add_action('init', 'wp_cart_init_handler');
645
  add_action('admin_init', 'wp_cart_admin_init_handler');
646
 
647
- //add_filter('the_content', 'print_wp_cart_button',11);
648
  add_filter('the_content', 'print_wp_cart_button_new', 11);
649
  add_filter('the_content', 'shopping_cart_show');
650
 
1
  <?php
2
  /*
3
  Plugin Name: WP Simple Paypal Shopping cart
4
+ Version: 4.2.4
5
  Plugin URI: https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768
6
  Author: Tips and Tricks HQ, Ruhul Amin
7
  Author URI: https://www.tipsandtricks-hq.com/
8
  Description: Simple WordPress Shopping Cart Plugin, very easy to use and great for selling products and services from your blog!
9
+ Text Domain: wordpress-simple-paypal-shopping-cart
10
  Domain Path: /languages/
11
  */
12
 
13
+ //Slug - wspsc
14
+
15
+ if (!defined('ABSPATH')){//Exit if accessed directly
16
+ exit;
17
+ }
18
 
19
  if (version_compare(PHP_VERSION, '5.4.0') >= 0) {
20
  if (session_status() == PHP_SESSION_NONE) {
26
  }
27
  }
28
 
29
+ define('WP_CART_VERSION', '4.2.4');
30
  define('WP_CART_FOLDER', dirname(plugin_basename(__FILE__)));
31
  define('WP_CART_PATH', plugin_dir_path(__FILE__));
32
  define('WP_CART_URL', plugins_url('', __FILE__));
33
  define('WP_CART_SITE_URL', site_url());
34
  define('WP_CART_LIVE_PAYPAL_URL', 'https://www.paypal.com/cgi-bin/webscr');
35
  define('WP_CART_SANDBOX_PAYPAL_URL', 'https://www.sandbox.paypal.com/cgi-bin/webscr');
36
+ define('WP_CART_CURRENCY_SYMBOL', get_option('cart_currency_symbol'));
37
  if (!defined('WP_CART_MANAGEMENT_PERMISSION')){//This will allow the user to define custom capability for this constant in wp-config file
38
  define('WP_CART_MANAGEMENT_PERMISSION', 'manage_options');
39
  }
42
 
43
  // loading language files
44
  //Set up localisation. First loaded overrides strings present in later loaded file
45
+ $locale = apply_filters( 'plugin_locale', get_locale(), 'wordpress-simple-paypal-shopping-cart' );
46
+ load_textdomain( 'wordpress-simple-paypal-shopping-cart', WP_LANG_DIR . "/wordpress-simple-paypal-shopping-cart-$locale.mo" );
47
+ load_plugin_textdomain('wordpress-simple-paypal-shopping-cart', false, WP_CART_FOLDER . '/languages');
48
 
49
  include_once('wp_shopping_cart_utility_functions.php');
50
  include_once('wp_shopping_cart_shortcodes.php');
82
  reset_wp_cart();
83
  }
84
 
85
+ //Clear the cart if the customer landed on the thank you page (if this option is enabled)
86
  if (get_option('wp_shopping_cart_reset_after_redirection_to_return_page')) {
87
  //TODO - remove this field altogether later. Cart will always be reset using query prameter on the thank you page.
88
  if (get_option('cart_return_from_paypal_url') == cart_current_page_url()) {
109
  }
110
 
111
  function wpspc_cart_actions_handler() {
112
+ unset($_SESSION['wpspsc_cart_action_msg']);
113
+
114
+ if (isset($_POST['addcart'])) {//Add to cart action
115
+
116
+ //Some sites using caching need to be able to disable nonce on the add cart button. Otherwise 48 hour old cached pages will have stale nonce value and fail for valid users.
117
+ if (get_option('wspsc_disable_nonce_add_cart')){
118
+ //This site has disabled the nonce check for add cart button.
119
+ //Do not check nonce for this site since the site admin has indicated that he does not want to check nonce for add cart button.
120
+ } else {
121
+ //Check nonce
122
+ $nonce = $_REQUEST['_wpnonce'];
123
+ if ( !wp_verify_nonce($nonce, 'wspsc_addcart')){
124
+ wp_die('Error! Nonce Security Check Failed!');
125
+ }
126
+ }
127
+
128
  setcookie("cart_in_use", "true", time() + 21600, "/", COOKIE_DOMAIN); //useful to not serve cached page when using with a caching plugin
129
  if (function_exists('wp_cache_serve_cache_file')) {//WP Super cache workaround
130
  setcookie("comment_author_", "wp_cart", time() + 21600, "/", COOKIE_DOMAIN);
131
  }
132
+
133
+ //Sanitize post data
134
+ $post_wspsc_product = isset($_POST['wspsc_product']) ? stripslashes(sanitize_text_field($_POST['wspsc_product'])) : '';
135
+ $post_item_number = isset($_POST['item_number']) ? sanitize_text_field($_POST['item_number']) : '';
136
+ $post_cart_link = isset($_POST['cartLink']) ? esc_url_raw(sanitize_text_field($_POST['cartLink'])) : '';
137
+ $post_stamp_pdf = isset($_POST['stamp_pdf']) ? sanitize_text_field($_POST['stamp_pdf']) : '';
138
+ $post_encoded_file_val = isset($_POST['file_url']) ? sanitize_text_field($_POST['file_url']) : '';
139
+ $post_thumbnail = isset($_POST['thumbnail']) ? esc_url_raw(sanitize_text_field($_POST['thumbnail'])) : '';
140
+ //Sanitize and validate price
141
  if (isset($_POST['price'])){
142
+ $price = sanitize_text_field($_POST['price']);
143
+ $hash_once_p = sanitize_text_field($_POST['hash_one']);
 
144
  $p_key = get_option('wspsc_private_key_one');
145
+ $hash_one_cm = md5($p_key.'|'.$price);
146
+ if($hash_once_p != $hash_one_cm){//Security check failed. Price field has been tampered. Fail validation.
147
+ wp_die('Error! The price field may have been tampered. Security check failed.');
148
+ }
149
+ $price = str_replace(WP_CART_CURRENCY_SYMBOL, "", $price);//Remove any currency symbol from the price.
150
+ //Check that the price field is numeric.
151
+ if(!is_numeric($price)){//Price validation failed
152
+ wp_die('Error! The price validation failed. The value must be numeric.');
153
  }
154
+ //At this stage the price amt has already been sanitized and validated.
155
+
156
+ } else {
157
+ wp_die('Error! Missing price value. The price must be set.');
158
  }
159
+
160
+ //Sanitize and validate shipping price
161
+ if (isset($_POST['shipping'])){
162
+ $shipping = sanitize_text_field($_POST['shipping']);
163
+ $hash_two_val = sanitize_text_field($_POST['hash_two']);
164
+ $p_key = get_option('wspsc_private_key_one');
165
+ $hash_two_cm = md5($p_key.'|'.$shipping);
166
+ if($hash_two_val != $hash_two_cm){//Shipping validation failed
167
+ wp_die('Error! The shipping price validation failed.');
168
+ }
169
+
170
+ $shipping = str_replace(WP_CART_CURRENCY_SYMBOL, "", $shipping);//Remove any currency symbol from the price.
171
+ //Check that the shipping price field is numeric.
172
+ if(!is_numeric($shipping)){//Shipping price validation failed
173
+ wp_die('Error! The shipping price validation failed. The value must be numeric.');
174
+ }
175
+ //At this stage the shipping price amt has already been sanitized and validated.
176
+
177
+ } else {
178
+ wp_die('Error! Missing shipping price value. The price must be set.');
179
+ }
180
+
181
 
182
  $count = 1;
183
  $products = array();
185
  $products = $_SESSION['simpleCart'];
186
  if (is_array($products)) {
187
  foreach ($products as $key => $item) {
188
+ if ($item['name'] == $post_wspsc_product) {
189
  $count += $item['quantity'];
190
  $item['quantity']++;
191
  unset($products[$key]);
198
  }
199
 
200
  if ($count == 1) {
201
+ //This is the first quantity of this item.
202
+
203
+ $product = array('name' => $post_wspsc_product, 'price' => $price, 'price_orig' => $price, 'quantity' => $count, 'shipping' => $shipping, 'cartLink' => $post_cart_link, 'item_number' => $post_item_number);
204
+ if (!empty($post_encoded_file_val)) {
205
+ $product['file_url'] = $post_encoded_file_val;
 
 
 
 
 
 
 
 
 
 
 
206
  }
207
+ if (!empty($post_thumbnail)) {
208
+ $product['thumbnail'] = $post_thumbnail;
 
209
  }
210
+ $product['stamp_pdf'] = $post_stamp_pdf;
211
+
 
 
212
  array_push($products, $product);
213
  }
214
 
224
  if (isset($_SESSION['simple_cart_id']) && !empty($_SESSION['simple_cart_id'])) {
225
  wpspc_update_cart_items_record();
226
  } else {
227
+ echo "<p>" . (__("Error! Your session is out of sync. Please reset your session.", "wordpress-simple-paypal-shopping-cart")) . "</p>";
228
  }
229
  }
230
 
232
  if (get_option('wp_shopping_cart_auto_redirect_to_checkout_page')) {
233
  $checkout_url = get_option('cart_checkout_page_url');
234
  if (empty($checkout_url)) {
235
+ echo "<br /><strong>" . (__("Shopping Cart Configuration Error! You must specify a value in the 'Checkout Page URL' field for the automatic redirection feature to work!", "wordpress-simple-paypal-shopping-cart")) . "</strong><br />";
236
  } else {
237
  $redirection_parameter = 'Location: ' . $checkout_url;
238
  header($redirection_parameter);
240
  }
241
  }
242
  } else if (isset($_POST['cquantity'])) {
243
+ $nonce = $_REQUEST['_wpnonce'];
244
+ if ( !wp_verify_nonce($nonce, 'wspsc_cquantity')){
245
+ wp_die('Error! Nonce Security Check Failed!');
246
+ }
247
+ $post_wspsc_product = isset($_POST['wspsc_product']) ? stripslashes(sanitize_text_field($_POST['wspsc_product'])) : '';
248
+ $post_quantity = isset($_POST['quantity']) ? sanitize_text_field($_POST['quantity']) : '';
249
+ if (!is_numeric($post_quantity)){
250
+ wp_die('Error! The quantity value must be numeric.');
251
+ }
252
  $products = $_SESSION['simpleCart'];
253
  foreach ($products as $key => $item) {
254
+ if ((stripslashes($item['name']) == $post_wspsc_product) && $post_quantity) {
255
+ $item['quantity'] = $post_quantity;
256
  unset($products[$key]);
257
  array_push($products, $item);
258
+ } else if (($item['name'] == $post_wspsc_product) && !$post_quantity) {
259
  unset($products[$key]);
260
  }
261
  }
268
  wpspc_update_cart_items_record();
269
  }
270
  } else if (isset($_POST['delcart'])) {
271
+ $nonce = $_REQUEST['_wpnonce'];
272
+ if ( !wp_verify_nonce($nonce, 'wspsc_delcart')){
273
+ wp_die('Error! Nonce Security Check Failed!');
274
+ }
275
+ $post_wspsc_product = isset($_POST['wspsc_product']) ? stripslashes(sanitize_text_field($_POST['wspsc_product'])) : '';
276
  $products = $_SESSION['simpleCart'];
277
  foreach ($products as $key => $item) {
278
+ if ($item['name'] == $post_wspsc_product)
279
  unset($products[$key]);
280
  }
281
  $_SESSION['simpleCart'] = $products;
289
  reset_wp_cart();
290
  }
291
  } else if (isset($_POST['wpspsc_coupon_code'])) {
292
+ $nonce = $_REQUEST['_wpnonce'];
293
+ if ( !wp_verify_nonce($nonce, 'wspsc_coupon')){
294
+ wp_die('Error! Nonce Security Check Failed!');
295
+ }
296
+ $coupon_code = isset($_POST['wpspsc_coupon_code']) ? sanitize_text_field($_POST['wpspsc_coupon_code']) : '';
297
  wpspsc_apply_cart_discount($coupon_code);
298
+ if (isset($_SESSION['simple_cart_id']) && !empty($_SESSION['simple_cart_id'])) {
299
+ wpspc_update_cart_items_record();
300
+ }
301
  }
302
  }
303
 
342
  function print_wp_cart_button_new($content) {
343
  $addcart = get_option('addToCartButtonName');
344
  if (!$addcart || ($addcart == ''))
345
+ $addcart = __("Add to Cart", "wordpress-simple-paypal-shopping-cart");
346
 
347
  $pattern = '#\[wp_cart:.+:price:.+:end]#';
348
  preg_match_all($pattern, $content, $matches);
412
 
413
  $replacement = '<div class="wp_cart_button_wrapper">';
414
  $replacement .= '<form method="post" class="wp-cart-button-form" action="" style="display:inline" onsubmit="return ReadForm(this, true);" ' . apply_filters("wspsc_add_cart_button_form_attr", "") . '>';
415
+ $replacement .= wp_nonce_field('wspsc_addcart', '_wpnonce', true, false);//nonce value
416
+
417
  if (!empty($var_output)) {
418
  $replacement .= $var_output;
419
  }
420
 
421
+ if (preg_match("/http/", $addcart)) {
422
+ //Use the image as the add to cart button
423
+ $replacement .= '<input type="image" src="' . $addcart . '" class="wp_cart_button" alt="' . (__("Add to Cart", "wordpress-simple-paypal-shopping-cart")) . '"/>';
424
  } else {
425
+ //Plain text add to cart button
426
+ $replacement .= '<input type="submit" class="wspsc_add_cart_submit" name="wspsc_add_cart_submit" value="' . $addcart . '" />';
427
  }
428
 
429
  $replacement .= '<input type="hidden" name="wspsc_product" value="' . $pieces['0'] . '" /><input type="hidden" name="price" value="' . $pieces['1'] . '" />';
431
  if (sizeof($pieces) > 2) {
432
  //we have shipping
433
  $replacement .= '<input type="hidden" name="shipping" value="' . $pieces['2'] . '" />';
434
+ } else {
435
+ //Set shipping to 0 by default (when no shipping is specified in the shortcode)
436
+ $pieces['2'] = 0;
437
+ $replacement .= '<input type="hidden" name="shipping" value="'.$pieces['2'].'" />';
438
  }
439
 
440
  $p_key = get_option('wspsc_private_key_one');
441
  if(empty($p_key)){
442
+ $p_key = uniqid('', true);
443
  update_option('wspsc_private_key_one',$p_key);
444
  }
445
+ $hash_one = md5($p_key.'|'.$pieces['1']);//Price hash
446
  $replacement .= '<input type="hidden" name="hash_one" value="' . $hash_one . '" />';
447
+
448
+ $hash_two = md5($p_key.'|'.$pieces['2']);//Shipping hash
449
+ $replacement .= '<input type="hidden" name="hash_two" value="' . $hash_two . '" />';
450
 
451
  $replacement .= '<input type="hidden" name="cartLink" value="' . cart_current_page_url() . '" />';
452
  $replacement .= '<input type="hidden" name="addcart" value="1" /></form>';
494
  function print_wp_cart_button_for_product($name, $price, $shipping = 0, $var1 = '', $var2 = '', $var3 = '', $atts = array()) {
495
  $addcart = get_option('addToCartButtonName');
496
  if (!$addcart || ($addcart == ''))
497
+ $addcart = __("Add to Cart", "wordpress-simple-paypal-shopping-cart");
498
 
499
  $var_output = "";
500
  if (!empty($var1)) {
530
 
531
  $replacement = '<div class="wp_cart_button_wrapper">';
532
  $replacement .= '<form method="post" class="wp-cart-button-form" action="" style="display:inline" onsubmit="return ReadForm(this, true);" ' . apply_filters("wspsc_add_cart_button_form_attr", "") . '>';
533
+ $replacement .= wp_nonce_field('wspsc_addcart', '_wpnonce', true, false);
534
  if (!empty($var_output)) {//Show variation
535
  $replacement .= '<div class="wp_cart_variation_section">' . $var_output . '</div>';
536
  }
537
 
538
  if (isset($atts['button_image']) && !empty($atts['button_image'])) {
539
  //Use the custom button image for this shortcode
540
+ $replacement .= '<input type="image" src="' . $atts['button_image'] . '" class="wp_cart_button" alt="' . (__("Add to Cart", "wordpress-simple-paypal-shopping-cart")) . '"/>';
541
  } else {
542
  //Use the button text or image value from the settings
543
+ if (preg_match("/http:/", $addcart) || preg_match("/https:/", $addcart)) {
544
+ //Use the image as the add to cart button
545
+ $replacement .= '<input type="image" src="' . $addcart . '" class="wp_cart_button" alt="' . (__("Add to Cart", "wordpress-simple-paypal-shopping-cart")) . '"/>';
546
  } else {
547
+ //Use plain text add to cart button
548
+ $replacement .= '<input type="submit" class="wspsc_add_cart_submit" name="wspsc_add_cart_submit" value="' . apply_filters('wspsc_add_cart_submit_button_value', $addcart, $price) . '" />';
549
  }
550
  }
551
 
568
 
569
  $p_key = get_option('wspsc_private_key_one');
570
  if(empty($p_key)){
571
+ $p_key = uniqid('', true);
572
  update_option('wspsc_private_key_one',$p_key);
573
  }
574
  $hash_one = md5($p_key.'|'.$price);
575
  $replacement .= '<input type="hidden" name="hash_one" value="' . $hash_one . '" />';
576
 
577
+ $hash_two = md5($p_key.'|'.$shipping);
578
+ $replacement .= '<input type="hidden" name="hash_two" value="' . $hash_two . '" />';
579
+
580
  $replacement .= '</form>';
581
  $replacement .= '</div>';
582
  return $replacement;
637
  // Handle the options page display
638
  function wp_cart_options_page() {
639
  include_once('wp_shopping_cart_settings.php');
640
+ add_options_page(__("WP Paypal Shopping Cart", "wordpress-simple-paypal-shopping-cart"), __("WP Shopping Cart", "wordpress-simple-paypal-shopping-cart"), WP_CART_MANAGEMENT_PERMISSION, 'wordpress-paypal-shopping-cart', 'wp_cart_options');
641
 
642
  //Main menu - Complete this when the dashboard menu is ready
643
  //$menu_icon_url = '';//TODO - use
644
+ //add_menu_page(__('Simple Cart', 'wordpress-simple-paypal-shopping-cart'), __('Simple Cart', 'wordpress-simple-paypal-shopping-cart'), WP_CART_MANAGEMENT_PERMISSION, WP_CART_MAIN_MENU_SLUG , 'wp_cart_options', $menu_icon_url);
645
+ //add_submenu_page(WP_CART_MAIN_MENU_SLUG, __('Settings', 'wordpress-simple-paypal-shopping-cart'), __('Settings', 'wordpress-simple-paypal-shopping-cart') , WP_CART_MANAGEMENT_PERMISSION, WP_CART_MAIN_MENU_SLUG, 'wp_cart_options');
646
+ //add_submenu_page(WP_CART_MAIN_MENU_SLUG, __('Bla', 'wordpress-simple-paypal-shopping-cart'), __('Bla', 'wordpress-simple-paypal-shopping-cart') , WP_CART_MANAGEMENT_PERMISSION, 'wspsc-bla', 'wp_cart_options');
647
 
648
  }
649
 
671
 
672
  $cart_title = get_option('wp_cart_title');
673
  if (empty($cart_title))
674
+ $cart_title = __("Shopping Cart", "wordpress-simple-paypal-shopping-cart");
675
 
676
  echo $before_widget;
677
  echo $before_title . $cart_title . $after_title;
704
  // Add the settings link
705
  function wp_simple_cart_add_settings_link($links, $file) {
706
  if ($file == plugin_basename(__FILE__)) {
707
+ $settings_link = '<a href="options-general.php?page=wordpress-paypal-shopping-cart">' . (__("Settings", "wordpress-simple-paypal-shopping-cart")) . '</a>';
708
  array_unshift($links, $settings_link);
709
  }
710
  return $links;
719
  add_action('init', 'wp_cart_init_handler');
720
  add_action('admin_init', 'wp_cart_admin_init_handler');
721
 
 
722
  add_filter('the_content', 'print_wp_cart_button_new', 11);
723
  add_filter('the_content', 'shopping_cart_show');
724
 
wp_shopping_cart_discounts_menu.php CHANGED
@@ -1,7 +1,11 @@
1
  <?php
2
 
3
  function show_wp_cart_coupon_discount_settings_page()
4
- {
 
 
 
 
5
  if (isset($_POST['wpspsc_coupon_settings']))
6
  {
7
  $nonce = $_REQUEST['_wpnonce'];
@@ -21,9 +25,9 @@ function show_wp_cart_coupon_discount_settings_page()
21
  }
22
 
23
  $collection_obj = WPSPSC_Coupons_Collection::get_instance();
24
- $coupon_code = trim(stripcslashes($_POST["wpspsc_coupon_code"]));
25
- $discount_rate = trim($_POST["wpspsc_coupon_rate"]);
26
- $expiry_date = trim($_POST["wpspsc_coupon_expiry_date"]);
27
  $coupon_item = new WPSPSC_COUPON_ITEM($coupon_code, $discount_rate, $expiry_date);
28
  $collection_obj->add_coupon_item($coupon_item);
29
  WPSPSC_Coupons_Collection::save_object($collection_obj);
@@ -49,8 +53,8 @@ function show_wp_cart_coupon_discount_settings_page()
49
  ?>
50
 
51
  <div style="background: none repeat scroll 0 0 #FFF6D5;border: 1px solid #D1B655;color: #3F2502;margin: 10px 0;padding: 5px 5px 5px 10px;text-shadow: 1px 1px #FFFFFF;">
52
- <p><?php _e("For more information, updates, detailed documentation and video tutorial, please visit:", "WSPSC"); ?><br />
53
- <a href="https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768" target="_blank"><?php _e("WP Simple Cart Homepage", "WSPSC"); ?></a></p>
54
  </div>
55
 
56
  <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
@@ -58,24 +62,24 @@ function show_wp_cart_coupon_discount_settings_page()
58
  <input type="hidden" name="coupon_settings_update" id="coupon_settings_update" value="true" />
59
 
60
  <div class="postbox">
61
- <h3><label for="title"><?php _e("Coupon/Discount Settings", "WSPSC");?></label></h3>
62
  <div class="inside">
63
 
64
  <form method="post" action="">
65
  <table class="form-table" width="100%" border="0" cellspacing="0" cellpadding="6">
66
 
67
  <tr valign="top">
68
- <th scope="row"><?php _e("Enable Discount Coupon Feature", "WSPSC");?></th>
69
  <td>
70
  <input type="checkbox" name="wpspsc_enable_coupon" value="1" <?php echo $wpspsc_enable_coupon; ?> />
71
- <span class="description"><?php _e("When checked your customers will be able to enter a coupon code in the shopping cart before checkout.", "WSPSC");?></span>
72
  </td>
73
  </tr>
74
 
75
  <tr valign="top">
76
  <th scope="row">
77
  <div class="submit">
78
- <input type="submit" name="wpspsc_coupon_settings" class="button-primary" value="<?php echo (__("Update &raquo;", "WSPSC")) ?>" />
79
  </div>
80
  </th>
81
  <td></td>
@@ -91,7 +95,7 @@ function show_wp_cart_coupon_discount_settings_page()
91
  <input type="hidden" name="info_update" id="info_update" value="true" />
92
 
93
  <div class="postbox">
94
- <h3><label for="title"><?php _e("Add Coupon/Discount", "WSPSC");?></label></h3>
95
  <div class="inside">
96
 
97
  <form method="post" action="">
@@ -116,7 +120,7 @@ function show_wp_cart_coupon_discount_settings_page()
116
 
117
  <td width="25%" align="left">
118
  <div class="submit">
119
- <input type="submit" name="wpspsc_save_coupon" class="button-primary" value="<?php echo (__("Save Coupon &raquo;", "WSPSC")) ?>" />
120
  </div>
121
  </td>
122
 
@@ -134,9 +138,9 @@ function show_wp_cart_coupon_discount_settings_page()
134
  $output .= '
135
  <table class="widefat" style="max-width:800px;">
136
  <thead><tr>
137
- <th scope="col">'.(__("Coupon Code", "WSPSC")).'</th>
138
- <th scope="col">'.(__("Discount Rate (%)", "WSPSC")).'</th>
139
- <th scope="col">'.(__("Expiry Date", "WSPSC")).'</th>
140
  <th scope="col"></th>
141
  </tr></thead>
142
  <tbody>';
@@ -155,7 +159,7 @@ function show_wp_cart_coupon_discount_settings_page()
155
  $output .= '<td><strong>'.$coupon->coupon_code.'</strong></td>';
156
  $output .= '<td><strong>'.$coupon->discount_rate.'</strong></td>';
157
  if(empty($coupon->expiry_date)){
158
- $output .= '<td><strong>'.__('No Expiry','WSPSC').'</strong></td>';
159
  }else{
160
  $output .= '<td><strong>'.$coupon->expiry_date.'</strong></td>';
161
  }
@@ -171,18 +175,17 @@ function show_wp_cart_coupon_discount_settings_page()
171
  }
172
  else
173
  {
174
- $output .= '<tr><td colspan="5">'.(__("No Coupons Configured.", "WSPSC")).'</td></tr>';
175
  }
176
  }
177
  else
178
  {
179
- $output .= '<tr><td colspan="5">'.(__("No Record found", "WSPSC")).'</td></tr>';
180
  }
181
 
182
  $output .= '</tbody>
183
  </table>';
184
 
185
- //$output .= '<p><a href="options-general.php?page=wordpress-paypal-shopping-cart&action=discount-settings">Add New</a></p>';
186
  echo $output;
187
  wpspsc_settings_menu_footer();
188
  }
1
  <?php
2
 
3
  function show_wp_cart_coupon_discount_settings_page()
4
+ {
5
+ if(!current_user_can('manage_options')){
6
+ wp_die('You do not have permission to access this settings page.');
7
+ }
8
+
9
  if (isset($_POST['wpspsc_coupon_settings']))
10
  {
11
  $nonce = $_REQUEST['_wpnonce'];
25
  }
26
 
27
  $collection_obj = WPSPSC_Coupons_Collection::get_instance();
28
+ $coupon_code = trim(stripslashes(sanitize_text_field($_POST["wpspsc_coupon_code"])));
29
+ $discount_rate = trim(sanitize_text_field($_POST["wpspsc_coupon_rate"]));
30
+ $expiry_date = trim(sanitize_text_field($_POST["wpspsc_coupon_expiry_date"]));
31
  $coupon_item = new WPSPSC_COUPON_ITEM($coupon_code, $discount_rate, $expiry_date);
32
  $collection_obj->add_coupon_item($coupon_item);
33
  WPSPSC_Coupons_Collection::save_object($collection_obj);
53
  ?>
54
 
55
  <div style="background: none repeat scroll 0 0 #FFF6D5;border: 1px solid #D1B655;color: #3F2502;margin: 10px 0;padding: 5px 5px 5px 10px;text-shadow: 1px 1px #FFFFFF;">
56
+ <p><?php _e("For more information, updates, detailed documentation and video tutorial, please visit:", "wordpress-simple-paypal-shopping-cart"); ?><br />
57
+ <a href="https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768" target="_blank"><?php _e("WP Simple Cart Homepage", "wordpress-simple-paypal-shopping-cart"); ?></a></p>
58
  </div>
59
 
60
  <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
62
  <input type="hidden" name="coupon_settings_update" id="coupon_settings_update" value="true" />
63
 
64
  <div class="postbox">
65
+ <h3 class="hndle"><label for="title"><?php _e("Coupon/Discount Settings", "wordpress-simple-paypal-shopping-cart");?></label></h3>
66
  <div class="inside">
67
 
68
  <form method="post" action="">
69
  <table class="form-table" width="100%" border="0" cellspacing="0" cellpadding="6">
70
 
71
  <tr valign="top">
72
+ <th scope="row"><?php _e("Enable Discount Coupon Feature", "wordpress-simple-paypal-shopping-cart");?></th>
73
  <td>
74
  <input type="checkbox" name="wpspsc_enable_coupon" value="1" <?php echo $wpspsc_enable_coupon; ?> />
75
+ <span class="description"><?php _e("When checked your customers will be able to enter a coupon code in the shopping cart before checkout.", "wordpress-simple-paypal-shopping-cart");?></span>
76
  </td>
77
  </tr>
78
 
79
  <tr valign="top">
80
  <th scope="row">
81
  <div class="submit">
82
+ <input type="submit" name="wpspsc_coupon_settings" class="button-primary" value="<?php echo (__("Update &raquo;", "wordpress-simple-paypal-shopping-cart")) ?>" />
83
  </div>
84
  </th>
85
  <td></td>
95
  <input type="hidden" name="info_update" id="info_update" value="true" />
96
 
97
  <div class="postbox">
98
+ <h3 class="hndle"><label for="title"><?php _e("Add Coupon/Discount", "wordpress-simple-paypal-shopping-cart");?></label></h3>
99
  <div class="inside">
100
 
101
  <form method="post" action="">
120
 
121
  <td width="25%" align="left">
122
  <div class="submit">
123
+ <input type="submit" name="wpspsc_save_coupon" class="button-primary" value="<?php echo (__("Save Coupon &raquo;", "wordpress-simple-paypal-shopping-cart")) ?>" />
124
  </div>
125
  </td>
126
 
138
  $output .= '
139
  <table class="widefat" style="max-width:800px;">
140
  <thead><tr>
141
+ <th scope="col">'.(__("Coupon Code", "wordpress-simple-paypal-shopping-cart")).'</th>
142
+ <th scope="col">'.(__("Discount Rate (%)", "wordpress-simple-paypal-shopping-cart")).'</th>
143
+ <th scope="col">'.(__("Expiry Date", "wordpress-simple-paypal-shopping-cart")).'</th>
144
  <th scope="col"></th>
145
  </tr></thead>
146
  <tbody>';
159
  $output .= '<td><strong>'.$coupon->coupon_code.'</strong></td>';
160
  $output .= '<td><strong>'.$coupon->discount_rate.'</strong></td>';
161
  if(empty($coupon->expiry_date)){
162
+ $output .= '<td><strong>'.__('No Expiry','wordpress-simple-paypal-shopping-cart').'</strong></td>';
163
  }else{
164
  $output .= '<td><strong>'.$coupon->expiry_date.'</strong></td>';
165
  }
175
  }
176
  else
177
  {
178
+ $output .= '<tr><td colspan="5">'.(__("No Coupons Configured.", "wordpress-simple-paypal-shopping-cart")).'</td></tr>';
179
  }
180
  }
181
  else
182
  {
183
+ $output .= '<tr><td colspan="5">'.(__("No Record found", "wordpress-simple-paypal-shopping-cart")).'</td></tr>';
184
  }
185
 
186
  $output .= '</tbody>
187
  </table>';
188
 
 
189
  echo $output;
190
  wpspsc_settings_menu_footer();
191
  }
wp_shopping_cart_misc_functions.php CHANGED
@@ -78,7 +78,7 @@ function wp_cart_get_custom_var_array($custom_val_string)
78
  function wspsc_reset_logfile()
79
  {
80
  $log_reset = true;
81
- $logfile = dirname(__FILE__).'/ipn_handle_debug.log';
82
  $text = '['.date('m/d/Y g:i A').'] - SUCCESS : Log file reset';
83
  $text .= "\n------------------------------------------------------------------\n\n";
84
  $fp = fopen($logfile, 'w');
@@ -147,8 +147,8 @@ function wpspc_apply_dynamic_tags_on_email_body($ipn_data, $args)
147
  $order_id = $args['order_id'];
148
  $purchase_amount = get_post_meta( $order_id, 'wpsc_total_amount', true );
149
  $purchase_date = date("Y-m-d");
150
- $tags = array("{first_name}","{last_name}","{product_details}","{payer_email}","{transaction_id}","{purchase_amt}","{purchase_date}","{coupon_code}");
151
- $vals = array($ipn_data['first_name'], $ipn_data['last_name'], $args['product_details'], $args['payer_email'], $ipn_data['txn_id'], $purchase_amount, $purchase_date, $args['coupon_code']);
152
 
153
  $body = stripslashes(str_replace($tags, $vals, $args['email_body']));
154
  return $body;
@@ -157,8 +157,8 @@ function wpspc_apply_dynamic_tags_on_email_body($ipn_data, $args)
157
  function wpspc_run_activation()
158
  {
159
  //General options
160
- add_option('wp_cart_title', __("Your Shopping Cart", "WSPSC"));
161
- add_option('wp_cart_empty_text', __("Your cart is empty", "WSPSC"));
162
  add_option('cart_return_from_paypal_url', get_bloginfo('wpurl'));
163
 
164
  //Add Confirmation Email Settings
@@ -184,7 +184,7 @@ function wpspc_run_activation()
184
  add_option('wpspc_seller_email_body', $seller_email_body);
185
 
186
  //Generate and save a private key for this site
187
- $unique_id = uniqid();
188
  add_option('wspsc_private_key_one',$unique_id);
189
  }
190
 
@@ -192,8 +192,8 @@ function wpspsc_settings_menu_footer()
192
  {
193
  ?>
194
  <div style="background: none repeat scroll 0 0 #FFF6D5;border: 1px solid #D1B655;color: #3F2502;margin: 10px 0;padding: 5px 5px 5px 10px;text-shadow: 1px 1px #FFFFFF;">
195
- <p><?php _e("Need a shopping cart plugin with a lot of features and good support? Check out our ", "WSPSC"); ?>
196
- <a href="https://www.tipsandtricks-hq.com/?p=1059" target="_blank"><?php _e("WP eStore Plugin", "WSPSC"); ?></a></p>
197
  </div>
198
  <?php
199
  }
78
  function wspsc_reset_logfile()
79
  {
80
  $log_reset = true;
81
+ $logfile = dirname(__FILE__).'/ipn_handle_debug.txt';
82
  $text = '['.date('m/d/Y g:i A').'] - SUCCESS : Log file reset';
83
  $text .= "\n------------------------------------------------------------------\n\n";
84
  $fp = fopen($logfile, 'w');
147
  $order_id = $args['order_id'];
148
  $purchase_amount = get_post_meta( $order_id, 'wpsc_total_amount', true );
149
  $purchase_date = date("Y-m-d");
150
+ $tags = array("{first_name}","{last_name}","{product_details}","{payer_email}","{transaction_id}","{purchase_amt}","{purchase_date}","{coupon_code}","{address}");
151
+ $vals = array($ipn_data['first_name'], $ipn_data['last_name'], $args['product_details'], $args['payer_email'], $ipn_data['txn_id'], $purchase_amount, $purchase_date, $args['coupon_code'], $args['address']);
152
 
153
  $body = stripslashes(str_replace($tags, $vals, $args['email_body']));
154
  return $body;
157
  function wpspc_run_activation()
158
  {
159
  //General options
160
+ add_option('wp_cart_title', __("Your Shopping Cart", "wordpress-simple-paypal-shopping-cart"));
161
+ add_option('wp_cart_empty_text', __("Your cart is empty", "wordpress-simple-paypal-shopping-cart"));
162
  add_option('cart_return_from_paypal_url', get_bloginfo('wpurl'));
163
 
164
  //Add Confirmation Email Settings
184
  add_option('wpspc_seller_email_body', $seller_email_body);
185
 
186
  //Generate and save a private key for this site
187
+ $unique_id = uniqid('', true);
188
  add_option('wspsc_private_key_one',$unique_id);
189
  }
190
 
192
  {
193
  ?>
194
  <div style="background: none repeat scroll 0 0 #FFF6D5;border: 1px solid #D1B655;color: #3F2502;margin: 10px 0;padding: 5px 5px 5px 10px;text-shadow: 1px 1px #FFFFFF;">
195
+ <p><?php _e("Need a shopping cart plugin with a lot of features and good support? Check out our ", "wordpress-simple-paypal-shopping-cart"); ?>
196
+ <a href="https://www.tipsandtricks-hq.com/?p=1059" target="_blank"><?php _e("WP eStore Plugin", "wordpress-simple-paypal-shopping-cart"); ?></a></p>
197
  </div>
198
  <?php
199
  }
wp_shopping_cart_orders.php CHANGED
@@ -1,5 +1,9 @@
1
  <?php
2
 
 
 
 
 
3
  add_action( 'save_post', 'wpspc_cart_save_orders', 10, 2 );
4
 
5
  function wpspc_create_orders_page()
@@ -7,26 +11,26 @@ function wpspc_create_orders_page()
7
  register_post_type( 'wpsc_cart_orders',
8
  array(
9
  'labels' => array(
10
- 'name' => __("Cart Orders", "WSPSC"),
11
- 'singular_name' => __("Cart Order", "WSPSC"),
12
- 'add_new' => __("Add New", "WSPSC"),
13
- 'add_new_item' => __("Add New Order", "WSPSC"),
14
- 'edit' => __("Edit", "WSPSC"),
15
- 'edit_item' => __("Edit Order", "WSPSC"),
16
- 'new_item' => __("New Order", "WSPSC"),
17
- 'view' => __("View", "WSPSC"),
18
- 'view_item' => __("View Order", "WSPSC"),
19
- 'search_items' => __("Search Order", "WSPSC"),
20
- 'not_found' => __("No order found", "WSPSC"),
21
- 'not_found_in_trash' => __("No order found in Trash", "WSPSC"),
22
- 'parent' => __("Parent Order", "WSPSC")
23
  ),
24
 
25
  'public' => true,
26
  'menu_position' => 80,
27
  'supports' => false,
28
  'taxonomies' => array( '' ),
29
- 'menu_icon' => 'dashicons-cart',/*WP_CART_URL.'/images/cart-orders-icon.png'*/
30
  'has_archive' => true
31
  )
32
  );
@@ -35,7 +39,7 @@ function wpspc_create_orders_page()
35
  function wpspc_add_meta_boxes()
36
  {
37
  add_meta_box( 'order_review_meta_box',
38
- __("Order Review", "WSPSC"),
39
  'wpspc_order_review_meta_box',
40
  'wpsc_cart_orders',
41
  'normal',
@@ -45,7 +49,6 @@ function wpspc_add_meta_boxes()
45
 
46
  function wpspc_order_review_meta_box($wpsc_cart_orders)
47
  {
48
- // Retrieve current name of the Director and Movie Rating based on review ID
49
  $order_id = $wpsc_cart_orders->ID;
50
  $first_name = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_first_name', true );
51
  $last_name = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_last_name', true );
@@ -67,89 +70,108 @@ function wpspc_order_review_meta_box($wpsc_cart_orders)
67
  $applied_coupon = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_applied_coupon', true );
68
  ?>
69
  <table>
70
- <p><?php _e("Order ID: #", "WSPSC"); echo $order_id;?></p>
71
  <?php if($txn_id){?>
72
- <p><?php _e("Transaction ID: #", "WSPSC"); echo $txn_id;?></p>
73
  <?php } ?>
74
  <tr>
75
- <td><?php _e("First Name", "WSPSC");?></td>
76
- <td><input type="text" size="40" name="wpsc_first_name" value="<?php echo $first_name; ?>" /></td>
77
  </tr>
78
  <tr>
79
- <td><?php _e("Last Name", "WSPSC");?></td>
80
- <td><input type="text" size="40" name="wpsc_last_name" value="<?php echo $last_name; ?>" /></td>
81
  </tr>
82
  <tr>
83
- <td><?php _e("Email Address", "WSPSC");?></td>
84
- <td><input type="text" size="40" name="wpsc_email_address" value="<?php echo $email; ?>" /></td>
85
  </tr>
86
  <tr>
87
- <td><?php _e("IP Address", "WSPSC");?></td>
88
- <td><input type="text" size="40" name="wpsc_ipaddress" value="<?php echo $ip_address; ?>" /></td>
89
  </tr>
90
  <tr>
91
- <td><?php _e("Total", "WSPSC");?></td>
92
- <td><input type="text" size="20" name="wpsc_total_amount" value="<?php echo $total_amount; ?>" /></td>
93
  </tr>
94
  <tr>
95
- <td><?php _e("Shipping", "WSPSC");?></td>
96
- <td><input type="text" size="20" name="wpsc_shipping_amount" value="<?php echo $shipping_amount; ?>" /></td>
97
  </tr>
98
  <tr>
99
- <td><?php _e("Address", "WSPSC");?></td>
100
- <td><textarea name="wpsc_address" cols="83" rows="2"><?php echo $address;?></textarea></td>
101
  </tr>
102
  <tr>
103
- <td><?php _e("Phone", "WSPSC");?></td>
104
- <td><input type="text" size="40" name="wpspsc_phone" value="<?php echo $phone; ?>" /></td>
105
  </tr>
106
  <tr>
107
- <td><?php _e("Buyer Email Sent?", "WSPSC");?></td>
108
- <td><input type="text" size="80" name="wpsc_buyer_email_sent" value="<?php echo $email_sent_field_msg; ?>" readonly /></td>
109
  </tr>
110
  <tr>
111
- <td><?php _e("Item(s) Ordered:", "WSPSC");?></td>
112
- <td><textarea name="wpspsc_items_ordered" cols="83" rows="5"><?php echo $items_ordered;?></textarea></td>
113
  </tr>
114
  <tr>
115
- <td><?php _e("Applied Coupon Code:", "WSPSC");?></td>
116
- <td><input type="text" size="20" name="wpsc_applied_coupon" value="<?php echo $applied_coupon; ?>" readonly /></td>
117
  </tr>
118
 
119
  </table>
120
  <?php
121
  }
122
 
 
 
 
 
123
  function wpspc_cart_save_orders( $order_id, $wpsc_cart_orders ) {
124
  // Check post type for movie reviews
125
  if ( $wpsc_cart_orders->post_type == 'wpsc_cart_orders' ) {
126
  // Store data in post meta table if present in post data
127
  if ( isset( $_POST['wpsc_first_name'] ) && $_POST['wpsc_first_name'] != '' ) {
128
- update_post_meta( $order_id, 'wpsc_first_name', $_POST['wpsc_first_name'] );
 
129
  }
130
  if ( isset( $_POST['wpsc_last_name'] ) && $_POST['wpsc_last_name'] != '' ) {
131
- update_post_meta( $order_id, 'wpsc_last_name', $_POST['wpsc_last_name'] );
 
132
  }
133
  if ( isset( $_POST['wpsc_email_address'] ) && $_POST['wpsc_email_address'] != '' ) {
134
- update_post_meta( $order_id, 'wpsc_email_address', $_POST['wpsc_email_address'] );
 
135
  }
136
  if ( isset( $_POST['wpsc_ipaddress'] ) && $_POST['wpsc_ipaddress'] != '' ) {
137
- update_post_meta( $order_id, 'wpsc_ipaddress', $_POST['wpsc_ipaddress'] );
 
138
  }
139
  if ( isset( $_POST['wpsc_total_amount'] ) && $_POST['wpsc_total_amount'] != '' ) {
140
- update_post_meta( $order_id, 'wpsc_total_amount', $_POST['wpsc_total_amount'] );
 
 
 
 
141
  }
142
  if ( isset( $_POST['wpsc_shipping_amount'] ) && $_POST['wpsc_shipping_amount'] != '' ) {
143
- update_post_meta( $order_id, 'wpsc_shipping_amount', $_POST['wpsc_shipping_amount'] );
 
 
 
 
144
  }
145
  if ( isset( $_POST['wpsc_address'] ) && $_POST['wpsc_address'] != '' ) {
146
- update_post_meta( $order_id, 'wpsc_address', $_POST['wpsc_address'] );
 
147
  }
148
  if ( isset( $_POST['wpspsc_phone'] ) && $_POST['wpspsc_phone'] != '' ) {
149
- update_post_meta( $order_id, 'wpspsc_phone', $_POST['wpspsc_phone'] );
 
150
  }
151
  if ( isset( $_POST['wpspsc_items_ordered'] ) && $_POST['wpspsc_items_ordered'] != '' ) {
152
- update_post_meta( $order_id, 'wpspsc_items_ordered', $_POST['wpspsc_items_ordered'] );
 
153
  }
154
  }
155
  }
@@ -161,13 +183,13 @@ function wpspc_orders_display_columns( $columns )
161
  unset( $columns['comments'] );
162
  unset( $columns['date'] );
163
  //$columns['wpsc_order_id'] = 'Order ID';
164
- $columns['title'] = __("Order ID", "WSPSC");
165
- $columns['wpsc_first_name'] = __("First Name", "WSPSC");
166
- $columns['wpsc_last_name'] = __("Last Name", "WSPSC");
167
- $columns['wpsc_email_address'] = __("Email", "WSPSC");
168
- $columns['wpsc_total_amount'] = __("Total", "WSPSC");
169
- $columns['wpsc_order_status'] = __("Status", "WSPSC");
170
- $columns['date'] = __("Date", "WSPSC");
171
  return $columns;
172
  }
173
 
@@ -176,24 +198,24 @@ add_action('manage_wpsc_cart_orders_posts_custom_column', 'wpspc_populate_order_
176
  function wpspc_populate_order_columns($column, $post_id)
177
  {
178
  if ( 'wpsc_first_name' == $column ) {
179
- $ip_address = get_post_meta( $post_id, 'wpsc_first_name', true );
180
- echo $ip_address;
181
  }
182
  else if ( 'wpsc_last_name' == $column ) {
183
- $ip_address = get_post_meta( $post_id, 'wpsc_last_name', true );
184
- echo $ip_address;
185
  }
186
  else if ( 'wpsc_email_address' == $column ) {
187
  $email = get_post_meta( $post_id, 'wpsc_email_address', true );
188
- echo $email;
189
  }
190
  else if ( 'wpsc_total_amount' == $column ) {
191
  $total_amount = get_post_meta( $post_id, 'wpsc_total_amount', true );
192
- echo $total_amount;
193
  }
194
  else if ( 'wpsc_order_status' == $column ) {
195
  $status = get_post_meta( $post_id, 'wpsc_order_status', true );
196
- echo $status;
197
  }
198
  }
199
 
1
  <?php
2
 
3
+ /*
4
+ * This page handles the orders menu page in the admin dashboard
5
+ */
6
+
7
  add_action( 'save_post', 'wpspc_cart_save_orders', 10, 2 );
8
 
9
  function wpspc_create_orders_page()
11
  register_post_type( 'wpsc_cart_orders',
12
  array(
13
  'labels' => array(
14
+ 'name' => __("Cart Orders", "wordpress-simple-paypal-shopping-cart"),
15
+ 'singular_name' => __("Cart Order", "wordpress-simple-paypal-shopping-cart"),
16
+ 'add_new' => __("Add New", "wordpress-simple-paypal-shopping-cart"),
17
+ 'add_new_item' => __("Add New Order", "wordpress-simple-paypal-shopping-cart"),
18
+ 'edit' => __("Edit", "wordpress-simple-paypal-shopping-cart"),
19
+ 'edit_item' => __("Edit Order", "wordpress-simple-paypal-shopping-cart"),
20
+ 'new_item' => __("New Order", "wordpress-simple-paypal-shopping-cart"),
21
+ 'view' => __("View", "wordpress-simple-paypal-shopping-cart"),
22
+ 'view_item' => __("View Order", "wordpress-simple-paypal-shopping-cart"),
23
+ 'search_items' => __("Search Order", "wordpress-simple-paypal-shopping-cart"),
24
+ 'not_found' => __("No order found", "wordpress-simple-paypal-shopping-cart"),
25
+ 'not_found_in_trash' => __("No order found in Trash", "wordpress-simple-paypal-shopping-cart"),
26
+ 'parent' => __("Parent Order", "wordpress-simple-paypal-shopping-cart")
27
  ),
28
 
29
  'public' => true,
30
  'menu_position' => 80,
31
  'supports' => false,
32
  'taxonomies' => array( '' ),
33
+ 'menu_icon' => 'dashicons-cart',
34
  'has_archive' => true
35
  )
36
  );
39
  function wpspc_add_meta_boxes()
40
  {
41
  add_meta_box( 'order_review_meta_box',
42
+ __("Order Review", "wordpress-simple-paypal-shopping-cart"),
43
  'wpspc_order_review_meta_box',
44
  'wpsc_cart_orders',
45
  'normal',
49
 
50
  function wpspc_order_review_meta_box($wpsc_cart_orders)
51
  {
 
52
  $order_id = $wpsc_cart_orders->ID;
53
  $first_name = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_first_name', true );
54
  $last_name = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_last_name', true );
70
  $applied_coupon = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_applied_coupon', true );
71
  ?>
72
  <table>
73
+ <p><?php _e("Order ID: #", "wordpress-simple-paypal-shopping-cart"); echo esc_attr($order_id);?></p>
74
  <?php if($txn_id){?>
75
+ <p><?php _e("Transaction ID: #", "wordpress-simple-paypal-shopping-cart"); echo esc_attr($txn_id);?></p>
76
  <?php } ?>
77
  <tr>
78
+ <td><?php _e("First Name", "wordpress-simple-paypal-shopping-cart");?></td>
79
+ <td><input type="text" size="40" name="wpsc_first_name" value="<?php echo esc_attr($first_name); ?>" /></td>
80
  </tr>
81
  <tr>
82
+ <td><?php _e("Last Name", "wordpress-simple-paypal-shopping-cart");?></td>
83
+ <td><input type="text" size="40" name="wpsc_last_name" value="<?php echo esc_attr($last_name); ?>" /></td>
84
  </tr>
85
  <tr>
86
+ <td><?php _e("Email Address", "wordpress-simple-paypal-shopping-cart");?></td>
87
+ <td><input type="text" size="40" name="wpsc_email_address" value="<?php echo esc_attr($email); ?>" /></td>
88
  </tr>
89
  <tr>
90
+ <td><?php _e("IP Address", "wordpress-simple-paypal-shopping-cart");?></td>
91
+ <td><input type="text" size="40" name="wpsc_ipaddress" value="<?php echo esc_attr($ip_address); ?>" /></td>
92
  </tr>
93
  <tr>
94
+ <td><?php _e("Total", "wordpress-simple-paypal-shopping-cart");?></td>
95
+ <td><input type="text" size="20" name="wpsc_total_amount" value="<?php echo esc_attr($total_amount); ?>" /></td>
96
  </tr>
97
  <tr>
98
+ <td><?php _e("Shipping", "wordpress-simple-paypal-shopping-cart");?></td>
99
+ <td><input type="text" size="20" name="wpsc_shipping_amount" value="<?php echo esc_attr($shipping_amount); ?>" /></td>
100
  </tr>
101
  <tr>
102
+ <td><?php _e("Address", "wordpress-simple-paypal-shopping-cart");?></td>
103
+ <td><textarea name="wpsc_address" cols="83" rows="2"><?php echo esc_attr($address);?></textarea></td>
104
  </tr>
105
  <tr>
106
+ <td><?php _e("Phone", "wordpress-simple-paypal-shopping-cart");?></td>
107
+ <td><input type="text" size="40" name="wpspsc_phone" value="<?php echo esc_attr($phone); ?>" /></td>
108
  </tr>
109
  <tr>
110
+ <td><?php _e("Buyer Email Sent?", "wordpress-simple-paypal-shopping-cart");?></td>
111
+ <td><input type="text" size="80" name="wpsc_buyer_email_sent" value="<?php echo esc_attr($email_sent_field_msg); ?>" readonly /></td>
112
  </tr>
113
  <tr>
114
+ <td><?php _e("Item(s) Ordered:", "wordpress-simple-paypal-shopping-cart");?></td>
115
+ <td><textarea name="wpspsc_items_ordered" cols="83" rows="5"><?php echo esc_attr($items_ordered); ?></textarea></td>
116
  </tr>
117
  <tr>
118
+ <td><?php _e("Applied Coupon Code:", "wordpress-simple-paypal-shopping-cart");?></td>
119
+ <td><input type="text" size="20" name="wpsc_applied_coupon" value="<?php echo esc_attr($applied_coupon); ?>" readonly /></td>
120
  </tr>
121
 
122
  </table>
123
  <?php
124
  }
125
 
126
+ /*
127
+ * Save the order data from the edit order interface.
128
+ * This function is hooked to save_post action. so it only gets executed for a logged in wp user
129
+ */
130
  function wpspc_cart_save_orders( $order_id, $wpsc_cart_orders ) {
131
  // Check post type for movie reviews
132
  if ( $wpsc_cart_orders->post_type == 'wpsc_cart_orders' ) {
133
  // Store data in post meta table if present in post data
134
  if ( isset( $_POST['wpsc_first_name'] ) && $_POST['wpsc_first_name'] != '' ) {
135
+ $first_name = sanitize_text_field($_POST['wpsc_first_name']);
136
+ update_post_meta( $order_id, 'wpsc_first_name', $first_name );
137
  }
138
  if ( isset( $_POST['wpsc_last_name'] ) && $_POST['wpsc_last_name'] != '' ) {
139
+ $last_name = sanitize_text_field($_POST['wpsc_last_name']);
140
+ update_post_meta( $order_id, 'wpsc_last_name', $last_name );
141
  }
142
  if ( isset( $_POST['wpsc_email_address'] ) && $_POST['wpsc_email_address'] != '' ) {
143
+ $email_address = sanitize_email($_POST['wpsc_email_address']);
144
+ update_post_meta( $order_id, 'wpsc_email_address', $email_address );
145
  }
146
  if ( isset( $_POST['wpsc_ipaddress'] ) && $_POST['wpsc_ipaddress'] != '' ) {
147
+ $ipaddress = sanitize_text_field($_POST['wpsc_ipaddress']);
148
+ update_post_meta( $order_id, 'wpsc_ipaddress', $ipaddress );
149
  }
150
  if ( isset( $_POST['wpsc_total_amount'] ) && $_POST['wpsc_total_amount'] != '' ) {
151
+ $total_amount = sanitize_text_field($_POST['wpsc_total_amount']);
152
+ if(!is_numeric($total_amount)){
153
+ wp_die('Error! Total amount must be a numeric number.');
154
+ }
155
+ update_post_meta( $order_id, 'wpsc_total_amount', $total_amount );
156
  }
157
  if ( isset( $_POST['wpsc_shipping_amount'] ) && $_POST['wpsc_shipping_amount'] != '' ) {
158
+ $shipping_amount = sanitize_text_field($_POST['wpsc_shipping_amount']);
159
+ if(!is_numeric($shipping_amount)){
160
+ wp_die('Error! Shipping amount must be a numeric number.');
161
+ }
162
+ update_post_meta( $order_id, 'wpsc_shipping_amount', $shipping_amount );
163
  }
164
  if ( isset( $_POST['wpsc_address'] ) && $_POST['wpsc_address'] != '' ) {
165
+ $address = sanitize_text_field($_POST['wpsc_address']);
166
+ update_post_meta( $order_id, 'wpsc_address', $address );
167
  }
168
  if ( isset( $_POST['wpspsc_phone'] ) && $_POST['wpspsc_phone'] != '' ) {
169
+ $phone = sanitize_text_field($_POST['wpspsc_phone']);
170
+ update_post_meta( $order_id, 'wpspsc_phone', $phone );
171
  }
172
  if ( isset( $_POST['wpspsc_items_ordered'] ) && $_POST['wpspsc_items_ordered'] != '' ) {
173
+ $items_ordered = stripslashes(esc_textarea($_POST['wpspsc_items_ordered']));
174
+ update_post_meta( $order_id, 'wpspsc_items_ordered', $items_ordered );
175
  }
176
  }
177
  }
183
  unset( $columns['comments'] );
184
  unset( $columns['date'] );
185
  //$columns['wpsc_order_id'] = 'Order ID';
186
+ $columns['title'] = __("Order ID", "wordpress-simple-paypal-shopping-cart");
187
+ $columns['wpsc_first_name'] = __("First Name", "wordpress-simple-paypal-shopping-cart");
188
+ $columns['wpsc_last_name'] = __("Last Name", "wordpress-simple-paypal-shopping-cart");
189
+ $columns['wpsc_email_address'] = __("Email", "wordpress-simple-paypal-shopping-cart");
190
+ $columns['wpsc_total_amount'] = __("Total", "wordpress-simple-paypal-shopping-cart");
191
+ $columns['wpsc_order_status'] = __("Status", "wordpress-simple-paypal-shopping-cart");
192
+ $columns['date'] = __("Date", "wordpress-simple-paypal-shopping-cart");
193
  return $columns;
194
  }
195
 
198
  function wpspc_populate_order_columns($column, $post_id)
199
  {
200
  if ( 'wpsc_first_name' == $column ) {
201
+ $first_name = get_post_meta( $post_id, 'wpsc_first_name', true );
202
+ echo esc_attr($first_name);
203
  }
204
  else if ( 'wpsc_last_name' == $column ) {
205
+ $last_name = get_post_meta( $post_id, 'wpsc_last_name', true );
206
+ echo esc_attr($last_name);
207
  }
208
  else if ( 'wpsc_email_address' == $column ) {
209
  $email = get_post_meta( $post_id, 'wpsc_email_address', true );
210
+ echo esc_attr($email);
211
  }
212
  else if ( 'wpsc_total_amount' == $column ) {
213
  $total_amount = get_post_meta( $post_id, 'wpsc_total_amount', true );
214
+ echo esc_attr($total_amount);
215
  }
216
  else if ( 'wpsc_order_status' == $column ) {
217
  $status = get_post_meta( $post_id, 'wpsc_order_status', true );
218
+ echo esc_attr($status);
219
  }
220
  }
221
 
wp_shopping_cart_settings.php CHANGED
@@ -1,13 +1,22 @@
1
  <?php
2
 
 
 
 
3
  function wp_cart_options()
4
- {
 
 
 
 
5
  $wpspc_plugin_tabs = array(
6
  'wordpress-paypal-shopping-cart' => 'General Settings',
7
  'wordpress-paypal-shopping-cart&action=email-settings' => 'Email Settings',
8
  'wordpress-paypal-shopping-cart&action=discount-settings' => 'Coupon/Discount'
9
  );
10
- echo '<div class="wrap">'.screen_icon( ).'<h2>'.(__("WP Paypal Shopping Cart Options", "WSPSC")).'</h2>';
 
 
11
  $current = "";
12
  if(isset($_GET['page'])){
13
  $current = $_GET['page'];
@@ -50,61 +59,70 @@ function wp_cart_options()
50
  echo '</div>';
51
  }
52
 
 
 
 
53
  function show_wp_cart_options_page ()
54
  {
 
 
 
 
55
  if(isset($_POST['wspsc_reset_logfile'])) {
56
  // Reset the debug log file
57
  if(wspsc_reset_logfile()){
58
  echo '<div id="message" class="updated fade"><p><strong>Debug log file has been reset!</strong></p></div>';
59
  }
60
  else{
61
- echo '<div id="message" class="updated fade"><p><strong>Debug log file could not be reset!</strong></p></div>';
62
  }
63
  }
64
  if (isset($_POST['info_update']))
65
  {
66
  $nonce = $_REQUEST['_wpnonce'];
67
- if ( !wp_verify_nonce($nonce, 'wp_simple_cart_settings_update')){
68
- wp_die('Error! Nonce Security Check Failed! Go back to settings menu and save the settings again.');
69
- }
70
-
71
- update_option('cart_payment_currency', (string)$_POST["cart_payment_currency"]);
72
- update_option('cart_currency_symbol', (string)$_POST["cart_currency_symbol"]);
73
- update_option('cart_base_shipping_cost', (string)$_POST["cart_base_shipping_cost"]);
74
- update_option('cart_free_shipping_threshold', (string)$_POST["cart_free_shipping_threshold"]);
75
  update_option('wp_shopping_cart_collect_address', (isset($_POST['wp_shopping_cart_collect_address']) && $_POST['wp_shopping_cart_collect_address']!='') ? 'checked="checked"':'' );
76
  update_option('wp_shopping_cart_use_profile_shipping', (isset($_POST['wp_shopping_cart_use_profile_shipping']) && $_POST['wp_shopping_cart_use_profile_shipping']!='') ? 'checked="checked"':'' );
77
 
78
- update_option('cart_paypal_email', (string)$_POST["cart_paypal_email"]);
79
- update_option('addToCartButtonName', (string)$_POST["addToCartButtonName"]);
80
- update_option('wp_cart_title', (string)$_POST["wp_cart_title"]);
81
- update_option('wp_cart_empty_text', (string)$_POST["wp_cart_empty_text"]);
82
- update_option('cart_return_from_paypal_url', (string)$_POST["cart_return_from_paypal_url"]);
83
- update_option('cart_products_page_url', (string)$_POST["cart_products_page_url"]);
84
-
 
85
  update_option('wp_shopping_cart_auto_redirect_to_checkout_page', (isset($_POST['wp_shopping_cart_auto_redirect_to_checkout_page']) && $_POST['wp_shopping_cart_auto_redirect_to_checkout_page']!='') ? 'checked="checked"':'' );
86
- update_option('cart_checkout_page_url', (string)$_POST["cart_checkout_page_url"]);
87
  update_option('wspsc_open_pp_checkout_in_new_tab', (isset($_POST['wspsc_open_pp_checkout_in_new_tab']) && $_POST['wspsc_open_pp_checkout_in_new_tab']!='') ? 'checked="checked"':'' );
88
  update_option('wp_shopping_cart_reset_after_redirection_to_return_page', (isset($_POST['wp_shopping_cart_reset_after_redirection_to_return_page']) && $_POST['wp_shopping_cart_reset_after_redirection_to_return_page']!='') ? 'checked="checked"':'' );
89
-
90
  update_option('wp_shopping_cart_image_hide', (isset($_POST['wp_shopping_cart_image_hide']) && $_POST['wp_shopping_cart_image_hide']!='') ? 'checked="checked"':'' );
91
- update_option('wp_cart_note_to_seller_text', (string)$_POST["wp_cart_note_to_seller_text"]);
92
- update_option('wp_cart_paypal_co_page_style', (string)$_POST["wp_cart_paypal_co_page_style"]);
93
  update_option('wp_shopping_cart_strict_email_check', (isset($_POST['wp_shopping_cart_strict_email_check']) && $_POST['wp_shopping_cart_strict_email_check']!='') ? 'checked="checked"':'' );
 
94
  update_option('wp_use_aff_platform', (isset($_POST['wp_use_aff_platform']) && $_POST['wp_use_aff_platform']!='') ? 'checked="checked"':'' );
95
 
96
  update_option('wp_shopping_cart_enable_sandbox', (isset($_POST['wp_shopping_cart_enable_sandbox']) && $_POST['wp_shopping_cart_enable_sandbox']!='') ? 'checked="checked"':'' );
97
  update_option('wp_shopping_cart_enable_debug', (isset($_POST['wp_shopping_cart_enable_debug']) && $_POST['wp_shopping_cart_enable_debug']!='') ? 'checked="checked"':'' );
98
 
99
  echo '<div id="message" class="updated fade">';
100
- echo '<p><strong>'.(__("Options Updated!", "WSPSC")).'</strong></p></div>';
101
  }
102
 
103
  $defaultCurrency = get_option('cart_payment_currency');
104
- if (empty($defaultCurrency)) $defaultCurrency = __("USD", "WSPSC");
105
 
106
  $defaultSymbol = get_option('cart_currency_symbol');
107
- if (empty($defaultSymbol)) $defaultSymbol = __("$", "WSPSC");
108
 
109
  $baseShipping = get_option('cart_base_shipping_cost');
110
  if (empty($baseShipping)) $baseShipping = 0;
@@ -115,17 +133,15 @@ function show_wp_cart_options_page ()
115
  if (empty($defaultEmail)) $defaultEmail = get_bloginfo('admin_email');
116
 
117
  $return_url = get_option('cart_return_from_paypal_url');
118
-
119
  $addcart = get_option('addToCartButtonName');
120
- if (empty($addcart)) $addcart = __("Add to Cart", "WSPSC");
121
 
122
- $title = get_option('wp_cart_title');
123
- //if (empty($title)) $title = __("Your Shopping Cart", "WSPSC");
124
-
125
- $emptyCartText = get_option('wp_cart_empty_text');
126
- $cart_products_page_url = get_option('cart_products_page_url');
127
-
128
- $cart_checkout_page_url = get_option('cart_checkout_page_url');
129
  if (get_option('wp_shopping_cart_auto_redirect_to_checkout_page'))
130
  $wp_shopping_cart_auto_redirect_to_checkout_page = 'checked="checked"';
131
  else
@@ -163,11 +179,18 @@ function show_wp_cart_options_page ()
163
  if (get_option('wp_shopping_cart_strict_email_check')){
164
  $wp_shopping_cart_strict_email_check = 'checked="checked"';
165
  }
166
-
167
- if (get_option('wp_use_aff_platform'))
 
 
 
 
 
168
  $wp_use_aff_platform = 'checked="checked"';
169
- else
 
170
  $wp_use_aff_platform = '';
 
171
 
172
  //$wp_shopping_cart_enable_sandbox = get_option('wp_shopping_cart_enable_sandbox');
173
  if (get_option('wp_shopping_cart_enable_sandbox'))
@@ -180,21 +203,21 @@ function show_wp_cart_options_page ()
180
  $wp_shopping_cart_enable_debug = 'checked="checked"';
181
  }
182
  ?>
183
- <h2><?php _e("Simple PayPal Shopping Cart Settings", "WSPSC"); ?> v <?php echo WP_CART_VERSION; ?></h2>
184
 
185
  <div style="background: none repeat scroll 0 0 #FFF6D5;border: 1px solid #D1B655;color: #3F2502;margin: 10px 0;padding: 5px 5px 5px 10px;text-shadow: 1px 1px #FFFFFF;">
186
- <p><?php _e("For more information, updates, detailed documentation and video tutorial, please visit:", "WSPSC"); ?><br />
187
- <a href="https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768" target="_blank"><?php _e("WP Simple Cart Homepage", "WSPSC"); ?></a></p>
188
  </div>
189
 
190
  <div class="postbox">
191
- <h3><label for="title"><?php _e("Quick Usage Guide", "WSPSC"); ?></label></h3>
192
  <div class="inside">
193
 
194
- <p><strong><?php _e("Step 1) ","WSPSC"); ?></strong><?php _e("To add an 'Add to Cart' button for a product simply add the shortcode", "WSPSC"); ?> [wp_cart_button name="<?php _e("PRODUCT-NAME", "WSPSC"); ?>" price="<?php _e("PRODUCT-PRICE", "WSPSC"); ?>"] <?php _e("to a post or page next to the product. Replace PRODUCT-NAME and PRODUCT-PRICE with the actual name and price of your product.", "WSPSC"); ?></p>
195
- <p><?php _e("Example add to cart button shortcode usage:", "WSPSC");?> <p style="background-color: #DDDDDD; padding: 5px; display: inline;">[wp_cart_button name="Test Product" price="29.95"]</p></p>
196
- <p><strong><?php _e("Step 2) ","WSPSC"); ?></strong><?php _e("To add the shopping cart to a post or page (example: a checkout page) simply add the shortcode", "WSPSC"); ?> [show_wp_shopping_cart] <?php _e("to a post or page or use the sidebar widget to add the shopping cart to the sidebar.", "WSPSC"); ?></p>
197
- <p><?php _e("Example shopping cart shortcode usage:", "WSPSC");?> <p style="background-color: #DDDDDD; padding: 5px; display: inline;">[show_wp_shopping_cart]</p></p>
198
  </div></div>
199
 
200
  <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
@@ -203,144 +226,157 @@ function show_wp_cart_options_page ()
203
  <?php
204
  echo '
205
  <div class="postbox">
206
- <h3><label for="title">'.(__("PayPal and Shopping Cart Settings", "WSPSC")).'</label></h3>
207
  <div class="inside">';
208
 
209
  echo '
210
  <table class="form-table">
211
  <tr valign="top">
212
- <th scope="row">'.(__("Paypal Email Address", "WSPSC")).'</th>
213
- <td><input type="text" name="cart_paypal_email" value="'.$defaultEmail.'" size="40" /></td>
214
  </tr>
215
  <tr valign="top">
216
- <th scope="row">'.(__("Shopping Cart title", "WSPSC")).'</th>
217
- <td><input type="text" name="wp_cart_title" value="'.$title.'" size="40" /></td>
218
  </tr>
219
  <tr valign="top">
220
- <th scope="row">'.(__("Text/Image to Show When Cart Empty", "WSPSC")).'</th>
221
- <td><input type="text" name="wp_cart_empty_text" value="'.$emptyCartText.'" size="60" /><br />'.(__("You can either enter plain text or the URL of an image that you want to show when the shopping cart is empty", "WSPSC")).'</td>
222
  </tr>
223
  <tr valign="top">
224
- <th scope="row">'.(__("Currency", "WSPSC")).'</th>
225
- <td><input type="text" name="cart_payment_currency" value="'.$defaultCurrency.'" size="6" /> ('.(__("e.g.", "WSPSC")).' USD, EUR, GBP, AUD)</td>
226
  </tr>
227
  <tr valign="top">
228
- <th scope="row">'.(__("Currency Symbol", "WSPSC")).'</th>
229
- <td><input type="text" name="cart_currency_symbol" value="'.$defaultSymbol.'" size="2" style="width: 1.5em;" /> ('.(__("e.g.", "WSPSC")).' $, &#163;, &#8364;)
230
  </td>
231
  </tr>
232
 
233
  <tr valign="top">
234
- <th scope="row">'.(__("Base Shipping Cost", "WSPSC")).'</th>
235
- <td><input type="text" name="cart_base_shipping_cost" value="'.$baseShipping.'" size="5" /> <br />'.(__("This is the base shipping cost that will be added to the total of individual products shipping cost. Put 0 if you do not want to charge shipping cost or use base shipping cost.", "WSPSC")).' <a href="http://www.tipsandtricks-hq.com/ecommerce/?p=297" target="_blank">'.(__("Learn More on Shipping Calculation", "WSPSC")).'</a></td>
236
  </tr>
237
 
238
  <tr valign="top">
239
- <th scope="row">'.(__("Free Shipping for Orders Over", "WSPSC")).'</th>
240
- <td><input type="text" name="cart_free_shipping_threshold" value="'.$cart_free_shipping_threshold.'" size="5" /> <br />'.(__("When a customer orders more than this amount he/she will get free shipping. Leave empty if you do not want to use it.", "WSPSC")).'</td>
241
  </tr>
242
 
243
  <tr valign="top">
244
- <th scope="row">'.(__("Must Collect Shipping Address on PayPal", "WSPSC")).'</th>
245
- <td><input type="checkbox" name="wp_shopping_cart_collect_address" value="1" '.$wp_shopping_cart_collect_address.' /><br />'.(__("If checked the customer will be forced to enter a shipping address on PayPal when checking out.", "WSPSC")).'</td>
246
  </tr>
247
 
248
  <tr valign="top">
249
- <th scope="row">'.(__("Use PayPal Profile Based Shipping", "WSPSC")).'</th>
250
- <td><input type="checkbox" name="wp_shopping_cart_use_profile_shipping" value="1" '.$wp_shopping_cart_use_profile_shipping.' /><br />'.(__("Check this if you want to use", "WSPSC")).' <a href="https://www.tipsandtricks-hq.com/setup-paypal-profile-based-shipping-5865" target="_blank">'.(__("PayPal profile based shipping", "WSPSC")).'</a>. '.(__("Using this will ignore any other shipping options that you have specified in this plugin.", "WSPSC")).'</td>
251
  </tr>
252
 
253
  <tr valign="top">
254
- <th scope="row">'.(__("Add to Cart button text or Image", "WSPSC")).'</th>
255
- <td><input type="text" name="addToCartButtonName" value="'.$addcart.'" size="100" />
256
- <br />'.(__("To use a customized image as the button simply enter the URL of the image file.", "WSPSC")).' '.(__("e.g.", "WSPSC")).' http://www.your-domain.com/wp-content/plugins/wordpress-paypal-shopping-cart/images/buy_now_button.png
257
  <br />You can download nice add to cart button images from <a href="http://www.tipsandtricks-hq.com/ecommerce/add-to-cart-button-images-for-shopping-cart-631" target="_blank">this page</a>.
258
  </td>
259
  </tr>
260
 
261
  <tr valign="top">
262
- <th scope="row">'.(__("Return URL", "WSPSC")).'</th>
263
- <td><input type="text" name="cart_return_from_paypal_url" value="'.$return_url.'" size="100" /><br />'.(__("This is the URL the customer will be redirected to after a successful payment", "WSPSC")).'</td>
 
 
 
 
 
264
  </tr>
265
 
266
  <tr valign="top">
267
- <th scope="row">'.(__("Products Page URL", "WSPSC")).'</th>
268
- <td><input type="text" name="cart_products_page_url" value="'.$cart_products_page_url.'" size="100" /><br />'.(__("This is the URL of your products page if you have any. If used, the shopping cart widget will display a link to this page when cart is empty", "WSPSC")).'</td>
269
  </tr>
270
 
271
  <tr valign="top">
272
- <th scope="row">'.(__("Automatic redirection to checkout page", "WSPSC")).'</th>
273
  <td><input type="checkbox" name="wp_shopping_cart_auto_redirect_to_checkout_page" value="1" '.$wp_shopping_cart_auto_redirect_to_checkout_page.' />
274
- '.(__("Checkout Page URL", "WSPSC")).': <input type="text" name="cart_checkout_page_url" value="'.$cart_checkout_page_url.'" size="60" />
275
- <br />'.(__("If checked the visitor will be redirected to the Checkout page after a product is added to the cart. You must enter a URL in the Checkout Page URL field for this to work.", "WSPSC")).'</td>
276
  </tr>
277
 
278
  <tr valign="top">
279
- <th scope="row">'.(__("Open PayPal Checkout Page in a New Tab", "WSPSC")).'</th>
280
  <td><input type="checkbox" name="wspsc_open_pp_checkout_in_new_tab" value="1" '.$wspsc_open_pp_checkout_in_new_tab.' />
281
- <br />'.(__("If checked the PayPal checkout page will be opened in a new tab/window when the user clicks the checkout button.", "WSPSC")).'</td>
282
  </tr>
283
 
284
  <tr valign="top">
285
- <th scope="row">'.(__("Reset Cart After Redirection to Return Page", "WSPSC")).'</th>
286
  <td><input type="checkbox" name="wp_shopping_cart_reset_after_redirection_to_return_page" value="1" '.$wp_shopping_cart_reset_after_redirection_to_return_page.' />
287
- <br />'.(__("If checked the shopping cart will be reset when the customer lands on the return URL (Thank You) page.", "WSPSC")).'</td>
288
  </tr>
289
  </table>
290
 
291
 
292
  <table class="form-table">
293
  <tr valign="top">
294
- <th scope="row">'.(__("Hide Shopping Cart Image", "WSPSC")).'</th>
295
- <td><input type="checkbox" name="wp_shopping_cart_image_hide" value="1" '.$wp_cart_image_hide.' /><br />'.(__("If ticked the shopping cart image will not be shown.", "WSPSC")).'</td>
 
 
 
 
 
 
 
 
296
  </tr>
297
  </table>
298
 
299
  <table class="form-table">
300
  <tr valign="top">
301
- <th scope="row">'.(__("Customize the Note to Seller Text", "WSPSC")).'</th>
302
- <td><input type="text" name="wp_cart_note_to_seller_text" value="'.$wp_cart_note_to_seller_text.'" size="100" />
303
- <br />'.(__("Specify the text that you want to use for the note field on PayPal checkout page to collect special instruction (leave this field empty if you don't need to customize it). The default label for the note field is \"Add special instructions to merchant\".", "WSPSC")).'</td>
304
  </tr>
305
  </table>
306
 
307
  <table class="form-table">
308
  <tr valign="top">
309
- <th scope="row">'.(__("Custom Checkout Page Style Name", "WSPSC")).'</th>
310
- <td><input type="text" name="wp_cart_paypal_co_page_style" value="'.$wp_cart_paypal_co_page_style.'" size="40" />
311
- <br />'.(__("Specify the page style name here if you want to customize the paypal checkout page with custom page style otherwise leave this field empty.", "WSPSC")).'</td>
312
  </tr>
313
  </table>
314
 
315
  <table class="form-table">
316
  <tr valign="top">
317
- <th scope="row">'.(__("Use Strict PayPal Email Address Checking", "WSPSC")).'</th>
318
- <td><input type="checkbox" name="wp_shopping_cart_strict_email_check" value="1" '.$wp_shopping_cart_strict_email_check.' /><br />'.(__("If checked the script will check to make sure that the PayPal email address specified is the same as the account where the payment was deposited (Usage of PayPal Email Alias will fail too).", "WSPSC")).'</td>
 
319
  </tr>
320
  </table>
321
 
322
  <table class="form-table">
323
  <tr valign="top">
324
- <th scope="row">'.(__("Use WP Affiliate Platform", "WSPSC")).'</th>
325
  <td><input type="checkbox" name="wp_use_aff_platform" value="1" '.$wp_use_aff_platform.' />
326
- <br />'.(__("Check this if using with the", "WSPSC")).' <a href="https://www.tipsandtricks-hq.com/?p=1474" target="_blank">WP Affiliate Platform plugin</a>. '.(__("This plugin lets you run your own affiliate campaign/program and allows you to reward (pay commission) your affiliates for referred sales", "WSPSC")).'</td>
327
  </tr>
328
  </table>
329
  </div></div>
330
 
331
  <div class="postbox">
332
- <h3><label for="title">'.(__("Testing and Debugging Settings", "WSPSC")).'</label></h3>
333
  <div class="inside">
334
 
335
  <table class="form-table">
336
 
337
  <tr valign="top">
338
- <th scope="row">'.(__("Enable Debug", "WSPSC")).'</th>
339
  <td><input type="checkbox" name="wp_shopping_cart_enable_debug" value="1" '.$wp_shopping_cart_enable_debug.' />
340
- <br />'.(__("If checked, debug output will be written to the log file. This is useful for troubleshooting post payment failures", "WSPSC")).'
341
  <p><i>You can check the debug log file by clicking on the link below (The log file can be viewed using any text editor):</i>
342
  <ul>
343
- <li><a href="'.WP_CART_URL.'/ipn_handle_debug.log" target="_blank">ipn_handle_debug.log</a></li>
344
  </ul>
345
  </p>
346
  <input type="submit" name="wspsc_reset_logfile" class="button" style="font-weight:bold; color:red" value="Reset Debug Log file"/>
@@ -348,9 +384,9 @@ echo '
348
  </td></tr>
349
 
350
  <tr valign="top">
351
- <th scope="row">'.(__("Enable Sandbox Testing", "WSPSC")).'</th>
352
  <td><input type="checkbox" name="wp_shopping_cart_enable_sandbox" value="1" '.$wp_shopping_cart_enable_sandbox.' />
353
- <br />'.(__("Check this option if you want to do PayPal sandbox testing. You will need to create a PayPal sandbox account from PayPal Developer site", "WSPSC")).'</td>
354
  </tr>
355
 
356
  </table>
@@ -359,16 +395,20 @@ echo '
359
  </div>
360
 
361
  <div class="submit">
362
- <input type="submit" class="button-primary" name="info_update" value="'.(__("Update Options &raquo;", "WSPSC")).'" />
363
  </div>
364
  </form>
365
  ';
366
- echo (__("Like the Simple WordPress Shopping Cart Plugin?", "WSPSC")).' <a href="http://wordpress.org/extend/plugins/wordpress-simple-paypal-shopping-cart" target="_blank">'.(__("Give it a good rating", "WSPSC")).'</a>';
367
  wpspsc_settings_menu_footer();
368
  }
369
 
370
  function show_wp_cart_email_settings_page()
371
  {
 
 
 
 
372
  if (isset($_POST['wpspc_email_settings_update']))
373
  {
374
  $nonce = $_REQUEST['_wpnonce'];
@@ -419,8 +459,8 @@ function show_wp_cart_email_settings_page()
419
  ?>
420
 
421
  <div style="background: none repeat scroll 0 0 #FFF6D5;border: 1px solid #D1B655;color: #3F2502;margin: 10px 0;padding: 5px 5px 5px 10px;text-shadow: 1px 1px #FFFFFF;">
422
- <p><?php _e("For more information, updates, detailed documentation and video tutorial, please visit:", "WSPSC"); ?><br />
423
- <a href="https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768" target="_blank"><?php _e("WP Simple Cart Homepage", "WSPSC"); ?></a></p>
424
  </div>
425
 
426
  <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
@@ -428,75 +468,78 @@ function show_wp_cart_email_settings_page()
428
  <input type="hidden" name="info_update" id="info_update" value="true" />
429
 
430
  <div class="postbox">
431
- <h3><label for="title"><?php _e("Purchase Confirmation Email Settings", "WSPSC");?></label></h3>
432
  <div class="inside">
433
 
434
- <p><i><?php _e("The following options affect the emails that gets sent to your buyers after a purchase.", "WSPSC");?></i></p>
435
 
436
  <table class="form-table">
437
 
438
  <tr valign="top">
439
- <th scope="row"><?php _e("Send Emails to Buyer After Purchase", "WSPSC");?></th>
440
- <td><input type="checkbox" name="wpspc_send_buyer_email" value="1" <?php echo $wpspc_send_buyer_email; ?> /><span class="description"><?php _e("If checked the plugin will send an email to the buyer with the sale details. If digital goods are purchased then the email will contain the download links for the purchased products.", "WSPSC");?></a></span></td>
441
  </tr>
442
 
443
  <tr valign="top">
444
- <th scope="row"><?php _e("From Email Address", "WSPSC");?></th>
445
- <td><input type="text" name="wpspc_buyer_from_email" value="<?php echo $wpspc_buyer_from_email; ?>" size="50" />
446
- <br /><p class="description"><?php _e("Example: Your Name &lt;sales@your-domain.com&gt; This is the email address that will be used to send the email to the buyer. This name and email address will appear in the from field of the email.", "WSPSC");?></p></td>
447
  </tr>
448
 
449
  <tr valign="top">
450
- <th scope="row"><?php _e("Buyer Email Subject", "WSPSC");?></th>
451
- <td><input type="text" name="wpspc_buyer_email_subj" value="<?php echo $wpspc_buyer_email_subj; ?>" size="50" />
452
- <br /><p class="description"><?php _e("This is the subject of the email that will be sent to the buyer.", "WSPSC");?></p></td>
453
  </tr>
454
 
455
  <tr valign="top">
456
- <th scope="row"><?php _e("Buyer Email Body", "WSPSC");?></th>
457
  <td>
458
- <textarea name="wpspc_buyer_email_body" cols="90" rows="7"><?php echo $wpspc_buyer_email_body; ?></textarea>
459
- <br /><p class="description"><?php _e("This is the body of the email that will be sent to the buyer. Do not change the text within the braces {}. You can use the following email tags in this email body field:", "WSPSC");?>
460
- <br />{first_name} – <?php _e("First name of the buyer", "WSPSC");?>
461
- <br />{last_name} – <?php _e("Last name of the buyer", "WSPSC");?>
462
- <br />{product_details} – <?php _e("The item details of the purchased product (this will include the download link for digital items).", "WSPSC");?>
463
- <br />{transaction_id} – <?php _e("The unique transaction ID of the purchase", "WSPSC");?>
464
- <br />{purchase_amt} – <?php _e("The amount paid for the current transaction", "WSPSC");?>
465
- <br />{purchase_date} – <?php _e("The date of the purchase", "WSPSC");?>
466
- <br />{coupon_code} – <?php _e("Coupon code applied to the purchase", "WSPSC");?>
 
 
467
  </p></td>
468
  </tr>
469
 
470
  <tr valign="top">
471
- <th scope="row"><?php _e("Send Emails to Seller After Purchase", "WSPSC");?></th>
472
- <td><input type="checkbox" name="wpspc_send_seller_email" value="1" <?php echo $wpspc_send_seller_email; ?> /><span class="description"><?php _e("If checked the plugin will send an email to the seller with the sale details", "WSPSC");?></a></span></td>
473
  </tr>
474
 
475
  <tr valign="top">
476
- <th scope="row"><?php _e("Notification Email Address*", "WSPSC");?></th>
477
- <td><input type="text" name="wpspc_notify_email_address" value="<?php echo $wpspc_notify_email_address; ?>" size="50" />
478
- <br /><p class="description"><?php _e("This is the email address where the seller will be notified of product sales. You can put multiple email addresses separated by comma (,) in the above field to send the notification to multiple email addresses.", "WSPSC");?></p></td>
479
  </tr>
480
 
481
  <tr valign="top">
482
- <th scope="row"><?php _e("Seller Email Subject*", "WSPSC");?></th>
483
- <td><input type="text" name="wpspc_seller_email_subj" value="<?php echo $wpspc_seller_email_subj; ?>" size="50" />
484
- <br /><p class="description"><?php _e("This is the subject of the email that will be sent to the seller for record.", "WSPSC");?></p></td>
485
  </tr>
486
 
487
  <tr valign="top">
488
- <th scope="row"><?php _e("Seller Email Body*", "WSPSC");?></th>
489
  <td>
490
- <textarea name="wpspc_seller_email_body" cols="90" rows="7"><?php echo $wpspc_seller_email_body; ?></textarea>
491
- <br /><p class="description"><?php _e("This is the body of the email that will be sent to the seller for record. Do not change the text within the braces {}. You can use the following email tags in this email body field:", "WSPSC");?>
492
- <br />{first_name} – <?php _e("First name of the buyer", "WSPSC");?>
493
- <br />{last_name} – <?php _e("Last name of the buyer", "WSPSC");?>
494
- <br />{payer_email} – <?php _e("Email Address of the buyer", "WSPSC");?>
495
- <br />{product_details} – <?php _e("The item details of the purchased product (this will include the download link for digital items).", "WSPSC");?>
496
- <br />{transaction_id} – <?php _e("The unique transaction ID of the purchase", "WSPSC");?>
497
- <br />{purchase_amt} – <?php _e("The amount paid for the current transaction", "WSPSC");?>
498
- <br />{purchase_date} – <?php _e("The date of the purchase", "WSPSC");?>
499
- <br />{coupon_code} – <?php _e("Coupon code applied to the purchase", "WSPSC");?>
 
500
  </p></td>
501
  </tr>
502
 
@@ -505,7 +548,7 @@ function show_wp_cart_email_settings_page()
505
  </div></div>
506
 
507
  <div class="submit">
508
- <input type="submit" class="button-primary" name="wpspc_email_settings_update" value="<?php echo (__("Update Options &raquo;", "WSPSC")) ?>" />
509
  </div>
510
  </form>
511
 
1
  <?php
2
 
3
+ /*
4
+ * Main settings menu. Only admin user with "manage_options" permission can access this menu page.
5
+ */
6
  function wp_cart_options()
7
+ {
8
+ if(!current_user_can('manage_options')){
9
+ wp_die('You do not have permission to access this settings page.');
10
+ }
11
+
12
  $wpspc_plugin_tabs = array(
13
  'wordpress-paypal-shopping-cart' => 'General Settings',
14
  'wordpress-paypal-shopping-cart&action=email-settings' => 'Email Settings',
15
  'wordpress-paypal-shopping-cart&action=discount-settings' => 'Coupon/Discount'
16
  );
17
+ echo '<div class="wrap">';
18
+ echo '<h1>'.(__("WP Paypal Shopping Cart Options", "wordpress-simple-paypal-shopping-cart")).'</h1>';
19
+
20
  $current = "";
21
  if(isset($_GET['page'])){
22
  $current = $_GET['page'];
59
  echo '</div>';
60
  }
61
 
62
+ /*
63
+ * General settings menu page
64
+ */
65
  function show_wp_cart_options_page ()
66
  {
67
+ if(!current_user_can('manage_options')){
68
+ wp_die('You do not have permission to access this settings page.');
69
+ }
70
+
71
  if(isset($_POST['wspsc_reset_logfile'])) {
72
  // Reset the debug log file
73
  if(wspsc_reset_logfile()){
74
  echo '<div id="message" class="updated fade"><p><strong>Debug log file has been reset!</strong></p></div>';
75
  }
76
  else{
77
+ echo '<div id="message" class="updated fade"><p><strong>Debug log file could not be reset!</strong></p></div>';
78
  }
79
  }
80
  if (isset($_POST['info_update']))
81
  {
82
  $nonce = $_REQUEST['_wpnonce'];
83
+ if ( !wp_verify_nonce($nonce, 'wp_simple_cart_settings_update')){
84
+ wp_die('Error! Nonce Security Check Failed! Go back to settings menu and save the settings again.');
85
+ }
86
+
87
+ update_option('cart_payment_currency', sanitize_text_field($_POST["cart_payment_currency"]));
88
+ update_option('cart_currency_symbol', sanitize_text_field($_POST["cart_currency_symbol"]));
89
+ update_option('cart_base_shipping_cost', sanitize_text_field($_POST["cart_base_shipping_cost"]));
90
+ update_option('cart_free_shipping_threshold', sanitize_text_field($_POST["cart_free_shipping_threshold"]));
91
  update_option('wp_shopping_cart_collect_address', (isset($_POST['wp_shopping_cart_collect_address']) && $_POST['wp_shopping_cart_collect_address']!='') ? 'checked="checked"':'' );
92
  update_option('wp_shopping_cart_use_profile_shipping', (isset($_POST['wp_shopping_cart_use_profile_shipping']) && $_POST['wp_shopping_cart_use_profile_shipping']!='') ? 'checked="checked"':'' );
93
 
94
+ update_option('cart_paypal_email', sanitize_email($_POST["cart_paypal_email"]));
95
+ update_option('addToCartButtonName', sanitize_text_field($_POST["addToCartButtonName"]));
96
+ update_option('wp_cart_title', sanitize_text_field($_POST["wp_cart_title"]));
97
+ update_option('wp_cart_empty_text', sanitize_text_field($_POST["wp_cart_empty_text"]));
98
+ update_option('cart_return_from_paypal_url', sanitize_text_field($_POST["cart_return_from_paypal_url"]));
99
+ update_option('cart_cancel_from_paypal_url', sanitize_text_field($_POST["cart_cancel_from_paypal_url"]));
100
+ update_option('cart_products_page_url', sanitize_text_field($_POST["cart_products_page_url"]));
101
+
102
  update_option('wp_shopping_cart_auto_redirect_to_checkout_page', (isset($_POST['wp_shopping_cart_auto_redirect_to_checkout_page']) && $_POST['wp_shopping_cart_auto_redirect_to_checkout_page']!='') ? 'checked="checked"':'' );
103
+ update_option('cart_checkout_page_url', sanitize_text_field($_POST["cart_checkout_page_url"]));
104
  update_option('wspsc_open_pp_checkout_in_new_tab', (isset($_POST['wspsc_open_pp_checkout_in_new_tab']) && $_POST['wspsc_open_pp_checkout_in_new_tab']!='') ? 'checked="checked"':'' );
105
  update_option('wp_shopping_cart_reset_after_redirection_to_return_page', (isset($_POST['wp_shopping_cart_reset_after_redirection_to_return_page']) && $_POST['wp_shopping_cart_reset_after_redirection_to_return_page']!='') ? 'checked="checked"':'' );
106
+
107
  update_option('wp_shopping_cart_image_hide', (isset($_POST['wp_shopping_cart_image_hide']) && $_POST['wp_shopping_cart_image_hide']!='') ? 'checked="checked"':'' );
108
+ update_option('wp_cart_note_to_seller_text', sanitize_text_field($_POST["wp_cart_note_to_seller_text"]));
109
+ update_option('wp_cart_paypal_co_page_style', sanitize_text_field($_POST["wp_cart_paypal_co_page_style"]));
110
  update_option('wp_shopping_cart_strict_email_check', (isset($_POST['wp_shopping_cart_strict_email_check']) && $_POST['wp_shopping_cart_strict_email_check']!='') ? 'checked="checked"':'' );
111
+ update_option('wspsc_disable_nonce_add_cart', (isset($_POST['wspsc_disable_nonce_add_cart']) && $_POST['wspsc_disable_nonce_add_cart']!='') ? 'checked="checked"':'' );
112
  update_option('wp_use_aff_platform', (isset($_POST['wp_use_aff_platform']) && $_POST['wp_use_aff_platform']!='') ? 'checked="checked"':'' );
113
 
114
  update_option('wp_shopping_cart_enable_sandbox', (isset($_POST['wp_shopping_cart_enable_sandbox']) && $_POST['wp_shopping_cart_enable_sandbox']!='') ? 'checked="checked"':'' );
115
  update_option('wp_shopping_cart_enable_debug', (isset($_POST['wp_shopping_cart_enable_debug']) && $_POST['wp_shopping_cart_enable_debug']!='') ? 'checked="checked"':'' );
116
 
117
  echo '<div id="message" class="updated fade">';
118
+ echo '<p><strong>'.(__("Options Updated!", "wordpress-simple-paypal-shopping-cart")).'</strong></p></div>';
119
  }
120
 
121
  $defaultCurrency = get_option('cart_payment_currency');
122
+ if (empty($defaultCurrency)) $defaultCurrency = __("USD", "wordpress-simple-paypal-shopping-cart");
123
 
124
  $defaultSymbol = get_option('cart_currency_symbol');
125
+ if (empty($defaultSymbol)) $defaultSymbol = __("$", "wordpress-simple-paypal-shopping-cart");
126
 
127
  $baseShipping = get_option('cart_base_shipping_cost');
128
  if (empty($baseShipping)) $baseShipping = 0;
133
  if (empty($defaultEmail)) $defaultEmail = get_bloginfo('admin_email');
134
 
135
  $return_url = get_option('cart_return_from_paypal_url');
136
+ $cancel_url = get_option('cart_cancel_from_paypal_url');
137
  $addcart = get_option('addToCartButtonName');
138
+ if (empty($addcart)) $addcart = __("Add to Cart", "wordpress-simple-paypal-shopping-cart");
139
 
140
+ $title = get_option('wp_cart_title');
141
+ $emptyCartText = get_option('wp_cart_empty_text');
142
+ $cart_products_page_url = get_option('cart_products_page_url');
143
+ $cart_checkout_page_url = get_option('cart_checkout_page_url');
144
+
 
 
145
  if (get_option('wp_shopping_cart_auto_redirect_to_checkout_page'))
146
  $wp_shopping_cart_auto_redirect_to_checkout_page = 'checked="checked"';
147
  else
179
  if (get_option('wp_shopping_cart_strict_email_check')){
180
  $wp_shopping_cart_strict_email_check = 'checked="checked"';
181
  }
182
+
183
+ $wspsc_disable_nonce_add_cart = '';
184
+ if (get_option('wspsc_disable_nonce_add_cart')){
185
+ $wspsc_disable_nonce_add_cart = 'checked="checked"';
186
+ }
187
+
188
+ if (get_option('wp_use_aff_platform')){
189
  $wp_use_aff_platform = 'checked="checked"';
190
+ }
191
+ else{
192
  $wp_use_aff_platform = '';
193
+ }
194
 
195
  //$wp_shopping_cart_enable_sandbox = get_option('wp_shopping_cart_enable_sandbox');
196
  if (get_option('wp_shopping_cart_enable_sandbox'))
203
  $wp_shopping_cart_enable_debug = 'checked="checked"';
204
  }
205
  ?>
206
+ <h2><?php _e("Simple PayPal Shopping Cart Settings", "wordpress-simple-paypal-shopping-cart"); ?> v <?php echo WP_CART_VERSION; ?></h2>
207
 
208
  <div style="background: none repeat scroll 0 0 #FFF6D5;border: 1px solid #D1B655;color: #3F2502;margin: 10px 0;padding: 5px 5px 5px 10px;text-shadow: 1px 1px #FFFFFF;">
209
+ <p><?php _e("For more information, updates, detailed documentation and video tutorial, please visit:", "wordpress-simple-paypal-shopping-cart"); ?><br />
210
+ <a href="https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768" target="_blank"><?php _e("WP Simple Cart Homepage", "wordpress-simple-paypal-shopping-cart"); ?></a></p>
211
  </div>
212
 
213
  <div class="postbox">
214
+ <h3 class="hndle"><label for="title"><?php _e("Quick Usage Guide", "wordpress-simple-paypal-shopping-cart"); ?></label></h3>
215
  <div class="inside">
216
 
217
+ <p><strong><?php _e("Step 1) ","wordpress-simple-paypal-shopping-cart"); ?></strong><?php _e("To add an 'Add to Cart' button for a product simply add the shortcode", "wordpress-simple-paypal-shopping-cart"); ?> [wp_cart_button name="<?php _e("PRODUCT-NAME", "wordpress-simple-paypal-shopping-cart"); ?>" price="<?php _e("PRODUCT-PRICE", "wordpress-simple-paypal-shopping-cart"); ?>"] <?php _e("to a post or page next to the product. Replace PRODUCT-NAME and PRODUCT-PRICE with the actual name and price of your product.", "wordpress-simple-paypal-shopping-cart"); ?></p>
218
+ <p><?php _e("Example add to cart button shortcode usage:", "wordpress-simple-paypal-shopping-cart");?> <p style="background-color: #DDDDDD; padding: 5px; display: inline;">[wp_cart_button name="Test Product" price="29.95"]</p></p>
219
+ <p><strong><?php _e("Step 2) ","wordpress-simple-paypal-shopping-cart"); ?></strong><?php _e("To add the shopping cart to a post or page (example: a checkout page) simply add the shortcode", "wordpress-simple-paypal-shopping-cart"); ?> [show_wp_shopping_cart] <?php _e("to a post or page or use the sidebar widget to add the shopping cart to the sidebar.", "wordpress-simple-paypal-shopping-cart"); ?></p>
220
+ <p><?php _e("Example shopping cart shortcode usage:", "wordpress-simple-paypal-shopping-cart");?> <p style="background-color: #DDDDDD; padding: 5px; display: inline;">[show_wp_shopping_cart]</p></p>
221
  </div></div>
222
 
223
  <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
226
  <?php
227
  echo '
228
  <div class="postbox">
229
+ <h3 class="hndle"><label for="title">'.(__("PayPal and Shopping Cart Settings", "wordpress-simple-paypal-shopping-cart")).'</label></h3>
230
  <div class="inside">';
231
 
232
  echo '
233
  <table class="form-table">
234
  <tr valign="top">
235
+ <th scope="row">'.(__("Paypal Email Address", "wordpress-simple-paypal-shopping-cart")).'</th>
236
+ <td><input type="text" name="cart_paypal_email" value="'.esc_attr($defaultEmail).'" size="40" /></td>
237
  </tr>
238
  <tr valign="top">
239
+ <th scope="row">'.(__("Shopping Cart title", "wordpress-simple-paypal-shopping-cart")).'</th>
240
+ <td><input type="text" name="wp_cart_title" value="'.esc_attr($title).'" size="40" /></td>
241
  </tr>
242
  <tr valign="top">
243
+ <th scope="row">'.(__("Text/Image to Show When Cart Empty", "wordpress-simple-paypal-shopping-cart")).'</th>
244
+ <td><input type="text" name="wp_cart_empty_text" value="'.esc_attr($emptyCartText).'" size="60" /><br />'.(__("You can either enter plain text or the URL of an image that you want to show when the shopping cart is empty", "wordpress-simple-paypal-shopping-cart")).'</td>
245
  </tr>
246
  <tr valign="top">
247
+ <th scope="row">'.(__("Currency", "wordpress-simple-paypal-shopping-cart")).'</th>
248
+ <td><input type="text" name="cart_payment_currency" value="'.esc_attr($defaultCurrency).'" size="6" /> ('.(__("e.g.", "wordpress-simple-paypal-shopping-cart")).' USD, EUR, GBP, AUD)</td>
249
  </tr>
250
  <tr valign="top">
251
+ <th scope="row">'.(__("Currency Symbol", "wordpress-simple-paypal-shopping-cart")).'</th>
252
+ <td><input type="text" name="cart_currency_symbol" value="'.esc_attr($defaultSymbol).'" size="3" style="width: 2em;" /> ('.(__("e.g.", "wordpress-simple-paypal-shopping-cart")).' $, &#163;, &#8364;)
253
  </td>
254
  </tr>
255
 
256
  <tr valign="top">
257
+ <th scope="row">'.(__("Base Shipping Cost", "wordpress-simple-paypal-shopping-cart")).'</th>
258
+ <td><input type="text" name="cart_base_shipping_cost" value="'.esc_attr($baseShipping).'" size="5" /> <br />'.(__("This is the base shipping cost that will be added to the total of individual products shipping cost. Put 0 if you do not want to charge shipping cost or use base shipping cost.", "wordpress-simple-paypal-shopping-cart")).' <a href="http://www.tipsandtricks-hq.com/ecommerce/?p=297" target="_blank">'.(__("Learn More on Shipping Calculation", "wordpress-simple-paypal-shopping-cart")).'</a></td>
259
  </tr>
260
 
261
  <tr valign="top">
262
+ <th scope="row">'.(__("Free Shipping for Orders Over", "wordpress-simple-paypal-shopping-cart")).'</th>
263
+ <td><input type="text" name="cart_free_shipping_threshold" value="'.esc_attr($cart_free_shipping_threshold).'" size="5" /> <br />'.(__("When a customer orders more than this amount he/she will get free shipping. Leave empty if you do not want to use it.", "wordpress-simple-paypal-shopping-cart")).'</td>
264
  </tr>
265
 
266
  <tr valign="top">
267
+ <th scope="row">'.(__("Must Collect Shipping Address on PayPal", "wordpress-simple-paypal-shopping-cart")).'</th>
268
+ <td><input type="checkbox" name="wp_shopping_cart_collect_address" value="1" '.$wp_shopping_cart_collect_address.' /><br />'.(__("If checked the customer will be forced to enter a shipping address on PayPal when checking out.", "wordpress-simple-paypal-shopping-cart")).'</td>
269
  </tr>
270
 
271
  <tr valign="top">
272
+ <th scope="row">'.(__("Use PayPal Profile Based Shipping", "wordpress-simple-paypal-shopping-cart")).'</th>
273
+ <td><input type="checkbox" name="wp_shopping_cart_use_profile_shipping" value="1" '.$wp_shopping_cart_use_profile_shipping.' /><br />'.(__("Check this if you want to use", "wordpress-simple-paypal-shopping-cart")).' <a href="https://www.tipsandtricks-hq.com/setup-paypal-profile-based-shipping-5865" target="_blank">'.(__("PayPal profile based shipping", "wordpress-simple-paypal-shopping-cart")).'</a>. '.(__("Using this will ignore any other shipping options that you have specified in this plugin.", "wordpress-simple-paypal-shopping-cart")).'</td>
274
  </tr>
275
 
276
  <tr valign="top">
277
+ <th scope="row">'.(__("Add to Cart button text or Image", "wordpress-simple-paypal-shopping-cart")).'</th>
278
+ <td><input type="text" name="addToCartButtonName" value="'.esc_attr($addcart).'" size="100" />
279
+ <br />'.(__("To use a customized image as the button simply enter the URL of the image file.", "wordpress-simple-paypal-shopping-cart")).' '.(__("e.g.", "wordpress-simple-paypal-shopping-cart")).' http://www.your-domain.com/wp-content/plugins/wordpress-paypal-shopping-cart/images/buy_now_button.png
280
  <br />You can download nice add to cart button images from <a href="http://www.tipsandtricks-hq.com/ecommerce/add-to-cart-button-images-for-shopping-cart-631" target="_blank">this page</a>.
281
  </td>
282
  </tr>
283
 
284
  <tr valign="top">
285
+ <th scope="row">'.(__("Return URL", "wordpress-simple-paypal-shopping-cart")).'</th>
286
+ <td><input type="text" name="cart_return_from_paypal_url" value="'.esc_attr($return_url).'" size="100" /><br />'.(__("This is the URL the customer will be redirected to after a successful payment", "wordpress-simple-paypal-shopping-cart")).'</td>
287
+ </tr>
288
+
289
+ <tr valign="top">
290
+ <th scope="row">'.(__("Cancel URL", "wordpress-simple-paypal-shopping-cart")).'</th>
291
+ <td><input type="text" name="cart_cancel_from_paypal_url" value="'.esc_attr($cancel_url).'" size="100" /><br />'.(__("The customer will be sent to the above page if the cancel link is clicked on the PayPal checkout page.", "wordpress-simple-paypal-shopping-cart")).'</td>
292
  </tr>
293
 
294
  <tr valign="top">
295
+ <th scope="row">'.(__("Products Page URL", "wordpress-simple-paypal-shopping-cart")).'</th>
296
+ <td><input type="text" name="cart_products_page_url" value="'.esc_attr($cart_products_page_url).'" size="100" /><br />'.(__("This is the URL of your products page if you have any. If used, the shopping cart widget will display a link to this page when cart is empty", "wordpress-simple-paypal-shopping-cart")).'</td>
297
  </tr>
298
 
299
  <tr valign="top">
300
+ <th scope="row">'.(__("Automatic redirection to checkout page", "wordpress-simple-paypal-shopping-cart")).'</th>
301
  <td><input type="checkbox" name="wp_shopping_cart_auto_redirect_to_checkout_page" value="1" '.$wp_shopping_cart_auto_redirect_to_checkout_page.' />
302
+ '.(__("Checkout Page URL", "wordpress-simple-paypal-shopping-cart")).': <input type="text" name="cart_checkout_page_url" value="'.$cart_checkout_page_url.'" size="60" />
303
+ <br />'.(__("If checked the visitor will be redirected to the Checkout page after a product is added to the cart. You must enter a URL in the Checkout Page URL field for this to work.", "wordpress-simple-paypal-shopping-cart")).'</td>
304
  </tr>
305
 
306
  <tr valign="top">
307
+ <th scope="row">'.(__("Open PayPal Checkout Page in a New Tab", "wordpress-simple-paypal-shopping-cart")).'</th>
308
  <td><input type="checkbox" name="wspsc_open_pp_checkout_in_new_tab" value="1" '.$wspsc_open_pp_checkout_in_new_tab.' />
309
+ <br />'.(__("If checked the PayPal checkout page will be opened in a new tab/window when the user clicks the checkout button.", "wordpress-simple-paypal-shopping-cart")).'</td>
310
  </tr>
311
 
312
  <tr valign="top">
313
+ <th scope="row">'.(__("Reset Cart After Redirection to Return Page", "wordpress-simple-paypal-shopping-cart")).'</th>
314
  <td><input type="checkbox" name="wp_shopping_cart_reset_after_redirection_to_return_page" value="1" '.$wp_shopping_cart_reset_after_redirection_to_return_page.' />
315
+ <br />'.(__("If checked the shopping cart will be reset when the customer lands on the return URL (Thank You) page.", "wordpress-simple-paypal-shopping-cart")).'</td>
316
  </tr>
317
  </table>
318
 
319
 
320
  <table class="form-table">
321
  <tr valign="top">
322
+ <th scope="row">'.(__("Hide Shopping Cart Image", "wordpress-simple-paypal-shopping-cart")).'</th>
323
+ <td><input type="checkbox" name="wp_shopping_cart_image_hide" value="1" '.$wp_cart_image_hide.' /><br />'.(__("If ticked the shopping cart image will not be shown.", "wordpress-simple-paypal-shopping-cart")).'</td>
324
+ </tr>
325
+ </table>
326
+
327
+ <table class="form-table">
328
+ <tr valign="top">
329
+ <th scope="row">'.(__("Customize the Note to Seller Text", "wordpress-simple-paypal-shopping-cart")).'</th>
330
+ <td><input type="text" name="wp_cart_note_to_seller_text" value="'.esc_attr($wp_cart_note_to_seller_text).'" size="100" />
331
+ <br />'.(__("Specify the text that you want to use for the note field on PayPal checkout page to collect special instruction (leave this field empty if you don't need to customize it). The default label for the note field is \"Add special instructions to merchant\".", "wordpress-simple-paypal-shopping-cart")).'</td>
332
  </tr>
333
  </table>
334
 
335
  <table class="form-table">
336
  <tr valign="top">
337
+ <th scope="row">'.(__("Custom Checkout Page Style Name", "wordpress-simple-paypal-shopping-cart")).'</th>
338
+ <td><input type="text" name="wp_cart_paypal_co_page_style" value="'.esc_attr($wp_cart_paypal_co_page_style).'" size="40" />
339
+ <br />'.(__("Specify the page style name here if you want to customize the paypal checkout page with custom page style otherwise leave this field empty.", "wordpress-simple-paypal-shopping-cart")).'</td>
340
  </tr>
341
  </table>
342
 
343
  <table class="form-table">
344
  <tr valign="top">
345
+ <th scope="row">'.(__("Use Strict PayPal Email Address Checking", "wordpress-simple-paypal-shopping-cart")).'</th>
346
+ <td><input type="checkbox" name="wp_shopping_cart_strict_email_check" value="1" '.$wp_shopping_cart_strict_email_check.' /><br />'.(__("If checked the script will check to make sure that the PayPal email address specified is the same as the account where the payment was deposited (Usage of PayPal Email Alias will fail too).", "wordpress-simple-paypal-shopping-cart")).'</td>
 
347
  </tr>
348
  </table>
349
 
350
  <table class="form-table">
351
  <tr valign="top">
352
+ <th scope="row">'.(__("Disable Nonce Check for Add to Cart", "wordpress-simple-paypal-shopping-cart")).'</th>
353
+ <td><input type="checkbox" name="wspsc_disable_nonce_add_cart" value="1" '.$wspsc_disable_nonce_add_cart.' />
354
+ <br />'.(__("Check this option if you are using a caching solution on your site. This will bypass the nonce check on the add to cart buttons.", "wordpress-simple-paypal-shopping-cart")).'</td>
355
  </tr>
356
  </table>
357
 
358
  <table class="form-table">
359
  <tr valign="top">
360
+ <th scope="row">'.(__("Use WP Affiliate Platform", "wordpress-simple-paypal-shopping-cart")).'</th>
361
  <td><input type="checkbox" name="wp_use_aff_platform" value="1" '.$wp_use_aff_platform.' />
362
+ <br />'.(__("Check this if using with the", "wordpress-simple-paypal-shopping-cart")).' <a href="https://www.tipsandtricks-hq.com/?p=1474" target="_blank">WP Affiliate Platform plugin</a>. '.(__("This plugin lets you run your own affiliate campaign/program and allows you to reward (pay commission) your affiliates for referred sales", "wordpress-simple-paypal-shopping-cart")).'</td>
363
  </tr>
364
  </table>
365
  </div></div>
366
 
367
  <div class="postbox">
368
+ <h3 class="hndle"><label for="title">'.(__("Testing and Debugging Settings", "wordpress-simple-paypal-shopping-cart")).'</label></h3>
369
  <div class="inside">
370
 
371
  <table class="form-table">
372
 
373
  <tr valign="top">
374
+ <th scope="row">'.(__("Enable Debug", "wordpress-simple-paypal-shopping-cart")).'</th>
375
  <td><input type="checkbox" name="wp_shopping_cart_enable_debug" value="1" '.$wp_shopping_cart_enable_debug.' />
376
+ <br />'.(__("If checked, debug output will be written to the log file. This is useful for troubleshooting post payment failures", "wordpress-simple-paypal-shopping-cart")).'
377
  <p><i>You can check the debug log file by clicking on the link below (The log file can be viewed using any text editor):</i>
378
  <ul>
379
+ <li><a href="'.WP_CART_URL.'/ipn_handle_debug.txt" target="_blank">ipn_handle_debug.txt</a></li>
380
  </ul>
381
  </p>
382
  <input type="submit" name="wspsc_reset_logfile" class="button" style="font-weight:bold; color:red" value="Reset Debug Log file"/>
384
  </td></tr>
385
 
386
  <tr valign="top">
387
+ <th scope="row">'.(__("Enable Sandbox Testing", "wordpress-simple-paypal-shopping-cart")).'</th>
388
  <td><input type="checkbox" name="wp_shopping_cart_enable_sandbox" value="1" '.$wp_shopping_cart_enable_sandbox.' />
389
+ <br />'.(__("Check this option if you want to do PayPal sandbox testing. You will need to create a PayPal sandbox account from PayPal Developer site", "wordpress-simple-paypal-shopping-cart")).'</td>
390
  </tr>
391
 
392
  </table>
395
  </div>
396
 
397
  <div class="submit">
398
+ <input type="submit" class="button-primary" name="info_update" value="'.(__("Update Options &raquo;", "wordpress-simple-paypal-shopping-cart")).'" />
399
  </div>
400
  </form>
401
  ';
402
+ echo (__("Like the Simple WordPress Shopping Cart Plugin?", "wordpress-simple-paypal-shopping-cart")).' <a href="http://wordpress.org/extend/plugins/wordpress-simple-paypal-shopping-cart" target="_blank">'.(__("Give it a good rating", "wordpress-simple-paypal-shopping-cart")).'</a>';
403
  wpspsc_settings_menu_footer();
404
  }
405
 
406
  function show_wp_cart_email_settings_page()
407
  {
408
+ if(!current_user_can('manage_options')){
409
+ wp_die('You do not have permission to access the settings page.');
410
+ }
411
+
412
  if (isset($_POST['wpspc_email_settings_update']))
413
  {
414
  $nonce = $_REQUEST['_wpnonce'];
459
  ?>
460
 
461
  <div style="background: none repeat scroll 0 0 #FFF6D5;border: 1px solid #D1B655;color: #3F2502;margin: 10px 0;padding: 5px 5px 5px 10px;text-shadow: 1px 1px #FFFFFF;">
462
+ <p><?php _e("For more information, updates, detailed documentation and video tutorial, please visit:", "wordpress-simple-paypal-shopping-cart"); ?><br />
463
+ <a href="https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768" target="_blank"><?php _e("WP Simple Cart Homepage", "wordpress-simple-paypal-shopping-cart"); ?></a></p>
464
  </div>
465
 
466
  <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
468
  <input type="hidden" name="info_update" id="info_update" value="true" />
469
 
470
  <div class="postbox">
471
+ <h3 class="hndle"><label for="title"><?php _e("Purchase Confirmation Email Settings", "wordpress-simple-paypal-shopping-cart");?></label></h3>
472
  <div class="inside">
473
 
474
+ <p><i><?php _e("The following options affect the emails that gets sent to your buyers after a purchase.", "wordpress-simple-paypal-shopping-cart");?></i></p>
475
 
476
  <table class="form-table">
477
 
478
  <tr valign="top">
479
+ <th scope="row"><?php _e("Send Emails to Buyer After Purchase", "wordpress-simple-paypal-shopping-cart");?></th>
480
+ <td><input type="checkbox" name="wpspc_send_buyer_email" value="1" <?php echo $wpspc_send_buyer_email; ?> /><span class="description"><?php _e("If checked the plugin will send an email to the buyer with the sale details. If digital goods are purchased then the email will contain the download links for the purchased products.", "wordpress-simple-paypal-shopping-cart");?></a></span></td>
481
  </tr>
482
 
483
  <tr valign="top">
484
+ <th scope="row"><?php _e("From Email Address", "wordpress-simple-paypal-shopping-cart");?></th>
485
+ <td><input type="text" name="wpspc_buyer_from_email" value="<?php echo esc_attr($wpspc_buyer_from_email); ?>" size="50" />
486
+ <br /><p class="description"><?php _e("Example: Your Name &lt;sales@your-domain.com&gt; This is the email address that will be used to send the email to the buyer. This name and email address will appear in the from field of the email.", "wordpress-simple-paypal-shopping-cart");?></p></td>
487
  </tr>
488
 
489
  <tr valign="top">
490
+ <th scope="row"><?php _e("Buyer Email Subject", "wordpress-simple-paypal-shopping-cart");?></th>
491
+ <td><input type="text" name="wpspc_buyer_email_subj" value="<?php echo esc_attr($wpspc_buyer_email_subj); ?>" size="50" />
492
+ <br /><p class="description"><?php _e("This is the subject of the email that will be sent to the buyer.", "wordpress-simple-paypal-shopping-cart");?></p></td>
493
  </tr>
494
 
495
  <tr valign="top">
496
+ <th scope="row"><?php _e("Buyer Email Body", "wordpress-simple-paypal-shopping-cart");?></th>
497
  <td>
498
+ <textarea name="wpspc_buyer_email_body" cols="90" rows="7"><?php echo esc_textarea($wpspc_buyer_email_body); ?></textarea>
499
+ <br /><p class="description"><?php _e("This is the body of the email that will be sent to the buyer. Do not change the text within the braces {}. You can use the following email tags in this email body field:", "wordpress-simple-paypal-shopping-cart");?>
500
+ <br />{first_name} – <?php _e("First name of the buyer", "wordpress-simple-paypal-shopping-cart");?>
501
+ <br />{last_name} – <?php _e("Last name of the buyer", "wordpress-simple-paypal-shopping-cart");?>
502
+ <br />{payer_email} – <?php _e("Email Address of the buyer", "wordpress-simple-paypal-shopping-cart");?>
503
+ <br />{address} – <?php _e("Address of the buyer", "wordpress-simple-paypal-shopping-cart");?>
504
+ <br />{product_details} – <?php _e("The item details of the purchased product (this will include the download link for digital items).", "wordpress-simple-paypal-shopping-cart");?>
505
+ <br />{transaction_id} – <?php _e("The unique transaction ID of the purchase", "wordpress-simple-paypal-shopping-cart");?>
506
+ <br />{purchase_amt} – <?php _e("The amount paid for the current transaction", "wordpress-simple-paypal-shopping-cart");?>
507
+ <br />{purchase_date} – <?php _e("The date of the purchase", "wordpress-simple-paypal-shopping-cart");?>
508
+ <br />{coupon_code} – <?php _e("Coupon code applied to the purchase", "wordpress-simple-paypal-shopping-cart");?>
509
  </p></td>
510
  </tr>
511
 
512
  <tr valign="top">
513
+ <th scope="row"><?php _e("Send Emails to Seller After Purchase", "wordpress-simple-paypal-shopping-cart");?></th>
514
+ <td><input type="checkbox" name="wpspc_send_seller_email" value="1" <?php echo $wpspc_send_seller_email; ?> /><span class="description"><?php _e("If checked the plugin will send an email to the seller with the sale details", "wordpress-simple-paypal-shopping-cart");?></a></span></td>
515
  </tr>
516
 
517
  <tr valign="top">
518
+ <th scope="row"><?php _e("Notification Email Address*", "wordpress-simple-paypal-shopping-cart");?></th>
519
+ <td><input type="text" name="wpspc_notify_email_address" value="<?php echo esc_attr($wpspc_notify_email_address); ?>" size="50" />
520
+ <br /><p class="description"><?php _e("This is the email address where the seller will be notified of product sales. You can put multiple email addresses separated by comma (,) in the above field to send the notification to multiple email addresses.", "wordpress-simple-paypal-shopping-cart");?></p></td>
521
  </tr>
522
 
523
  <tr valign="top">
524
+ <th scope="row"><?php _e("Seller Email Subject*", "wordpress-simple-paypal-shopping-cart");?></th>
525
+ <td><input type="text" name="wpspc_seller_email_subj" value="<?php echo esc_attr($wpspc_seller_email_subj); ?>" size="50" />
526
+ <br /><p class="description"><?php _e("This is the subject of the email that will be sent to the seller for record.", "wordpress-simple-paypal-shopping-cart");?></p></td>
527
  </tr>
528
 
529
  <tr valign="top">
530
+ <th scope="row"><?php _e("Seller Email Body*", "wordpress-simple-paypal-shopping-cart");?></th>
531
  <td>
532
+ <textarea name="wpspc_seller_email_body" cols="90" rows="7"><?php echo esc_textarea($wpspc_seller_email_body); ?></textarea>
533
+ <br /><p class="description"><?php _e("This is the body of the email that will be sent to the seller for record. Do not change the text within the braces {}. You can use the following email tags in this email body field:", "wordpress-simple-paypal-shopping-cart");?>
534
+ <br />{first_name} – <?php _e("First name of the buyer", "wordpress-simple-paypal-shopping-cart");?>
535
+ <br />{last_name} – <?php _e("Last name of the buyer", "wordpress-simple-paypal-shopping-cart");?>
536
+ <br />{payer_email} – <?php _e("Email Address of the buyer", "wordpress-simple-paypal-shopping-cart");?>
537
+ <br />{address} – <?php _e("Address of the buyer", "wordpress-simple-paypal-shopping-cart");?>
538
+ <br />{product_details} – <?php _e("The item details of the purchased product (this will include the download link for digital items).", "wordpress-simple-paypal-shopping-cart");?>
539
+ <br />{transaction_id} – <?php _e("The unique transaction ID of the purchase", "wordpress-simple-paypal-shopping-cart");?>
540
+ <br />{purchase_amt} – <?php _e("The amount paid for the current transaction", "wordpress-simple-paypal-shopping-cart");?>
541
+ <br />{purchase_date} – <?php _e("The date of the purchase", "wordpress-simple-paypal-shopping-cart");?>
542
+ <br />{coupon_code} – <?php _e("Coupon code applied to the purchase", "wordpress-simple-paypal-shopping-cart");?>
543
  </p></td>
544
  </tr>
545
 
548
  </div></div>
549
 
550
  <div class="submit">
551
+ <input type="submit" class="button-primary" name="wpspc_email_settings_update" value="<?php echo (__("Update Options &raquo;", "wordpress-simple-paypal-shopping-cart")) ?>" />
552
  </div>
553
  </form>
554
 
wp_shopping_cart_shortcodes.php CHANGED
@@ -16,10 +16,10 @@ function wp_cart_button_handler($atts){
16
  ), $atts));
17
 
18
  if(empty($name)){
19
- return '<div style="color:red;">'.(__("Error! You must specify a product name in the shortcode.", "WSPSC")).'</div>';
20
  }
21
  if(empty($price)){
22
- return '<div style="color:red;">'.(__("Error! You must specify a price for your product in the shortcode.", "WSPSC")).'</div>';
23
  }
24
  $price = wspsc_strip_char_from_price_amount($price);
25
  $shipping = wspsc_strip_char_from_price_amount($shipping);
@@ -46,13 +46,13 @@ function wp_cart_display_product_handler($atts)
46
  ), $atts));
47
 
48
  if(empty($name)){
49
- return '<div style="color:red;">'.(__("Error! You must specify a product name in the shortcode.", "WSPSC")).'</div>';
50
  }
51
  if(empty($price)){
52
- return '<div style="color:red;">'.(__("Error! You must specify a price for your product in the shortcode.", "WSPSC")).'</div>';
53
  }
54
  if(empty($thumbnail)){
55
- return '<div style="color:red;">'.(__("Error! You must specify a thumbnail image for your product in the shortcode.", "WSPSC")).'</div>';
56
  }
57
  $price = wspsc_strip_char_from_price_amount($price);
58
  $shipping = wspsc_strip_char_from_price_amount($shipping);
@@ -61,7 +61,7 @@ function wp_cart_display_product_handler($atts)
61
  $thumbnail_code = '<a href="'.$thumb_target.'"><img src="'.$thumbnail.'"></a>';
62
  }
63
  $thumbnail_code = apply_filters('wspsc_product_box_thumbnail_code', $thumbnail_code, $atts);
64
- $currency_symbol = get_option('cart_currency_symbol');
65
  $formatted_price = print_payment_currency($price, $currency_symbol);
66
  $button_code = print_wp_cart_button_for_product($name, $price, $shipping, $var1, $var2, $var3, $atts);
67
 
@@ -92,7 +92,7 @@ EOT;
92
  function wspsc_compact_cart_handler($args)
93
  {
94
  $num_items = wpspc_get_total_cart_qty();
95
- $curSymbol = get_option('cart_currency_symbol');
96
  $checkout_url = get_option('cart_checkout_page_url');
97
 
98
  $output = "";
@@ -104,12 +104,12 @@ function wspsc_compact_cart_handler($args)
104
  $output .= $num_items . " " . $item_message;
105
  $output .= '<span class="wpsps_compact_cart_price"> '. print_payment_currency($cart_total,$curSymbol).'</span>';
106
  if(!empty($checkout_url)){
107
- $output .= '<a class="wpsps_compact_cart_co_btn" href="'.$checkout_url.'">'.__("View Cart", "WSPSC").'</a>';
108
  }
109
  }
110
  else{
111
  $cart_total = 0;
112
- $output .= __("Cart is empty", "WSPSC");
113
  $output .= '<span class="wpsps_compact_cart_price"> '. print_payment_currency($cart_total,$curSymbol).'</span>';
114
  }
115
  $output .= '</div>';
16
  ), $atts));
17
 
18
  if(empty($name)){
19
+ return '<div style="color:red;">'.(__("Error! You must specify a product name in the shortcode.", "wordpress-simple-paypal-shopping-cart")).'</div>';
20
  }
21
  if(empty($price)){
22
+ return '<div style="color:red;">'.(__("Error! You must specify a price for your product in the shortcode.", "wordpress-simple-paypal-shopping-cart")).'</div>';
23
  }
24
  $price = wspsc_strip_char_from_price_amount($price);
25
  $shipping = wspsc_strip_char_from_price_amount($shipping);
46
  ), $atts));
47
 
48
  if(empty($name)){
49
+ return '<div style="color:red;">'.(__("Error! You must specify a product name in the shortcode.", "wordpress-simple-paypal-shopping-cart")).'</div>';
50
  }
51
  if(empty($price)){
52
+ return '<div style="color:red;">'.(__("Error! You must specify a price for your product in the shortcode.", "wordpress-simple-paypal-shopping-cart")).'</div>';
53
  }
54
  if(empty($thumbnail)){
55
+ return '<div style="color:red;">'.(__("Error! You must specify a thumbnail image for your product in the shortcode.", "wordpress-simple-paypal-shopping-cart")).'</div>';
56
  }
57
  $price = wspsc_strip_char_from_price_amount($price);
58
  $shipping = wspsc_strip_char_from_price_amount($shipping);
61
  $thumbnail_code = '<a href="'.$thumb_target.'"><img src="'.$thumbnail.'"></a>';
62
  }
63
  $thumbnail_code = apply_filters('wspsc_product_box_thumbnail_code', $thumbnail_code, $atts);
64
+ $currency_symbol = WP_CART_CURRENCY_SYMBOL;
65
  $formatted_price = print_payment_currency($price, $currency_symbol);
66
  $button_code = print_wp_cart_button_for_product($name, $price, $shipping, $var1, $var2, $var3, $atts);
67
 
92
  function wspsc_compact_cart_handler($args)
93
  {
94
  $num_items = wpspc_get_total_cart_qty();
95
+ $curSymbol = WP_CART_CURRENCY_SYMBOL;
96
  $checkout_url = get_option('cart_checkout_page_url');
97
 
98
  $output = "";
104
  $output .= $num_items . " " . $item_message;
105
  $output .= '<span class="wpsps_compact_cart_price"> '. print_payment_currency($cart_total,$curSymbol).'</span>';
106
  if(!empty($checkout_url)){
107
+ $output .= '<a class="wpsps_compact_cart_co_btn" href="'.$checkout_url.'">'.__("View Cart", "wordpress-simple-paypal-shopping-cart").'</a>';
108
  }
109
  }
110
  else{
111
  $cart_total = 0;
112
+ $output .= __("Cart is empty", "wordpress-simple-paypal-shopping-cart");
113
  $output .= '<span class="wpsps_compact_cart_price"> '. print_payment_currency($cart_total,$curSymbol).'</span>';
114
  }
115
  $output .= '</div>';
wp_shopping_cart_utility_functions.php CHANGED
@@ -1,25 +1,37 @@
1
  <?php
2
 
3
- function wpspc_get_total_cart_qty()
4
- {
5
  $total_items = 0;
6
- if(!isset($_SESSION['simpleCart'])){
7
  return $total_items;
8
  }
9
- foreach ($_SESSION['simpleCart'] as $item){
10
  $total_items += $item['quantity'];
11
  }
12
  return $total_items;
13
  }
14
 
15
- function wpspc_get_total_cart_sub_total()
16
- {
17
  $sub_total = 0;
18
- if(!isset($_SESSION['simpleCart'])){
19
  return $sub_total;
20
- }
21
- foreach ($_SESSION['simpleCart'] as $item){
22
  $sub_total += $item['price'] * $item['quantity'];
23
  }
24
  return $sub_total;
25
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
 
3
+ function wpspc_get_total_cart_qty() {
 
4
  $total_items = 0;
5
+ if (!isset($_SESSION['simpleCart'])) {
6
  return $total_items;
7
  }
8
+ foreach ($_SESSION['simpleCart'] as $item) {
9
  $total_items += $item['quantity'];
10
  }
11
  return $total_items;
12
  }
13
 
14
+ function wpspc_get_total_cart_sub_total() {
 
15
  $sub_total = 0;
16
+ if (!isset($_SESSION['simpleCart'])) {
17
  return $sub_total;
18
+ }
19
+ foreach ($_SESSION['simpleCart'] as $item) {
20
  $sub_total += $item['price'] * $item['quantity'];
21
  }
22
  return $sub_total;
23
  }
24
+
25
+ function wspsc_clean_incomplete_old_cart_orders() {
26
+ //Empty any incomplete old cart orders (that are more than 12 hours old)
27
+ global $wpdb;
28
+ $specific_time = date('Y-m-d H:i:s', strtotime('-12 hours'));
29
+ $wpdb->query(
30
+ $wpdb->prepare("DELETE FROM $wpdb->posts
31
+ WHERE post_type = %s
32
+ AND post_status = %s
33
+ AND post_date < %s
34
+ ", 'wpsc_cart_orders', 'trash', $specific_time
35
+ )
36
+ );
37
+ }