Version Description
- Paypal standard and Paypal standard 2.0 shipping send shipping details
- Google Checkout do not send shipping if shipping is 0
- New Spanish translations
- Removed 'Click to Download' from purchase receipts and transaction results page
- Removed old unused Google Base Code
- New changes to purchase logs totals and tax
- Fixes to javascript errors from ratings.js
- Image Thumbnail Patch submitted by the amazing leewillis77
- Canonical URL / AISEOP fixes
- Backwards compatibility for update quantity code
- Encoded RSS URL so it validates
- New update message display below the auto-upgrade link in the WordPress plugin page submitted by the awesome husobj
- Image Cache fix should speed up those thumbnails
Download this release
Release Info
Developer | husobj |
Plugin | WP eCommerce |
Version | 3.7.6.2 |
Comparing to | |
See all releases |
Code changes from version 3.7.6RC2 to 3.7.6.2
- admin-form-functions.php +2 -10
- admin.js +3 -7
- currency_list.php +2 -2
- display-coupons.php +6 -23
- edit-profile.php +3 -2
- install_and_update.php +2 -0
- js/jquery.rating.js +3 -4
- js/wp-e-commerce.js +4 -4
- languages/wpsc-es_ES.mo +0 -0
- languages/wpsc-es_ES.po +293 -354
- merchants/GoogleCheckout-XML.php +27 -24
- merchants/paypal-standard.merchant.php +8 -5
- merchants/paypal_multiple.php +10 -4
- merchants/paypal_pro.php +4 -4
- readme.txt +16 -0
- themes/default/category_widget.php +2 -2
- themes/default/default.css +1 -5
- themes/default/grid_view.php +32 -33
- themes/default/images/gold-star.gif +0 -0
- themes/default/images/grey-star.gif +0 -0
- themes/default/list_view.php +2 -2
- themes/default/products_page.php +3 -3
- themes/default/shopping_cart_page.php +4 -4
- themes/iShop/grid_view.php +2 -2
- themes/iShop/images/gold-star.gif +0 -0
- themes/iShop/images/grey-star.gif +0 -0
- themes/iShop/list_view.php +2 -2
- themes/iShop/products_page.php +3 -3
- themes/iShop/shopping_cart_page.php +3 -5
- themes/marketplace/grid_view.php +2 -2
- themes/marketplace/images/gold-star.gif +0 -0
- themes/marketplace/images/grey-star.gif +0 -0
- themes/marketplace/list_view.php +2 -2
- themes/marketplace/products_page.php +3 -3
- themes/marketplace/shopping_cart_page.php +3 -5
- transaction_result_functions.php +2 -2
- transaction_results.php +6 -0
- user-downloads.php +4 -1
- user-log.php +1 -2
- wp-shopping-cart.php +34 -4
- wpsc-admin/admin.php +7 -7
- wpsc-admin/ajax-and-init.php +4 -3
- wpsc-admin/display-items.page.php +24 -5
- wpsc-admin/display-sales-logs.php +36 -4
- wpsc-admin/includes/display-items-functions.php +10 -7
- wpsc-admin/includes/google_base_functions.php +0 -243
- wpsc-admin/includes/product-functions.php +1 -17
- wpsc-admin/includes/settings-pages/admin.php +6 -1
- wpsc-admin/includes/settings-pages/general.php +24 -0
- wpsc-admin/includes/settings-pages/presentation.php +15 -10
- wpsc-admin/includes/settings-pages/shipping.php +1 -0
- wpsc-admin/js/admin.js +18 -8
- wpsc-includes/ajax.functions.php +33 -16
- wpsc-includes/cart.class.php +43 -16
- wpsc-includes/checkout.class.php +3 -3
- wpsc-includes/display.functions.php +1 -1
- wpsc-includes/install_and_update.functions.php +3 -1
- wpsc-includes/merchant.class.php +12 -2
- wpsc-includes/misc.functions.php +75 -27
- wpsc-includes/productfeed.php +20 -5
- wpsc-includes/purchaselogs.class.php +1 -1
- wpsc-includes/theme.functions.php +3 -3
- wpsc-includes/wpsc_query.php +77 -18
admin-form-functions.php
CHANGED
@@ -560,13 +560,7 @@ return $output;
|
|
560 |
|
561 |
}
|
562 |
function setting_button(){
|
563 |
-
$itemsFeedURL = "http://www.google.com/base/feeds/items";
|
564 |
$next_url = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']."?page=wpsc-edit-products";
|
565 |
-
$redirect_url = 'https://www.google.com/accounts/AuthSubRequest?session=1';
|
566 |
-
$redirect_url .= '&next=';
|
567 |
-
$redirect_url .= urlencode($next_url);
|
568 |
-
$redirect_url .= "&scope=";
|
569 |
-
$redirect_url .= urlencode($itemsFeedURL);
|
570 |
|
571 |
// $output.="<div><img src='".get_option('siteurl')."/wp-content/plugins/".WPSC_DIR_NAME."/images/settings_button.jpg' onclick='display_settings_button()'>";
|
572 |
$output.="<div style='float: right; margin-top: 0px; position: relative;'> | <a href='#' onclick='display_settings_button(); return false;' style='text-decoration: underline;'>".__('Settings', 'wpsc')." »</a>";
|
@@ -577,7 +571,6 @@ function setting_button(){
|
|
577 |
$output.="<li><a href='admin.php?page=wpsc-settings&tab=gateway'>".__('Money and Payment', 'wpsc')."</a></li>";
|
578 |
$output.="<li><a href='admin.php?page=wpsc-settings&tab=checkout'>".__('Checkout Page Settings', 'wpsc')."</a></li>";
|
579 |
//$output.="<li><a href='?page=".WPSC_DIR_NAME."/instructions.php'>Help/Upgrade</a></li>";
|
580 |
-
//$output.="<li><a href='{$redirect_url}'>".__('Login to Google base', 'wpsc')."</a></li>";
|
581 |
$output.="</ul>";
|
582 |
// $output.="<div>Checkout Settings</div>";
|
583 |
$output.="</span>  </div>";
|
@@ -585,7 +578,7 @@ function setting_button(){
|
|
585 |
return $output;
|
586 |
}
|
587 |
|
588 |
-
function wpsc_right_now() {
|
589 |
global $wpdb,$nzshpcrt_imagesize_info;
|
590 |
$year = date("Y");
|
591 |
$month = date("m");
|
@@ -624,10 +617,9 @@ function wpsc_right_now() {
|
|
624 |
|
625 |
$replace_values[":theme:"] = get_option('wpsc_selected_theme');
|
626 |
$replace_values[":versionnumber:"] = WPSC_PRESENTABLE_VERSION;
|
627 |
-
|
628 |
if (function_exists('add_object_page')) {
|
629 |
$output="";
|
630 |
-
$output.="<div id='dashboard_right_now' class='postbox'>";
|
631 |
$output.=" <h3 class='hndle'>";
|
632 |
$output.=" <span>".__('Current Month', 'wpsc')."</span>";
|
633 |
$output.=" <br class='clear'/>";
|
560 |
|
561 |
}
|
562 |
function setting_button(){
|
|
|
563 |
$next_url = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']."?page=wpsc-edit-products";
|
|
|
|
|
|
|
|
|
|
|
564 |
|
565 |
// $output.="<div><img src='".get_option('siteurl')."/wp-content/plugins/".WPSC_DIR_NAME."/images/settings_button.jpg' onclick='display_settings_button()'>";
|
566 |
$output.="<div style='float: right; margin-top: 0px; position: relative;'> | <a href='#' onclick='display_settings_button(); return false;' style='text-decoration: underline;'>".__('Settings', 'wpsc')." »</a>";
|
571 |
$output.="<li><a href='admin.php?page=wpsc-settings&tab=gateway'>".__('Money and Payment', 'wpsc')."</a></li>";
|
572 |
$output.="<li><a href='admin.php?page=wpsc-settings&tab=checkout'>".__('Checkout Page Settings', 'wpsc')."</a></li>";
|
573 |
//$output.="<li><a href='?page=".WPSC_DIR_NAME."/instructions.php'>Help/Upgrade</a></li>";
|
|
|
574 |
$output.="</ul>";
|
575 |
// $output.="<div>Checkout Settings</div>";
|
576 |
$output.="</span>  </div>";
|
578 |
return $output;
|
579 |
}
|
580 |
|
581 |
+
function wpsc_right_now($hidden = '') {
|
582 |
global $wpdb,$nzshpcrt_imagesize_info;
|
583 |
$year = date("Y");
|
584 |
$month = date("m");
|
617 |
|
618 |
$replace_values[":theme:"] = get_option('wpsc_selected_theme');
|
619 |
$replace_values[":versionnumber:"] = WPSC_PRESENTABLE_VERSION;
|
|
|
620 |
if (function_exists('add_object_page')) {
|
621 |
$output="";
|
622 |
+
$output.="<div id='dashboard_right_now' class='postbox ".((array_search('dashboard_right_now', $hidden) !== false) ? 'closed' : '')."'>";
|
623 |
$output.=" <h3 class='hndle'>";
|
624 |
$output.=" <span>".__('Current Month', 'wpsc')."</span>";
|
625 |
$output.=" <br class='clear'/>";
|
admin.js
CHANGED
@@ -235,12 +235,14 @@ jQuery("div.previewimage").hover(
|
|
235 |
}
|
236 |
);
|
237 |
|
238 |
-
jQuery("
|
239 |
function (e) {
|
|
|
240 |
jQuery("div#image_settings_box").hide();
|
241 |
}
|
242 |
);
|
243 |
|
|
|
244 |
jQuery("#table_rate_price").click(
|
245 |
function() {
|
246 |
if (this.checked) {
|
@@ -1061,12 +1063,6 @@ function enablebuttons(){
|
|
1061 |
}
|
1062 |
);
|
1063 |
|
1064 |
-
jQuery("a.closeimagesettings").click(
|
1065 |
-
function (e) {
|
1066 |
-
jQuery("div#image_settings_box").hide();
|
1067 |
-
}
|
1068 |
-
);
|
1069 |
-
|
1070 |
function imageorderresults(results) {
|
1071 |
eval(results);
|
1072 |
jQuery('#gallery_image_'+ser).append(output);
|
235 |
}
|
236 |
);
|
237 |
|
238 |
+
jQuery(".closeimagesettings").click(
|
239 |
function (e) {
|
240 |
+
alert('uhuh');
|
241 |
jQuery("div#image_settings_box").hide();
|
242 |
}
|
243 |
);
|
244 |
|
245 |
+
|
246 |
jQuery("#table_rate_price").click(
|
247 |
function() {
|
248 |
if (this.checked) {
|
1063 |
}
|
1064 |
);
|
1065 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1066 |
function imageorderresults(results) {
|
1067 |
eval(results);
|
1068 |
jQuery('#gallery_image_'+ser).append(output);
|
currency_list.php
CHANGED
@@ -84,7 +84,7 @@ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (82, 'Czech Rep.', 'CZ', 'Czec
|
|
84 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (83, 'Cyprus', 'CY', 'Cyprus Pound', '', '', 'CYP', '0', '0','europe','1');
|
85 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (84, 'Cuba', 'CU', 'Cuban Peso', '', '', 'CUP', '0', '0','northamerica','1');
|
86 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (85, 'Croatia', 'HR', 'Croatian Kuna', '', '', 'HRK', '0', '0','europe','1');
|
87 |
-
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (86, 'Costa Rica', 'CR', 'Costa Rican Colon', '', '', 'CRC', '0', '0','
|
88 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (87, 'Cook Islands', 'CK', 'New Zealand Dollar', '$', '$', 'NZD', '0', '0' ,'asiapacific','1');
|
89 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (88, 'Congo', 'CG', 'CFA Franc BEAC', '', '', 'XAF', '0', '0','africa','1');
|
90 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (89, 'Comoros', 'KM', 'Comoros Franc', '', '', 'KMF', '0', '0','africa','1');
|
@@ -240,4 +240,4 @@ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (238, 'Yemen', 'YE', 'Yemeni R
|
|
240 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (239, 'Yugoslavia', 'YU', 'Yugoslav New Dinar', '', '', 'YUN', '0', '0','europe','1');
|
241 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (240, 'Zambia', 'ZM', 'Zambian Kwacha', '', '', 'ZMK', '0', '0','africa','1');
|
242 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (241, 'Zimbabwe', 'ZW', 'Zimbabwe Dollar', '$', '$', 'ZWD', '0', '0','africa','1');
|
243 |
-
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (242, 'Deutschland', 'DE', 'Euro', '€', '€', 'EUR', '0', '0','europe','1');";
|
84 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (83, 'Cyprus', 'CY', 'Cyprus Pound', '', '', 'CYP', '0', '0','europe','1');
|
85 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (84, 'Cuba', 'CU', 'Cuban Peso', '', '', 'CUP', '0', '0','northamerica','1');
|
86 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (85, 'Croatia', 'HR', 'Croatian Kuna', '', '', 'HRK', '0', '0','europe','1');
|
87 |
+
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (86, 'Costa Rica', 'CR', 'Costa Rican Colon', '', '', 'CRC', '0', '0','southamerica','1');
|
88 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (87, 'Cook Islands', 'CK', 'New Zealand Dollar', '$', '$', 'NZD', '0', '0' ,'asiapacific','1');
|
89 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (88, 'Congo', 'CG', 'CFA Franc BEAC', '', '', 'XAF', '0', '0','africa','1');
|
90 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (89, 'Comoros', 'KM', 'Comoros Franc', '', '', 'KMF', '0', '0','africa','1');
|
240 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (239, 'Yugoslavia', 'YU', 'Yugoslav New Dinar', '', '', 'YUN', '0', '0','europe','1');
|
241 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (240, 'Zambia', 'ZM', 'Zambian Kwacha', '', '', 'ZMK', '0', '0','africa','1');
|
242 |
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (241, 'Zimbabwe', 'ZW', 'Zimbabwe Dollar', '$', '$', 'ZWD', '0', '0','africa','1');
|
243 |
+
INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (242, 'Deutschland', 'DE', 'Euro', '€', '€', 'EUR', '0', '0','europe','1');";
|
display-coupons.php
CHANGED
@@ -142,15 +142,6 @@ $sql ="UPDATE `".WPSC_TABLE_COUPON_CODES."` SET `condition`='".serialize($new_ru
|
|
142 |
}
|
143 |
}
|
144 |
|
145 |
-
|
146 |
-
// taken the token to the token option for google base
|
147 |
-
if(isset($_GET['token'])) {
|
148 |
-
update_option('wpsc_google_base_token', $_GET['token']);
|
149 |
-
} else if(isset($_GET['destroy_token']) && ($_GET['destroy_token'] == 1)) {
|
150 |
-
update_option('wpsc_google_base_token', '');
|
151 |
-
}
|
152 |
-
|
153 |
-
|
154 |
/*<strong><?php echo TXT_WPSC_ADD_COUPON; ?></strong>*/
|
155 |
?>
|
156 |
<script type='text/javascript'>
|
@@ -574,24 +565,16 @@ echo "</table>\n\r";
|
|
574 |
RSS Feed Address:
|
575 |
</td>
|
576 |
<td>
|
577 |
-
<?php echo
|
578 |
</td>
|
579 |
</tr>
|
580 |
</table>
|
581 |
|
582 |
-
<h2><?php echo __('Google
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
echo "<a href='?page={$_GET['page']}&destroy_token=1'>".__('Click here to remove access')."</a>";
|
587 |
-
} else {
|
588 |
-
$itemsFeedURL = "http://www.google.com/base/feeds/items";
|
589 |
-
$next_url = "http://{$_SERVER['HTTP_HOST']}{$_SERVER['PHP_SELF']}?page={$_GET['page']}";
|
590 |
-
$redirect_url = htmlentities("https://www.google.com/accounts/AuthSubRequest?next=".urlencode($next_url)."&scope=".urlencode($itemsFeedURL)."&session=1&secure=0");
|
591 |
-
echo " <a href='$redirect_url'>".__('Grant Access', 'wpsc')."</a>";
|
592 |
-
}
|
593 |
-
?>
|
594 |
</div>
|
595 |
<?php
|
596 |
}
|
597 |
-
?>
|
142 |
}
|
143 |
}
|
144 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
/*<strong><?php echo TXT_WPSC_ADD_COUPON; ?></strong>*/
|
146 |
?>
|
147 |
<script type='text/javascript'>
|
565 |
RSS Feed Address:
|
566 |
</td>
|
567 |
<td>
|
568 |
+
<?php echo get_bloginfo('url')."/index.php?rss=true&action=product_list"; ?>
|
569 |
</td>
|
570 |
</tr>
|
571 |
</table>
|
572 |
|
573 |
+
<h2><?php echo __('Google Merchant Centre / Google Product Search', 'wpsc'); ?></h2>
|
574 |
+
<p>To import your products into <a href="http://www.google.com/merchants/" target="_blank">Google Merchant Centre</a> so that they appear within Google Product Search results, sign up for a Google Merchant Centre account and add a scheduled data feed with the following URL:</p>
|
575 |
+
<?php $google_feed_url = get_bloginfo('url')."/index.php?rss=true&action=product_list&xmlformat=google"; ?>
|
576 |
+
<a href="<?php echo htmlentities($google_feed_url); ?>"><?php echo htmlentities($google_feed_url); ?></a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
577 |
</div>
|
578 |
<?php
|
579 |
}
|
580 |
+
?>
|
edit-profile.php
CHANGED
@@ -78,7 +78,7 @@ if($_POST['collected_data'] != null) {
|
|
78 |
<?php
|
79 |
echo " <div class='user-profile-links'><a href='".get_option('user_account_url')."'>Purchase History</a> | <a href='".get_option('user_account_url').$seperator."edit_profile=true'>Your Details</a> | <a href='".get_option('user_account_url').$seperator."downloads=true'>Your Downloads</a></div><br />";
|
80 |
?>
|
81 |
-
<form method='
|
82 |
<?php
|
83 |
if($changes_saved == true) {
|
84 |
echo __('Thanks, your changes have been saved.', 'wpsc');
|
@@ -189,4 +189,5 @@ foreach($form_data as $form_field)
|
|
189 |
</td>
|
190 |
</tr>
|
191 |
</table>
|
192 |
-
</form>
|
|
78 |
<?php
|
79 |
echo " <div class='user-profile-links'><a href='".get_option('user_account_url')."'>Purchase History</a> | <a href='".get_option('user_account_url').$seperator."edit_profile=true'>Your Details</a> | <a href='".get_option('user_account_url').$seperator."downloads=true'>Your Downloads</a></div><br />";
|
80 |
?>
|
81 |
+
<form method='post' action=''>
|
82 |
<?php
|
83 |
if($changes_saved == true) {
|
84 |
echo __('Thanks, your changes have been saved.', 'wpsc');
|
189 |
</td>
|
190 |
</tr>
|
191 |
</table>
|
192 |
+
</form>
|
193 |
+
</div>
|
install_and_update.php
CHANGED
@@ -391,6 +391,7 @@ function wpsc_check_and_copy_files() {
|
|
391 |
$wpsc_dirs['categories']['old'] = ABSPATH."{$upload_path}/category_images/";
|
392 |
$wpsc_dirs['categories']['new'] = WPSC_CATEGORY_DIR;
|
393 |
$incomplete_file_transfer = false;
|
|
|
394 |
foreach($wpsc_dirs as $wpsc_dir) {
|
395 |
if(is_dir($wpsc_dir['old'])) {
|
396 |
$files_in_dir = glob($wpsc_dir['old']."*");
|
@@ -434,6 +435,7 @@ function wpsc_create_upload_directories() {
|
|
434 |
WPSC_UPGRADES_DIR,
|
435 |
WPSC_THEMES_PATH,
|
436 |
);
|
|
|
437 |
foreach ($folders as $folder) {
|
438 |
wp_mkdir_p($folder);
|
439 |
@ chmod( $folder, 0775 );
|
391 |
$wpsc_dirs['categories']['old'] = ABSPATH."{$upload_path}/category_images/";
|
392 |
$wpsc_dirs['categories']['new'] = WPSC_CATEGORY_DIR;
|
393 |
$incomplete_file_transfer = false;
|
394 |
+
exit('called');
|
395 |
foreach($wpsc_dirs as $wpsc_dir) {
|
396 |
if(is_dir($wpsc_dir['old'])) {
|
397 |
$files_in_dir = glob($wpsc_dir['old']."*");
|
435 |
WPSC_UPGRADES_DIR,
|
436 |
WPSC_THEMES_PATH,
|
437 |
);
|
438 |
+
// exit('<pre>'.print_r($folders, true).'</pre>');
|
439 |
foreach ($folders as $folder) {
|
440 |
wp_mkdir_p($folder);
|
441 |
@ chmod( $folder, 0775 );
|
js/jquery.rating.js
CHANGED
@@ -27,16 +27,15 @@ jQuery.fn.rating = function(){
|
|
27 |
}).insertAfter( this );
|
28 |
|
29 |
product_id = jQuery("input.wpsc_rating_product_id", this).val();
|
30 |
-
|
31 |
var selected_rating = jQuery("select option:selected", this).val();
|
32 |
jQuery("select option", this).each(function(){
|
33 |
|
34 |
-
|
35 |
//console.log(jQuery(this).attr('selected'));
|
36 |
if(this.value <= selected_rating) {
|
37 |
-
|
38 |
}
|
39 |
-
div.append( "<div class='star'><a class='" +
|
40 |
});
|
41 |
|
42 |
var averageRating = this.title,
|
27 |
}).insertAfter( this );
|
28 |
|
29 |
product_id = jQuery("input.wpsc_rating_product_id", this).val();
|
|
|
30 |
var selected_rating = jQuery("select option:selected", this).val();
|
31 |
jQuery("select option", this).each(function(){
|
32 |
|
33 |
+
className = '';
|
34 |
//console.log(jQuery(this).attr('selected'));
|
35 |
if(this.value <= selected_rating) {
|
36 |
+
className = 'selected';
|
37 |
}
|
38 |
+
div.append( "<div class='star'><a class='" + className + "' href='#" + this.value + "' title='Give it a " + this.value + " Star Rating' rel="+product_id+">" + this.value + "</a></div>" );
|
39 |
});
|
40 |
|
41 |
var averageRating = this.title,
|
js/wp-e-commerce.js
CHANGED
@@ -73,7 +73,7 @@ jQuery(document).ready(function () {
|
|
73 |
jQuery("select#region").show();
|
74 |
shipName = jQuery('input.shipping_region').attr('name');
|
75 |
shipID = jQuery('input.shipping_region').attr('id');
|
76 |
-
jQuery('input.shipping_region').replaceWith('<input type="hidden" class="shipping_region" value="'+stateID+'" name="'+shipName+'" id="'+shipName+'"
|
77 |
jQuery("select#region :selected").html(state).attr('selected','selected');
|
78 |
jQuery('span.shipping_region_name').html(state);
|
79 |
}
|
@@ -287,7 +287,7 @@ function wpsc_fancy_notification(parent_form){
|
|
287 |
//console.log(form_button_id);
|
288 |
//return;
|
289 |
var container_offset = {};
|
290 |
-
new_container_offset = jQuery('#products_page_container').offset(
|
291 |
|
292 |
if(container_offset['left'] == null) {
|
293 |
container_offset['left'] = new_container_offset.left;
|
@@ -295,13 +295,13 @@ function wpsc_fancy_notification(parent_form){
|
|
295 |
}
|
296 |
|
297 |
var button_offset = {};
|
298 |
-
new_button_offset = jQuery('#'+form_button_id).offset(
|
299 |
|
300 |
if(button_offset['left'] == null) {
|
301 |
button_offset['left'] = new_button_offset.left;
|
302 |
button_offset['top'] = new_button_offset.top;
|
303 |
}
|
304 |
-
|
305 |
jQuery('#fancy_notification').css("left", (button_offset['left'] - container_offset['left'] + 10) + 'px');
|
306 |
jQuery('#fancy_notification').css("top", ((button_offset['top'] - container_offset['top']) -60) + 'px');
|
307 |
|
73 |
jQuery("select#region").show();
|
74 |
shipName = jQuery('input.shipping_region').attr('name');
|
75 |
shipID = jQuery('input.shipping_region').attr('id');
|
76 |
+
jQuery('input.shipping_region').replaceWith('<input type="hidden" class="shipping_region" value="'+stateID+'" name="'+shipName+'" id="'+shipName+'" /><span class="shipping_region_name"></span>');
|
77 |
jQuery("select#region :selected").html(state).attr('selected','selected');
|
78 |
jQuery('span.shipping_region_name').html(state);
|
79 |
}
|
287 |
//console.log(form_button_id);
|
288 |
//return;
|
289 |
var container_offset = {};
|
290 |
+
new_container_offset = jQuery('#products_page_container').offset();
|
291 |
|
292 |
if(container_offset['left'] == null) {
|
293 |
container_offset['left'] = new_container_offset.left;
|
295 |
}
|
296 |
|
297 |
var button_offset = {};
|
298 |
+
new_button_offset = jQuery('#'+form_button_id).offset()
|
299 |
|
300 |
if(button_offset['left'] == null) {
|
301 |
button_offset['left'] = new_button_offset.left;
|
302 |
button_offset['top'] = new_button_offset.top;
|
303 |
}
|
304 |
+
// console.log((button_offset['left'] - container_offset['left'] + 10));
|
305 |
jQuery('#fancy_notification').css("left", (button_offset['left'] - container_offset['left'] + 10) + 'px');
|
306 |
jQuery('#fancy_notification').css("top", ((button_offset['top'] - container_offset['top']) -60) + 'px');
|
307 |
|
languages/wpsc-es_ES.mo
CHANGED
Binary file
|
languages/wpsc-es_ES.po
CHANGED
@@ -1,23 +1,24 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: \n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2009-11-27 20:21+0200\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: \n"
|
8 |
-
"Language-Team:
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
|
12 |
|
13 |
#: wp-e-commerce/admin-form-functions.php:10
|
14 |
-
#, fuzzy
|
15 |
msgid "You are editing the "[categorisation]" Group"
|
16 |
-
msgstr "
|
17 |
|
18 |
#: wp-e-commerce/admin-form-functions.php:11
|
19 |
msgid "+ Add new category to the "[categorisation]" Group"
|
20 |
-
msgstr "
|
21 |
|
22 |
#: wp-e-commerce/admin-form-functions.php:25
|
23 |
#: wp-e-commerce/admin-form-functions.php:239
|
@@ -29,11 +30,11 @@ msgstr ""
|
|
29 |
|
30 |
#: wp-e-commerce/admin-form-functions.php:34
|
31 |
msgid "Description"
|
32 |
-
msgstr "
|
33 |
|
34 |
#: wp-e-commerce/admin-form-functions.php:44
|
35 |
msgid "Group Parent"
|
36 |
-
msgstr "
|
37 |
|
38 |
#: wp-e-commerce/admin-form-functions.php:85
|
39 |
msgid "Group Image"
|
@@ -57,9 +58,8 @@ msgid "You can upload thumbnail images for each group. To display Group details
|
|
57 |
msgstr ""
|
58 |
|
59 |
#: wp-e-commerce/admin-form-functions.php:119
|
60 |
-
#, fuzzy
|
61 |
msgid "Delete Image"
|
62 |
-
msgstr "
|
63 |
|
64 |
#: wp-e-commerce/admin-form-functions.php:133
|
65 |
msgid "Target Markets"
|
@@ -72,9 +72,8 @@ msgid ""
|
|
72 |
msgstr ""
|
73 |
|
74 |
#: wp-e-commerce/admin-form-functions.php:164
|
75 |
-
#, fuzzy
|
76 |
msgid "Presentation Settings"
|
77 |
-
msgstr "Opciones de
|
78 |
|
79 |
#: wp-e-commerce/admin-form-functions.php:165
|
80 |
msgid "To over-ride the presentation settings for this group you can enter in your prefered settings here"
|
@@ -100,9 +99,8 @@ msgstr "Lista"
|
|
100 |
|
101 |
#: wp-e-commerce/admin-form-functions.php:183
|
102 |
#: wp-e-commerce/admin-form-functions.php:185
|
103 |
-
#, fuzzy
|
104 |
msgid "Grid View"
|
105 |
-
msgstr "
|
106 |
|
107 |
#: wp-e-commerce/admin-form-functions.php:195
|
108 |
msgid "Thumbnail Size"
|
@@ -125,9 +123,8 @@ msgid "No"
|
|
125 |
msgstr "No"
|
126 |
|
127 |
#: wp-e-commerce/admin-form-functions.php:221
|
128 |
-
#, fuzzy
|
129 |
msgid "Edit Group"
|
130 |
-
msgstr "Editar
|
131 |
|
132 |
#: wp-e-commerce/admin-form-functions.php:222
|
133 |
#: wp-e-commerce/admin-form-functions.php:260
|
@@ -138,12 +135,12 @@ msgstr "Borrar"
|
|
138 |
|
139 |
#: wp-e-commerce/admin-form-functions.php:248
|
140 |
msgid "Variation Values"
|
141 |
-
msgstr "Valores de la
|
142 |
|
143 |
#: wp-e-commerce/admin-form-functions.php:267
|
144 |
#: wp-e-commerce/display-coupons.php:126
|
145 |
msgid "Add"
|
146 |
-
msgstr "
|
147 |
|
148 |
#: wp-e-commerce/admin-form-functions.php:278
|
149 |
#: wp-e-commerce/display-coupons.php:321
|
@@ -191,7 +188,6 @@ msgstr ""
|
|
191 |
#: wp-e-commerce/display-coupons.php:160
|
192 |
#: wp-e-commerce/display-coupons.php:253
|
193 |
#: wp-e-commerce/display-coupons.php:317
|
194 |
-
#, fuzzy
|
195 |
msgid "Apply On All Products"
|
196 |
msgstr "Mostrar productos"
|
197 |
|
@@ -201,36 +197,30 @@ msgid "Submit"
|
|
201 |
msgstr "Enviar"
|
202 |
|
203 |
#: wp-e-commerce/admin-form-functions.php:520
|
204 |
-
#, fuzzy
|
205 |
msgid "Settings"
|
206 |
-
msgstr "
|
207 |
|
208 |
#: wp-e-commerce/admin-form-functions.php:524
|
209 |
-
#, fuzzy
|
210 |
msgid "Shop Settings"
|
211 |
-
msgstr "
|
212 |
|
213 |
#: wp-e-commerce/admin-form-functions.php:525
|
214 |
-
#, fuzzy
|
215 |
msgid "Money and Payment"
|
216 |
-
msgstr "
|
217 |
|
218 |
#: wp-e-commerce/admin-form-functions.php:526
|
219 |
-
#, fuzzy
|
220 |
msgid "Checkout Page Settings"
|
221 |
-
msgstr "Opciones de
|
222 |
|
223 |
#: wp-e-commerce/admin-form-functions.php:545
|
224 |
#: wp-e-commerce/admin-form-functions.php:546
|
225 |
-
#, fuzzy
|
226 |
msgid "product"
|
227 |
-
msgstr "
|
228 |
|
229 |
#: wp-e-commerce/admin-form-functions.php:545
|
230 |
#: wp-e-commerce/admin-form-functions.php:546
|
231 |
-
#, fuzzy
|
232 |
msgid "products"
|
233 |
-
msgstr "
|
234 |
|
235 |
#: wp-e-commerce/admin-form-functions.php:550
|
236 |
#: wp-e-commerce/admin-form-functions.php:551
|
@@ -240,29 +230,25 @@ msgstr ""
|
|
240 |
#: wp-e-commerce/admin-form-functions.php:550
|
241 |
#: wp-e-commerce/admin-form-functions.php:551
|
242 |
msgid "groups"
|
243 |
-
msgstr ""
|
244 |
|
245 |
#: wp-e-commerce/admin-form-functions.php:555
|
246 |
#: wp-e-commerce/admin-form-functions.php:556
|
247 |
-
#, fuzzy
|
248 |
msgid "sale"
|
249 |
-
msgstr "
|
250 |
|
251 |
#: wp-e-commerce/admin-form-functions.php:555
|
252 |
#: wp-e-commerce/admin-form-functions.php:556
|
253 |
-
#, fuzzy
|
254 |
msgid "sales"
|
255 |
-
msgstr "
|
256 |
|
257 |
#: wp-e-commerce/admin-form-functions.php:562
|
258 |
-
#, fuzzy
|
259 |
msgid "variation"
|
260 |
-
msgstr "
|
261 |
|
262 |
#: wp-e-commerce/admin-form-functions.php:562
|
263 |
-
#, fuzzy
|
264 |
msgid "variations"
|
265 |
-
msgstr "
|
266 |
|
267 |
#: wp-e-commerce/admin-form-functions.php:566
|
268 |
#: wp-e-commerce/admin-form-functions.php:567
|
@@ -274,34 +260,29 @@ msgstr "ID de pedido"
|
|
274 |
#: wp-e-commerce/admin-form-functions.php:566
|
275 |
#: wp-e-commerce/admin-form-functions.php:567
|
276 |
#: wp-e-commerce/admin-form-functions.php:570
|
277 |
-
#, fuzzy
|
278 |
msgid "transactions"
|
279 |
-
msgstr "
|
280 |
|
281 |
#: wp-e-commerce/admin-form-functions.php:580
|
282 |
-
#, fuzzy
|
283 |
msgid "Current Month"
|
284 |
-
msgstr "
|
285 |
|
286 |
#: wp-e-commerce/admin-form-functions.php:585
|
287 |
msgid "At a Glance"
|
288 |
-
msgstr ""
|
289 |
|
290 |
#: wp-e-commerce/admin-form-functions.php:615
|
291 |
-
#, fuzzy
|
292 |
msgid "Pending"
|
293 |
-
msgstr "
|
294 |
|
295 |
#: wp-e-commerce/admin-form-functions.php:630
|
296 |
-
#, fuzzy
|
297 |
msgid "Closed"
|
298 |
-
msgstr "
|
299 |
|
300 |
#: wp-e-commerce/admin-form-functions.php:638
|
301 |
#: wp-e-commerce/admin-form-functions.php:646
|
302 |
-
#, fuzzy
|
303 |
msgid "Add New Product"
|
304 |
-
msgstr "
|
305 |
|
306 |
#: wp-e-commerce/admin-form-functions.php:638
|
307 |
msgid "Here you can add products, groups or variations"
|
@@ -337,13 +318,13 @@ msgstr "Estado"
|
|
337 |
#: wp-e-commerce/install_and_update.php:650
|
338 |
#: wp-e-commerce/install_and_update.php:658
|
339 |
msgid "Address"
|
340 |
-
msgstr "
|
341 |
|
342 |
#: wp-e-commerce/admin-form-functions.php:722
|
343 |
#: wp-e-commerce/edit-profile.php:52
|
344 |
#: wp-e-commerce/install_and_update.php:667
|
345 |
msgid "Phone"
|
346 |
-
msgstr "
|
347 |
|
348 |
#: wp-e-commerce/admin-form-functions.php:723
|
349 |
#: wp-e-commerce/display-ecommerce-subs.php:9
|
@@ -361,23 +342,20 @@ msgid "Price"
|
|
361 |
msgstr "Precio"
|
362 |
|
363 |
#: wp-e-commerce/admin-form-functions.php:764
|
364 |
-
#, fuzzy
|
365 |
msgid "Shipping"
|
366 |
-
msgstr "
|
367 |
|
368 |
#: wp-e-commerce/admin-form-functions.php:859
|
369 |
msgid "This users cart was empty"
|
370 |
-
msgstr "Este
|
371 |
|
372 |
#: wp-e-commerce/display-coupons.php:27
|
373 |
-
#, fuzzy
|
374 |
msgid "Thanks, the coupon has been added."
|
375 |
-
msgstr "El
|
376 |
|
377 |
#: wp-e-commerce/display-coupons.php:122
|
378 |
-
#, fuzzy
|
379 |
msgid "Coupons"
|
380 |
-
msgstr "
|
381 |
|
382 |
#: wp-e-commerce/display-coupons.php:126
|
383 |
msgid "Add Coupon"
|
@@ -388,14 +366,12 @@ msgid "<strong>Note:</strong> Due to a current limitation of PayPal, if your use
|
|
388 |
msgstr ""
|
389 |
|
390 |
#: wp-e-commerce/display-coupons.php:409
|
391 |
-
#, fuzzy
|
392 |
msgid "Marketing Settings"
|
393 |
-
msgstr "
|
394 |
|
395 |
#: wp-e-commerce/display-coupons.php:416
|
396 |
-
#, fuzzy
|
397 |
msgid "Display Cross Sales"
|
398 |
-
msgstr "
|
399 |
|
400 |
#: wp-e-commerce/display-coupons.php:440
|
401 |
msgid "Show Share This (Social Bookmarks)"
|
@@ -406,9 +382,8 @@ msgid "Display How Customer Found Us Survey"
|
|
406 |
msgstr ""
|
407 |
|
408 |
#: wp-e-commerce/display-coupons.php:486
|
409 |
-
#, fuzzy
|
410 |
msgid "RSS Address"
|
411 |
-
msgstr "
|
412 |
|
413 |
#: wp-e-commerce/display-coupons.php:490
|
414 |
msgid "<strong>Note:</strong> Not only can people use this RSS to keep update with your product list but you can also use this link to promote your products in your facebook profile. <br />Just add the <a href=\"http://apps.facebook.com/getshopped\">getshopped! facebook application</a> to your facebook profile and follow the instructions."
|
@@ -423,9 +398,8 @@ msgid "Your site has been granted access to google base.<br /> All future produc
|
|
423 |
msgstr ""
|
424 |
|
425 |
#: wp-e-commerce/display-coupons.php:508
|
426 |
-
#, fuzzy
|
427 |
msgid "Click here to remove access"
|
428 |
-
msgstr "
|
429 |
|
430 |
#: wp-e-commerce/display-coupons.php:513
|
431 |
msgid "Grant Access"
|
@@ -440,9 +414,8 @@ msgid "Registered Date"
|
|
440 |
msgstr ""
|
441 |
|
442 |
#: wp-e-commerce/display-ecommerce-subs.php:9
|
443 |
-
#, fuzzy
|
444 |
msgid "Suspend"
|
445 |
-
msgstr "
|
446 |
|
447 |
#: wp-e-commerce/display-ecommerce-subs.php:9
|
448 |
msgid "Activate"
|
@@ -451,13 +424,12 @@ msgstr ""
|
|
451 |
#: wp-e-commerce/edit-profile.php:31
|
452 |
#: wp-e-commerce/install_and_update.php:648
|
453 |
#: wp-e-commerce/install_and_update.php:656
|
454 |
-
#, fuzzy
|
455 |
msgid "First Name"
|
456 |
-
msgstr "Nombre
|
457 |
|
458 |
#: wp-e-commerce/edit-profile.php:32
|
459 |
msgid "Please enter a valid name"
|
460 |
-
msgstr "Por favor introduzca un nombre
|
461 |
|
462 |
#: wp-e-commerce/edit-profile.php:35
|
463 |
#: wp-e-commerce/install_and_update.php:649
|
@@ -467,23 +439,23 @@ msgstr ""
|
|
467 |
|
468 |
#: wp-e-commerce/edit-profile.php:36
|
469 |
msgid "Please enter a valid surname"
|
470 |
-
msgstr "Por favor introduzca un apellido
|
471 |
|
472 |
#: wp-e-commerce/edit-profile.php:40
|
473 |
msgid "Please enter a valid email address"
|
474 |
-
msgstr "Por favor introduzca una
|
475 |
|
476 |
#: wp-e-commerce/edit-profile.php:43
|
477 |
msgid "Address 1"
|
478 |
-
msgstr "
|
479 |
|
480 |
#: wp-e-commerce/edit-profile.php:44
|
481 |
msgid "Address 2"
|
482 |
-
msgstr "
|
483 |
|
484 |
#: wp-e-commerce/edit-profile.php:45
|
485 |
msgid "Please enter a valid address"
|
486 |
-
msgstr "Por favor introduzca una
|
487 |
|
488 |
#: wp-e-commerce/edit-profile.php:48
|
489 |
#: wp-e-commerce/install_and_update.php:651
|
@@ -492,20 +464,18 @@ msgid "City"
|
|
492 |
msgstr ""
|
493 |
|
494 |
#: wp-e-commerce/edit-profile.php:49
|
495 |
-
#, fuzzy
|
496 |
msgid "Please enter your town or city."
|
497 |
-
msgstr "Por favor introduzca
|
498 |
|
499 |
#: wp-e-commerce/edit-profile.php:53
|
500 |
msgid "Please enter a valid phone number"
|
501 |
-
msgstr "Por favor introduzca un
|
502 |
|
503 |
#: wp-e-commerce/edit-profile.php:56
|
504 |
#: wp-e-commerce/install_and_update.php:652
|
505 |
#: wp-e-commerce/install_and_update.php:661
|
506 |
-
#, fuzzy
|
507 |
msgid "Country"
|
508 |
-
msgstr "
|
509 |
|
510 |
#: wp-e-commerce/edit-profile.php:57
|
511 |
#, fuzzy
|
@@ -531,9 +501,8 @@ msgid "placeholder for:"
|
|
531 |
msgstr ""
|
532 |
|
533 |
#: wp-e-commerce/editor.php:144
|
534 |
-
#, fuzzy
|
535 |
msgid "Your forms:"
|
536 |
-
msgstr "
|
537 |
|
538 |
#: wp-e-commerce/editor.php:146
|
539 |
#: wp-e-commerce/insertcate.php:87
|
@@ -560,11 +529,11 @@ msgstr "Opciones de producto"
|
|
560 |
|
561 |
#: wp-e-commerce/homepage_products_functions.php:157
|
562 |
msgid "More Details"
|
563 |
-
msgstr "
|
564 |
|
565 |
#: wp-e-commerce/homepage_products_functions.php:189
|
566 |
msgid "Add To Cart"
|
567 |
-
msgstr "
|
568 |
|
569 |
#: wp-e-commerce/homepage_products_functions.php:205
|
570 |
msgid "Avg. Customer Rating"
|
@@ -581,21 +550,19 @@ msgstr "Guardado"
|
|
581 |
|
582 |
#: wp-e-commerce/homepage_products_functions.php:216
|
583 |
msgid "Rate This item"
|
584 |
-
msgstr "Califica este
|
585 |
|
586 |
#: wp-e-commerce/insertcate.php:67
|
587 |
-
#, fuzzy
|
588 |
msgid "Pick a Category"
|
589 |
-
msgstr "
|
590 |
|
591 |
#: wp-e-commerce/insertcate.php:74
|
592 |
-
#, fuzzy
|
593 |
msgid "Your Categories:"
|
594 |
-
msgstr "
|
595 |
|
596 |
#: wp-e-commerce/install_and_update.php:60
|
597 |
msgid "Example category"
|
598 |
-
msgstr "
|
599 |
|
600 |
#: wp-e-commerce/install_and_update.php:60
|
601 |
#: wp-e-commerce/install_and_update.php:61
|
@@ -636,27 +603,27 @@ msgstr "Alto imagen producto"
|
|
636 |
|
637 |
#: wp-e-commerce/install_and_update.php:92
|
638 |
msgid "product group image width"
|
639 |
-
msgstr "Ancho
|
640 |
|
641 |
#: wp-e-commerce/install_and_update.php:93
|
642 |
msgid "product group image height"
|
643 |
-
msgstr "Alto imagen
|
644 |
|
645 |
#: wp-e-commerce/install_and_update.php:95
|
646 |
msgid "The location of the product list"
|
647 |
-
msgstr "
|
648 |
|
649 |
#: wp-e-commerce/install_and_update.php:96
|
650 |
msgid "The location of the shopping cart"
|
651 |
-
msgstr "
|
652 |
|
653 |
#: wp-e-commerce/install_and_update.php:97
|
654 |
msgid "The location of the checkout page"
|
655 |
-
msgstr "
|
656 |
|
657 |
#: wp-e-commerce/install_and_update.php:98
|
658 |
msgid "The location of the transaction detail page"
|
659 |
-
msgstr "
|
660 |
|
661 |
#: wp-e-commerce/install_and_update.php:99
|
662 |
msgid "The payment gateway to use"
|
@@ -667,7 +634,7 @@ msgstr "Pasarela de pago a usar"
|
|
667 |
#: wp-e-commerce/install_and_update.php:107
|
668 |
#: wp-e-commerce/install_and_update.php:109
|
669 |
msgid "Cart Location"
|
670 |
-
msgstr "
|
671 |
|
672 |
#: wp-e-commerce/install_and_update.php:114
|
673 |
msgid "Currency type"
|
@@ -675,7 +642,7 @@ msgstr "Tipo de moneda"
|
|
675 |
|
676 |
#: wp-e-commerce/install_and_update.php:115
|
677 |
msgid "Currency sign location"
|
678 |
-
msgstr "
|
679 |
|
680 |
#: wp-e-commerce/install_and_update.php:117
|
681 |
msgid "the GST rate"
|
@@ -683,7 +650,7 @@ msgstr ""
|
|
683 |
|
684 |
#: wp-e-commerce/install_and_update.php:119
|
685 |
msgid "the download limit"
|
686 |
-
msgstr "
|
687 |
|
688 |
#: wp-e-commerce/install_and_update.php:121
|
689 |
msgid "Display or hide postage and packaging"
|
@@ -691,7 +658,7 @@ msgstr "Mostrar u ocultar franqueo y empaquetado"
|
|
691 |
|
692 |
#: wp-e-commerce/install_and_update.php:123
|
693 |
msgid "Display or hide specials on the sidebar"
|
694 |
-
msgstr "Mostrar u ocultar ofertas en la barra de
|
695 |
|
696 |
#: wp-e-commerce/install_and_update.php:126
|
697 |
msgid "Default postage and packaging"
|
@@ -699,11 +666,11 @@ msgstr "Franqueo y empaquetado por defecto"
|
|
699 |
|
700 |
#: wp-e-commerce/install_and_update.php:128
|
701 |
msgid "Email address that purchase log is sent to"
|
702 |
-
msgstr "
|
703 |
|
704 |
#: wp-e-commerce/install_and_update.php:129
|
705 |
msgid "Email address that purchase reports are sent from"
|
706 |
-
msgstr "
|
707 |
|
708 |
#: wp-e-commerce/install_and_update.php:130
|
709 |
msgid "Checkout terms and conditions"
|
@@ -723,7 +690,7 @@ msgstr "Tipo por defecto"
|
|
723 |
|
724 |
#: wp-e-commerce/install_and_update.php:136
|
725 |
msgid "Select what product group you want to display on the products page"
|
726 |
-
msgstr "
|
727 |
|
728 |
#: wp-e-commerce/install_and_update.php:149
|
729 |
#: wp-e-commerce/install_and_update.php:155
|
@@ -741,9 +708,8 @@ msgid "Show Product Ratings"
|
|
741 |
msgstr "Mostrar tarifas de producto"
|
742 |
|
743 |
#: wp-e-commerce/install_and_update.php:163
|
744 |
-
#, fuzzy
|
745 |
msgid "Thank you for purchasing with %shop_name%, any items to be shipped will be processed as soon as possible, any items that can be downloaded can be downloaded using the links on this page.All prices include tax and postage and packaging where applicable.You ordered these items:%product_list%%total_shipping%%total_price%"
|
746 |
-
msgstr "Gracias
|
747 |
|
748 |
#: wp-e-commerce/install_and_update.php:164
|
749 |
msgid "%product_list%%total_shipping%%total_price%"
|
@@ -751,20 +717,19 @@ msgstr ""
|
|
751 |
|
752 |
#: wp-e-commerce/install_and_update.php:207
|
753 |
msgid "Products Page"
|
754 |
-
msgstr "
|
755 |
|
756 |
#: wp-e-commerce/install_and_update.php:213
|
757 |
msgid "Checkout"
|
758 |
-
msgstr "
|
759 |
|
760 |
#: wp-e-commerce/install_and_update.php:225
|
761 |
msgid "Transaction Results"
|
762 |
-
msgstr "Resultados de la
|
763 |
|
764 |
#: wp-e-commerce/install_and_update.php:231
|
765 |
-
#, fuzzy
|
766 |
msgid "Your Account"
|
767 |
-
msgstr "
|
768 |
|
769 |
#: wp-e-commerce/install_and_update.php:647
|
770 |
#, fuzzy
|
@@ -778,9 +743,8 @@ msgid "Postal Code"
|
|
778 |
msgstr "Gastos de Envio"
|
779 |
|
780 |
#: wp-e-commerce/install_and_update.php:655
|
781 |
-
#, fuzzy
|
782 |
msgid "2. Shipping details"
|
783 |
-
msgstr "
|
784 |
|
785 |
#: wp-e-commerce/share-this.php:430
|
786 |
msgid "E-mail this, post to del.icio.us, etc."
|
@@ -810,9 +774,8 @@ msgstr "E-mail"
|
|
810 |
|
811 |
#: wp-e-commerce/share-this.php:505
|
812 |
#: wp-e-commerce/share-this.php:868
|
813 |
-
#, fuzzy
|
814 |
msgid "To Address:"
|
815 |
-
msgstr "
|
816 |
|
817 |
#: wp-e-commerce/share-this.php:509
|
818 |
#: wp-e-commerce/share-this.php:872
|
@@ -822,9 +785,8 @@ msgstr "Nombre del producto"
|
|
822 |
|
823 |
#: wp-e-commerce/share-this.php:513
|
824 |
#: wp-e-commerce/share-this.php:876
|
825 |
-
#, fuzzy
|
826 |
msgid "Your Address:"
|
827 |
-
msgstr "
|
828 |
|
829 |
#: wp-e-commerce/share-this.php:517
|
830 |
#: wp-e-commerce/share-this.php:880
|
@@ -880,9 +842,8 @@ msgstr ""
|
|
880 |
#: wp-e-commerce/shopping_cart_functions.php:36
|
881 |
#: wp-e-commerce/shopping_cart_functions.php:44
|
882 |
#: wp-e-commerce/shopping_cart_functions.php:54
|
883 |
-
#, fuzzy
|
884 |
msgid "Shopping Cart"
|
885 |
-
msgstr "
|
886 |
|
887 |
#: wp-e-commerce/tagging_functions.php:79
|
888 |
#, php-format
|
@@ -912,18 +873,18 @@ msgstr ""
|
|
912 |
#: wp-e-commerce/transaction_result_functions.php:40
|
913 |
#: wp-e-commerce/transaction_result_functions.php:249
|
914 |
msgid "Thank you, your purchase is pending, you will be sent an email once the order clears."
|
915 |
-
msgstr ""
|
916 |
|
917 |
#: wp-e-commerce/transaction_result_functions.php:158
|
918 |
#: wp-e-commerce/transaction_result_functions.php:159
|
919 |
msgid "Click to download"
|
920 |
-
msgstr "Pinche
|
921 |
|
922 |
#: wp-e-commerce/transaction_result_functions.php:205
|
923 |
#: wp-e-commerce/transaction_result_functions.php:212
|
924 |
#: wp-e-commerce/user-log.php:317
|
925 |
msgid "Total Shipping"
|
926 |
-
msgstr "Gastos de
|
927 |
|
928 |
#: wp-e-commerce/transaction_result_functions.php:206
|
929 |
#: wp-e-commerce/transaction_result_functions.php:213
|
@@ -934,7 +895,7 @@ msgstr "Total"
|
|
934 |
#: wp-e-commerce/transaction_result_functions.php:215
|
935 |
#: wp-e-commerce/transaction_result_functions.php:216
|
936 |
msgid "Your Transaction ID"
|
937 |
-
msgstr "
|
938 |
|
939 |
#: wp-e-commerce/transaction_result_functions.php:217
|
940 |
msgid "Transaction ID"
|
@@ -942,7 +903,7 @@ msgstr "ID de pedido"
|
|
942 |
|
943 |
#: wp-e-commerce/transaction_result_functions.php:250
|
944 |
msgid "Order Pending: Payment Required"
|
945 |
-
msgstr ""
|
946 |
|
947 |
#: wp-e-commerce/transaction_result_functions.php:252
|
948 |
msgid "Purchase Receipt"
|
@@ -964,16 +925,15 @@ msgstr "Informe de la compra"
|
|
964 |
|
965 |
#: wp-e-commerce/transaction_result_functions.php:308
|
966 |
msgid "The Transaction was successful"
|
967 |
-
msgstr "
|
968 |
|
969 |
#: wp-e-commerce/transaction_result_functions.php:316
|
970 |
-
#, fuzzy
|
971 |
msgid "Oops, there is nothing in your cart."
|
972 |
-
msgstr "
|
973 |
|
974 |
#: wp-e-commerce/transaction_result_functions.php:316
|
975 |
msgid "Please visit our shop"
|
976 |
-
msgstr ""
|
977 |
|
978 |
#: wp-e-commerce/user-downloads.php:41
|
979 |
msgid "File Names"
|
@@ -1000,7 +960,7 @@ msgstr "Estado"
|
|
1000 |
#: wp-e-commerce/user-log.php:65
|
1001 |
#: wp-e-commerce/user-log.php:383
|
1002 |
msgid "Payment Method"
|
1003 |
-
msgstr "
|
1004 |
|
1005 |
#: wp-e-commerce/user-log.php:94
|
1006 |
msgid "Details"
|
@@ -1012,12 +972,11 @@ msgstr "Estado del pedido"
|
|
1012 |
|
1013 |
#: wp-e-commerce/user-log.php:169
|
1014 |
msgid "Shipping Details"
|
1015 |
-
msgstr "Costes adicionales de
|
1016 |
|
1017 |
#: wp-e-commerce/user-log.php:188
|
1018 |
-
#, fuzzy
|
1019 |
msgid "Order Details"
|
1020 |
-
msgstr "
|
1021 |
|
1022 |
#: wp-e-commerce/user-log.php:212
|
1023 |
msgid "GST"
|
@@ -1055,7 +1014,7 @@ msgstr ""
|
|
1055 |
|
1056 |
#: wp-e-commerce/wp-shopping-cart.old.php:57
|
1057 |
msgid "Note: if this is blank, the image will not be resized"
|
1058 |
-
msgstr "Nota: si
|
1059 |
|
1060 |
#: wp-e-commerce/wp-shopping-cart.old.php:377
|
1061 |
#: wp-e-commerce/wp-shopping-cart.old.php:1660
|
@@ -1067,13 +1026,13 @@ msgstr "Texto"
|
|
1067 |
#: wp-e-commerce/wp-shopping-cart.old.php:1663
|
1068 |
#: wp-e-commerce/wp-shopping-cart.old.php:1674
|
1069 |
msgid "Textarea"
|
1070 |
-
msgstr "
|
1071 |
|
1072 |
#: wp-e-commerce/wp-shopping-cart.old.php:381
|
1073 |
#: wp-e-commerce/wp-shopping-cart.old.php:1664
|
1074 |
#: wp-e-commerce/wp-shopping-cart.old.php:1675
|
1075 |
msgid "Heading"
|
1076 |
-
msgstr "
|
1077 |
|
1078 |
#: wp-e-commerce/wp-shopping-cart.old.php:382
|
1079 |
#: wp-e-commerce/wp-shopping-cart.old.php:1665
|
@@ -1087,9 +1046,8 @@ msgid "Label"
|
|
1087 |
msgstr ""
|
1088 |
|
1089 |
#: wp-e-commerce/wp-shopping-cart.old.php:388
|
1090 |
-
#, fuzzy
|
1091 |
msgid "Label Description"
|
1092 |
-
msgstr "
|
1093 |
|
1094 |
#: wp-e-commerce/wp-shopping-cart.old.php:389
|
1095 |
msgid "Item Number"
|
@@ -1192,11 +1150,11 @@ msgstr ""
|
|
1192 |
|
1193 |
#: wp-e-commerce/wp-shopping-cart.old.php:1401
|
1194 |
msgid "Click stars to rate"
|
1195 |
-
msgstr "
|
1196 |
|
1197 |
#: wp-e-commerce/wp-shopping-cart.old.php:1406
|
1198 |
msgid "No Votes"
|
1199 |
-
msgstr "
|
1200 |
|
1201 |
#: wp-e-commerce/wp-shopping-cart.old.php:1410
|
1202 |
msgid "1 Vote"
|
@@ -1224,7 +1182,7 @@ msgstr ""
|
|
1224 |
|
1225 |
#: wp-e-commerce/wp-shopping-cart.old.php:1671
|
1226 |
msgid "Delivery Address"
|
1227 |
-
msgstr "
|
1228 |
|
1229 |
#: wp-e-commerce/wp-shopping-cart.old.php:1672
|
1230 |
msgid "Delivery City"
|
@@ -1232,15 +1190,15 @@ msgstr "Ciudad"
|
|
1232 |
|
1233 |
#: wp-e-commerce/wp-shopping-cart.old.php:1673
|
1234 |
msgid "Delivery Country"
|
1235 |
-
msgstr "
|
1236 |
|
1237 |
#: wp-e-commerce/wp-shopping-cart.old.php:1720
|
1238 |
msgid "The item has been added"
|
1239 |
-
msgstr "El
|
1240 |
|
1241 |
#: wp-e-commerce/wp-shopping-cart.old.php:1722
|
1242 |
msgid "The item has not been added"
|
1243 |
-
msgstr "El
|
1244 |
|
1245 |
#: wp-e-commerce/wp-shopping-cart.old.php:1732
|
1246 |
#, fuzzy
|
@@ -1248,9 +1206,8 @@ msgid "Edit Variation Set"
|
|
1248 |
msgstr "Opciones de producto"
|
1249 |
|
1250 |
#: wp-e-commerce/wp-shopping-cart.old.php:1743
|
1251 |
-
#, fuzzy
|
1252 |
msgid "Add Variation Set"
|
1253 |
-
msgstr "
|
1254 |
|
1255 |
#: wp-e-commerce/wp-shopping-cart.old.php:1792
|
1256 |
msgid "Add Value"
|
@@ -1259,7 +1216,7 @@ msgstr ""
|
|
1259 |
#: wp-e-commerce/js/tinymce3/window.php:36
|
1260 |
#: wp-e-commerce/js/tinymce3/window.php:118
|
1261 |
msgid "Category"
|
1262 |
-
msgstr "
|
1263 |
|
1264 |
#: wp-e-commerce/js/tinymce3/window.php:37
|
1265 |
#, fuzzy
|
@@ -1267,32 +1224,27 @@ msgid "Product Slider"
|
|
1267 |
msgstr "Precio del producto"
|
1268 |
|
1269 |
#: wp-e-commerce/js/tinymce3/window.php:38
|
1270 |
-
#, fuzzy
|
1271 |
msgid "Add Product"
|
1272 |
-
msgstr "
|
1273 |
|
1274 |
#: wp-e-commerce/js/tinymce3/window.php:48
|
1275 |
#: wp-e-commerce/js/tinymce3/window.php:76
|
1276 |
-
#, fuzzy
|
1277 |
msgid "Select Category"
|
1278 |
-
msgstr "
|
1279 |
|
1280 |
#: wp-e-commerce/js/tinymce3/window.php:51
|
1281 |
#: wp-e-commerce/js/tinymce3/window.php:78
|
1282 |
#: wp-e-commerce/js/tinymce3/window.php:122
|
1283 |
-
#, fuzzy
|
1284 |
msgid "No Category"
|
1285 |
-
msgstr "
|
1286 |
|
1287 |
#: wp-e-commerce/js/tinymce3/window.php:65
|
1288 |
-
#, fuzzy
|
1289 |
msgid "Number of items per Page"
|
1290 |
-
msgstr "
|
1291 |
|
1292 |
#: wp-e-commerce/js/tinymce3/window.php:91
|
1293 |
-
#, fuzzy
|
1294 |
msgid "Number of visible items"
|
1295 |
-
msgstr "
|
1296 |
|
1297 |
#: wp-e-commerce/merchants/authorize.merchant.php:278
|
1298 |
msgid "There was an error contacting the payment gateway, please try again later."
|
@@ -1300,14 +1252,12 @@ msgstr ""
|
|
1300 |
|
1301 |
#: wp-e-commerce/merchants/chronopay.php:440
|
1302 |
#: wp-e-commerce/merchants/paypal_multiple.php:554
|
1303 |
-
#, fuzzy
|
1304 |
msgid "Update »"
|
1305 |
-
msgstr "Aplicar"
|
1306 |
|
1307 |
#: wp-e-commerce/merchants/paypal-standard.merchant.php:134
|
1308 |
-
#, fuzzy
|
1309 |
msgid "Your Subscription"
|
1310 |
-
msgstr "
|
1311 |
|
1312 |
#: wp-e-commerce/merchants/paypal_certified.php:585
|
1313 |
#: wp-e-commerce/merchants/paypal_multiple.php:519
|
@@ -1363,9 +1313,8 @@ msgstr "Precio total"
|
|
1363 |
|
1364 |
#: wp-e-commerce/shipping/tablerate.php:30
|
1365 |
#: wp-e-commerce/shipping/weightrate.php:30
|
1366 |
-
#, fuzzy
|
1367 |
msgid "Shipping Price"
|
1368 |
-
msgstr "
|
1369 |
|
1370 |
#: wp-e-commerce/shipping/ups.php:34
|
1371 |
#, fuzzy
|
@@ -1401,9 +1350,8 @@ msgid "Destination Type"
|
|
1401 |
msgstr ""
|
1402 |
|
1403 |
#: wp-e-commerce/shipping/ups.php:59
|
1404 |
-
#, fuzzy
|
1405 |
msgid "Residential Address"
|
1406 |
-
msgstr "
|
1407 |
|
1408 |
#: wp-e-commerce/shipping/ups.php:60
|
1409 |
msgid "Commercial Address"
|
@@ -1431,7 +1379,7 @@ msgstr ""
|
|
1431 |
|
1432 |
#: wp-e-commerce/themes/default/cart_widget.php:15
|
1433 |
msgid "Number of items"
|
1434 |
-
msgstr "
|
1435 |
|
1436 |
#: wp-e-commerce/themes/default/cart_widget.php:23
|
1437 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:13
|
@@ -1440,7 +1388,7 @@ msgstr "Producto"
|
|
1440 |
|
1441 |
#: wp-e-commerce/themes/default/cart_widget.php:24
|
1442 |
msgid "Qty"
|
1443 |
-
msgstr "
|
1444 |
|
1445 |
#: wp-e-commerce/themes/default/cart_widget.php:59
|
1446 |
#, fuzzy
|
@@ -1448,17 +1396,16 @@ msgid "Postage & Tax "
|
|
1448 |
msgstr "Franqueo y embalaje por defecto"
|
1449 |
|
1450 |
#: wp-e-commerce/themes/default/cart_widget.php:72
|
1451 |
-
#, fuzzy
|
1452 |
msgid "Empty your cart"
|
1453 |
-
msgstr "Vaciar
|
1454 |
|
1455 |
#: wp-e-commerce/themes/default/cart_widget.php:76
|
1456 |
msgid "Go to Checkout"
|
1457 |
-
msgstr "
|
1458 |
|
1459 |
#: wp-e-commerce/themes/default/cart_widget.php:78
|
1460 |
msgid "Your shopping cart is empty"
|
1461 |
-
msgstr "
|
1462 |
|
1463 |
#: wp-e-commerce/themes/default/cart_widget.php:80
|
1464 |
msgid "Visit the shop"
|
@@ -1477,9 +1424,8 @@ msgstr "Este producto esta agotado."
|
|
1477 |
#: wp-e-commerce/themes/default/grid_view.php:173
|
1478 |
#: wp-e-commerce/themes/default/list_view.php:185
|
1479 |
#: wp-e-commerce/themes/default/products_page.php:256
|
1480 |
-
#, fuzzy
|
1481 |
msgid "There are no products in this group."
|
1482 |
-
msgstr "No hay
|
1483 |
|
1484 |
#: wp-e-commerce/themes/default/list_view.php:153
|
1485 |
#: wp-e-commerce/themes/default/products_page.php:222
|
@@ -1496,9 +1442,8 @@ msgid "Donation"
|
|
1496 |
msgstr ""
|
1497 |
|
1498 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:9
|
1499 |
-
#, fuzzy
|
1500 |
msgid "Please review your order"
|
1501 |
-
msgstr "
|
1502 |
|
1503 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:32
|
1504 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:57
|
@@ -1519,11 +1464,11 @@ msgstr ""
|
|
1519 |
|
1520 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:82
|
1521 |
msgid "Calculate Shipping Price"
|
1522 |
-
msgstr "
|
1523 |
|
1524 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:86
|
1525 |
msgid "Please choose a country below to calculate your shipping costs"
|
1526 |
-
msgstr ""
|
1527 |
|
1528 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:95
|
1529 |
msgid "Please provide a Zipcode and click Calculate in order to continue."
|
@@ -1534,9 +1479,8 @@ msgid "Sorry, online ordering is unavailable to this destination and/or weight.
|
|
1534 |
msgstr ""
|
1535 |
|
1536 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:120
|
1537 |
-
#, fuzzy
|
1538 |
msgid "- Choose a Shipping Rate"
|
1539 |
-
msgstr "
|
1540 |
|
1541 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:210
|
1542 |
msgid "Not yet a member?"
|
@@ -1577,7 +1521,7 @@ msgstr "Condiciones"
|
|
1577 |
|
1578 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:355
|
1579 |
msgid "Make Purchase"
|
1580 |
-
msgstr "
|
1581 |
|
1582 |
#: wp-e-commerce/themes/default/single_product.php:93
|
1583 |
#: wp-e-commerce/themes/iShop/single_product.php:94
|
@@ -1617,9 +1561,8 @@ msgstr ""
|
|
1617 |
|
1618 |
#: wp-e-commerce/widgets/category_widget.27.php:19
|
1619 |
#: wp-e-commerce/wpsc-admin/admin.php:101
|
1620 |
-
#, fuzzy
|
1621 |
msgid "Categories"
|
1622 |
-
msgstr "
|
1623 |
|
1624 |
#: wp-e-commerce/widgets/category_widget.27.php:134
|
1625 |
#: wp-e-commerce/widgets/category_widget.28.php:69
|
@@ -1634,35 +1577,30 @@ msgstr ""
|
|
1634 |
|
1635 |
#: wp-e-commerce/widgets/category_widget.27.php:159
|
1636 |
#: wp-e-commerce/widgets/category_widget.28.php:80
|
1637 |
-
#, fuzzy
|
1638 |
msgid "Display the :category: Group"
|
1639 |
-
msgstr "Mostrar
|
1640 |
|
1641 |
#: wp-e-commerce/widgets/category_widget.27.php:168
|
1642 |
#: wp-e-commerce/widgets/category_widget.28.php:88
|
1643 |
-
#, fuzzy
|
1644 |
msgid "Display the Group thumbnails in the sidebar"
|
1645 |
-
msgstr "Mostrar u ocultar
|
1646 |
|
1647 |
#: wp-e-commerce/widgets/category_widget.27.php:179
|
1648 |
#: wp-e-commerce/widgets/category_widget.28.php:11
|
1649 |
-
#, fuzzy
|
1650 |
msgid "Product Grouping Widget"
|
1651 |
-
msgstr "
|
1652 |
|
1653 |
#: wp-e-commerce/widgets/category_widget.27.php:181
|
1654 |
#: wp-e-commerce/widgets/category_widget.28.php:12
|
1655 |
#: wp-e-commerce/widgets/category_widget.28.php:19
|
1656 |
-
#, fuzzy
|
1657 |
msgid "Product Categories"
|
1658 |
-
msgstr "
|
1659 |
|
1660 |
#: wp-e-commerce/widgets/latest_product_widget.php:7
|
1661 |
#: wp-e-commerce/widgets/latest_product_widget.php:87
|
1662 |
#: wp-e-commerce/widgets/latest_product_widget.php:88
|
1663 |
-
#, fuzzy
|
1664 |
msgid "Latest Products"
|
1665 |
-
msgstr "
|
1666 |
|
1667 |
#: wp-e-commerce/widgets/latest_product_widget.php:74
|
1668 |
msgid "Number of products to show:"
|
@@ -1682,9 +1620,8 @@ msgstr ""
|
|
1682 |
#: wp-e-commerce/widgets/product_tag_widget.php:9
|
1683 |
#: wp-e-commerce/widgets/product_tag_widget.php:38
|
1684 |
#: wp-e-commerce/widgets/product_tag_widget.php:39
|
1685 |
-
#, fuzzy
|
1686 |
msgid "Product Tags"
|
1687 |
-
msgstr "
|
1688 |
|
1689 |
#: wp-e-commerce/widgets/shopping_cart_widget.php:37
|
1690 |
#: wp-e-commerce/widgets/shopping_cart_widget.php:42
|
@@ -1699,9 +1636,8 @@ msgid "Product Specials"
|
|
1699 |
msgstr "Detalles del producto"
|
1700 |
|
1701 |
#: wp-e-commerce/widgets/specials_widget.php:106
|
1702 |
-
#, fuzzy
|
1703 |
msgid "Show Description:"
|
1704 |
-
msgstr "
|
1705 |
|
1706 |
#: wp-e-commerce/wpsc-admin/admin.php:75
|
1707 |
#: wp-e-commerce/wpsc-admin/admin.php:78
|
@@ -1709,29 +1645,26 @@ msgstr "Descripci�n"
|
|
1709 |
#: wp-e-commerce/wpsc-admin/admin.php:85
|
1710 |
#: wp-e-commerce/wpsc-admin/admin.php:88
|
1711 |
#: wp-e-commerce/wpsc-admin/admin.php:98
|
1712 |
-
#, fuzzy
|
1713 |
msgid "Products"
|
1714 |
-
msgstr "
|
1715 |
|
1716 |
#: wp-e-commerce/wpsc-admin/admin.php:93
|
1717 |
#: wp-e-commerce/wpsc-admin/admin.php:421
|
1718 |
#: wp-e-commerce/wpsc-admin/admin.php:451
|
1719 |
-
#, fuzzy
|
1720 |
msgid "Sales"
|
1721 |
msgstr "Ofertas"
|
1722 |
|
1723 |
#: wp-e-commerce/wpsc-admin/admin.php:105
|
1724 |
msgid "Variations"
|
1725 |
-
msgstr "
|
1726 |
|
1727 |
#: wp-e-commerce/wpsc-admin/admin.php:126
|
1728 |
msgid "Marketing"
|
1729 |
-
msgstr ""
|
1730 |
|
1731 |
#: wp-e-commerce/wpsc-admin/admin.php:132
|
1732 |
-
#, fuzzy
|
1733 |
msgid "Upgrades"
|
1734 |
-
msgstr "Opciones
|
1735 |
|
1736 |
#: wp-e-commerce/wpsc-admin/admin.php:136
|
1737 |
msgid "- Debug"
|
@@ -1805,7 +1738,7 @@ msgstr ""
|
|
1805 |
|
1806 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:456
|
1807 |
msgid "The product group has been edited."
|
1808 |
-
msgstr "La
|
1809 |
|
1810 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:461
|
1811 |
#, fuzzy
|
@@ -1822,9 +1755,8 @@ msgid "Are you sure you want to delete this category? If the category has any su
|
|
1822 |
msgstr ""
|
1823 |
|
1824 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:537
|
1825 |
-
#, fuzzy
|
1826 |
msgid "Are you sure you want to delete this product group? All categories it contains will be deleted too."
|
1827 |
-
msgstr "
|
1828 |
|
1829 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:560
|
1830 |
msgid "Categorizing your products into groups help your customers find them. For instance if you sell hats and trousers you might want to setup a Group called clothes and add hats and trousers to that group."
|
@@ -1841,19 +1773,16 @@ msgstr ""
|
|
1841 |
|
1842 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:595
|
1843 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:612
|
1844 |
-
#, fuzzy
|
1845 |
msgid "Add New Group"
|
1846 |
-
msgstr "
|
1847 |
|
1848 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:602
|
1849 |
-
#, fuzzy
|
1850 |
msgid "About This Page"
|
1851 |
-
msgstr "
|
1852 |
|
1853 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:671
|
1854 |
-
#, fuzzy
|
1855 |
msgid ""[categorisation]" Group"
|
1856 |
-
msgstr "
|
1857 |
|
1858 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:681
|
1859 |
msgid "Image"
|
@@ -1861,9 +1790,8 @@ msgstr "Imagen"
|
|
1861 |
|
1862 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:725
|
1863 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:729
|
1864 |
-
#, fuzzy
|
1865 |
msgid "You are editing an item in the "[categorisation]" Group"
|
1866 |
-
msgstr "
|
1867 |
|
1868 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:728
|
1869 |
#, fuzzy
|
@@ -1871,9 +1799,8 @@ msgid "Edit Details"
|
|
1871 |
msgstr "Detalles del producto"
|
1872 |
|
1873 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:744
|
1874 |
-
#, fuzzy
|
1875 |
msgid "Add Category"
|
1876 |
-
msgstr "
|
1877 |
|
1878 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:747
|
1879 |
msgid "Adding a new category here will make it available when you add or edit a product."
|
@@ -1881,14 +1808,12 @@ msgstr ""
|
|
1881 |
|
1882 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:753
|
1883 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:756
|
1884 |
-
#, fuzzy
|
1885 |
msgid "You are adding a new item to the "[categorisation]" Group"
|
1886 |
-
msgstr "
|
1887 |
|
1888 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:874
|
1889 |
-
#, fuzzy
|
1890 |
msgid "Add Group"
|
1891 |
-
msgstr "
|
1892 |
|
1893 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:29
|
1894 |
msgid "Display Products"
|
@@ -1896,9 +1821,8 @@ msgstr "Mostrar productos"
|
|
1896 |
|
1897 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:74
|
1898 |
#: wp-e-commerce/wpsc-admin/display-variations.page.php:49
|
1899 |
-
#, fuzzy
|
1900 |
msgid "Product updated."
|
1901 |
-
msgstr "
|
1902 |
|
1903 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:114
|
1904 |
msgid "The following directories are not writable: :directory: You won't be able to upload any images or files here. You will need to change the permissions on these directories to make them writable."
|
@@ -1936,9 +1860,8 @@ msgstr ""
|
|
1936 |
|
1937 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:268
|
1938 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:343
|
1939 |
-
#, fuzzy
|
1940 |
msgid "Draft"
|
1941 |
-
msgstr "
|
1942 |
|
1943 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:272
|
1944 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:389
|
@@ -1946,9 +1869,8 @@ msgid "Apply"
|
|
1946 |
msgstr ""
|
1947 |
|
1948 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:308
|
1949 |
-
#, fuzzy
|
1950 |
msgid "No Name"
|
1951 |
-
msgstr "
|
1952 |
|
1953 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:367
|
1954 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:341
|
@@ -1975,7 +1897,7 @@ msgstr "Usted ha votado"
|
|
1975 |
|
1976 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:440
|
1977 |
msgid "View All Categories"
|
1978 |
-
msgstr "Todas las
|
1979 |
|
1980 |
#: wp-e-commerce/wpsc-admin/display-options-settings.page.php:37
|
1981 |
#, fuzzy
|
@@ -1984,24 +1906,23 @@ msgstr "Gracias, sus cambios han sido guardados."
|
|
1984 |
|
1985 |
#: wp-e-commerce/wpsc-admin/display-options-settings.page.php:92
|
1986 |
msgid "General"
|
1987 |
-
msgstr ""
|
1988 |
|
1989 |
#: wp-e-commerce/wpsc-admin/display-options-settings.page.php:93
|
1990 |
msgid "Presentation"
|
1991 |
-
msgstr ""
|
1992 |
|
1993 |
#: wp-e-commerce/wpsc-admin/display-options-settings.page.php:94
|
1994 |
msgid "Admin"
|
1995 |
-
msgstr ""
|
1996 |
|
1997 |
#: wp-e-commerce/wpsc-admin/display-options-settings.page.php:96
|
1998 |
-
#, fuzzy
|
1999 |
msgid "Payment Options"
|
2000 |
-
msgstr "
|
2001 |
|
2002 |
#: wp-e-commerce/wpsc-admin/display-options-settings.page.php:97
|
2003 |
msgid "Import"
|
2004 |
-
msgstr ""
|
2005 |
|
2006 |
#: wp-e-commerce/wpsc-admin/display-options-settings.page.php:169
|
2007 |
msgid "To configure a shipping module select one on the left."
|
@@ -2012,19 +1933,16 @@ msgid "When upgrading the Wp-E-Commerce Plugin from 3.6.* to 3.7 it is required
|
|
2012 |
msgstr ""
|
2013 |
|
2014 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:158
|
2015 |
-
#, fuzzy
|
2016 |
msgid "Shipping Options"
|
2017 |
-
msgstr "Costes adicionales de
|
2018 |
|
2019 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:161
|
2020 |
-
#, fuzzy
|
2021 |
msgid "Shipping Method:"
|
2022 |
-
msgstr "Costes adicionales de
|
2023 |
|
2024 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:162
|
2025 |
-
#, fuzzy
|
2026 |
msgid "Shipping Option:"
|
2027 |
-
msgstr "Costes adicionales de
|
2028 |
|
2029 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:164
|
2030 |
#, fuzzy
|
@@ -2032,18 +1950,16 @@ msgid "Tracking ID:"
|
|
2032 |
msgstr "ID de pedido"
|
2033 |
|
2034 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:165
|
2035 |
-
#, fuzzy
|
2036 |
msgid "Shipping Status:"
|
2037 |
-
msgstr "Costes adicionales de
|
2038 |
|
2039 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:166
|
2040 |
msgid "Track History:"
|
2041 |
msgstr ""
|
2042 |
|
2043 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:172
|
2044 |
-
#, fuzzy
|
2045 |
msgid "Billing Details"
|
2046 |
-
msgstr "Costes adicionales de
|
2047 |
|
2048 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:173
|
2049 |
#, fuzzy
|
@@ -2060,14 +1976,12 @@ msgid "Buyers Name:"
|
|
2060 |
msgstr ""
|
2061 |
|
2062 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:176
|
2063 |
-
#, fuzzy
|
2064 |
msgid "Address:"
|
2065 |
-
msgstr "
|
2066 |
|
2067 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:178
|
2068 |
-
#, fuzzy
|
2069 |
msgid "Phone:"
|
2070 |
-
msgstr "
|
2071 |
|
2072 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:179
|
2073 |
#, fuzzy
|
@@ -2075,9 +1989,8 @@ msgid "Email:"
|
|
2075 |
msgstr "E-mail"
|
2076 |
|
2077 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:180
|
2078 |
-
#, fuzzy
|
2079 |
msgid "Payment Method:"
|
2080 |
-
msgstr "
|
2081 |
|
2082 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:182
|
2083 |
msgid "How User Found Us:"
|
@@ -2150,11 +2063,11 @@ msgstr "(Metodos de Pago Aceptados)"
|
|
2150 |
|
2151 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:343
|
2152 |
msgid "Subscribe to your orders"
|
2153 |
-
msgstr "
|
2154 |
|
2155 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:345
|
2156 |
msgid "Subscribe to an RSS feed"
|
2157 |
-
msgstr "
|
2158 |
|
2159 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:345
|
2160 |
msgid "of your orders"
|
@@ -2173,9 +2086,8 @@ msgid "This shop is powered by "
|
|
2173 |
msgstr "This shop is powered by "
|
2174 |
|
2175 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:360
|
2176 |
-
#, fuzzy
|
2177 |
msgid "Upgrade to Gold"
|
2178 |
-
msgstr "Opciones
|
2179 |
|
2180 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:360
|
2181 |
msgid " and unleash more functionality into your shop."
|
@@ -2186,9 +2098,8 @@ msgid "View:"
|
|
2186 |
msgstr ""
|
2187 |
|
2188 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:430
|
2189 |
-
#, fuzzy
|
2190 |
msgid "Filter"
|
2191 |
-
msgstr "
|
2192 |
|
2193 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:433
|
2194 |
msgid "Oops there are no purchase logs for your selection, please try again."
|
@@ -2244,9 +2155,8 @@ msgstr ""
|
|
2244 |
|
2245 |
#: wp-e-commerce/wpsc-admin/display-upgrades.page.php:71
|
2246 |
#: wp-e-commerce/wpsc-admin/display-upgrades.page.php:79
|
2247 |
-
#, fuzzy
|
2248 |
msgid "API Key Reset"
|
2249 |
-
msgstr "KEY de
|
2250 |
|
2251 |
#: wp-e-commerce/wpsc-admin/display-upgrades.page.php:74
|
2252 |
msgid "Enter your API name and key to release it from an old site that you no longer use."
|
@@ -2254,12 +2164,11 @@ msgstr ""
|
|
2254 |
|
2255 |
#: wp-e-commerce/wpsc-admin/display-upgrades.page.php:85
|
2256 |
msgid "API Key"
|
2257 |
-
msgstr "
|
2258 |
|
2259 |
#: wp-e-commerce/wpsc-admin/display-upgrades.page.php:90
|
2260 |
-
#, fuzzy
|
2261 |
msgid "Reset API Key"
|
2262 |
-
msgstr "KEY de
|
2263 |
|
2264 |
#: wp-e-commerce/wpsc-admin/display-upgrades.page.php:99
|
2265 |
msgid "Upgrade Instructions"
|
@@ -2289,7 +2198,7 @@ msgstr ""
|
|
2289 |
|
2290 |
#: wp-e-commerce/wpsc-admin/display-variations.page.php:21
|
2291 |
msgid "Are you sure you want to delete this product?"
|
2292 |
-
msgstr "
|
2293 |
|
2294 |
#: wp-e-commerce/wpsc-admin/display-variations.page.php:37
|
2295 |
#, fuzzy
|
@@ -2301,27 +2210,24 @@ msgid "A variation can be anything \"optional\" about a product. ie: Size, Color
|
|
2301 |
msgstr ""
|
2302 |
|
2303 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:133
|
2304 |
-
#, fuzzy
|
2305 |
msgid "Edit Product"
|
2306 |
-
msgstr "Editar
|
2307 |
|
2308 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:144
|
2309 |
msgid "Product Name"
|
2310 |
msgstr "Nombre del producto"
|
2311 |
|
2312 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:153
|
2313 |
-
#, fuzzy
|
2314 |
msgid "Display Product Shortcode"
|
2315 |
-
msgstr "Mostrar
|
2316 |
|
2317 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:154
|
2318 |
msgid "Buy Now Shortcode"
|
2319 |
msgstr ""
|
2320 |
|
2321 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:155
|
2322 |
-
#, fuzzy
|
2323 |
msgid "Add to Cart Shortcode"
|
2324 |
-
msgstr "
|
2325 |
|
2326 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:161
|
2327 |
#, fuzzy
|
@@ -2333,9 +2239,8 @@ msgid "Buy Now PHP"
|
|
2333 |
msgstr ""
|
2334 |
|
2335 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:163
|
2336 |
-
#, fuzzy
|
2337 |
msgid "Add to Cart PHP"
|
2338 |
-
msgstr "
|
2339 |
|
2340 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:164
|
2341 |
#, fuzzy
|
@@ -2363,7 +2268,7 @@ msgstr "Borrar Product"
|
|
2363 |
|
2364 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:290
|
2365 |
msgid "Additional Description"
|
2366 |
-
msgstr "
|
2367 |
|
2368 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:340
|
2369 |
#, fuzzy
|
@@ -2371,14 +2276,12 @@ msgid "Update Product"
|
|
2371 |
msgstr "Reemplazar producto"
|
2372 |
|
2373 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:364
|
2374 |
-
#, fuzzy
|
2375 |
msgid "Categories and Tags"
|
2376 |
-
msgstr "
|
2377 |
|
2378 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:403
|
2379 |
-
#, fuzzy
|
2380 |
msgid "Select "[categorisation]""
|
2381 |
-
msgstr "
|
2382 |
|
2383 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:459
|
2384 |
msgid "Price and Stock Control"
|
@@ -2404,7 +2307,7 @@ msgstr ""
|
|
2404 |
|
2405 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:541
|
2406 |
msgid "I have a limited number of this item in stock. If the stock runs out, this product will not be available on the shop unless you untick this box or add more stock."
|
2407 |
-
msgstr "Existe un
|
2408 |
|
2409 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:556
|
2410 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:570
|
@@ -2419,14 +2322,12 @@ msgid "Stock Qty"
|
|
2419 |
msgstr "Stock"
|
2420 |
|
2421 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:603
|
2422 |
-
#, fuzzy
|
2423 |
msgid "Variation Control"
|
2424 |
-
msgstr "
|
2425 |
|
2426 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:607
|
2427 |
-
#, fuzzy
|
2428 |
msgid "+ Add New Variations"
|
2429 |
-
msgstr "
|
2430 |
|
2431 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:653
|
2432 |
#, fuzzy
|
@@ -2440,11 +2341,11 @@ msgstr "URL de opciones"
|
|
2440 |
|
2441 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:722
|
2442 |
msgid "Local Shipping Fee"
|
2443 |
-
msgstr "Coste de
|
2444 |
|
2445 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:731
|
2446 |
msgid "International Shipping Fee"
|
2447 |
-
msgstr "Coste de
|
2448 |
|
2449 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:740
|
2450 |
msgid "Disregard Shipping for this product"
|
@@ -2515,7 +2416,7 @@ msgstr ""
|
|
2515 |
|
2516 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:907
|
2517 |
msgid "Product Images"
|
2518 |
-
msgstr "
|
2519 |
|
2520 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:915
|
2521 |
#, fuzzy
|
@@ -2579,9 +2480,8 @@ msgid "Preview"
|
|
2579 |
msgstr "Previsualizar"
|
2580 |
|
2581 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:1192
|
2582 |
-
#, fuzzy
|
2583 |
msgid "Thumbnail Settings"
|
2584 |
-
msgstr "Opciones de
|
2585 |
|
2586 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:1200
|
2587 |
#, fuzzy
|
@@ -2655,13 +2555,12 @@ msgid "Upgrading to WP e-Commerce 3.7 and later requires you to run this fix onc
|
|
2655 |
msgstr ""
|
2656 |
|
2657 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/admin.php:7
|
2658 |
-
#, fuzzy
|
2659 |
msgid "Admin Settings"
|
2660 |
-
msgstr "Opciones de
|
2661 |
|
2662 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/admin.php:13
|
2663 |
msgid "Max downloads per file"
|
2664 |
-
msgstr "Descargas
|
2665 |
|
2666 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/admin.php:35
|
2667 |
msgid "Lock downloads to IP address"
|
@@ -2717,7 +2616,7 @@ msgstr "URL de opciones"
|
|
2717 |
|
2718 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/admin.php:184
|
2719 |
msgid "Transaction Details URL"
|
2720 |
-
msgstr "URL de detalles de la
|
2721 |
|
2722 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/admin.php:195
|
2723 |
msgid "User Account URL"
|
@@ -2728,9 +2627,8 @@ msgid "Update Page URLs"
|
|
2728 |
msgstr ""
|
2729 |
|
2730 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/admin.php:206
|
2731 |
-
#, fuzzy
|
2732 |
msgid "Fix Product Group Permalinks"
|
2733 |
-
msgstr "
|
2734 |
|
2735 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/checkout.php:27
|
2736 |
msgid "Checkout Options"
|
@@ -2754,16 +2652,15 @@ msgstr ""
|
|
2754 |
|
2755 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/checkout.php:115
|
2756 |
msgid "Here you can customise the forms to be displayed in your checkout page. The checkout page is where you collect important user information that will show up in your purchase logs i.e. the buyers address, and name..."
|
2757 |
-
msgstr "
|
2758 |
|
2759 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/checkout.php:208
|
2760 |
-
#, fuzzy
|
2761 |
msgid "This will be the Email address that the Purchase Reciept is sent to."
|
2762 |
-
msgstr "
|
2763 |
|
2764 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/checkout.php:311
|
2765 |
msgid "Add New Form Field"
|
2766 |
-
msgstr "
|
2767 |
|
2768 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/gateway.php:31
|
2769 |
msgid "Please Select A Payment Gateway"
|
@@ -2812,7 +2709,7 @@ msgstr ""
|
|
2812 |
|
2813 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/general.php:13
|
2814 |
msgid "Base Country/Region"
|
2815 |
-
msgstr "
|
2816 |
|
2817 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/general.php:39
|
2818 |
msgid "Select your primary business location."
|
@@ -2849,9 +2746,8 @@ msgid "Show All Products"
|
|
2849 |
msgstr "Mostrar tarifas de producto"
|
2850 |
|
2851 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:21
|
2852 |
-
#, fuzzy
|
2853 |
msgid "Show list of product groups"
|
2854 |
-
msgstr "
|
2855 |
|
2856 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:28
|
2857 |
#, fuzzy
|
@@ -2882,16 +2778,15 @@ msgstr ""
|
|
2882 |
|
2883 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:170
|
2884 |
msgid "Show Postage and Packaging"
|
2885 |
-
msgstr "Mostrar gastos de
|
2886 |
|
2887 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:193
|
2888 |
msgid "Disable link in Title"
|
2889 |
msgstr ""
|
2890 |
|
2891 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:217
|
2892 |
-
#, fuzzy
|
2893 |
msgid "Add quantity field to each product description"
|
2894 |
-
msgstr "
|
2895 |
|
2896 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:242
|
2897 |
msgid "Theme Customisation"
|
@@ -2950,9 +2845,8 @@ msgid "Read Tutorials"
|
|
2950 |
msgstr ""
|
2951 |
|
2952 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:285
|
2953 |
-
#, fuzzy
|
2954 |
msgid "Product Page Settings"
|
2955 |
-
msgstr "
|
2956 |
|
2957 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:288
|
2958 |
msgid "Product Display"
|
@@ -2967,18 +2861,16 @@ msgid "Show quantity form in list view"
|
|
2967 |
msgstr "Mostrar cantidades en modo lista"
|
2968 |
|
2969 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:382
|
2970 |
-
#, fuzzy
|
2971 |
msgid "Products Per Row"
|
2972 |
-
msgstr "
|
2973 |
|
2974 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:387
|
2975 |
msgid "Show images only"
|
2976 |
msgstr ""
|
2977 |
|
2978 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:397
|
2979 |
-
#, fuzzy
|
2980 |
msgid "Display Description"
|
2981 |
-
msgstr "
|
2982 |
|
2983 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:402
|
2984 |
msgid "Display \"Add To Cart\" Button"
|
@@ -2986,7 +2878,7 @@ msgstr ""
|
|
2986 |
|
2987 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:406
|
2988 |
msgid "Display \"More Details\" Button"
|
2989 |
-
msgstr ""
|
2990 |
|
2991 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:416
|
2992 |
#, fuzzy
|
@@ -3036,18 +2928,17 @@ msgid "Replace Page Title With Product/Category Name"
|
|
3036 |
msgstr ""
|
3037 |
|
3038 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:587
|
3039 |
-
#, fuzzy
|
3040 |
msgid "Shopping Cart Settings"
|
3041 |
-
msgstr "Costes adicionales de
|
3042 |
|
3043 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:619
|
3044 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:623
|
3045 |
msgid "Sidebar"
|
3046 |
-
msgstr "Barra de
|
3047 |
|
3048 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:627
|
3049 |
msgid "Page"
|
3050 |
-
msgstr "
|
3051 |
|
3052 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:631
|
3053 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:635
|
@@ -3073,9 +2964,8 @@ msgid "Show Dropshop on every page"
|
|
3073 |
msgstr ""
|
3074 |
|
3075 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:653
|
3076 |
-
#, fuzzy
|
3077 |
msgid "Show Dropshop only on product page"
|
3078 |
-
msgstr "Mostrar en
|
3079 |
|
3080 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:656
|
3081 |
msgid "Use light Dropshop style"
|
@@ -3094,29 +2984,24 @@ msgid "Use Sliding Cart"
|
|
3094 |
msgstr ""
|
3095 |
|
3096 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:693
|
3097 |
-
#, fuzzy
|
3098 |
msgid "Display \"+ Postage & Tax\""
|
3099 |
-
msgstr "Mostrar en
|
3100 |
|
3101 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:719
|
3102 |
-
#, fuzzy
|
3103 |
msgid "Product Group Settings"
|
3104 |
-
msgstr "
|
3105 |
|
3106 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:723
|
3107 |
-
#, fuzzy
|
3108 |
msgid "Show Product Group Description"
|
3109 |
-
msgstr "
|
3110 |
|
3111 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:748
|
3112 |
-
#, fuzzy
|
3113 |
msgid "Show Product Group Thumbnails"
|
3114 |
-
msgstr "
|
3115 |
|
3116 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:775
|
3117 |
-
#, fuzzy
|
3118 |
msgid "Show Product Count per Product Group"
|
3119 |
-
msgstr "Seleccione una
|
3120 |
|
3121 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:801
|
3122 |
msgid "Use Category Grid View"
|
@@ -3124,7 +3009,7 @@ msgstr ""
|
|
3124 |
|
3125 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:832
|
3126 |
msgid "Default Product Thumbnail Size"
|
3127 |
-
msgstr "
|
3128 |
|
3129 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:836
|
3130 |
#, fuzzy
|
@@ -3133,7 +3018,7 @@ msgstr "Redimensionar Thumbnail"
|
|
3133 |
|
3134 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:842
|
3135 |
msgid "Default Product Group Thumbnail Size"
|
3136 |
-
msgstr "
|
3137 |
|
3138 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:851
|
3139 |
#, fuzzy
|
@@ -3146,14 +3031,12 @@ msgid "Show Thumbnail Gallery"
|
|
3146 |
msgstr "Ver Thumbnails"
|
3147 |
|
3148 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:912
|
3149 |
-
#, fuzzy
|
3150 |
msgid "Gallery Thumbnail Image Size"
|
3151 |
-
msgstr "
|
3152 |
|
3153 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:926
|
3154 |
-
#, fuzzy
|
3155 |
msgid "Pagination settings"
|
3156 |
-
msgstr "Opciones de
|
3157 |
|
3158 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:930
|
3159 |
msgid "Use Pagination"
|
@@ -3197,9 +3080,8 @@ msgid "By Default Display Comments on"
|
|
3197 |
msgstr ""
|
3198 |
|
3199 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:67
|
3200 |
-
#, fuzzy
|
3201 |
msgid "Use Shipping"
|
3202 |
-
msgstr "Localidad base de
|
3203 |
|
3204 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:89
|
3205 |
msgid "If you are only selling digital downloads, you should select no to disable the shipping on your site."
|
@@ -3219,9 +3101,8 @@ msgid "ShipWire Settings"
|
|
3219 |
msgstr "Opciones de moneda"
|
3220 |
|
3221 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:130
|
3222 |
-
#, fuzzy
|
3223 |
msgid "ShipWire Email"
|
3224 |
-
msgstr "Costes adicionales de
|
3225 |
|
3226 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:131
|
3227 |
msgid "ShipWire Password"
|
@@ -3233,18 +3114,16 @@ msgstr ""
|
|
3233 |
|
3234 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:183
|
3235 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:188
|
3236 |
-
#, fuzzy
|
3237 |
msgid "Shipping Modules"
|
3238 |
-
msgstr "Costes adicionales de
|
3239 |
|
3240 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:194
|
3241 |
msgid "To enable shipping in WP e-Commerce you must select which shipping methods you want to enable on your site"
|
3242 |
msgstr ""
|
3243 |
|
3244 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:198
|
3245 |
-
#, fuzzy
|
3246 |
msgid "Internal Shipping Calculators"
|
3247 |
-
msgstr "Coste de
|
3248 |
|
3249 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:231
|
3250 |
msgid "External Shipping Calculators"
|
@@ -3256,20 +3135,19 @@ msgstr ""
|
|
3256 |
|
3257 |
#: wp-e-commerce/wpsc-includes/ajax.functions.php:88
|
3258 |
msgid "You just added \"[product_name]\" to your cart."
|
3259 |
-
msgstr ""
|
3260 |
|
3261 |
#: wp-e-commerce/wpsc-includes/ajax.functions.php:91
|
3262 |
msgid "Sorry, but you cannot add zero items to your cart"
|
3263 |
-
msgstr ""
|
3264 |
|
3265 |
#: wp-e-commerce/wpsc-includes/ajax.functions.php:93
|
3266 |
msgid "Sorry, but there are only [number] of this item in stock."
|
3267 |
msgstr ""
|
3268 |
|
3269 |
#: wp-e-commerce/wpsc-includes/ajax.functions.php:95
|
3270 |
-
#, fuzzy
|
3271 |
msgid "Sorry, but the item \"[product_name]\" is out of stock."
|
3272 |
-
msgstr "Este producto
|
3273 |
|
3274 |
#: wp-e-commerce/wpsc-includes/ajax.functions.php:475
|
3275 |
msgid "You must select a shipping method, otherwise we cannot process your order."
|
@@ -3282,11 +3160,11 @@ msgstr ""
|
|
3282 |
#: wp-e-commerce/wpsc-includes/ajax.functions.php:503
|
3283 |
#, php-format
|
3284 |
msgid "Oops the product : %s cannot be shipped to %s. To continue with your transaction please remove this product from the list above."
|
3285 |
-
msgstr ""
|
3286 |
|
3287 |
#: wp-e-commerce/wpsc-includes/ajax.functions.php:526
|
3288 |
msgid "Please enter a Zipcode and click calculate to proceed"
|
3289 |
-
msgstr ""
|
3290 |
|
3291 |
#: wp-e-commerce/wpsc-includes/category.functions.php:354
|
3292 |
msgid "Brands"
|
@@ -3306,9 +3184,8 @@ msgid "Updating"
|
|
3306 |
msgstr "Aplicar"
|
3307 |
|
3308 |
#: wp-e-commerce/wpsc-includes/display.functions.php:147
|
3309 |
-
#, fuzzy
|
3310 |
msgid "Continue Shopping"
|
3311 |
-
msgstr "
|
3312 |
|
3313 |
#: wp-e-commerce/wpsc-includes/display.functions.php:248
|
3314 |
msgid "You are using the example product group as your default group and it has no products in it, you should set the default group to something else, you can do so from your Shop Settings page."
|
@@ -3342,9 +3219,8 @@ msgstr ""
|
|
3342 |
#: wp-e-commerce/wpsc-includes/processing.functions.php:30
|
3343 |
#: wp-e-commerce/wpsc-includes/processing.functions.php:36
|
3344 |
#: wp-e-commerce/wpsc-includes/processing.functions.php:46
|
3345 |
-
#, fuzzy
|
3346 |
msgid " is out of stock"
|
3347 |
-
msgstr "Este producto
|
3348 |
|
3349 |
#: wp-e-commerce/wpsc-includes/processing.functions.php:30
|
3350 |
#: wp-e-commerce/wpsc-includes/processing.functions.php:36
|
@@ -3379,14 +3255,12 @@ msgid "Release downloads locked to this IP address %s"
|
|
3379 |
msgstr ""
|
3380 |
|
3381 |
#: wp-e-commerce/wpsc-includes/purchaselogs.class.php:759
|
3382 |
-
#, fuzzy
|
3383 |
msgid "Thanks, the purchase log record has been deleted"
|
3384 |
-
msgstr "Gracias, el carrito de compra
|
3385 |
|
3386 |
#: wp-e-commerce/wpsc-includes/upgrades.php:122
|
3387 |
-
#, fuzzy
|
3388 |
msgid "Visit upgrade homepage"
|
3389 |
-
msgstr "
|
3390 |
|
3391 |
#: wp-e-commerce/wpsc-includes/upgrades.php:127
|
3392 |
#, fuzzy
|
@@ -3399,9 +3273,8 @@ msgid "By %s"
|
|
3399 |
msgstr ""
|
3400 |
|
3401 |
#: wp-e-commerce/wpsc-includes/variations.class.php:217
|
3402 |
-
#, fuzzy
|
3403 |
msgid "Variation"
|
3404 |
-
msgstr "
|
3405 |
|
3406 |
#: wp-e-commerce/wpsc-includes/variations.class.php:218
|
3407 |
msgid "Stock"
|
@@ -3418,46 +3291,65 @@ msgstr "URL de opciones"
|
|
3418 |
|
3419 |
#~ msgid "Older Orders"
|
3420 |
#~ msgstr "Pedidos antiguos"
|
|
|
3421 |
#~ msgid "Help/Upgrade"
|
3422 |
#~ msgstr "Ayuda/Actualizar"
|
|
|
3423 |
#~ msgid "Display categories or brands or both"
|
3424 |
#~ msgstr "Mostrar categor�as o tipos o ambos"
|
|
|
3425 |
#~ msgid "Product Stock"
|
3426 |
#~ msgstr "Stock de producto"
|
|
|
3427 |
#~ msgid "Limited Stock"
|
3428 |
#~ msgstr "Stock limitado"
|
|
|
3429 |
#~ msgid "Type"
|
3430 |
#~ msgstr "Tipo"
|
|
|
3431 |
#~ msgid "Create a new Variation"
|
3432 |
#~ msgstr "Crear nueva opci�n"
|
|
|
3433 |
#~ msgid "Product Attachments"
|
3434 |
#~ msgstr "Accesorios de producto"
|
|
|
3435 |
#~ msgid ""
|
3436 |
#~ "Note: if this is filled in, the file uploaded will be the product to be "
|
3437 |
#~ "purchased."
|
3438 |
#~ msgstr ""
|
3439 |
#~ "Nota: Si est� completado, el archivo subido ser� el producto para ser "
|
3440 |
#~ "comprado."
|
|
|
3441 |
#~ msgid "Mandatory"
|
3442 |
#~ msgstr "Obligatorio"
|
|
|
3443 |
#~ msgid "Display<br /> in Log"
|
3444 |
#~ msgstr "Mostrar<br /> en Log"
|
|
|
3445 |
#~ msgid "Out of"
|
3446 |
#~ msgstr "M�s de"
|
|
|
3447 |
#~ msgid "votes."
|
3448 |
#~ msgstr "votos."
|
|
|
3449 |
#~ msgid "Average rating of"
|
3450 |
#~ msgstr "Grado medio de"
|
|
|
3451 |
#~ msgid "Average vote"
|
3452 |
#~ msgstr "Media de votos"
|
|
|
3453 |
#~ msgid "Please select a valid Product Group"
|
3454 |
#~ msgstr "Por favor seleccione una categor�a v�lida"
|
|
|
3455 |
#~ msgid "Productquantity"
|
3456 |
#~ msgstr "Cantidad del producto"
|
|
|
3457 |
#~ msgid "No tax"
|
3458 |
#~ msgstr "Sin Tasas"
|
|
|
3459 |
#~ msgid "About"
|
3460 |
#~ msgstr "Sobre nosotros"
|
|
|
3461 |
#~ msgid ""
|
3462 |
#~ "Welcome to the e-commerce panel. <br /><br /><strong>Note:</strong> on "
|
3463 |
#~ "some setups, the shopping cart may empty on every page load, if this "
|
@@ -3469,43 +3361,61 @@ msgstr "URL de opciones"
|
|
3469 |
#~ "carga de p�gina, si esto sucede, tendr� que a�adir esta l�nea:"
|
3470 |
#~ "<br /><br />session_start();<br /><br />a index.php en el directorio base "
|
3471 |
#~ "de wordpress.<br />"
|
|
|
3472 |
#~ msgid ""
|
3473 |
#~ "Note, Once you press submit, you will need to have your Credit card handy."
|
3474 |
#~ msgstr "Tenga a mano su tarjeta de credito una vez que selecione Enviar."
|
|
|
3475 |
#~ msgid ""
|
3476 |
#~ "Oops, there is nothing in your cart. <a href=\"get_option"
|
3477 |
#~ "(\"product_list_url\")\">Please visit our shop</a>"
|
3478 |
#~ msgstr "Por favor compre alg�n producto antes de utilizar esta p�gina"
|
|
|
3479 |
#~ msgid "The brand has been edited."
|
3480 |
#~ msgstr "La marca ha sido modificada."
|
|
|
3481 |
#~ msgid "Add Brand"
|
3482 |
#~ msgstr "A�adir mraca"
|
|
|
3483 |
#~ msgid "Edit Brand"
|
3484 |
#~ msgstr "Editar marca"
|
|
|
3485 |
#~ msgid "The variation has been edited."
|
3486 |
#~ msgstr "La opci�n ha sido modificada"
|
|
|
3487 |
#~ msgid "Please Select a Product Group"
|
3488 |
#~ msgstr "Por favor seleccione una categor�a"
|
|
|
3489 |
#~ msgid "Edit Item"
|
3490 |
#~ msgstr "Editar el articulo"
|
|
|
3491 |
#~ msgid "Select an Existing Product"
|
3492 |
#~ msgstr "Seleccione un producto existente"
|
|
|
3493 |
#~ msgid "(enter in your product details here)"
|
3494 |
#~ msgstr "(Introduzca su detalle del producto aqu�)"
|
|
|
3495 |
#~ msgid "Add Item"
|
3496 |
#~ msgstr "A�adir art�culo"
|
|
|
3497 |
#~ msgid "Choose a Product Group"
|
3498 |
#~ msgstr "Elija una categor�a"
|
|
|
3499 |
#~ msgid "Choose a Brand"
|
3500 |
#~ msgstr "Elija un tipo"
|
|
|
3501 |
#~ msgid "use the actual image. No resize."
|
3502 |
#~ msgstr "Use la imagen actual. No la dimensione."
|
|
|
3503 |
#~ msgid "ID"
|
3504 |
#~ msgstr "ID"
|
|
|
3505 |
#~ msgid "Transaction Status"
|
3506 |
#~ msgstr "Estado de la transacci�n"
|
|
|
3507 |
#~ msgid "Successful"
|
3508 |
#~ msgstr "Exito"
|
|
|
3509 |
#~ msgid ""
|
3510 |
#~ "<strong>Note:</strong> This lite version of the e-Commerce plugin only "
|
3511 |
#~ "allows you to interface with PayPal.<br /><br />If you are looking for a "
|
@@ -3520,53 +3430,73 @@ msgstr "URL de opciones"
|
|
3520 |
#~ "instinct.co.nz/blogshop\">versi�n e-Commerce oro </a> disponible con "
|
3521 |
#~ "pasarelas como authorize.net, DPS (www.dps.co.nz), y paystation (www."
|
3522 |
#~ "paystation.co.nz)."
|
|
|
3523 |
#~ msgid "Show Specials in the Sidebar"
|
3524 |
#~ msgstr "Mostrar ofertas"
|
|
|
3525 |
#~ msgid "Reply Email"
|
3526 |
#~ msgstr "Repetir Email"
|
|
|
3527 |
#~ msgid "brand"
|
3528 |
#~ msgstr "marca"
|
|
|
3529 |
#~ msgid "category"
|
3530 |
#~ msgstr "categor�a"
|
|
|
3531 |
#~ msgid "Category or Brand"
|
3532 |
#~ msgstr "Categor�a o Marca"
|
|
|
3533 |
#~ msgid "There are no items in the shopping cart"
|
3534 |
#~ msgstr "No hay ning�n art�culo en el carrito"
|
|
|
3535 |
#~ msgid "The Transaction was not successful"
|
3536 |
#~ msgstr "Hubo un error en la transacci�n"
|
|
|
3537 |
#~ msgid "Go back to the checkout"
|
3538 |
#~ msgstr "Volver a validar la compra"
|
|
|
3539 |
#~ msgid "Base International Shipping"
|
3540 |
#~ msgstr "Env�os internacionales"
|
|
|
3541 |
#~ msgid "Note: charged only once per product regardless of quantity ordered."
|
3542 |
#~ msgstr ""
|
3543 |
#~ "Nota: cobrado s�lo una vez por producto independientemente de la "
|
3544 |
#~ "cantidad pedida."
|
|
|
3545 |
#~ msgid "Country Form Field"
|
3546 |
#~ msgstr "Campo de formulario para el pa�s"
|
|
|
3547 |
#~ msgid ""
|
3548 |
#~ "(select which form field on the checkout page you want to use for "
|
3549 |
#~ "specifying the country)"
|
3550 |
#~ msgstr ""
|
3551 |
#~ "(seleccionar cual es el campo del formulario para especificar el pa�s)"
|
|
|
3552 |
#~ msgid "Email Form Field"
|
3553 |
#~ msgstr "Campo del formulario para el email"
|
|
|
3554 |
#~ msgid ""
|
3555 |
#~ "(select which form field on the checkout page you want to use for "
|
3556 |
#~ "specifying the email address)"
|
3557 |
#~ msgstr ""
|
3558 |
#~ "(seleccionar cual es el campo del formulario para especificar la "
|
3559 |
#~ "direcci�n de correo)"
|
|
|
3560 |
#~ msgid "Add Additional Image"
|
3561 |
#~ msgstr "A�adir imagen adicional"
|
|
|
3562 |
#~ msgid "Gold Cart Activation"
|
3563 |
#~ msgstr "Opciones de activaci�n"
|
|
|
3564 |
#~ msgid "Sorry, the API key was incorrect."
|
3565 |
#~ msgstr "Lo siento, la API key es incorrecta"
|
|
|
3566 |
#~ msgid "Additional Image"
|
3567 |
#~ msgstr "Imagen adicional"
|
|
|
3568 |
#~ msgid "Confirm your totals before making the payment:"
|
3569 |
#~ msgstr "Verifique sus totales antes de realizar el pedido:"
|
|
|
3570 |
#~ msgid ""
|
3571 |
#~ "Choose what payment options you want to make available in the checkout "
|
3572 |
#~ "page. By default purchasers can only pay for items using a credit card "
|
@@ -3579,20 +3509,28 @@ msgstr "URL de opciones"
|
|
3579 |
#~ "Transferencia. En el caso de que usted quisiera esta opci�n, deber�a "
|
3580 |
#~ "seleccionar la tarjeta de cr�dito m�s la opci�n de Cheque/"
|
3581 |
#~ "Transferencia."
|
|
|
3582 |
#~ msgid " only"
|
3583 |
#~ msgstr " solo"
|
|
|
3584 |
#~ msgid " plus manual payment option"
|
3585 |
#~ msgstr " opci�n plus de pago Cheque/Transferencia"
|
|
|
3586 |
#~ msgid "Pay using"
|
3587 |
#~ msgstr "Pago usado"
|
|
|
3588 |
#~ msgid "Pay by Cheque/Bank Deposit"
|
3589 |
#~ msgstr "Pago por Cheque/Transferencia"
|
|
|
3590 |
#~ msgid "Credit Card"
|
3591 |
#~ msgstr "Tarjeta de cr�dito"
|
|
|
3592 |
#~ msgid "Created default options."
|
3593 |
#~ msgstr "Opciones por defecto creadas."
|
|
|
3594 |
#~ msgid "MP3 Settings"
|
3595 |
#~ msgstr "Configuraci�n MP3"
|
|
|
3596 |
#~ msgid ""
|
3597 |
#~ "To create the 30 second MP3 file clips, this plugin needs <a href="
|
3598 |
#~ "\"http://sox.sourceforge.net/\">SoX</a> compiled with MP3 support, enter "
|
@@ -3600,8 +3538,9 @@ msgstr "URL de opciones"
|
|
3600 |
#~ msgstr ""
|
3601 |
#~ "Para crear MP3 de 30 segundos, este plugin necesita <a href=\"http://sox."
|
3602 |
#~ "sourceforge.net/\">SoX</a> introduzca la ruta al SoX aqu�."
|
|
|
3603 |
#~ msgid "returned no results."
|
3604 |
#~ msgstr "Sin resultados."
|
|
|
3605 |
#~ msgid "Subtotal"
|
3606 |
#~ msgstr "Subtotal"
|
3607 |
-
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: wpsc-es_ES\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2009-11-27 20:21+0200\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: \n"
|
8 |
+
"Language-Team: wikichaves.com <info@wikichaves.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-Language: Spanish\n"
|
13 |
+
"X-Poedit-Country: Argentina\n"
|
14 |
|
15 |
#: wp-e-commerce/admin-form-functions.php:10
|
|
|
16 |
msgid "You are editing the "[categorisation]" Group"
|
17 |
+
msgstr "Añadir nueva categoría"
|
18 |
|
19 |
#: wp-e-commerce/admin-form-functions.php:11
|
20 |
msgid "+ Add new category to the "[categorisation]" Group"
|
21 |
+
msgstr "Añadir nueva categoría"
|
22 |
|
23 |
#: wp-e-commerce/admin-form-functions.php:25
|
24 |
#: wp-e-commerce/admin-form-functions.php:239
|
30 |
|
31 |
#: wp-e-commerce/admin-form-functions.php:34
|
32 |
msgid "Description"
|
33 |
+
msgstr "Descripción"
|
34 |
|
35 |
#: wp-e-commerce/admin-form-functions.php:44
|
36 |
msgid "Group Parent"
|
37 |
+
msgstr "Categoría padre"
|
38 |
|
39 |
#: wp-e-commerce/admin-form-functions.php:85
|
40 |
msgid "Group Image"
|
58 |
msgstr ""
|
59 |
|
60 |
#: wp-e-commerce/admin-form-functions.php:119
|
|
|
61 |
msgid "Delete Image"
|
62 |
+
msgstr "Borrar imágen"
|
63 |
|
64 |
#: wp-e-commerce/admin-form-functions.php:133
|
65 |
msgid "Target Markets"
|
72 |
msgstr ""
|
73 |
|
74 |
#: wp-e-commerce/admin-form-functions.php:164
|
|
|
75 |
msgid "Presentation Settings"
|
76 |
+
msgstr "Opciones de presentación"
|
77 |
|
78 |
#: wp-e-commerce/admin-form-functions.php:165
|
79 |
msgid "To over-ride the presentation settings for this group you can enter in your prefered settings here"
|
99 |
|
100 |
#: wp-e-commerce/admin-form-functions.php:183
|
101 |
#: wp-e-commerce/admin-form-functions.php:185
|
|
|
102 |
msgid "Grid View"
|
103 |
+
msgstr "Vista en Grilla"
|
104 |
|
105 |
#: wp-e-commerce/admin-form-functions.php:195
|
106 |
msgid "Thumbnail Size"
|
123 |
msgstr "No"
|
124 |
|
125 |
#: wp-e-commerce/admin-form-functions.php:221
|
|
|
126 |
msgid "Edit Group"
|
127 |
+
msgstr "Editar grupo"
|
128 |
|
129 |
#: wp-e-commerce/admin-form-functions.php:222
|
130 |
#: wp-e-commerce/admin-form-functions.php:260
|
135 |
|
136 |
#: wp-e-commerce/admin-form-functions.php:248
|
137 |
msgid "Variation Values"
|
138 |
+
msgstr "Valores de la variación"
|
139 |
|
140 |
#: wp-e-commerce/admin-form-functions.php:267
|
141 |
#: wp-e-commerce/display-coupons.php:126
|
142 |
msgid "Add"
|
143 |
+
msgstr "Añadir"
|
144 |
|
145 |
#: wp-e-commerce/admin-form-functions.php:278
|
146 |
#: wp-e-commerce/display-coupons.php:321
|
188 |
#: wp-e-commerce/display-coupons.php:160
|
189 |
#: wp-e-commerce/display-coupons.php:253
|
190 |
#: wp-e-commerce/display-coupons.php:317
|
|
|
191 |
msgid "Apply On All Products"
|
192 |
msgstr "Mostrar productos"
|
193 |
|
197 |
msgstr "Enviar"
|
198 |
|
199 |
#: wp-e-commerce/admin-form-functions.php:520
|
|
|
200 |
msgid "Settings"
|
201 |
+
msgstr "Configuración"
|
202 |
|
203 |
#: wp-e-commerce/admin-form-functions.php:524
|
|
|
204 |
msgid "Shop Settings"
|
205 |
+
msgstr "Configuracion de la Tienda"
|
206 |
|
207 |
#: wp-e-commerce/admin-form-functions.php:525
|
|
|
208 |
msgid "Money and Payment"
|
209 |
+
msgstr "Moneda y tipo de Pago"
|
210 |
|
211 |
#: wp-e-commerce/admin-form-functions.php:526
|
|
|
212 |
msgid "Checkout Page Settings"
|
213 |
+
msgstr "Opciones de Checkout"
|
214 |
|
215 |
#: wp-e-commerce/admin-form-functions.php:545
|
216 |
#: wp-e-commerce/admin-form-functions.php:546
|
|
|
217 |
msgid "product"
|
218 |
+
msgstr "producto"
|
219 |
|
220 |
#: wp-e-commerce/admin-form-functions.php:545
|
221 |
#: wp-e-commerce/admin-form-functions.php:546
|
|
|
222 |
msgid "products"
|
223 |
+
msgstr "productos"
|
224 |
|
225 |
#: wp-e-commerce/admin-form-functions.php:550
|
226 |
#: wp-e-commerce/admin-form-functions.php:551
|
230 |
#: wp-e-commerce/admin-form-functions.php:550
|
231 |
#: wp-e-commerce/admin-form-functions.php:551
|
232 |
msgid "groups"
|
233 |
+
msgstr "grupos"
|
234 |
|
235 |
#: wp-e-commerce/admin-form-functions.php:555
|
236 |
#: wp-e-commerce/admin-form-functions.php:556
|
|
|
237 |
msgid "sale"
|
238 |
+
msgstr "oferta"
|
239 |
|
240 |
#: wp-e-commerce/admin-form-functions.php:555
|
241 |
#: wp-e-commerce/admin-form-functions.php:556
|
|
|
242 |
msgid "sales"
|
243 |
+
msgstr "ofertas"
|
244 |
|
245 |
#: wp-e-commerce/admin-form-functions.php:562
|
|
|
246 |
msgid "variation"
|
247 |
+
msgstr "Variación"
|
248 |
|
249 |
#: wp-e-commerce/admin-form-functions.php:562
|
|
|
250 |
msgid "variations"
|
251 |
+
msgstr "Variaciones"
|
252 |
|
253 |
#: wp-e-commerce/admin-form-functions.php:566
|
254 |
#: wp-e-commerce/admin-form-functions.php:567
|
260 |
#: wp-e-commerce/admin-form-functions.php:566
|
261 |
#: wp-e-commerce/admin-form-functions.php:567
|
262 |
#: wp-e-commerce/admin-form-functions.php:570
|
|
|
263 |
msgid "transactions"
|
264 |
+
msgstr "transacciones"
|
265 |
|
266 |
#: wp-e-commerce/admin-form-functions.php:580
|
|
|
267 |
msgid "Current Month"
|
268 |
+
msgstr "Mes"
|
269 |
|
270 |
#: wp-e-commerce/admin-form-functions.php:585
|
271 |
msgid "At a Glance"
|
272 |
+
msgstr "En este momento"
|
273 |
|
274 |
#: wp-e-commerce/admin-form-functions.php:615
|
|
|
275 |
msgid "Pending"
|
276 |
+
msgstr "Pendientes"
|
277 |
|
278 |
#: wp-e-commerce/admin-form-functions.php:630
|
|
|
279 |
msgid "Closed"
|
280 |
+
msgstr "Cerradas"
|
281 |
|
282 |
#: wp-e-commerce/admin-form-functions.php:638
|
283 |
#: wp-e-commerce/admin-form-functions.php:646
|
|
|
284 |
msgid "Add New Product"
|
285 |
+
msgstr "Agregar producto"
|
286 |
|
287 |
#: wp-e-commerce/admin-form-functions.php:638
|
288 |
msgid "Here you can add products, groups or variations"
|
318 |
#: wp-e-commerce/install_and_update.php:650
|
319 |
#: wp-e-commerce/install_and_update.php:658
|
320 |
msgid "Address"
|
321 |
+
msgstr "Dirección"
|
322 |
|
323 |
#: wp-e-commerce/admin-form-functions.php:722
|
324 |
#: wp-e-commerce/edit-profile.php:52
|
325 |
#: wp-e-commerce/install_and_update.php:667
|
326 |
msgid "Phone"
|
327 |
+
msgstr "Teléfono"
|
328 |
|
329 |
#: wp-e-commerce/admin-form-functions.php:723
|
330 |
#: wp-e-commerce/display-ecommerce-subs.php:9
|
342 |
msgstr "Precio"
|
343 |
|
344 |
#: wp-e-commerce/admin-form-functions.php:764
|
|
|
345 |
msgid "Shipping"
|
346 |
+
msgstr "Envío"
|
347 |
|
348 |
#: wp-e-commerce/admin-form-functions.php:859
|
349 |
msgid "This users cart was empty"
|
350 |
+
msgstr "Este Pedido está vacío"
|
351 |
|
352 |
#: wp-e-commerce/display-coupons.php:27
|
|
|
353 |
msgid "Thanks, the coupon has been added."
|
354 |
+
msgstr "El cupón se ha añadido"
|
355 |
|
356 |
#: wp-e-commerce/display-coupons.php:122
|
|
|
357 |
msgid "Coupons"
|
358 |
+
msgstr "Cupones"
|
359 |
|
360 |
#: wp-e-commerce/display-coupons.php:126
|
361 |
msgid "Add Coupon"
|
366 |
msgstr ""
|
367 |
|
368 |
#: wp-e-commerce/display-coupons.php:409
|
|
|
369 |
msgid "Marketing Settings"
|
370 |
+
msgstr "Configuración de Marketing"
|
371 |
|
372 |
#: wp-e-commerce/display-coupons.php:416
|
|
|
373 |
msgid "Display Cross Sales"
|
374 |
+
msgstr ""
|
375 |
|
376 |
#: wp-e-commerce/display-coupons.php:440
|
377 |
msgid "Show Share This (Social Bookmarks)"
|
382 |
msgstr ""
|
383 |
|
384 |
#: wp-e-commerce/display-coupons.php:486
|
|
|
385 |
msgid "RSS Address"
|
386 |
+
msgstr "Dirección RSS"
|
387 |
|
388 |
#: wp-e-commerce/display-coupons.php:490
|
389 |
msgid "<strong>Note:</strong> Not only can people use this RSS to keep update with your product list but you can also use this link to promote your products in your facebook profile. <br />Just add the <a href=\"http://apps.facebook.com/getshopped\">getshopped! facebook application</a> to your facebook profile and follow the instructions."
|
398 |
msgstr ""
|
399 |
|
400 |
#: wp-e-commerce/display-coupons.php:508
|
|
|
401 |
msgid "Click here to remove access"
|
402 |
+
msgstr "Remover acceso"
|
403 |
|
404 |
#: wp-e-commerce/display-coupons.php:513
|
405 |
msgid "Grant Access"
|
414 |
msgstr ""
|
415 |
|
416 |
#: wp-e-commerce/display-ecommerce-subs.php:9
|
|
|
417 |
msgid "Suspend"
|
418 |
+
msgstr ""
|
419 |
|
420 |
#: wp-e-commerce/display-ecommerce-subs.php:9
|
421 |
msgid "Activate"
|
424 |
#: wp-e-commerce/edit-profile.php:31
|
425 |
#: wp-e-commerce/install_and_update.php:648
|
426 |
#: wp-e-commerce/install_and_update.php:656
|
|
|
427 |
msgid "First Name"
|
428 |
+
msgstr "Nombre"
|
429 |
|
430 |
#: wp-e-commerce/edit-profile.php:32
|
431 |
msgid "Please enter a valid name"
|
432 |
+
msgstr "Por favor introduzca un nombre válido"
|
433 |
|
434 |
#: wp-e-commerce/edit-profile.php:35
|
435 |
#: wp-e-commerce/install_and_update.php:649
|
439 |
|
440 |
#: wp-e-commerce/edit-profile.php:36
|
441 |
msgid "Please enter a valid surname"
|
442 |
+
msgstr "Por favor introduzca un apellido válido"
|
443 |
|
444 |
#: wp-e-commerce/edit-profile.php:40
|
445 |
msgid "Please enter a valid email address"
|
446 |
+
msgstr "Por favor introduzca una dirección de correo válida"
|
447 |
|
448 |
#: wp-e-commerce/edit-profile.php:43
|
449 |
msgid "Address 1"
|
450 |
+
msgstr "Dirección 1"
|
451 |
|
452 |
#: wp-e-commerce/edit-profile.php:44
|
453 |
msgid "Address 2"
|
454 |
+
msgstr "Dirección 2"
|
455 |
|
456 |
#: wp-e-commerce/edit-profile.php:45
|
457 |
msgid "Please enter a valid address"
|
458 |
+
msgstr "Por favor introduzca una dirección válida"
|
459 |
|
460 |
#: wp-e-commerce/edit-profile.php:48
|
461 |
#: wp-e-commerce/install_and_update.php:651
|
464 |
msgstr ""
|
465 |
|
466 |
#: wp-e-commerce/edit-profile.php:49
|
|
|
467 |
msgid "Please enter your town or city."
|
468 |
+
msgstr "Por favor introduzca su ciudad"
|
469 |
|
470 |
#: wp-e-commerce/edit-profile.php:53
|
471 |
msgid "Please enter a valid phone number"
|
472 |
+
msgstr "Por favor introduzca un número de teléfono válido"
|
473 |
|
474 |
#: wp-e-commerce/edit-profile.php:56
|
475 |
#: wp-e-commerce/install_and_update.php:652
|
476 |
#: wp-e-commerce/install_and_update.php:661
|
|
|
477 |
msgid "Country"
|
478 |
+
msgstr "País"
|
479 |
|
480 |
#: wp-e-commerce/edit-profile.php:57
|
481 |
#, fuzzy
|
501 |
msgstr ""
|
502 |
|
503 |
#: wp-e-commerce/editor.php:144
|
|
|
504 |
msgid "Your forms:"
|
505 |
+
msgstr "Tus formularios"
|
506 |
|
507 |
#: wp-e-commerce/editor.php:146
|
508 |
#: wp-e-commerce/insertcate.php:87
|
529 |
|
530 |
#: wp-e-commerce/homepage_products_functions.php:157
|
531 |
msgid "More Details"
|
532 |
+
msgstr "Más información"
|
533 |
|
534 |
#: wp-e-commerce/homepage_products_functions.php:189
|
535 |
msgid "Add To Cart"
|
536 |
+
msgstr "Añadir a Pedido +"
|
537 |
|
538 |
#: wp-e-commerce/homepage_products_functions.php:205
|
539 |
msgid "Avg. Customer Rating"
|
550 |
|
551 |
#: wp-e-commerce/homepage_products_functions.php:216
|
552 |
msgid "Rate This item"
|
553 |
+
msgstr "Califica este artículo"
|
554 |
|
555 |
#: wp-e-commerce/insertcate.php:67
|
|
|
556 |
msgid "Pick a Category"
|
557 |
+
msgstr "Elige una categoría"
|
558 |
|
559 |
#: wp-e-commerce/insertcate.php:74
|
|
|
560 |
msgid "Your Categories:"
|
561 |
+
msgstr "Tus categorías"
|
562 |
|
563 |
#: wp-e-commerce/install_and_update.php:60
|
564 |
msgid "Example category"
|
565 |
+
msgstr "Categoría ejemplo"
|
566 |
|
567 |
#: wp-e-commerce/install_and_update.php:60
|
568 |
#: wp-e-commerce/install_and_update.php:61
|
603 |
|
604 |
#: wp-e-commerce/install_and_update.php:92
|
605 |
msgid "product group image width"
|
606 |
+
msgstr "Ancho de la imágen del grupo"
|
607 |
|
608 |
#: wp-e-commerce/install_and_update.php:93
|
609 |
msgid "product group image height"
|
610 |
+
msgstr "Alto imagen categoría"
|
611 |
|
612 |
#: wp-e-commerce/install_and_update.php:95
|
613 |
msgid "The location of the product list"
|
614 |
+
msgstr "Posición de la lista de productos"
|
615 |
|
616 |
#: wp-e-commerce/install_and_update.php:96
|
617 |
msgid "The location of the shopping cart"
|
618 |
+
msgstr "Posoción del carrito de compra"
|
619 |
|
620 |
#: wp-e-commerce/install_and_update.php:97
|
621 |
msgid "The location of the checkout page"
|
622 |
+
msgstr "Posiciónn de la página de compra"
|
623 |
|
624 |
#: wp-e-commerce/install_and_update.php:98
|
625 |
msgid "The location of the transaction detail page"
|
626 |
+
msgstr "Posición de la página de detalle de transacción"
|
627 |
|
628 |
#: wp-e-commerce/install_and_update.php:99
|
629 |
msgid "The payment gateway to use"
|
634 |
#: wp-e-commerce/install_and_update.php:107
|
635 |
#: wp-e-commerce/install_and_update.php:109
|
636 |
msgid "Cart Location"
|
637 |
+
msgstr "Posición de carrito"
|
638 |
|
639 |
#: wp-e-commerce/install_and_update.php:114
|
640 |
msgid "Currency type"
|
642 |
|
643 |
#: wp-e-commerce/install_and_update.php:115
|
644 |
msgid "Currency sign location"
|
645 |
+
msgstr "Posición del símbolo de moneda"
|
646 |
|
647 |
#: wp-e-commerce/install_and_update.php:117
|
648 |
msgid "the GST rate"
|
650 |
|
651 |
#: wp-e-commerce/install_and_update.php:119
|
652 |
msgid "the download limit"
|
653 |
+
msgstr "Límite de descarga"
|
654 |
|
655 |
#: wp-e-commerce/install_and_update.php:121
|
656 |
msgid "Display or hide postage and packaging"
|
658 |
|
659 |
#: wp-e-commerce/install_and_update.php:123
|
660 |
msgid "Display or hide specials on the sidebar"
|
661 |
+
msgstr "Mostrar u ocultar ofertas en la barra de menú"
|
662 |
|
663 |
#: wp-e-commerce/install_and_update.php:126
|
664 |
msgid "Default postage and packaging"
|
666 |
|
667 |
#: wp-e-commerce/install_and_update.php:128
|
668 |
msgid "Email address that purchase log is sent to"
|
669 |
+
msgstr "Dirección de correo donde se envía el registro de compra"
|
670 |
|
671 |
#: wp-e-commerce/install_and_update.php:129
|
672 |
msgid "Email address that purchase reports are sent from"
|
673 |
+
msgstr "Dirección de correo desde donde se envían los informes"
|
674 |
|
675 |
#: wp-e-commerce/install_and_update.php:130
|
676 |
msgid "Checkout terms and conditions"
|
690 |
|
691 |
#: wp-e-commerce/install_and_update.php:136
|
692 |
msgid "Select what product group you want to display on the products page"
|
693 |
+
msgstr "Categoría por defecto"
|
694 |
|
695 |
#: wp-e-commerce/install_and_update.php:149
|
696 |
#: wp-e-commerce/install_and_update.php:155
|
708 |
msgstr "Mostrar tarifas de producto"
|
709 |
|
710 |
#: wp-e-commerce/install_and_update.php:163
|
|
|
711 |
msgid "Thank you for purchasing with %shop_name%, any items to be shipped will be processed as soon as possible, any items that can be downloaded can be downloaded using the links on this page.All prices include tax and postage and packaging where applicable.You ordered these items:%product_list%%total_shipping%%total_price%"
|
712 |
+
msgstr "Gracias por comprar con %shop_name%, el pedido ha sido aceptado, ser procesado y enviado lo más pronto posible, los elementos pueden ser descargados usando los enlaces. Tu pedido es el siguente:%product_list%%total_shipping%%total_price%"
|
713 |
|
714 |
#: wp-e-commerce/install_and_update.php:164
|
715 |
msgid "%product_list%%total_shipping%%total_price%"
|
717 |
|
718 |
#: wp-e-commerce/install_and_update.php:207
|
719 |
msgid "Products Page"
|
720 |
+
msgstr "Página de productos"
|
721 |
|
722 |
#: wp-e-commerce/install_and_update.php:213
|
723 |
msgid "Checkout"
|
724 |
+
msgstr "Checkout"
|
725 |
|
726 |
#: wp-e-commerce/install_and_update.php:225
|
727 |
msgid "Transaction Results"
|
728 |
+
msgstr "Resultados de la transacción"
|
729 |
|
730 |
#: wp-e-commerce/install_and_update.php:231
|
|
|
731 |
msgid "Your Account"
|
732 |
+
msgstr "Tu cuenta"
|
733 |
|
734 |
#: wp-e-commerce/install_and_update.php:647
|
735 |
#, fuzzy
|
743 |
msgstr "Gastos de Envio"
|
744 |
|
745 |
#: wp-e-commerce/install_and_update.php:655
|
|
|
746 |
msgid "2. Shipping details"
|
747 |
+
msgstr "2. Detalles de envío"
|
748 |
|
749 |
#: wp-e-commerce/share-this.php:430
|
750 |
msgid "E-mail this, post to del.icio.us, etc."
|
774 |
|
775 |
#: wp-e-commerce/share-this.php:505
|
776 |
#: wp-e-commerce/share-this.php:868
|
|
|
777 |
msgid "To Address:"
|
778 |
+
msgstr "Dirección"
|
779 |
|
780 |
#: wp-e-commerce/share-this.php:509
|
781 |
#: wp-e-commerce/share-this.php:872
|
785 |
|
786 |
#: wp-e-commerce/share-this.php:513
|
787 |
#: wp-e-commerce/share-this.php:876
|
|
|
788 |
msgid "Your Address:"
|
789 |
+
msgstr "Dirección"
|
790 |
|
791 |
#: wp-e-commerce/share-this.php:517
|
792 |
#: wp-e-commerce/share-this.php:880
|
842 |
#: wp-e-commerce/shopping_cart_functions.php:36
|
843 |
#: wp-e-commerce/shopping_cart_functions.php:44
|
844 |
#: wp-e-commerce/shopping_cart_functions.php:54
|
|
|
845 |
msgid "Shopping Cart"
|
846 |
+
msgstr "Pedido"
|
847 |
|
848 |
#: wp-e-commerce/tagging_functions.php:79
|
849 |
#, php-format
|
873 |
#: wp-e-commerce/transaction_result_functions.php:40
|
874 |
#: wp-e-commerce/transaction_result_functions.php:249
|
875 |
msgid "Thank you, your purchase is pending, you will be sent an email once the order clears."
|
876 |
+
msgstr "Gracias por armar su pedido. Usted recibirá un email cuando el pedido sea confirmado."
|
877 |
|
878 |
#: wp-e-commerce/transaction_result_functions.php:158
|
879 |
#: wp-e-commerce/transaction_result_functions.php:159
|
880 |
msgid "Click to download"
|
881 |
+
msgstr "Pinche aquí para descargar"
|
882 |
|
883 |
#: wp-e-commerce/transaction_result_functions.php:205
|
884 |
#: wp-e-commerce/transaction_result_functions.php:212
|
885 |
#: wp-e-commerce/user-log.php:317
|
886 |
msgid "Total Shipping"
|
887 |
+
msgstr "Gastos de envío"
|
888 |
|
889 |
#: wp-e-commerce/transaction_result_functions.php:206
|
890 |
#: wp-e-commerce/transaction_result_functions.php:213
|
895 |
#: wp-e-commerce/transaction_result_functions.php:215
|
896 |
#: wp-e-commerce/transaction_result_functions.php:216
|
897 |
msgid "Your Transaction ID"
|
898 |
+
msgstr "Número de tu pedido"
|
899 |
|
900 |
#: wp-e-commerce/transaction_result_functions.php:217
|
901 |
msgid "Transaction ID"
|
903 |
|
904 |
#: wp-e-commerce/transaction_result_functions.php:250
|
905 |
msgid "Order Pending: Payment Required"
|
906 |
+
msgstr "Su pedido está siendo procesado ..."
|
907 |
|
908 |
#: wp-e-commerce/transaction_result_functions.php:252
|
909 |
msgid "Purchase Receipt"
|
925 |
|
926 |
#: wp-e-commerce/transaction_result_functions.php:308
|
927 |
msgid "The Transaction was successful"
|
928 |
+
msgstr "Transacción correcta"
|
929 |
|
930 |
#: wp-e-commerce/transaction_result_functions.php:316
|
|
|
931 |
msgid "Oops, there is nothing in your cart."
|
932 |
+
msgstr "Todavía no hay nada en tu pedido. "
|
933 |
|
934 |
#: wp-e-commerce/transaction_result_functions.php:316
|
935 |
msgid "Please visit our shop"
|
936 |
+
msgstr "Visitá la página de Productos."
|
937 |
|
938 |
#: wp-e-commerce/user-downloads.php:41
|
939 |
msgid "File Names"
|
960 |
#: wp-e-commerce/user-log.php:65
|
961 |
#: wp-e-commerce/user-log.php:383
|
962 |
msgid "Payment Method"
|
963 |
+
msgstr "Método de pago"
|
964 |
|
965 |
#: wp-e-commerce/user-log.php:94
|
966 |
msgid "Details"
|
972 |
|
973 |
#: wp-e-commerce/user-log.php:169
|
974 |
msgid "Shipping Details"
|
975 |
+
msgstr "Costes adicionales de envío"
|
976 |
|
977 |
#: wp-e-commerce/user-log.php:188
|
|
|
978 |
msgid "Order Details"
|
979 |
+
msgstr "Más detalles"
|
980 |
|
981 |
#: wp-e-commerce/user-log.php:212
|
982 |
msgid "GST"
|
1014 |
|
1015 |
#: wp-e-commerce/wp-shopping-cart.old.php:57
|
1016 |
msgid "Note: if this is blank, the image will not be resized"
|
1017 |
+
msgstr "Nota: si está en blanco, la imagen no será dimensionada"
|
1018 |
|
1019 |
#: wp-e-commerce/wp-shopping-cart.old.php:377
|
1020 |
#: wp-e-commerce/wp-shopping-cart.old.php:1660
|
1026 |
#: wp-e-commerce/wp-shopping-cart.old.php:1663
|
1027 |
#: wp-e-commerce/wp-shopping-cart.old.php:1674
|
1028 |
msgid "Textarea"
|
1029 |
+
msgstr "Área de texto"
|
1030 |
|
1031 |
#: wp-e-commerce/wp-shopping-cart.old.php:381
|
1032 |
#: wp-e-commerce/wp-shopping-cart.old.php:1664
|
1033 |
#: wp-e-commerce/wp-shopping-cart.old.php:1675
|
1034 |
msgid "Heading"
|
1035 |
+
msgstr "Titular"
|
1036 |
|
1037 |
#: wp-e-commerce/wp-shopping-cart.old.php:382
|
1038 |
#: wp-e-commerce/wp-shopping-cart.old.php:1665
|
1046 |
msgstr ""
|
1047 |
|
1048 |
#: wp-e-commerce/wp-shopping-cart.old.php:388
|
|
|
1049 |
msgid "Label Description"
|
1050 |
+
msgstr "Descripción"
|
1051 |
|
1052 |
#: wp-e-commerce/wp-shopping-cart.old.php:389
|
1053 |
msgid "Item Number"
|
1150 |
|
1151 |
#: wp-e-commerce/wp-shopping-cart.old.php:1401
|
1152 |
msgid "Click stars to rate"
|
1153 |
+
msgstr "Añada estrellas para calificar"
|
1154 |
|
1155 |
#: wp-e-commerce/wp-shopping-cart.old.php:1406
|
1156 |
msgid "No Votes"
|
1157 |
+
msgstr "Ningún voto"
|
1158 |
|
1159 |
#: wp-e-commerce/wp-shopping-cart.old.php:1410
|
1160 |
msgid "1 Vote"
|
1182 |
|
1183 |
#: wp-e-commerce/wp-shopping-cart.old.php:1671
|
1184 |
msgid "Delivery Address"
|
1185 |
+
msgstr "Dirección de envio"
|
1186 |
|
1187 |
#: wp-e-commerce/wp-shopping-cart.old.php:1672
|
1188 |
msgid "Delivery City"
|
1190 |
|
1191 |
#: wp-e-commerce/wp-shopping-cart.old.php:1673
|
1192 |
msgid "Delivery Country"
|
1193 |
+
msgstr "País"
|
1194 |
|
1195 |
#: wp-e-commerce/wp-shopping-cart.old.php:1720
|
1196 |
msgid "The item has been added"
|
1197 |
+
msgstr "El arttículo se ha añadido"
|
1198 |
|
1199 |
#: wp-e-commerce/wp-shopping-cart.old.php:1722
|
1200 |
msgid "The item has not been added"
|
1201 |
+
msgstr "El artículo no se ha añadido"
|
1202 |
|
1203 |
#: wp-e-commerce/wp-shopping-cart.old.php:1732
|
1204 |
#, fuzzy
|
1206 |
msgstr "Opciones de producto"
|
1207 |
|
1208 |
#: wp-e-commerce/wp-shopping-cart.old.php:1743
|
|
|
1209 |
msgid "Add Variation Set"
|
1210 |
+
msgstr "Añadir variaciones"
|
1211 |
|
1212 |
#: wp-e-commerce/wp-shopping-cart.old.php:1792
|
1213 |
msgid "Add Value"
|
1216 |
#: wp-e-commerce/js/tinymce3/window.php:36
|
1217 |
#: wp-e-commerce/js/tinymce3/window.php:118
|
1218 |
msgid "Category"
|
1219 |
+
msgstr "Categoría"
|
1220 |
|
1221 |
#: wp-e-commerce/js/tinymce3/window.php:37
|
1222 |
#, fuzzy
|
1224 |
msgstr "Precio del producto"
|
1225 |
|
1226 |
#: wp-e-commerce/js/tinymce3/window.php:38
|
|
|
1227 |
msgid "Add Product"
|
1228 |
+
msgstr "Añadir producto"
|
1229 |
|
1230 |
#: wp-e-commerce/js/tinymce3/window.php:48
|
1231 |
#: wp-e-commerce/js/tinymce3/window.php:76
|
|
|
1232 |
msgid "Select Category"
|
1233 |
+
msgstr "Seleccionar categoría"
|
1234 |
|
1235 |
#: wp-e-commerce/js/tinymce3/window.php:51
|
1236 |
#: wp-e-commerce/js/tinymce3/window.php:78
|
1237 |
#: wp-e-commerce/js/tinymce3/window.php:122
|
|
|
1238 |
msgid "No Category"
|
1239 |
+
msgstr ""
|
1240 |
|
1241 |
#: wp-e-commerce/js/tinymce3/window.php:65
|
|
|
1242 |
msgid "Number of items per Page"
|
1243 |
+
msgstr "Número de items por página"
|
1244 |
|
1245 |
#: wp-e-commerce/js/tinymce3/window.php:91
|
|
|
1246 |
msgid "Number of visible items"
|
1247 |
+
msgstr "Número de Artículos"
|
1248 |
|
1249 |
#: wp-e-commerce/merchants/authorize.merchant.php:278
|
1250 |
msgid "There was an error contacting the payment gateway, please try again later."
|
1252 |
|
1253 |
#: wp-e-commerce/merchants/chronopay.php:440
|
1254 |
#: wp-e-commerce/merchants/paypal_multiple.php:554
|
|
|
1255 |
msgid "Update »"
|
1256 |
+
msgstr "Aplicar »"
|
1257 |
|
1258 |
#: wp-e-commerce/merchants/paypal-standard.merchant.php:134
|
|
|
1259 |
msgid "Your Subscription"
|
1260 |
+
msgstr "Tu suscripción"
|
1261 |
|
1262 |
#: wp-e-commerce/merchants/paypal_certified.php:585
|
1263 |
#: wp-e-commerce/merchants/paypal_multiple.php:519
|
1313 |
|
1314 |
#: wp-e-commerce/shipping/tablerate.php:30
|
1315 |
#: wp-e-commerce/shipping/weightrate.php:30
|
|
|
1316 |
msgid "Shipping Price"
|
1317 |
+
msgstr "Costo de envío"
|
1318 |
|
1319 |
#: wp-e-commerce/shipping/ups.php:34
|
1320 |
#, fuzzy
|
1350 |
msgstr ""
|
1351 |
|
1352 |
#: wp-e-commerce/shipping/ups.php:59
|
|
|
1353 |
msgid "Residential Address"
|
1354 |
+
msgstr "Dirección de envío"
|
1355 |
|
1356 |
#: wp-e-commerce/shipping/ups.php:60
|
1357 |
msgid "Commercial Address"
|
1379 |
|
1380 |
#: wp-e-commerce/themes/default/cart_widget.php:15
|
1381 |
msgid "Number of items"
|
1382 |
+
msgstr "Cantidad de artículos"
|
1383 |
|
1384 |
#: wp-e-commerce/themes/default/cart_widget.php:23
|
1385 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:13
|
1388 |
|
1389 |
#: wp-e-commerce/themes/default/cart_widget.php:24
|
1390 |
msgid "Qty"
|
1391 |
+
msgstr "Can"
|
1392 |
|
1393 |
#: wp-e-commerce/themes/default/cart_widget.php:59
|
1394 |
#, fuzzy
|
1396 |
msgstr "Franqueo y embalaje por defecto"
|
1397 |
|
1398 |
#: wp-e-commerce/themes/default/cart_widget.php:72
|
|
|
1399 |
msgid "Empty your cart"
|
1400 |
+
msgstr "Vaciar Pedido X"
|
1401 |
|
1402 |
#: wp-e-commerce/themes/default/cart_widget.php:76
|
1403 |
msgid "Go to Checkout"
|
1404 |
+
msgstr "Finalizar Pedido »"
|
1405 |
|
1406 |
#: wp-e-commerce/themes/default/cart_widget.php:78
|
1407 |
msgid "Your shopping cart is empty"
|
1408 |
+
msgstr "Tu pedido está vacío."
|
1409 |
|
1410 |
#: wp-e-commerce/themes/default/cart_widget.php:80
|
1411 |
msgid "Visit the shop"
|
1424 |
#: wp-e-commerce/themes/default/grid_view.php:173
|
1425 |
#: wp-e-commerce/themes/default/list_view.php:185
|
1426 |
#: wp-e-commerce/themes/default/products_page.php:256
|
|
|
1427 |
msgid "There are no products in this group."
|
1428 |
+
msgstr "No hay productos en este grupo"
|
1429 |
|
1430 |
#: wp-e-commerce/themes/default/list_view.php:153
|
1431 |
#: wp-e-commerce/themes/default/products_page.php:222
|
1442 |
msgstr ""
|
1443 |
|
1444 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:9
|
|
|
1445 |
msgid "Please review your order"
|
1446 |
+
msgstr "Por favor revisa tu Pedido"
|
1447 |
|
1448 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:32
|
1449 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:57
|
1464 |
|
1465 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:82
|
1466 |
msgid "Calculate Shipping Price"
|
1467 |
+
msgstr "Calcular costos de envío"
|
1468 |
|
1469 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:86
|
1470 |
msgid "Please choose a country below to calculate your shipping costs"
|
1471 |
+
msgstr "Seleccione la opción más adecuada para calcular los costos de envío"
|
1472 |
|
1473 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:95
|
1474 |
msgid "Please provide a Zipcode and click Calculate in order to continue."
|
1479 |
msgstr ""
|
1480 |
|
1481 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:120
|
|
|
1482 |
msgid "- Choose a Shipping Rate"
|
1483 |
+
msgstr ""
|
1484 |
|
1485 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:210
|
1486 |
msgid "Not yet a member?"
|
1521 |
|
1522 |
#: wp-e-commerce/themes/default/shopping_cart_page.php:355
|
1523 |
msgid "Make Purchase"
|
1524 |
+
msgstr "Confirmar Pedido »"
|
1525 |
|
1526 |
#: wp-e-commerce/themes/default/single_product.php:93
|
1527 |
#: wp-e-commerce/themes/iShop/single_product.php:94
|
1561 |
|
1562 |
#: wp-e-commerce/widgets/category_widget.27.php:19
|
1563 |
#: wp-e-commerce/wpsc-admin/admin.php:101
|
|
|
1564 |
msgid "Categories"
|
1565 |
+
msgstr "Categorías"
|
1566 |
|
1567 |
#: wp-e-commerce/widgets/category_widget.27.php:134
|
1568 |
#: wp-e-commerce/widgets/category_widget.28.php:69
|
1577 |
|
1578 |
#: wp-e-commerce/widgets/category_widget.27.php:159
|
1579 |
#: wp-e-commerce/widgets/category_widget.28.php:80
|
|
|
1580 |
msgid "Display the :category: Group"
|
1581 |
+
msgstr "Mostrar el grupo :category:"
|
1582 |
|
1583 |
#: wp-e-commerce/widgets/category_widget.27.php:168
|
1584 |
#: wp-e-commerce/widgets/category_widget.28.php:88
|
|
|
1585 |
msgid "Display the Group thumbnails in the sidebar"
|
1586 |
+
msgstr "Mostrar u ocultar el grupo en el sidebar"
|
1587 |
|
1588 |
#: wp-e-commerce/widgets/category_widget.27.php:179
|
1589 |
#: wp-e-commerce/widgets/category_widget.28.php:11
|
|
|
1590 |
msgid "Product Grouping Widget"
|
1591 |
+
msgstr ""
|
1592 |
|
1593 |
#: wp-e-commerce/widgets/category_widget.27.php:181
|
1594 |
#: wp-e-commerce/widgets/category_widget.28.php:12
|
1595 |
#: wp-e-commerce/widgets/category_widget.28.php:19
|
|
|
1596 |
msgid "Product Categories"
|
1597 |
+
msgstr "Imágenes de productos"
|
1598 |
|
1599 |
#: wp-e-commerce/widgets/latest_product_widget.php:7
|
1600 |
#: wp-e-commerce/widgets/latest_product_widget.php:87
|
1601 |
#: wp-e-commerce/widgets/latest_product_widget.php:88
|
|
|
1602 |
msgid "Latest Products"
|
1603 |
+
msgstr "Últimos Productos"
|
1604 |
|
1605 |
#: wp-e-commerce/widgets/latest_product_widget.php:74
|
1606 |
msgid "Number of products to show:"
|
1620 |
#: wp-e-commerce/widgets/product_tag_widget.php:9
|
1621 |
#: wp-e-commerce/widgets/product_tag_widget.php:38
|
1622 |
#: wp-e-commerce/widgets/product_tag_widget.php:39
|
|
|
1623 |
msgid "Product Tags"
|
1624 |
+
msgstr "Etiquetas de productos"
|
1625 |
|
1626 |
#: wp-e-commerce/widgets/shopping_cart_widget.php:37
|
1627 |
#: wp-e-commerce/widgets/shopping_cart_widget.php:42
|
1636 |
msgstr "Detalles del producto"
|
1637 |
|
1638 |
#: wp-e-commerce/widgets/specials_widget.php:106
|
|
|
1639 |
msgid "Show Description:"
|
1640 |
+
msgstr "Mostrar descripción"
|
1641 |
|
1642 |
#: wp-e-commerce/wpsc-admin/admin.php:75
|
1643 |
#: wp-e-commerce/wpsc-admin/admin.php:78
|
1645 |
#: wp-e-commerce/wpsc-admin/admin.php:85
|
1646 |
#: wp-e-commerce/wpsc-admin/admin.php:88
|
1647 |
#: wp-e-commerce/wpsc-admin/admin.php:98
|
|
|
1648 |
msgid "Products"
|
1649 |
+
msgstr "Productos"
|
1650 |
|
1651 |
#: wp-e-commerce/wpsc-admin/admin.php:93
|
1652 |
#: wp-e-commerce/wpsc-admin/admin.php:421
|
1653 |
#: wp-e-commerce/wpsc-admin/admin.php:451
|
|
|
1654 |
msgid "Sales"
|
1655 |
msgstr "Ofertas"
|
1656 |
|
1657 |
#: wp-e-commerce/wpsc-admin/admin.php:105
|
1658 |
msgid "Variations"
|
1659 |
+
msgstr "Variaciones"
|
1660 |
|
1661 |
#: wp-e-commerce/wpsc-admin/admin.php:126
|
1662 |
msgid "Marketing"
|
1663 |
+
msgstr "Marketing"
|
1664 |
|
1665 |
#: wp-e-commerce/wpsc-admin/admin.php:132
|
|
|
1666 |
msgid "Upgrades"
|
1667 |
+
msgstr "Opciones GOLD"
|
1668 |
|
1669 |
#: wp-e-commerce/wpsc-admin/admin.php:136
|
1670 |
msgid "- Debug"
|
1738 |
|
1739 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:456
|
1740 |
msgid "The product group has been edited."
|
1741 |
+
msgstr "La categoría ha sido modificada"
|
1742 |
|
1743 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:461
|
1744 |
#, fuzzy
|
1755 |
msgstr ""
|
1756 |
|
1757 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:537
|
|
|
1758 |
msgid "Are you sure you want to delete this product group? All categories it contains will be deleted too."
|
1759 |
+
msgstr "Está seguro que quiere eliminar este producto?"
|
1760 |
|
1761 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:560
|
1762 |
msgid "Categorizing your products into groups help your customers find them. For instance if you sell hats and trousers you might want to setup a Group called clothes and add hats and trousers to that group."
|
1773 |
|
1774 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:595
|
1775 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:612
|
|
|
1776 |
msgid "Add New Group"
|
1777 |
+
msgstr "Añadir Nuevo Grupo"
|
1778 |
|
1779 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:602
|
|
|
1780 |
msgid "About This Page"
|
1781 |
+
msgstr "Página de productos"
|
1782 |
|
1783 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:671
|
|
|
1784 |
msgid ""[categorisation]" Group"
|
1785 |
+
msgstr ""[categorisation]" Grupo"
|
1786 |
|
1787 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:681
|
1788 |
msgid "Image"
|
1790 |
|
1791 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:725
|
1792 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:729
|
|
|
1793 |
msgid "You are editing an item in the "[categorisation]" Group"
|
1794 |
+
msgstr "Estás editando el Grupo "[categorisation]""
|
1795 |
|
1796 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:728
|
1797 |
#, fuzzy
|
1799 |
msgstr "Detalles del producto"
|
1800 |
|
1801 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:744
|
|
|
1802 |
msgid "Add Category"
|
1803 |
+
msgstr "Agregar Categoría"
|
1804 |
|
1805 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:747
|
1806 |
msgid "Adding a new category here will make it available when you add or edit a product."
|
1808 |
|
1809 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:753
|
1810 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:756
|
|
|
1811 |
msgid "You are adding a new item to the "[categorisation]" Group"
|
1812 |
+
msgstr "Estás agregando un nuevo item al grupo "[categorisation]""
|
1813 |
|
1814 |
#: wp-e-commerce/wpsc-admin/display-groups.page.php:874
|
|
|
1815 |
msgid "Add Group"
|
1816 |
+
msgstr "Añadir Grupo"
|
1817 |
|
1818 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:29
|
1819 |
msgid "Display Products"
|
1821 |
|
1822 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:74
|
1823 |
#: wp-e-commerce/wpsc-admin/display-variations.page.php:49
|
|
|
1824 |
msgid "Product updated."
|
1825 |
+
msgstr "Producto actualizado"
|
1826 |
|
1827 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:114
|
1828 |
msgid "The following directories are not writable: :directory: You won't be able to upload any images or files here. You will need to change the permissions on these directories to make them writable."
|
1860 |
|
1861 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:268
|
1862 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:343
|
|
|
1863 |
msgid "Draft"
|
1864 |
+
msgstr "Borrador"
|
1865 |
|
1866 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:272
|
1867 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:389
|
1869 |
msgstr ""
|
1870 |
|
1871 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:308
|
|
|
1872 |
msgid "No Name"
|
1873 |
+
msgstr "Sin nombre"
|
1874 |
|
1875 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:367
|
1876 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:341
|
1897 |
|
1898 |
#: wp-e-commerce/wpsc-admin/display-items.page.php:440
|
1899 |
msgid "View All Categories"
|
1900 |
+
msgstr "Todas las categorías"
|
1901 |
|
1902 |
#: wp-e-commerce/wpsc-admin/display-options-settings.page.php:37
|
1903 |
#, fuzzy
|
1906 |
|
1907 |
#: wp-e-commerce/wpsc-admin/display-options-settings.page.php:92
|
1908 |
msgid "General"
|
1909 |
+
msgstr "General"
|
1910 |
|
1911 |
#: wp-e-commerce/wpsc-admin/display-options-settings.page.php:93
|
1912 |
msgid "Presentation"
|
1913 |
+
msgstr "Presentación"
|
1914 |
|
1915 |
#: wp-e-commerce/wpsc-admin/display-options-settings.page.php:94
|
1916 |
msgid "Admin"
|
1917 |
+
msgstr "Administración"
|
1918 |
|
1919 |
#: wp-e-commerce/wpsc-admin/display-options-settings.page.php:96
|
|
|
1920 |
msgid "Payment Options"
|
1921 |
+
msgstr "Método de pago"
|
1922 |
|
1923 |
#: wp-e-commerce/wpsc-admin/display-options-settings.page.php:97
|
1924 |
msgid "Import"
|
1925 |
+
msgstr "Importar"
|
1926 |
|
1927 |
#: wp-e-commerce/wpsc-admin/display-options-settings.page.php:169
|
1928 |
msgid "To configure a shipping module select one on the left."
|
1933 |
msgstr ""
|
1934 |
|
1935 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:158
|
|
|
1936 |
msgid "Shipping Options"
|
1937 |
+
msgstr "Costes adicionales de envío"
|
1938 |
|
1939 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:161
|
|
|
1940 |
msgid "Shipping Method:"
|
1941 |
+
msgstr "Costes adicionales de envío"
|
1942 |
|
1943 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:162
|
|
|
1944 |
msgid "Shipping Option:"
|
1945 |
+
msgstr "Costes adicionales de envío"
|
1946 |
|
1947 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:164
|
1948 |
#, fuzzy
|
1950 |
msgstr "ID de pedido"
|
1951 |
|
1952 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:165
|
|
|
1953 |
msgid "Shipping Status:"
|
1954 |
+
msgstr "Costes adicionales de envío"
|
1955 |
|
1956 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:166
|
1957 |
msgid "Track History:"
|
1958 |
msgstr ""
|
1959 |
|
1960 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:172
|
|
|
1961 |
msgid "Billing Details"
|
1962 |
+
msgstr "Costes adicionales de envío"
|
1963 |
|
1964 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:173
|
1965 |
#, fuzzy
|
1976 |
msgstr ""
|
1977 |
|
1978 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:176
|
|
|
1979 |
msgid "Address:"
|
1980 |
+
msgstr "Dirección"
|
1981 |
|
1982 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:178
|
|
|
1983 |
msgid "Phone:"
|
1984 |
+
msgstr "Teléfono"
|
1985 |
|
1986 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:179
|
1987 |
#, fuzzy
|
1989 |
msgstr "E-mail"
|
1990 |
|
1991 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:180
|
|
|
1992 |
msgid "Payment Method:"
|
1993 |
+
msgstr "Método de pago"
|
1994 |
|
1995 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:182
|
1996 |
msgid "How User Found Us:"
|
2063 |
|
2064 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:343
|
2065 |
msgid "Subscribe to your orders"
|
2066 |
+
msgstr "Suscríbase a sus pedidos"
|
2067 |
|
2068 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:345
|
2069 |
msgid "Subscribe to an RSS feed"
|
2070 |
+
msgstr "Subscríbase a un RSS"
|
2071 |
|
2072 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:345
|
2073 |
msgid "of your orders"
|
2086 |
msgstr "This shop is powered by "
|
2087 |
|
2088 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:360
|
|
|
2089 |
msgid "Upgrade to Gold"
|
2090 |
+
msgstr "Opciones GOLD"
|
2091 |
|
2092 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:360
|
2093 |
msgid " and unleash more functionality into your shop."
|
2098 |
msgstr ""
|
2099 |
|
2100 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:430
|
|
|
2101 |
msgid "Filter"
|
2102 |
+
msgstr "Filtro"
|
2103 |
|
2104 |
#: wp-e-commerce/wpsc-admin/display-sales-logs.php:433
|
2105 |
msgid "Oops there are no purchase logs for your selection, please try again."
|
2155 |
|
2156 |
#: wp-e-commerce/wpsc-admin/display-upgrades.page.php:71
|
2157 |
#: wp-e-commerce/wpsc-admin/display-upgrades.page.php:79
|
|
|
2158 |
msgid "API Key Reset"
|
2159 |
+
msgstr "KEY de activación"
|
2160 |
|
2161 |
#: wp-e-commerce/wpsc-admin/display-upgrades.page.php:74
|
2162 |
msgid "Enter your API name and key to release it from an old site that you no longer use."
|
2164 |
|
2165 |
#: wp-e-commerce/wpsc-admin/display-upgrades.page.php:85
|
2166 |
msgid "API Key"
|
2167 |
+
msgstr "API Key de activación"
|
2168 |
|
2169 |
#: wp-e-commerce/wpsc-admin/display-upgrades.page.php:90
|
|
|
2170 |
msgid "Reset API Key"
|
2171 |
+
msgstr "KEY de activación"
|
2172 |
|
2173 |
#: wp-e-commerce/wpsc-admin/display-upgrades.page.php:99
|
2174 |
msgid "Upgrade Instructions"
|
2198 |
|
2199 |
#: wp-e-commerce/wpsc-admin/display-variations.page.php:21
|
2200 |
msgid "Are you sure you want to delete this product?"
|
2201 |
+
msgstr "¿Está seguro que quiere eliminar este producto?"
|
2202 |
|
2203 |
#: wp-e-commerce/wpsc-admin/display-variations.page.php:37
|
2204 |
#, fuzzy
|
2210 |
msgstr ""
|
2211 |
|
2212 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:133
|
|
|
2213 |
msgid "Edit Product"
|
2214 |
+
msgstr "Editar producto"
|
2215 |
|
2216 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:144
|
2217 |
msgid "Product Name"
|
2218 |
msgstr "Nombre del producto"
|
2219 |
|
2220 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:153
|
|
|
2221 |
msgid "Display Product Shortcode"
|
2222 |
+
msgstr "Mostrar código de producto"
|
2223 |
|
2224 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:154
|
2225 |
msgid "Buy Now Shortcode"
|
2226 |
msgstr ""
|
2227 |
|
2228 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:155
|
|
|
2229 |
msgid "Add to Cart Shortcode"
|
2230 |
+
msgstr "Añadir al carrito"
|
2231 |
|
2232 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:161
|
2233 |
#, fuzzy
|
2239 |
msgstr ""
|
2240 |
|
2241 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:163
|
|
|
2242 |
msgid "Add to Cart PHP"
|
2243 |
+
msgstr "Añadir al carrito"
|
2244 |
|
2245 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:164
|
2246 |
#, fuzzy
|
2268 |
|
2269 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:290
|
2270 |
msgid "Additional Description"
|
2271 |
+
msgstr "Descripciónn adicional"
|
2272 |
|
2273 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:340
|
2274 |
#, fuzzy
|
2276 |
msgstr "Reemplazar producto"
|
2277 |
|
2278 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:364
|
|
|
2279 |
msgid "Categories and Tags"
|
2280 |
+
msgstr "Categorías y etiquetas"
|
2281 |
|
2282 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:403
|
|
|
2283 |
msgid "Select "[categorisation]""
|
2284 |
+
msgstr "Seleccionar "[categorisation]""
|
2285 |
|
2286 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:459
|
2287 |
msgid "Price and Stock Control"
|
2307 |
|
2308 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:541
|
2309 |
msgid "I have a limited number of this item in stock. If the stock runs out, this product will not be available on the shop unless you untick this box or add more stock."
|
2310 |
+
msgstr "Existe un númemero limitado de este artículo en stock. Si el sotck se agota, este producto no estará disponible en la tienda a no ser que usted quite esta opción o añada más stock."
|
2311 |
|
2312 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:556
|
2313 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:570
|
2322 |
msgstr "Stock"
|
2323 |
|
2324 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:603
|
|
|
2325 |
msgid "Variation Control"
|
2326 |
+
msgstr "Contro de Variaciones"
|
2327 |
|
2328 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:607
|
|
|
2329 |
msgid "+ Add New Variations"
|
2330 |
+
msgstr "+ Añadir nueva variación"
|
2331 |
|
2332 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:653
|
2333 |
#, fuzzy
|
2341 |
|
2342 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:722
|
2343 |
msgid "Local Shipping Fee"
|
2344 |
+
msgstr "Coste de envío local"
|
2345 |
|
2346 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:731
|
2347 |
msgid "International Shipping Fee"
|
2348 |
+
msgstr "Coste de envío internacional"
|
2349 |
|
2350 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:740
|
2351 |
msgid "Disregard Shipping for this product"
|
2416 |
|
2417 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:907
|
2418 |
msgid "Product Images"
|
2419 |
+
msgstr "Imágenes de productos"
|
2420 |
|
2421 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:915
|
2422 |
#, fuzzy
|
2480 |
msgstr "Previsualizar"
|
2481 |
|
2482 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:1192
|
|
|
2483 |
msgid "Thumbnail Settings"
|
2484 |
+
msgstr "Opciones de administración"
|
2485 |
|
2486 |
#: wp-e-commerce/wpsc-admin/includes/display-items-functions.php:1200
|
2487 |
#, fuzzy
|
2555 |
msgstr ""
|
2556 |
|
2557 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/admin.php:7
|
|
|
2558 |
msgid "Admin Settings"
|
2559 |
+
msgstr "Opciones de administración"
|
2560 |
|
2561 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/admin.php:13
|
2562 |
msgid "Max downloads per file"
|
2563 |
+
msgstr "Descargas máximas por fichero"
|
2564 |
|
2565 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/admin.php:35
|
2566 |
msgid "Lock downloads to IP address"
|
2616 |
|
2617 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/admin.php:184
|
2618 |
msgid "Transaction Details URL"
|
2619 |
+
msgstr "URL de detalles de la transacción"
|
2620 |
|
2621 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/admin.php:195
|
2622 |
msgid "User Account URL"
|
2627 |
msgstr ""
|
2628 |
|
2629 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/admin.php:206
|
|
|
2630 |
msgid "Fix Product Group Permalinks"
|
2631 |
+
msgstr "Corregir enlaces permanentes de productos"
|
2632 |
|
2633 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/checkout.php:27
|
2634 |
msgid "Checkout Options"
|
2652 |
|
2653 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/checkout.php:115
|
2654 |
msgid "Here you can customise the forms to be displayed in your checkout page. The checkout page is where you collect important user information that will show up in your purchase logs i.e. the buyers address, and name..."
|
2655 |
+
msgstr "Aquí usted puede personalizar las pasarelas de pago para que se muestren en su página de compra. La página de compra es donde usted recoge la información de usuario necesaria que se guardará en sus Logs de compra p. ej. la direccón de compradores, y el nombre..."
|
2656 |
|
2657 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/checkout.php:208
|
|
|
2658 |
msgid "This will be the Email address that the Purchase Reciept is sent to."
|
2659 |
+
msgstr "Dirección de correo donde se envía el registro de compra"
|
2660 |
|
2661 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/checkout.php:311
|
2662 |
msgid "Add New Form Field"
|
2663 |
+
msgstr "Añadir nuevo campo en el formulario"
|
2664 |
|
2665 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/gateway.php:31
|
2666 |
msgid "Please Select A Payment Gateway"
|
2709 |
|
2710 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/general.php:13
|
2711 |
msgid "Base Country/Region"
|
2712 |
+
msgstr "País base de envío"
|
2713 |
|
2714 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/general.php:39
|
2715 |
msgid "Select your primary business location."
|
2746 |
msgstr "Mostrar tarifas de producto"
|
2747 |
|
2748 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:21
|
|
|
2749 |
msgid "Show list of product groups"
|
2750 |
+
msgstr "Mostrar lista de grupos de productos"
|
2751 |
|
2752 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:28
|
2753 |
#, fuzzy
|
2778 |
|
2779 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:170
|
2780 |
msgid "Show Postage and Packaging"
|
2781 |
+
msgstr "Mostrar gastos de envío"
|
2782 |
|
2783 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:193
|
2784 |
msgid "Disable link in Title"
|
2785 |
msgstr ""
|
2786 |
|
2787 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:217
|
|
|
2788 |
msgid "Add quantity field to each product description"
|
2789 |
+
msgstr "Descripción del producto adicional"
|
2790 |
|
2791 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:242
|
2792 |
msgid "Theme Customisation"
|
2845 |
msgstr ""
|
2846 |
|
2847 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:285
|
|
|
2848 |
msgid "Product Page Settings"
|
2849 |
+
msgstr "Página de productos"
|
2850 |
|
2851 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:288
|
2852 |
msgid "Product Display"
|
2861 |
msgstr "Mostrar cantidades en modo lista"
|
2862 |
|
2863 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:382
|
|
|
2864 |
msgid "Products Per Row"
|
2865 |
+
msgstr "Página de productos"
|
2866 |
|
2867 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:387
|
2868 |
msgid "Show images only"
|
2869 |
msgstr ""
|
2870 |
|
2871 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:397
|
|
|
2872 |
msgid "Display Description"
|
2873 |
+
msgstr "Descripción"
|
2874 |
|
2875 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:402
|
2876 |
msgid "Display \"Add To Cart\" Button"
|
2878 |
|
2879 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:406
|
2880 |
msgid "Display \"More Details\" Button"
|
2881 |
+
msgstr "Display \"Más Información\" Button"
|
2882 |
|
2883 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:416
|
2884 |
#, fuzzy
|
2928 |
msgstr ""
|
2929 |
|
2930 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:587
|
|
|
2931 |
msgid "Shopping Cart Settings"
|
2932 |
+
msgstr "Costes adicionales de envío"
|
2933 |
|
2934 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:619
|
2935 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:623
|
2936 |
msgid "Sidebar"
|
2937 |
+
msgstr "Barra de menú"
|
2938 |
|
2939 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:627
|
2940 |
msgid "Page"
|
2941 |
+
msgstr "Página"
|
2942 |
|
2943 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:631
|
2944 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:635
|
2964 |
msgstr ""
|
2965 |
|
2966 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:653
|
|
|
2967 |
msgid "Show Dropshop only on product page"
|
2968 |
+
msgstr "Mostrar en página principal"
|
2969 |
|
2970 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:656
|
2971 |
msgid "Use light Dropshop style"
|
2984 |
msgstr ""
|
2985 |
|
2986 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:693
|
|
|
2987 |
msgid "Display \"+ Postage & Tax\""
|
2988 |
+
msgstr "Mostrar en página principal"
|
2989 |
|
2990 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:719
|
|
|
2991 |
msgid "Product Group Settings"
|
2992 |
+
msgstr "Configuración de Grupos de productos"
|
2993 |
|
2994 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:723
|
|
|
2995 |
msgid "Show Product Group Description"
|
2996 |
+
msgstr "Descripción de producto"
|
2997 |
|
2998 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:748
|
|
|
2999 |
msgid "Show Product Group Thumbnails"
|
3000 |
+
msgstr "Tamaño por defecto del thumbnail grupo"
|
3001 |
|
3002 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:775
|
|
|
3003 |
msgid "Show Product Count per Product Group"
|
3004 |
+
msgstr "Seleccione una categoría"
|
3005 |
|
3006 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:801
|
3007 |
msgid "Use Category Grid View"
|
3009 |
|
3010 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:832
|
3011 |
msgid "Default Product Thumbnail Size"
|
3012 |
+
msgstr "Tamaño por defecto del thumbnail producto"
|
3013 |
|
3014 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:836
|
3015 |
#, fuzzy
|
3018 |
|
3019 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:842
|
3020 |
msgid "Default Product Group Thumbnail Size"
|
3021 |
+
msgstr "Tamaño por defecto del thumbnail categoría"
|
3022 |
|
3023 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:851
|
3024 |
#, fuzzy
|
3031 |
msgstr "Ver Thumbnails"
|
3032 |
|
3033 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:912
|
|
|
3034 |
msgid "Gallery Thumbnail Image Size"
|
3035 |
+
msgstr "Tamaño por defecto del thumbnail producto"
|
3036 |
|
3037 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:926
|
|
|
3038 |
msgid "Pagination settings"
|
3039 |
+
msgstr "Opciones de administración"
|
3040 |
|
3041 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/presentation.php:930
|
3042 |
msgid "Use Pagination"
|
3080 |
msgstr ""
|
3081 |
|
3082 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:67
|
|
|
3083 |
msgid "Use Shipping"
|
3084 |
+
msgstr "Localidad base de envío"
|
3085 |
|
3086 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:89
|
3087 |
msgid "If you are only selling digital downloads, you should select no to disable the shipping on your site."
|
3101 |
msgstr "Opciones de moneda"
|
3102 |
|
3103 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:130
|
|
|
3104 |
msgid "ShipWire Email"
|
3105 |
+
msgstr "Costes adicionales de envío"
|
3106 |
|
3107 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:131
|
3108 |
msgid "ShipWire Password"
|
3114 |
|
3115 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:183
|
3116 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:188
|
|
|
3117 |
msgid "Shipping Modules"
|
3118 |
+
msgstr "Costes adicionales de envío"
|
3119 |
|
3120 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:194
|
3121 |
msgid "To enable shipping in WP e-Commerce you must select which shipping methods you want to enable on your site"
|
3122 |
msgstr ""
|
3123 |
|
3124 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:198
|
|
|
3125 |
msgid "Internal Shipping Calculators"
|
3126 |
+
msgstr "Coste de envío internacional"
|
3127 |
|
3128 |
#: wp-e-commerce/wpsc-admin/includes/settings-pages/shipping.php:231
|
3129 |
msgid "External Shipping Calculators"
|
3135 |
|
3136 |
#: wp-e-commerce/wpsc-includes/ajax.functions.php:88
|
3137 |
msgid "You just added \"[product_name]\" to your cart."
|
3138 |
+
msgstr "Acabás de agregar \"[product_name]\" a tu pedido."
|
3139 |
|
3140 |
#: wp-e-commerce/wpsc-includes/ajax.functions.php:91
|
3141 |
msgid "Sorry, but you cannot add zero items to your cart"
|
3142 |
+
msgstr "Debes agregar al menos un producto a tu pedido"
|
3143 |
|
3144 |
#: wp-e-commerce/wpsc-includes/ajax.functions.php:93
|
3145 |
msgid "Sorry, but there are only [number] of this item in stock."
|
3146 |
msgstr ""
|
3147 |
|
3148 |
#: wp-e-commerce/wpsc-includes/ajax.functions.php:95
|
|
|
3149 |
msgid "Sorry, but the item \"[product_name]\" is out of stock."
|
3150 |
+
msgstr "Este producto está fuera de stock"
|
3151 |
|
3152 |
#: wp-e-commerce/wpsc-includes/ajax.functions.php:475
|
3153 |
msgid "You must select a shipping method, otherwise we cannot process your order."
|
3160 |
#: wp-e-commerce/wpsc-includes/ajax.functions.php:503
|
3161 |
#, php-format
|
3162 |
msgid "Oops the product : %s cannot be shipped to %s. To continue with your transaction please remove this product from the list above."
|
3163 |
+
msgstr "El producto : %s no puede ser enviado a %s."
|
3164 |
|
3165 |
#: wp-e-commerce/wpsc-includes/ajax.functions.php:526
|
3166 |
msgid "Please enter a Zipcode and click calculate to proceed"
|
3167 |
+
msgstr "Por favor seleccione su Barrio"
|
3168 |
|
3169 |
#: wp-e-commerce/wpsc-includes/category.functions.php:354
|
3170 |
msgid "Brands"
|
3184 |
msgstr "Aplicar"
|
3185 |
|
3186 |
#: wp-e-commerce/wpsc-includes/display.functions.php:147
|
|
|
3187 |
msgid "Continue Shopping"
|
3188 |
+
msgstr "Agregar más productos al Pedido"
|
3189 |
|
3190 |
#: wp-e-commerce/wpsc-includes/display.functions.php:248
|
3191 |
msgid "You are using the example product group as your default group and it has no products in it, you should set the default group to something else, you can do so from your Shop Settings page."
|
3219 |
#: wp-e-commerce/wpsc-includes/processing.functions.php:30
|
3220 |
#: wp-e-commerce/wpsc-includes/processing.functions.php:36
|
3221 |
#: wp-e-commerce/wpsc-includes/processing.functions.php:46
|
|
|
3222 |
msgid " is out of stock"
|
3223 |
+
msgstr "Este producto está fuera de stock"
|
3224 |
|
3225 |
#: wp-e-commerce/wpsc-includes/processing.functions.php:30
|
3226 |
#: wp-e-commerce/wpsc-includes/processing.functions.php:36
|
3255 |
msgstr ""
|
3256 |
|
3257 |
#: wp-e-commerce/wpsc-includes/purchaselogs.class.php:759
|
|
|
3258 |
msgid "Thanks, the purchase log record has been deleted"
|
3259 |
+
msgstr "Gracias, el carrito de compra versión GOLD ha sido activado."
|
3260 |
|
3261 |
#: wp-e-commerce/wpsc-includes/upgrades.php:122
|
|
|
3262 |
msgid "Visit upgrade homepage"
|
3263 |
+
msgstr "Ver Productos"
|
3264 |
|
3265 |
#: wp-e-commerce/wpsc-includes/upgrades.php:127
|
3266 |
#, fuzzy
|
3273 |
msgstr ""
|
3274 |
|
3275 |
#: wp-e-commerce/wpsc-includes/variations.class.php:217
|
|
|
3276 |
msgid "Variation"
|
3277 |
+
msgstr "Variación"
|
3278 |
|
3279 |
#: wp-e-commerce/wpsc-includes/variations.class.php:218
|
3280 |
msgid "Stock"
|
3291 |
|
3292 |
#~ msgid "Older Orders"
|
3293 |
#~ msgstr "Pedidos antiguos"
|
3294 |
+
|
3295 |
#~ msgid "Help/Upgrade"
|
3296 |
#~ msgstr "Ayuda/Actualizar"
|
3297 |
+
|
3298 |
#~ msgid "Display categories or brands or both"
|
3299 |
#~ msgstr "Mostrar categor�as o tipos o ambos"
|
3300 |
+
|
3301 |
#~ msgid "Product Stock"
|
3302 |
#~ msgstr "Stock de producto"
|
3303 |
+
|
3304 |
#~ msgid "Limited Stock"
|
3305 |
#~ msgstr "Stock limitado"
|
3306 |
+
|
3307 |
#~ msgid "Type"
|
3308 |
#~ msgstr "Tipo"
|
3309 |
+
|
3310 |
#~ msgid "Create a new Variation"
|
3311 |
#~ msgstr "Crear nueva opci�n"
|
3312 |
+
|
3313 |
#~ msgid "Product Attachments"
|
3314 |
#~ msgstr "Accesorios de producto"
|
3315 |
+
|
3316 |
#~ msgid ""
|
3317 |
#~ "Note: if this is filled in, the file uploaded will be the product to be "
|
3318 |
#~ "purchased."
|
3319 |
#~ msgstr ""
|
3320 |
#~ "Nota: Si est� completado, el archivo subido ser� el producto para ser "
|
3321 |
#~ "comprado."
|
3322 |
+
|
3323 |
#~ msgid "Mandatory"
|
3324 |
#~ msgstr "Obligatorio"
|
3325 |
+
|
3326 |
#~ msgid "Display<br /> in Log"
|
3327 |
#~ msgstr "Mostrar<br /> en Log"
|
3328 |
+
|
3329 |
#~ msgid "Out of"
|
3330 |
#~ msgstr "M�s de"
|
3331 |
+
|
3332 |
#~ msgid "votes."
|
3333 |
#~ msgstr "votos."
|
3334 |
+
|
3335 |
#~ msgid "Average rating of"
|
3336 |
#~ msgstr "Grado medio de"
|
3337 |
+
|
3338 |
#~ msgid "Average vote"
|
3339 |
#~ msgstr "Media de votos"
|
3340 |
+
|
3341 |
#~ msgid "Please select a valid Product Group"
|
3342 |
#~ msgstr "Por favor seleccione una categor�a v�lida"
|
3343 |
+
|
3344 |
#~ msgid "Productquantity"
|
3345 |
#~ msgstr "Cantidad del producto"
|
3346 |
+
|
3347 |
#~ msgid "No tax"
|
3348 |
#~ msgstr "Sin Tasas"
|
3349 |
+
|
3350 |
#~ msgid "About"
|
3351 |
#~ msgstr "Sobre nosotros"
|
3352 |
+
|
3353 |
#~ msgid ""
|
3354 |
#~ "Welcome to the e-commerce panel. <br /><br /><strong>Note:</strong> on "
|
3355 |
#~ "some setups, the shopping cart may empty on every page load, if this "
|
3361 |
#~ "carga de p�gina, si esto sucede, tendr� que a�adir esta l�nea:"
|
3362 |
#~ "<br /><br />session_start();<br /><br />a index.php en el directorio base "
|
3363 |
#~ "de wordpress.<br />"
|
3364 |
+
|
3365 |
#~ msgid ""
|
3366 |
#~ "Note, Once you press submit, you will need to have your Credit card handy."
|
3367 |
#~ msgstr "Tenga a mano su tarjeta de credito una vez que selecione Enviar."
|
3368 |
+
|
3369 |
#~ msgid ""
|
3370 |
#~ "Oops, there is nothing in your cart. <a href=\"get_option"
|
3371 |
#~ "(\"product_list_url\")\">Please visit our shop</a>"
|
3372 |
#~ msgstr "Por favor compre alg�n producto antes de utilizar esta p�gina"
|
3373 |
+
|
3374 |
#~ msgid "The brand has been edited."
|
3375 |
#~ msgstr "La marca ha sido modificada."
|
3376 |
+
|
3377 |
#~ msgid "Add Brand"
|
3378 |
#~ msgstr "A�adir mraca"
|
3379 |
+
|
3380 |
#~ msgid "Edit Brand"
|
3381 |
#~ msgstr "Editar marca"
|
3382 |
+
|
3383 |
#~ msgid "The variation has been edited."
|
3384 |
#~ msgstr "La opci�n ha sido modificada"
|
3385 |
+
|
3386 |
#~ msgid "Please Select a Product Group"
|
3387 |
#~ msgstr "Por favor seleccione una categor�a"
|
3388 |
+
|
3389 |
#~ msgid "Edit Item"
|
3390 |
#~ msgstr "Editar el articulo"
|
3391 |
+
|
3392 |
#~ msgid "Select an Existing Product"
|
3393 |
#~ msgstr "Seleccione un producto existente"
|
3394 |
+
|
3395 |
#~ msgid "(enter in your product details here)"
|
3396 |
#~ msgstr "(Introduzca su detalle del producto aqu�)"
|
3397 |
+
|
3398 |
#~ msgid "Add Item"
|
3399 |
#~ msgstr "A�adir art�culo"
|
3400 |
+
|
3401 |
#~ msgid "Choose a Product Group"
|
3402 |
#~ msgstr "Elija una categor�a"
|
3403 |
+
|
3404 |
#~ msgid "Choose a Brand"
|
3405 |
#~ msgstr "Elija un tipo"
|
3406 |
+
|
3407 |
#~ msgid "use the actual image. No resize."
|
3408 |
#~ msgstr "Use la imagen actual. No la dimensione."
|
3409 |
+
|
3410 |
#~ msgid "ID"
|
3411 |
#~ msgstr "ID"
|
3412 |
+
|
3413 |
#~ msgid "Transaction Status"
|
3414 |
#~ msgstr "Estado de la transacci�n"
|
3415 |
+
|
3416 |
#~ msgid "Successful"
|
3417 |
#~ msgstr "Exito"
|
3418 |
+
|
3419 |
#~ msgid ""
|
3420 |
#~ "<strong>Note:</strong> This lite version of the e-Commerce plugin only "
|
3421 |
#~ "allows you to interface with PayPal.<br /><br />If you are looking for a "
|
3430 |
#~ "instinct.co.nz/blogshop\">versi�n e-Commerce oro </a> disponible con "
|
3431 |
#~ "pasarelas como authorize.net, DPS (www.dps.co.nz), y paystation (www."
|
3432 |
#~ "paystation.co.nz)."
|
3433 |
+
|
3434 |
#~ msgid "Show Specials in the Sidebar"
|
3435 |
#~ msgstr "Mostrar ofertas"
|
3436 |
+
|
3437 |
#~ msgid "Reply Email"
|
3438 |
#~ msgstr "Repetir Email"
|
3439 |
+
|
3440 |
#~ msgid "brand"
|
3441 |
#~ msgstr "marca"
|
3442 |
+
|
3443 |
#~ msgid "category"
|
3444 |
#~ msgstr "categor�a"
|
3445 |
+
|
3446 |
#~ msgid "Category or Brand"
|
3447 |
#~ msgstr "Categor�a o Marca"
|
3448 |
+
|
3449 |
#~ msgid "There are no items in the shopping cart"
|
3450 |
#~ msgstr "No hay ning�n art�culo en el carrito"
|
3451 |
+
|
3452 |
#~ msgid "The Transaction was not successful"
|
3453 |
#~ msgstr "Hubo un error en la transacci�n"
|
3454 |
+
|
3455 |
#~ msgid "Go back to the checkout"
|
3456 |
#~ msgstr "Volver a validar la compra"
|
3457 |
+
|
3458 |
#~ msgid "Base International Shipping"
|
3459 |
#~ msgstr "Env�os internacionales"
|
3460 |
+
|
3461 |
#~ msgid "Note: charged only once per product regardless of quantity ordered."
|
3462 |
#~ msgstr ""
|
3463 |
#~ "Nota: cobrado s�lo una vez por producto independientemente de la "
|
3464 |
#~ "cantidad pedida."
|
3465 |
+
|
3466 |
#~ msgid "Country Form Field"
|
3467 |
#~ msgstr "Campo de formulario para el pa�s"
|
3468 |
+
|
3469 |
#~ msgid ""
|
3470 |
#~ "(select which form field on the checkout page you want to use for "
|
3471 |
#~ "specifying the country)"
|
3472 |
#~ msgstr ""
|
3473 |
#~ "(seleccionar cual es el campo del formulario para especificar el pa�s)"
|
3474 |
+
|
3475 |
#~ msgid "Email Form Field"
|
3476 |
#~ msgstr "Campo del formulario para el email"
|
3477 |
+
|
3478 |
#~ msgid ""
|
3479 |
#~ "(select which form field on the checkout page you want to use for "
|
3480 |
#~ "specifying the email address)"
|
3481 |
#~ msgstr ""
|
3482 |
#~ "(seleccionar cual es el campo del formulario para especificar la "
|
3483 |
#~ "direcci�n de correo)"
|
3484 |
+
|
3485 |
#~ msgid "Add Additional Image"
|
3486 |
#~ msgstr "A�adir imagen adicional"
|
3487 |
+
|
3488 |
#~ msgid "Gold Cart Activation"
|
3489 |
#~ msgstr "Opciones de activaci�n"
|
3490 |
+
|
3491 |
#~ msgid "Sorry, the API key was incorrect."
|
3492 |
#~ msgstr "Lo siento, la API key es incorrecta"
|
3493 |
+
|
3494 |
#~ msgid "Additional Image"
|
3495 |
#~ msgstr "Imagen adicional"
|
3496 |
+
|
3497 |
#~ msgid "Confirm your totals before making the payment:"
|
3498 |
#~ msgstr "Verifique sus totales antes de realizar el pedido:"
|
3499 |
+
|
3500 |
#~ msgid ""
|
3501 |
#~ "Choose what payment options you want to make available in the checkout "
|
3502 |
#~ "page. By default purchasers can only pay for items using a credit card "
|
3509 |
#~ "Transferencia. En el caso de que usted quisiera esta opci�n, deber�a "
|
3510 |
#~ "seleccionar la tarjeta de cr�dito m�s la opci�n de Cheque/"
|
3511 |
#~ "Transferencia."
|
3512 |
+
|
3513 |
#~ msgid " only"
|
3514 |
#~ msgstr " solo"
|
3515 |
+
|
3516 |
#~ msgid " plus manual payment option"
|
3517 |
#~ msgstr " opci�n plus de pago Cheque/Transferencia"
|
3518 |
+
|
3519 |
#~ msgid "Pay using"
|
3520 |
#~ msgstr "Pago usado"
|
3521 |
+
|
3522 |
#~ msgid "Pay by Cheque/Bank Deposit"
|
3523 |
#~ msgstr "Pago por Cheque/Transferencia"
|
3524 |
+
|
3525 |
#~ msgid "Credit Card"
|
3526 |
#~ msgstr "Tarjeta de cr�dito"
|
3527 |
+
|
3528 |
#~ msgid "Created default options."
|
3529 |
#~ msgstr "Opciones por defecto creadas."
|
3530 |
+
|
3531 |
#~ msgid "MP3 Settings"
|
3532 |
#~ msgstr "Configuraci�n MP3"
|
3533 |
+
|
3534 |
#~ msgid ""
|
3535 |
#~ "To create the 30 second MP3 file clips, this plugin needs <a href="
|
3536 |
#~ "\"http://sox.sourceforge.net/\">SoX</a> compiled with MP3 support, enter "
|
3538 |
#~ msgstr ""
|
3539 |
#~ "Para crear MP3 de 30 segundos, este plugin necesita <a href=\"http://sox."
|
3540 |
#~ "sourceforge.net/\">SoX</a> introduzca la ruta al SoX aqu�."
|
3541 |
+
|
3542 |
#~ msgid "returned no results."
|
3543 |
#~ msgstr "Sin resultados."
|
3544 |
+
|
3545 |
#~ msgid "Subtotal"
|
3546 |
#~ msgstr "Subtotal"
|
|
merchants/GoogleCheckout-XML.php
CHANGED
@@ -139,37 +139,40 @@ function gateway_google($fromcheckout = false){
|
|
139 |
}
|
140 |
|
141 |
// }
|
142 |
-
|
143 |
|
144 |
// Add shipping options
|
145 |
-
$
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
|
152 |
-
|
153 |
-
if(is_array($google_checkout_shipping)){
|
154 |
-
$google_shipping_country_ids = implode(",",$google_checkout_shipping);
|
155 |
-
}
|
156 |
-
$google_shipping_country = $wpdb->get_col("SELECT `isocode` FROM ".WPSC_TABLE_CURRENCY_LIST." WHERE id IN (".$google_shipping_country_ids.")");
|
157 |
-
foreach($google_shipping_country as $isocode){
|
158 |
-
//exit($isocode);
|
159 |
-
$Gfilter->AddAllowedPostalArea($isocode);
|
160 |
-
if($isocode == 'US'){
|
161 |
-
$Gfilter->SetAllowedCountryArea('ALL');
|
162 |
-
|
163 |
}
|
164 |
}
|
|
|
|
|
|
|
|
|
|
|
165 |
}
|
166 |
-
|
167 |
-
$Gfilter->SetAllowUsPoBox(false);
|
168 |
-
$ship_1 = new GoogleFlatRateShipping('Flat Rate Shipping', $google_currency_shipping);
|
169 |
-
$ship_1->AddShippingRestrictions($Gfilter);
|
170 |
-
$cart->AddShipping($ship_1);
|
171 |
//wpsc_google_shipping_quotes();
|
172 |
-
|
|
|
173 |
//if ($_SESSION['wpsc_selected_country']=='US'){
|
174 |
//set default tax
|
175 |
//exit('<pre>'.print_r($_SESSION,true).'</pre>');
|
139 |
}
|
140 |
|
141 |
// }
|
142 |
+
|
143 |
|
144 |
// Add shipping options
|
145 |
+
if(wpsc_uses_shipping() && $google_currency_shipping >0 ){
|
146 |
+
$Gfilter = new GoogleShippingFilters();
|
147 |
+
$google_checkout_shipping=get_option("google_shipping_country");
|
148 |
+
$googleshippingcountries = count($google_checkout_shipping);
|
149 |
+
//exit('<pre>'.print_r($googleshipping, true).'</pre>');
|
150 |
+
if($googleshippingcountries == 242){
|
151 |
+
$Gfilter->SetAllowedWorldArea(true);
|
152 |
+
|
153 |
+
}else{
|
154 |
+
if(is_array($google_checkout_shipping)){
|
155 |
+
$google_shipping_country_ids = implode(",",$google_checkout_shipping);
|
156 |
+
}
|
157 |
+
$google_shipping_country = $wpdb->get_col("SELECT `isocode` FROM ".WPSC_TABLE_CURRENCY_LIST." WHERE id IN (".$google_shipping_country_ids.")");
|
158 |
+
foreach($google_shipping_country as $isocode){
|
159 |
+
//exit($isocode);
|
160 |
+
$Gfilter->AddAllowedPostalArea($isocode);
|
161 |
+
if($isocode == 'US'){
|
162 |
+
$Gfilter->SetAllowedCountryArea('ALL');
|
163 |
|
164 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
}
|
166 |
}
|
167 |
+
|
168 |
+
$Gfilter->SetAllowUsPoBox(false);
|
169 |
+
$ship_1 = new GoogleFlatRateShipping('Flat Rate Shipping', $google_currency_shipping);
|
170 |
+
$ship_1->AddShippingRestrictions($Gfilter);
|
171 |
+
$cart->AddShipping($ship_1);
|
172 |
}
|
|
|
|
|
|
|
|
|
|
|
173 |
//wpsc_google_shipping_quotes();
|
174 |
+
|
175 |
+
// Add tax rules
|
176 |
//if ($_SESSION['wpsc_selected_country']=='US'){
|
177 |
//set default tax
|
178 |
//exit('<pre>'.print_r($_SESSION,true).'</pre>');
|
merchants/paypal-standard.merchant.php
CHANGED
@@ -60,17 +60,20 @@ class wpsc_merchant_paypal_standard extends wpsc_merchant {
|
|
60 |
'currency_code' => $this->cart_data['store_currency'],
|
61 |
'lc' => $this->cart_data['store_currency'],
|
62 |
'bn' => $this->cart_data['software_name'],
|
63 |
-
|
64 |
'no_note' => '1',
|
65 |
'charset' => 'utf-8'
|
66 |
);
|
67 |
|
68 |
-
|
|
|
69 |
$paypal_vars += array(
|
70 |
-
'address_override' => '1'
|
|
|
71 |
);
|
72 |
}
|
73 |
|
|
|
74 |
// User settings to be sent to paypal
|
75 |
$paypal_vars += array(
|
76 |
'email' => $this->cart_data['email_address'],
|
@@ -213,12 +216,12 @@ class wpsc_merchant_paypal_standard extends wpsc_merchant {
|
|
213 |
$gateway_values = implode('&', $name_value_pairs);
|
214 |
|
215 |
|
216 |
-
if(defined('WPSC_ADD_DEBUG_PAGE') and (WPSC_ADD_DEBUG_PAGE == true) ) {
|
217 |
echo "<a href='".get_option('paypal_multiple_url')."?".$gateway_values."'>Test the URL here</a>";
|
218 |
//echo "<pre>".print_r($this->cart_items,true)."</pre>";
|
219 |
echo "<pre>".print_r($this->collected_gateway_data,true)."</pre>";
|
220 |
exit();
|
221 |
-
}
|
222 |
//exit('<pre>'.print_r($gateway_values, true).'</pre>');
|
223 |
header("Location: ".get_option('paypal_multiple_url')."?".$gateway_values);
|
224 |
exit();
|
60 |
'currency_code' => $this->cart_data['store_currency'],
|
61 |
'lc' => $this->cart_data['store_currency'],
|
62 |
'bn' => $this->cart_data['software_name'],
|
63 |
+
|
64 |
'no_note' => '1',
|
65 |
'charset' => 'utf-8'
|
66 |
);
|
67 |
|
68 |
+
//used to send shipping
|
69 |
+
if((int)(bool)get_option('paypal_ship') == 1) {
|
70 |
$paypal_vars += array(
|
71 |
+
'address_override' => '1',
|
72 |
+
'no_shipping' => '0'
|
73 |
);
|
74 |
}
|
75 |
|
76 |
+
|
77 |
// User settings to be sent to paypal
|
78 |
$paypal_vars += array(
|
79 |
'email' => $this->cart_data['email_address'],
|
216 |
$gateway_values = implode('&', $name_value_pairs);
|
217 |
|
218 |
|
219 |
+
//if(defined('WPSC_ADD_DEBUG_PAGE') and (WPSC_ADD_DEBUG_PAGE == true) ) {
|
220 |
echo "<a href='".get_option('paypal_multiple_url')."?".$gateway_values."'>Test the URL here</a>";
|
221 |
//echo "<pre>".print_r($this->cart_items,true)."</pre>";
|
222 |
echo "<pre>".print_r($this->collected_gateway_data,true)."</pre>";
|
223 |
exit();
|
224 |
+
//}
|
225 |
//exit('<pre>'.print_r($gateway_values, true).'</pre>');
|
226 |
header("Location: ".get_option('paypal_multiple_url')."?".$gateway_values);
|
227 |
exit();
|
merchants/paypal_multiple.php
CHANGED
@@ -54,11 +54,14 @@ function gateway_paypal_multiple($seperator, $sessionid) {
|
|
54 |
// $data['lc'] = 'US';
|
55 |
$data['lc'] = $paypal_currency_code;
|
56 |
$data['bn'] = 'wp-e-commerce';
|
57 |
-
|
58 |
-
$data['no_shipping'] = (int)(bool)get_option('paypal_ship');
|
59 |
if(get_option('address_override') == 1) {
|
60 |
$data['address_override'] = '1';
|
61 |
-
|
|
|
|
|
|
|
|
|
|
|
62 |
$data['no_note'] = '1';
|
63 |
|
64 |
switch($paypal_currency_code) {
|
@@ -162,6 +165,7 @@ function gateway_paypal_multiple($seperator, $sessionid) {
|
|
162 |
$data['invoice'] = $sessionid;
|
163 |
|
164 |
// User details
|
|
|
165 |
if($_POST['collected_data'][get_option('paypal_form_first_name')] != '') {
|
166 |
$data['first_name'] = urlencode($_POST['collected_data'][get_option('paypal_form_first_name')]);
|
167 |
}
|
@@ -220,6 +224,8 @@ function gateway_paypal_multiple($seperator, $sessionid) {
|
|
220 |
$data['upload'] = '1';
|
221 |
$data['cmd'] = "_ext-enter";
|
222 |
$data['redirect_cmd'] = "_cart";
|
|
|
|
|
223 |
$datacount = count($data);
|
224 |
$num = 0;
|
225 |
foreach($data as $key=>$value) {
|
@@ -640,4 +646,4 @@ $output .= "
|
|
640 |
|
641 |
|
642 |
add_action('init', 'nzshpcrt_paypal_ipn');
|
643 |
-
?>
|
54 |
// $data['lc'] = 'US';
|
55 |
$data['lc'] = $paypal_currency_code;
|
56 |
$data['bn'] = 'wp-e-commerce';
|
|
|
|
|
57 |
if(get_option('address_override') == 1) {
|
58 |
$data['address_override'] = '1';
|
59 |
+
}
|
60 |
+
if((int)(bool)get_option('paypal_ship') == '1'){
|
61 |
+
$data['no_shipping'] = '0';
|
62 |
+
$data['address_override'] = '1';
|
63 |
+
}
|
64 |
+
|
65 |
$data['no_note'] = '1';
|
66 |
|
67 |
switch($paypal_currency_code) {
|
165 |
$data['invoice'] = $sessionid;
|
166 |
|
167 |
// User details
|
168 |
+
|
169 |
if($_POST['collected_data'][get_option('paypal_form_first_name')] != '') {
|
170 |
$data['first_name'] = urlencode($_POST['collected_data'][get_option('paypal_form_first_name')]);
|
171 |
}
|
224 |
$data['upload'] = '1';
|
225 |
$data['cmd'] = "_ext-enter";
|
226 |
$data['redirect_cmd'] = "_cart";
|
227 |
+
$data = apply_filters('wpsc_paypal_standard_post_data',$data);
|
228 |
+
|
229 |
$datacount = count($data);
|
230 |
$num = 0;
|
231 |
foreach($data as $key=>$value) {
|
646 |
|
647 |
|
648 |
add_action('init', 'nzshpcrt_paypal_ipn');
|
649 |
+
?>
|
merchants/paypal_pro.php
CHANGED
@@ -21,14 +21,14 @@ if(in_array('paypal_pro',(array)get_option('custom_gateway_options'))) {
|
|
21 |
|
22 |
$gateway_checkout_form_fields[$nzshpcrt_gateways[$num]['internalname']] = "
|
23 |
<tr %s>
|
24 |
-
<td>Credit Card Number *</td>
|
25 |
<td>
|
26 |
<input type='text' value='' name='card_number' />
|
27 |
<p class='validation-error'>%s</p>
|
28 |
</td>
|
29 |
</tr>
|
30 |
<tr %s>
|
31 |
-
<td>Credit Card Expiry *</td>
|
32 |
<td>
|
33 |
<select class='wpsc_ccBox' name='expiry[month]'>
|
34 |
".$months."
|
@@ -52,13 +52,13 @@ if(in_array('paypal_pro',(array)get_option('custom_gateway_options'))) {
|
|
52 |
</td>
|
53 |
</tr>
|
54 |
<tr %s>
|
55 |
-
<td>CVV *</td>
|
56 |
<td><input type='text' size='4' value='' maxlength='4' name='card_code' />
|
57 |
<p class='validation-error'>%s</p>
|
58 |
</td>
|
59 |
</tr>
|
60 |
<tr %s>
|
61 |
-
<td>Card Type *</td>
|
62 |
<td>
|
63 |
<select class='wpsc_ccBox' name='cctype'>
|
64 |
<option value='Visa'>Visa</option>
|
21 |
|
22 |
$gateway_checkout_form_fields[$nzshpcrt_gateways[$num]['internalname']] = "
|
23 |
<tr %s>
|
24 |
+
<td>Credit Card Number: *</td>
|
25 |
<td>
|
26 |
<input type='text' value='' name='card_number' />
|
27 |
<p class='validation-error'>%s</p>
|
28 |
</td>
|
29 |
</tr>
|
30 |
<tr %s>
|
31 |
+
<td>Credit Card Expiry: *</td>
|
32 |
<td>
|
33 |
<select class='wpsc_ccBox' name='expiry[month]'>
|
34 |
".$months."
|
52 |
</td>
|
53 |
</tr>
|
54 |
<tr %s>
|
55 |
+
<td>CVV: *</td>
|
56 |
<td><input type='text' size='4' value='' maxlength='4' name='card_code' />
|
57 |
<p class='validation-error'>%s</p>
|
58 |
</td>
|
59 |
</tr>
|
60 |
<tr %s>
|
61 |
+
<td>Card Type: *</td>
|
62 |
<td>
|
63 |
<select class='wpsc_ccBox' name='cctype'>
|
64 |
<option value='Visa'>Visa</option>
|
readme.txt
CHANGED
@@ -36,6 +36,22 @@ If you experience database errors try de-activating and re-activating your plugi
|
|
36 |
|
37 |
|
38 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
= 3.7.6.1 =
|
40 |
* Bugfix release
|
41 |
|
36 |
|
37 |
|
38 |
== Changelog ==
|
39 |
+
= 3.7.6.2 =
|
40 |
+
* Paypal standard and Paypal standard 2.0 shipping send shipping details
|
41 |
+
* Google Checkout do not send shipping if shipping is 0
|
42 |
+
* New Spanish translations
|
43 |
+
* Removed 'Click to Download' from purchase receipts and transaction results page
|
44 |
+
* Removed old unused Google Base Code
|
45 |
+
* New changes to purchase logs totals and tax
|
46 |
+
* Fixes to javascript errors from ratings.js
|
47 |
+
* Image Thumbnail Patch submitted by the amazing leewillis77
|
48 |
+
* Canonical URL / AISEOP fixes
|
49 |
+
* Backwards compatibility for update quantity code
|
50 |
+
* Encoded RSS URL so it validates
|
51 |
+
* New update message display below the auto-upgrade link in the WordPress plugin page submitted by the awesome husobj
|
52 |
+
* Image Cache fix should speed up those thumbnails
|
53 |
+
|
54 |
+
|
55 |
= 3.7.6.1 =
|
56 |
* Bugfix release
|
57 |
|
themes/default/category_widget.php
CHANGED
@@ -36,5 +36,5 @@
|
|
36 |
</div>
|
37 |
|
38 |
<?php endif;?>
|
39 |
-
|
40 |
-
|
36 |
</div>
|
37 |
|
38 |
<?php endif;?>
|
39 |
+
<div class='clear_category_group'></div>
|
40 |
+
</div>
|
themes/default/default.css
CHANGED
@@ -15,7 +15,6 @@ Author URI: http://instinct.co.nz
|
|
15 |
.wpsc_container{
|
16 |
position: relative;
|
17 |
_zoom: 1;
|
18 |
-
clear: both;
|
19 |
}
|
20 |
|
21 |
div.productdisplay img {
|
@@ -24,10 +23,7 @@ div.productdisplay img {
|
|
24 |
border: none;
|
25 |
}
|
26 |
|
27 |
-
|
28 |
-
font-weight: bold;
|
29 |
-
color:#000000 !important;
|
30 |
-
}
|
31 |
#change_country{
|
32 |
float:left;
|
33 |
}
|
15 |
.wpsc_container{
|
16 |
position: relative;
|
17 |
_zoom: 1;
|
|
|
18 |
}
|
19 |
|
20 |
div.productdisplay img {
|
23 |
border: none;
|
24 |
}
|
25 |
|
26 |
+
|
|
|
|
|
|
|
27 |
#change_country{
|
28 |
float:left;
|
29 |
}
|
themes/default/grid_view.php
CHANGED
@@ -23,7 +23,7 @@ $image_height = get_option('product_image_height');
|
|
23 |
<?php if(wpsc_display_categories()): ?>
|
24 |
<?php if(get_option('wpsc_category_grid_view') == 1) :?>
|
25 |
<div class='wpsc_categories wpsc_category_grid'>
|
26 |
-
<?php wpsc_start_category_query(array('category_group'=>
|
27 |
<a href="<?php wpsc_print_category_url();?>" class="wpsc_category_grid_item" title='<?php wpsc_print_category_name();?>'>
|
28 |
<?php wpsc_print_category_image(45, 45); ?>
|
29 |
</a>
|
@@ -33,7 +33,7 @@ $image_height = get_option('product_image_height');
|
|
33 |
</div>
|
34 |
<?php else:?>
|
35 |
<ul class='wpsc_categories'>
|
36 |
-
<?php wpsc_start_category_query(array('category_group'=>
|
37 |
<li>
|
38 |
<?php wpsc_print_category_image(32, 32); ?>
|
39 |
|
@@ -66,27 +66,31 @@ $image_height = get_option('product_image_height');
|
|
66 |
<?php endif; ?>
|
67 |
|
68 |
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
<?php
|
73 |
-
|
74 |
-
|
|
|
|
|
|
|
|
|
75 |
</div>
|
76 |
<?php endif; ?>
|
77 |
-
<!-- End Pagination -->
|
78 |
-
|
79 |
|
|
|
|
|
80 |
<div class="product_grid_display">
|
81 |
<?php while (wpsc_have_products()) : wpsc_the_product(); ?>
|
82 |
<div class="product_grid_item product_view_<?php echo wpsc_the_product_id(); ?>">
|
83 |
-
|
|
|
84 |
<?php if(wpsc_the_product_thumbnail()) :?>
|
85 |
-
<div class="item_image">
|
86 |
<a href="<?php echo wpsc_the_product_permalink(); ?>">
|
87 |
<img class="product_image" id="product_image_<?php echo wpsc_the_product_id(); ?>" alt="<?php echo wpsc_the_product_title(); ?>" title="<?php echo wpsc_the_product_title(); ?>" src="<?php echo wpsc_the_product_thumbnail(); ?>" />
|
88 |
</a>
|
89 |
-
|
90 |
<?php else: ?>
|
91 |
<div class="item_no_image">
|
92 |
<a href="<?php echo wpsc_the_product_permalink(); ?>">
|
@@ -99,19 +103,14 @@ $image_height = get_option('product_image_height');
|
|
99 |
<?php if(get_option('show_images_only') != 1): ?>
|
100 |
<div class="grid_product_info">
|
101 |
<div class="product_text">
|
|
|
|
|
102 |
<strong><?php echo wpsc_the_product_title(); ?></strong>
|
103 |
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
<br/>
|
109 |
-
<span id="product_price_<?php echo wpsc_the_product_id(); ?>" class="pricedisplay"><?php echo wpsc_the_product_price(); ?></span>Price:
|
110 |
-
|
111 |
-
<?php if(get_option('display_moredetails') == 1) : ?>
|
112 |
-
<br />
|
113 |
-
<a href='<?php echo wpsc_the_product_permalink(); ?>'>More Details</a>
|
114 |
-
<?php endif; ?>
|
115 |
</div>
|
116 |
</div>
|
117 |
<div class="grid_more_info">
|
@@ -172,18 +171,18 @@ $image_height = get_option('product_image_height');
|
|
172 |
|
173 |
</div>
|
174 |
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
<?php if
|
180 |
-
|
|
|
|
|
181 |
<?php endif; ?>
|
|
|
182 |
</div>
|
183 |
<?php endif; ?>
|
184 |
-
<!-- End Pagination -->
|
185 |
-
|
186 |
-
|
187 |
<?php endif; ?>
|
188 |
|
189 |
|
23 |
<?php if(wpsc_display_categories()): ?>
|
24 |
<?php if(get_option('wpsc_category_grid_view') == 1) :?>
|
25 |
<div class='wpsc_categories wpsc_category_grid'>
|
26 |
+
<?php wpsc_start_category_query(array('category_group'=> get_option('wpsc_default_category'), 'show_thumbnails'=> 1)); ?>
|
27 |
<a href="<?php wpsc_print_category_url();?>" class="wpsc_category_grid_item" title='<?php wpsc_print_category_name();?>'>
|
28 |
<?php wpsc_print_category_image(45, 45); ?>
|
29 |
</a>
|
33 |
</div>
|
34 |
<?php else:?>
|
35 |
<ul class='wpsc_categories'>
|
36 |
+
<?php wpsc_start_category_query(array('category_group'=> get_option('wpsc_default_category'), 'show_thumbnails'=> get_option('show_category_thumbnails'))); ?>
|
37 |
<li>
|
38 |
<?php wpsc_print_category_image(32, 32); ?>
|
39 |
|
66 |
<?php endif; ?>
|
67 |
|
68 |
|
69 |
+
<?php if(wpsc_has_pages() && ((get_option('wpsc_page_number_position') == 1 ) || (get_option('wpsc_page_number_position') == 3))) : ?>
|
70 |
+
<div class='wpsc_page_numbers'>
|
71 |
+
Pages:
|
72 |
+
<?php while (wpsc_have_pages()) : wpsc_the_page(); ?>
|
73 |
+
<?php if(wpsc_page_is_selected()) :?>
|
74 |
+
<a href='<?php echo wpsc_page_url(); ?>' class='selected'><?php echo wpsc_page_number(); ?></a>
|
75 |
+
<?php else: ?>
|
76 |
+
<a href='<?php echo wpsc_page_url(); ?>'><?php echo wpsc_page_number(); ?></a>
|
77 |
+
<?php endif; ?>
|
78 |
+
<?php endwhile; ?>
|
79 |
</div>
|
80 |
<?php endif; ?>
|
|
|
|
|
81 |
|
82 |
+
|
83 |
+
|
84 |
<div class="product_grid_display">
|
85 |
<?php while (wpsc_have_products()) : wpsc_the_product(); ?>
|
86 |
<div class="product_grid_item product_view_<?php echo wpsc_the_product_id(); ?>">
|
87 |
+
|
88 |
+
|
89 |
<?php if(wpsc_the_product_thumbnail()) :?>
|
|
|
90 |
<a href="<?php echo wpsc_the_product_permalink(); ?>">
|
91 |
<img class="product_image" id="product_image_<?php echo wpsc_the_product_id(); ?>" alt="<?php echo wpsc_the_product_title(); ?>" title="<?php echo wpsc_the_product_title(); ?>" src="<?php echo wpsc_the_product_thumbnail(); ?>" />
|
92 |
</a>
|
93 |
+
|
94 |
<?php else: ?>
|
95 |
<div class="item_no_image">
|
96 |
<a href="<?php echo wpsc_the_product_permalink(); ?>">
|
103 |
<?php if(get_option('show_images_only') != 1): ?>
|
104 |
<div class="grid_product_info">
|
105 |
<div class="product_text">
|
106 |
+
|
107 |
+
<div id="product_price_<?php echo wpsc_the_product_id(); ?>" class="pricedisplay"><?php echo wpsc_the_product_price(true); ?></div>
|
108 |
<strong><?php echo wpsc_the_product_title(); ?></strong>
|
109 |
|
110 |
+
<?php if(get_option('display_moredetails') == 1) : ?>
|
111 |
+
<br />
|
112 |
+
<a href='<?php echo wpsc_the_product_permalink(); ?>'>More Details</a>
|
113 |
+
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
</div>
|
115 |
</div>
|
116 |
<div class="grid_more_info">
|
171 |
|
172 |
</div>
|
173 |
|
174 |
+
<?php if(wpsc_has_pages() && ((get_option('wpsc_page_number_position') == 2) || (get_option('wpsc_page_number_position') == 3))) : ?>
|
175 |
+
<div class='wpsc_page_numbers'>
|
176 |
+
Pages:
|
177 |
+
<?php while ($wpsc_query->have_pages()) : $wpsc_query->the_page(); ?>
|
178 |
+
<?php if(wpsc_page_is_selected()) :?>
|
179 |
+
<a href='<?php echo wpsc_page_url(); ?>' class='selected'><?php echo wpsc_page_number(); ?></a>
|
180 |
+
<?php else: ?>
|
181 |
+
<a href='<?php echo wpsc_page_url(); ?>'><?php echo wpsc_page_number(); ?></a>
|
182 |
<?php endif; ?>
|
183 |
+
<?php endwhile; ?>
|
184 |
</div>
|
185 |
<?php endif; ?>
|
|
|
|
|
|
|
186 |
<?php endif; ?>
|
187 |
|
188 |
|
themes/default/images/gold-star.gif
ADDED
Binary file
|
themes/default/images/grey-star.gif
ADDED
Binary file
|
themes/default/list_view.php
CHANGED
@@ -21,7 +21,7 @@ global $wpsc_query, $wpdb;
|
|
21 |
<?php if(wpsc_display_categories()): ?>
|
22 |
<?php if(get_option('wpsc_category_grid_view') == 1) :?>
|
23 |
<div class='wpsc_categories wpsc_category_grid'>
|
24 |
-
<?php wpsc_start_category_query(array('category_group'=>
|
25 |
<a href="<?php wpsc_print_category_url();?>" class="wpsc_category_grid_item" title='<?php wpsc_print_category_name();?>'>
|
26 |
<?php wpsc_print_category_image(45, 45); ?>
|
27 |
</a>
|
@@ -31,7 +31,7 @@ global $wpsc_query, $wpdb;
|
|
31 |
</div>
|
32 |
<?php else:?>
|
33 |
<ul class='wpsc_categories'>
|
34 |
-
<?php wpsc_start_category_query(array('category_group'=>
|
35 |
<li>
|
36 |
<?php wpsc_print_category_image(32, 32); ?>
|
37 |
|
21 |
<?php if(wpsc_display_categories()): ?>
|
22 |
<?php if(get_option('wpsc_category_grid_view') == 1) :?>
|
23 |
<div class='wpsc_categories wpsc_category_grid'>
|
24 |
+
<?php wpsc_start_category_query(array('category_group'=> get_option('wpsc_default_category'), 'show_thumbnails'=> 1)); ?>
|
25 |
<a href="<?php wpsc_print_category_url();?>" class="wpsc_category_grid_item" title='<?php wpsc_print_category_name();?>'>
|
26 |
<?php wpsc_print_category_image(45, 45); ?>
|
27 |
</a>
|
31 |
</div>
|
32 |
<?php else:?>
|
33 |
<ul class='wpsc_categories'>
|
34 |
+
<?php wpsc_start_category_query(array('category_group'=> get_option('wpsc_default_category'), 'show_thumbnails'=> get_option('show_category_thumbnails'))); ?>
|
35 |
<li>
|
36 |
<?php wpsc_print_category_image(32, 32); ?>
|
37 |
|
themes/default/products_page.php
CHANGED
@@ -211,11 +211,11 @@ global $wpsc_query, $wpdb;
|
|
211 |
|
212 |
<?php else : ?>
|
213 |
<?php if(wpsc_product_on_special()) : ?>
|
214 |
-
<span class='oldprice'><?php echo __('Price', 'wpsc'); ?>: <?php echo wpsc_product_normal_price(); ?></span><br />
|
215 |
<?php endif; ?>
|
216 |
-
<span id="product_price_<?php echo wpsc_the_product_id(); ?>" class="pricedisplay"><?php echo wpsc_the_product_price(); ?></span><?php echo __('Price', 'wpsc'); ?>: <br/>
|
217 |
<?php if(get_option('display_pnp') == 1) : ?>
|
218 |
-
<span class="pricedisplay"><?php echo wpsc_product_postage_and_packaging(); ?></span><?php echo __('P&P', 'wpsc'); ?>: <br />
|
219 |
<?php endif; ?>
|
220 |
<?php endif; ?>
|
221 |
</div>
|
211 |
|
212 |
<?php else : ?>
|
213 |
<?php if(wpsc_product_on_special()) : ?>
|
214 |
+
<span class='oldprice'><?php echo __('Price', 'wpsc'); ?>: <?php echo wpsc_product_normal_price(get_option('wpsc_hide_decimals')); ?></span><br />
|
215 |
<?php endif; ?>
|
216 |
+
<span id="product_price_<?php echo wpsc_the_product_id(); ?>" class="pricedisplay"><?php echo wpsc_the_product_price(get_option('wpsc_hide_decimals')); ?></span><?php echo __('Price', 'wpsc'); ?>: <br/>
|
217 |
<?php if(get_option('display_pnp') == 1) : ?>
|
218 |
+
<span class="pricedisplay"><?php echo wpsc_product_postage_and_packaging(get_option('wpsc_hide_decimals')); ?></span><?php echo __('P&P', 'wpsc'); ?>: <br />
|
219 |
<?php endif; ?>
|
220 |
<?php endif; ?>
|
221 |
</div>
|
themes/default/shopping_cart_page.php
CHANGED
@@ -128,7 +128,7 @@ if(wpsc_cart_item_count() > 0) :
|
|
128 |
<?php if (!wpsc_have_shipping_quotes()) { continue; } // Don't display shipping method if it doesn't have at least one quote ?>
|
129 |
<tr><td class='shipping_header' colspan='5'><?php echo wpsc_shipping_method_name().__('- Choose a Shipping Rate', 'wpsc'); ?> </td></tr>
|
130 |
<?php while (wpsc_have_shipping_quotes()) : wpsc_the_shipping_quote(); ?>
|
131 |
-
<tr
|
132 |
<td colspan='3'>
|
133 |
<label for='<?php echo wpsc_shipping_quote_html_id(); ?>'><?php echo wpsc_shipping_quote_name(); ?></label>
|
134 |
</td>
|
@@ -282,7 +282,7 @@ if(wpsc_cart_item_count() > 0) :
|
|
282 |
<tr <?php echo wpsc_the_checkout_item_error_class();?>>
|
283 |
<td>
|
284 |
<label for='<?php echo wpsc_checkout_form_element_id(); ?>'>
|
285 |
-
<?php echo wpsc_checkout_form_name()
|
286 |
</label>
|
287 |
</td>
|
288 |
<td>
|
@@ -314,7 +314,7 @@ if(wpsc_cart_item_count() > 0) :
|
|
314 |
</tr>
|
315 |
<?php endif; ?>
|
316 |
<tr>
|
317 |
-
<td colspan='2'>
|
318 |
|
319 |
<?php //this HTML displays activated payment gateways?>
|
320 |
|
@@ -380,7 +380,7 @@ if(wpsc_cart_item_count() > 0) :
|
|
380 |
</div>
|
381 |
<?php
|
382 |
else:
|
383 |
-
echo __('Oops, there is nothing in your cart.', 'wpsc') . "<a href=
|
384 |
endif;
|
385 |
do_action('wpsc_bottom_of_shopping_cart');
|
386 |
?>
|
128 |
<?php if (!wpsc_have_shipping_quotes()) { continue; } // Don't display shipping method if it doesn't have at least one quote ?>
|
129 |
<tr><td class='shipping_header' colspan='5'><?php echo wpsc_shipping_method_name().__('- Choose a Shipping Rate', 'wpsc'); ?> </td></tr>
|
130 |
<?php while (wpsc_have_shipping_quotes()) : wpsc_the_shipping_quote(); ?>
|
131 |
+
<tr>
|
132 |
<td colspan='3'>
|
133 |
<label for='<?php echo wpsc_shipping_quote_html_id(); ?>'><?php echo wpsc_shipping_quote_name(); ?></label>
|
134 |
</td>
|
282 |
<tr <?php echo wpsc_the_checkout_item_error_class();?>>
|
283 |
<td>
|
284 |
<label for='<?php echo wpsc_checkout_form_element_id(); ?>'>
|
285 |
+
<?php echo wpsc_checkout_form_name();?>
|
286 |
</label>
|
287 |
</td>
|
288 |
<td>
|
314 |
</tr>
|
315 |
<?php endif; ?>
|
316 |
<tr>
|
317 |
+
<td colspan='2' class='wpsc_gateway_container'>
|
318 |
|
319 |
<?php //this HTML displays activated payment gateways?>
|
320 |
|
380 |
</div>
|
381 |
<?php
|
382 |
else:
|
383 |
+
echo __('Oops, there is nothing in your cart.', 'wpsc') . "<a href=".get_option("product_list_url").">" . __('Please visit our shop', 'wpsc') . "</a>";
|
384 |
endif;
|
385 |
do_action('wpsc_bottom_of_shopping_cart');
|
386 |
?>
|
themes/iShop/grid_view.php
CHANGED
@@ -23,7 +23,7 @@ $image_height = get_option('product_image_height');
|
|
23 |
<?php if(wpsc_display_categories()): ?>
|
24 |
<?php if(get_option('wpsc_category_grid_view') == 1) :?>
|
25 |
<div class='wpsc_categories wpsc_category_grid'>
|
26 |
-
<?php wpsc_start_category_query(array('category_group'=>
|
27 |
<a href="<?php wpsc_print_category_url();?>" class="wpsc_category_grid_item" title='<?php wpsc_print_category_name();?>'>
|
28 |
<?php wpsc_print_category_image(45, 45); ?>
|
29 |
</a>
|
@@ -33,7 +33,7 @@ $image_height = get_option('product_image_height');
|
|
33 |
</div>
|
34 |
<?php else:?>
|
35 |
<ul class='wpsc_categories'>
|
36 |
-
<?php wpsc_start_category_query(array('category_group'=>
|
37 |
<li>
|
38 |
<?php wpsc_print_category_image(32, 32); ?>
|
39 |
|
23 |
<?php if(wpsc_display_categories()): ?>
|
24 |
<?php if(get_option('wpsc_category_grid_view') == 1) :?>
|
25 |
<div class='wpsc_categories wpsc_category_grid'>
|
26 |
+
<?php wpsc_start_category_query(array('category_group'=> get_option('wpsc_default_category'), 'show_thumbnails'=> 1)); ?>
|
27 |
<a href="<?php wpsc_print_category_url();?>" class="wpsc_category_grid_item" title='<?php wpsc_print_category_name();?>'>
|
28 |
<?php wpsc_print_category_image(45, 45); ?>
|
29 |
</a>
|
33 |
</div>
|
34 |
<?php else:?>
|
35 |
<ul class='wpsc_categories'>
|
36 |
+
<?php wpsc_start_category_query(array('category_group'=> get_option('wpsc_default_category'), 'show_thumbnails'=> get_option('show_category_thumbnails'))); ?>
|
37 |
<li>
|
38 |
<?php wpsc_print_category_image(32, 32); ?>
|
39 |
|
themes/iShop/images/gold-star.gif
ADDED
Binary file
|
themes/iShop/images/grey-star.gif
ADDED
Binary file
|
themes/iShop/list_view.php
CHANGED
@@ -21,7 +21,7 @@ global $wpsc_query, $wpdb;
|
|
21 |
<?php if(wpsc_display_categories()): ?>
|
22 |
<?php if(get_option('wpsc_category_grid_view') == 1) :?>
|
23 |
<div class='wpsc_categories wpsc_category_grid'>
|
24 |
-
<?php wpsc_start_category_query(array('category_group'=>
|
25 |
<a href="<?php wpsc_print_category_url();?>" class="wpsc_category_grid_item" title='<?php wpsc_print_category_name();?>'>
|
26 |
<?php wpsc_print_category_image(45, 45); ?>
|
27 |
</a>
|
@@ -31,7 +31,7 @@ global $wpsc_query, $wpdb;
|
|
31 |
</div>
|
32 |
<?php else:?>
|
33 |
<ul class='wpsc_categories'>
|
34 |
-
<?php wpsc_start_category_query(array('category_group'=>
|
35 |
<li>
|
36 |
<?php wpsc_print_category_image(32, 32); ?>
|
37 |
|
21 |
<?php if(wpsc_display_categories()): ?>
|
22 |
<?php if(get_option('wpsc_category_grid_view') == 1) :?>
|
23 |
<div class='wpsc_categories wpsc_category_grid'>
|
24 |
+
<?php wpsc_start_category_query(array('category_group'=> get_option('wpsc_default_category'), 'show_thumbnails'=> 1)); ?>
|
25 |
<a href="<?php wpsc_print_category_url();?>" class="wpsc_category_grid_item" title='<?php wpsc_print_category_name();?>'>
|
26 |
<?php wpsc_print_category_image(45, 45); ?>
|
27 |
</a>
|
31 |
</div>
|
32 |
<?php else:?>
|
33 |
<ul class='wpsc_categories'>
|
34 |
+
<?php wpsc_start_category_query(array('category_group'=> get_option('wpsc_default_category'), 'show_thumbnails'=> get_option('show_category_thumbnails'))); ?>
|
35 |
<li>
|
36 |
<?php wpsc_print_category_image(32, 32); ?>
|
37 |
|
themes/iShop/products_page.php
CHANGED
@@ -209,11 +209,11 @@ global $wpsc_query, $wpdb;
|
|
209 |
|
210 |
<?php else : ?>
|
211 |
<?php if(wpsc_product_on_special()) : ?>
|
212 |
-
<span class='oldprice'><?php echo __('Price', 'wpsc'); ?>: <?php echo wpsc_product_normal_price(); ?></span><br />
|
213 |
<?php endif; ?>
|
214 |
-
<span id="product_price_<?php echo wpsc_the_product_id(); ?>" class="pricedisplay"><?php echo wpsc_the_product_price(); ?></span><?php echo __('Price', 'wpsc'); ?>:<br/>
|
215 |
<?php if(get_option('display_pnp') == 1) : ?>
|
216 |
-
<span class="pricedisplay"><?php echo wpsc_product_postage_and_packaging(); ?></span><?php echo __('P&P', 'wpsc'); ?>: <br />
|
217 |
<?php endif; ?>
|
218 |
<?php endif; ?>
|
219 |
</div>
|
209 |
|
210 |
<?php else : ?>
|
211 |
<?php if(wpsc_product_on_special()) : ?>
|
212 |
+
<span class='oldprice'><?php echo __('Price', 'wpsc'); ?>: <?php echo wpsc_product_normal_price(get_option('wpsc_hide_decimals')); ?></span><br />
|
213 |
<?php endif; ?>
|
214 |
+
<span id="product_price_<?php echo wpsc_the_product_id(); ?>" class="pricedisplay"><?php echo wpsc_the_product_price(get_option('wpsc_hide_decimals')); ?></span><?php echo __('Price', 'wpsc'); ?>:<br/>
|
215 |
<?php if(get_option('display_pnp') == 1) : ?>
|
216 |
+
<span class="pricedisplay"><?php echo wpsc_product_postage_and_packaging(get_option('wpsc_hide_decimals')); ?></span><?php echo __('P&P', 'wpsc'); ?>: <br />
|
217 |
<?php endif; ?>
|
218 |
<?php endif; ?>
|
219 |
</div>
|
themes/iShop/shopping_cart_page.php
CHANGED
@@ -112,10 +112,8 @@ if(wpsc_cart_item_count() > 0) :
|
|
112 |
if (!wpsc_have_shipping_quotes()) continue;
|
113 |
?>
|
114 |
<tr><td class='shipping_header' colspan='5'><?php echo wpsc_shipping_method_name().__('- Choose a Shipping Rate', 'wpsc'); ?> </td></tr>
|
115 |
-
<?php while (wpsc_have_shipping_quotes()) : wpsc_the_shipping_quote();
|
116 |
-
|
117 |
-
?>
|
118 |
-
<tr>
|
119 |
<td colspan='3'>
|
120 |
<label for='<?php echo wpsc_shipping_quote_html_id(); ?>'><?php echo wpsc_shipping_quote_name(); ?></label>
|
121 |
</td>
|
@@ -255,7 +253,7 @@ if(wpsc_cart_item_count() > 0) :
|
|
255 |
<tr <?php echo wpsc_the_checkout_item_error_class();?>>
|
256 |
<td>
|
257 |
<label for='<?php echo wpsc_checkout_form_element_id(); ?>'>
|
258 |
-
<?php echo wpsc_checkout_form_name()
|
259 |
</label>
|
260 |
</td>
|
261 |
<td>
|
112 |
if (!wpsc_have_shipping_quotes()) continue;
|
113 |
?>
|
114 |
<tr><td class='shipping_header' colspan='5'><?php echo wpsc_shipping_method_name().__('- Choose a Shipping Rate', 'wpsc'); ?> </td></tr>
|
115 |
+
<?php while (wpsc_have_shipping_quotes()) : wpsc_the_shipping_quote(); ?>
|
116 |
+
<tr class='shipping_quotes'>
|
|
|
|
|
117 |
<td colspan='3'>
|
118 |
<label for='<?php echo wpsc_shipping_quote_html_id(); ?>'><?php echo wpsc_shipping_quote_name(); ?></label>
|
119 |
</td>
|
253 |
<tr <?php echo wpsc_the_checkout_item_error_class();?>>
|
254 |
<td>
|
255 |
<label for='<?php echo wpsc_checkout_form_element_id(); ?>'>
|
256 |
+
<?php echo wpsc_checkout_form_name();?>
|
257 |
</label>
|
258 |
</td>
|
259 |
<td>
|
themes/marketplace/grid_view.php
CHANGED
@@ -23,7 +23,7 @@ $image_height = get_option('product_image_height');
|
|
23 |
<?php if(wpsc_display_categories()): ?>
|
24 |
<?php if(get_option('wpsc_category_grid_view') == 1) :?>
|
25 |
<div class='wpsc_categories wpsc_category_grid'>
|
26 |
-
<?php wpsc_start_category_query(array('category_group'=>
|
27 |
<a href="<?php wpsc_print_category_url();?>" class="wpsc_category_grid_item" title='<?php wpsc_print_category_name();?>'>
|
28 |
<?php wpsc_print_category_image(45, 45); ?>
|
29 |
</a>
|
@@ -33,7 +33,7 @@ $image_height = get_option('product_image_height');
|
|
33 |
</div>
|
34 |
<?php else:?>
|
35 |
<ul class='wpsc_categories'>
|
36 |
-
<?php wpsc_start_category_query(array('category_group'=>
|
37 |
<li>
|
38 |
<?php wpsc_print_category_image(32, 32); ?>
|
39 |
|
23 |
<?php if(wpsc_display_categories()): ?>
|
24 |
<?php if(get_option('wpsc_category_grid_view') == 1) :?>
|
25 |
<div class='wpsc_categories wpsc_category_grid'>
|
26 |
+
<?php wpsc_start_category_query(array('category_group'=> get_option('wpsc_default_category'), 'show_thumbnails'=> 1)); ?>
|
27 |
<a href="<?php wpsc_print_category_url();?>" class="wpsc_category_grid_item" title='<?php wpsc_print_category_name();?>'>
|
28 |
<?php wpsc_print_category_image(45, 45); ?>
|
29 |
</a>
|
33 |
</div>
|
34 |
<?php else:?>
|
35 |
<ul class='wpsc_categories'>
|
36 |
+
<?php wpsc_start_category_query(array('category_group'=> get_option('wpsc_default_category'), 'show_thumbnails'=> get_option('show_category_thumbnails'))); ?>
|
37 |
<li>
|
38 |
<?php wpsc_print_category_image(32, 32); ?>
|
39 |
|
themes/marketplace/images/gold-star.gif
ADDED
Binary file
|
themes/marketplace/images/grey-star.gif
ADDED
Binary file
|
themes/marketplace/list_view.php
CHANGED
@@ -21,7 +21,7 @@ global $wpsc_query, $wpdb;
|
|
21 |
<?php if(wpsc_display_categories()): ?>
|
22 |
<?php if(get_option('wpsc_category_grid_view') == 1) :?>
|
23 |
<div class='wpsc_categories wpsc_category_grid'>
|
24 |
-
<?php wpsc_start_category_query(array('category_group'=>
|
25 |
<a href="<?php wpsc_print_category_url();?>" class="wpsc_category_grid_item" title='<?php wpsc_print_category_name();?>'>
|
26 |
<?php wpsc_print_category_image(45, 45); ?>
|
27 |
</a>
|
@@ -31,7 +31,7 @@ global $wpsc_query, $wpdb;
|
|
31 |
</div>
|
32 |
<?php else:?>
|
33 |
<ul class='wpsc_categories'>
|
34 |
-
<?php wpsc_start_category_query(array('category_group'=>
|
35 |
<li>
|
36 |
<?php wpsc_print_category_image(32, 32); ?>
|
37 |
|
21 |
<?php if(wpsc_display_categories()): ?>
|
22 |
<?php if(get_option('wpsc_category_grid_view') == 1) :?>
|
23 |
<div class='wpsc_categories wpsc_category_grid'>
|
24 |
+
<?php wpsc_start_category_query(array('category_group'=> get_option('wpsc_default_category'), 'show_thumbnails'=> 1)); ?>
|
25 |
<a href="<?php wpsc_print_category_url();?>" class="wpsc_category_grid_item" title='<?php wpsc_print_category_name();?>'>
|
26 |
<?php wpsc_print_category_image(45, 45); ?>
|
27 |
</a>
|
31 |
</div>
|
32 |
<?php else:?>
|
33 |
<ul class='wpsc_categories'>
|
34 |
+
<?php wpsc_start_category_query(array('category_group'=> get_option('wpsc_default_category'), 'show_thumbnails'=> get_option('show_category_thumbnails'))); ?>
|
35 |
<li>
|
36 |
<?php wpsc_print_category_image(32, 32); ?>
|
37 |
|
themes/marketplace/products_page.php
CHANGED
@@ -213,11 +213,11 @@ global $wpsc_query, $wpdb;
|
|
213 |
|
214 |
<?php else : ?>
|
215 |
<?php if(wpsc_product_on_special()) : ?>
|
216 |
-
<span class='oldprice'><?php echo __('Price', 'wpsc'); ?>: <?php echo wpsc_product_normal_price(); ?></span><br />
|
217 |
<?php endif; ?>
|
218 |
-
<span id="product_price_<?php echo wpsc_the_product_id(); ?>" class="pricedisplay"><?php echo wpsc_the_product_price(); ?></span><?php echo __('Price', 'wpsc'); ?>:<br/>
|
219 |
<?php if(get_option('display_pnp') == 1) : ?>
|
220 |
-
<span class="pricedisplay"><?php echo wpsc_product_postage_and_packaging(); ?></span><?php echo __('P&P', 'wpsc'); ?>: <br />
|
221 |
<?php endif; ?>
|
222 |
<?php endif; ?>
|
223 |
</div>
|
213 |
|
214 |
<?php else : ?>
|
215 |
<?php if(wpsc_product_on_special()) : ?>
|
216 |
+
<span class='oldprice'><?php echo __('Price', 'wpsc'); ?>: <?php echo wpsc_product_normal_price(get_option('wpsc_hide_decimals')); ?></span><br />
|
217 |
<?php endif; ?>
|
218 |
+
<span id="product_price_<?php echo wpsc_the_product_id(); ?>" class="pricedisplay"><?php echo wpsc_the_product_price(get_option('wpsc_hide_decimals')); ?></span><?php echo __('Price', 'wpsc'); ?>:<br/>
|
219 |
<?php if(get_option('display_pnp') == 1) : ?>
|
220 |
+
<span class="pricedisplay"><?php echo wpsc_product_postage_and_packaging(get_option('wpsc_hide_decimals')); ?></span><?php echo __('P&P', 'wpsc'); ?>: <br />
|
221 |
<?php endif; ?>
|
222 |
<?php endif; ?>
|
223 |
</div>
|
themes/marketplace/shopping_cart_page.php
CHANGED
@@ -111,10 +111,8 @@ if(wpsc_cart_item_count() > 0) :
|
|
111 |
if (!wpsc_have_shipping_quotes()) continue;
|
112 |
?>
|
113 |
<tr><td class='shipping_header' colspan='5'><?php echo wpsc_shipping_method_name().__('- Choose a Shipping Rate', 'wpsc'); ?> </td></tr>
|
114 |
-
<?php while (wpsc_have_shipping_quotes()) : wpsc_the_shipping_quote();
|
115 |
-
|
116 |
-
?>
|
117 |
-
<tr>
|
118 |
<td colspan='3'>
|
119 |
<label for='<?php echo wpsc_shipping_quote_html_id(); ?>'><?php echo wpsc_shipping_quote_name(); ?></label>
|
120 |
</td>
|
@@ -253,7 +251,7 @@ if(wpsc_cart_item_count() > 0) :
|
|
253 |
<tr <?php echo wpsc_the_checkout_item_error_class();?>>
|
254 |
<td>
|
255 |
<label for='<?php echo wpsc_checkout_form_element_id(); ?>'>
|
256 |
-
<?php echo wpsc_checkout_form_name()
|
257 |
</label>
|
258 |
</td>
|
259 |
<td>
|
111 |
if (!wpsc_have_shipping_quotes()) continue;
|
112 |
?>
|
113 |
<tr><td class='shipping_header' colspan='5'><?php echo wpsc_shipping_method_name().__('- Choose a Shipping Rate', 'wpsc'); ?> </td></tr>
|
114 |
+
<?php while (wpsc_have_shipping_quotes()) : wpsc_the_shipping_quote(); ?>
|
115 |
+
<tr class='shipping_quotes'>
|
|
|
|
|
116 |
<td colspan='3'>
|
117 |
<label for='<?php echo wpsc_shipping_quote_html_id(); ?>'><?php echo wpsc_shipping_quote_name(); ?></label>
|
118 |
</td>
|
251 |
<tr <?php echo wpsc_the_checkout_item_error_class();?>>
|
252 |
<td>
|
253 |
<label for='<?php echo wpsc_checkout_form_element_id(); ?>'>
|
254 |
+
<?php echo wpsc_checkout_form_name();?>
|
255 |
</label>
|
256 |
</td>
|
257 |
<td>
|
transaction_result_functions.php
CHANGED
@@ -156,8 +156,8 @@ function transaction_results($sessionid, $echo_to_screen = true, $transaction_id
|
|
156 |
//$product_list .= " - ". $product_data['name'] . stripslashes($variation_list) ." ".$message_price ." ".__('Click to download', 'wpsc').":\n\r $link\n\r".$additional_content;
|
157 |
//$product_list_html .= " - ". $product_data['name'] . stripslashes($variation_list) ." ".$message_price ." <a href='$link'>".__('Click to download', 'wpsc')."</a>\n". $additional_content;
|
158 |
|
159 |
-
$product_list .= " - ". $product_data['name'] . stripslashes($variation_list) ." ".$message_price
|
160 |
-
$product_list_html .= " - ". $product_data['name'] . stripslashes($variation_list) ." ".$message_price
|
161 |
foreach($link as $single_link){
|
162 |
$product_list .= "\n\r ".$single_link["name"].": ".$single_link["url"]."\n\r";
|
163 |
$product_list_html .= "<a href='".$single_link["url"]."'>".$single_link["name"]."</a>\n";
|
156 |
//$product_list .= " - ". $product_data['name'] . stripslashes($variation_list) ." ".$message_price ." ".__('Click to download', 'wpsc').":\n\r $link\n\r".$additional_content;
|
157 |
//$product_list_html .= " - ". $product_data['name'] . stripslashes($variation_list) ." ".$message_price ." <a href='$link'>".__('Click to download', 'wpsc')."</a>\n". $additional_content;
|
158 |
|
159 |
+
$product_list .= " - ". $product_data['name'] . stripslashes($variation_list) ." ".$message_price;
|
160 |
+
$product_list_html .= " - ". $product_data['name'] . stripslashes($variation_list) ." ".$message_price;
|
161 |
foreach($link as $single_link){
|
162 |
$product_list .= "\n\r ".$single_link["name"].": ".$single_link["url"]."\n\r";
|
163 |
$product_list_html .= "<a href='".$single_link["url"]."'>".$single_link["name"]."</a>\n";
|
transaction_results.php
CHANGED
@@ -40,10 +40,12 @@ if($_REQUEST['eway']=='1') {
|
|
40 |
if($_SESSION['wpsc_previous_selected_gateway'] == 'paypal_certified'){
|
41 |
echo $_SESSION['paypalExpressMessage'];
|
42 |
|
|
|
43 |
} elseif($sessionid == ''){
|
44 |
_e('Sorry your transaction was not accepted.<br /><a href='.get_option("shopping_cart_url").'>Click here to go back to checkout page.</a>');
|
45 |
|
46 |
}else{
|
|
|
47 |
if($_SESSION['wpsc_previous_selected_gateway']== 'dps') {
|
48 |
$sessionid = decrypt_dps_response();
|
49 |
//exit($sessionid);
|
@@ -58,4 +60,8 @@ if($_SESSION['wpsc_previous_selected_gateway'] == 'paypal_certified'){
|
|
58 |
echo transaction_results($sessionid, true);
|
59 |
}
|
60 |
}
|
|
|
|
|
|
|
|
|
61 |
?>
|
40 |
if($_SESSION['wpsc_previous_selected_gateway'] == 'paypal_certified'){
|
41 |
echo $_SESSION['paypalExpressMessage'];
|
42 |
|
43 |
+
|
44 |
} elseif($sessionid == ''){
|
45 |
_e('Sorry your transaction was not accepted.<br /><a href='.get_option("shopping_cart_url").'>Click here to go back to checkout page.</a>');
|
46 |
|
47 |
}else{
|
48 |
+
|
49 |
if($_SESSION['wpsc_previous_selected_gateway']== 'dps') {
|
50 |
$sessionid = decrypt_dps_response();
|
51 |
//exit($sessionid);
|
60 |
echo transaction_results($sessionid, true);
|
61 |
}
|
62 |
}
|
63 |
+
if($sessionid != ''){
|
64 |
+
//exit('<pre>'.print_r($sessionid, true).'</pre>');
|
65 |
+
//transaction_results($sessionid, true);
|
66 |
+
}
|
67 |
?>
|
user-downloads.php
CHANGED
@@ -67,5 +67,8 @@ if(count($files) > 0) {
|
|
67 |
<?php
|
68 |
} else {
|
69 |
echo __('You have not purchased any downloadable products yet.', 'wpsc');
|
70 |
-
}
|
|
|
|
|
|
|
71 |
?>
|
67 |
<?php
|
68 |
} else {
|
69 |
echo __('You have not purchased any downloadable products yet.', 'wpsc');
|
70 |
+
}?>
|
71 |
+
</div>
|
72 |
+
<?php
|
73 |
+
|
74 |
?>
|
user-log.php
CHANGED
@@ -393,7 +393,6 @@ $date_list[0]['end'] = $end_timestamp;
|
|
393 |
echo " </td>\n\r";
|
394 |
echo "</tr>\n\r";
|
395 |
}
|
396 |
-
echo "</tr>";
|
397 |
}
|
398 |
else
|
399 |
{
|
@@ -443,4 +442,4 @@ $date_list[0]['end'] = $end_timestamp;
|
|
443 |
}
|
444 |
?>
|
445 |
</div>
|
446 |
-
<?php } ?>
|
393 |
echo " </td>\n\r";
|
394 |
echo "</tr>\n\r";
|
395 |
}
|
|
|
396 |
}
|
397 |
else
|
398 |
{
|
442 |
}
|
443 |
?>
|
444 |
</div>
|
445 |
+
<?php } ?>
|
wp-shopping-cart.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name:WP Shopping Cart
|
4 |
Plugin URI: http://www.getshopped.org
|
5 |
Description: A plugin that provides a WordPress Shopping Cart. Visit the <a href='http://getshopped.org/forums'>getshopped forums</a> for support.
|
6 |
-
Version: 3.7.6
|
7 |
Author: Instinct
|
8 |
Author URI: http://www.getshopped.org
|
9 |
*/
|
@@ -14,9 +14,9 @@ Author URI: http://www.getshopped.org
|
|
14 |
// this is to make sure it sets up the table name constants correctly on activation
|
15 |
global $wpdb;
|
16 |
define('WPSC_VERSION', '3.7');
|
17 |
-
define('WPSC_MINOR_VERSION', '
|
18 |
|
19 |
-
define('WPSC_PRESENTABLE_VERSION', '3.7.6
|
20 |
|
21 |
define('WPSC_DEBUG', false);
|
22 |
define('WPSC_GATEWAY_DEBUG', false);
|
@@ -291,7 +291,13 @@ $shipping_directory = WPSC_FILE_PATH.'/shipping';
|
|
291 |
$nzshpcrt_shipping_list = wpsc_list_dir($shipping_directory);
|
292 |
foreach($nzshpcrt_shipping_list as $nzshpcrt_shipping) {
|
293 |
if(stristr( $nzshpcrt_shipping , '.php' )) {
|
294 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
295 |
}
|
296 |
}
|
297 |
$wpsc_shipping_modules = apply_filters('wpsc_shipping_modules',$wpsc_shipping_modules);
|
@@ -505,4 +511,28 @@ function wpsc_break_canonical_redirects($redirect_url, $requested_url) {
|
|
505 |
|
506 |
add_filter('redirect_canonical', 'wpsc_break_canonical_redirects', 10, 2);
|
507 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
508 |
?>
|
3 |
Plugin Name:WP Shopping Cart
|
4 |
Plugin URI: http://www.getshopped.org
|
5 |
Description: A plugin that provides a WordPress Shopping Cart. Visit the <a href='http://getshopped.org/forums'>getshopped forums</a> for support.
|
6 |
+
Version: 3.7.6.2
|
7 |
Author: Instinct
|
8 |
Author URI: http://www.getshopped.org
|
9 |
*/
|
14 |
// this is to make sure it sets up the table name constants correctly on activation
|
15 |
global $wpdb;
|
16 |
define('WPSC_VERSION', '3.7');
|
17 |
+
define('WPSC_MINOR_VERSION', '52');
|
18 |
|
19 |
+
define('WPSC_PRESENTABLE_VERSION', '3.7.6.2');
|
20 |
|
21 |
define('WPSC_DEBUG', false);
|
22 |
define('WPSC_GATEWAY_DEBUG', false);
|
291 |
$nzshpcrt_shipping_list = wpsc_list_dir($shipping_directory);
|
292 |
foreach($nzshpcrt_shipping_list as $nzshpcrt_shipping) {
|
293 |
if(stristr( $nzshpcrt_shipping , '.php' )) {
|
294 |
+
if($nzshpcrt_shipping == 'ups.php'){
|
295 |
+
if (phpMinV('5')){
|
296 |
+
require(WPSC_FILE_PATH."/shipping/".$nzshpcrt_shipping);
|
297 |
+
}
|
298 |
+
}else{
|
299 |
+
require(WPSC_FILE_PATH."/shipping/".$nzshpcrt_shipping);
|
300 |
+
}
|
301 |
}
|
302 |
}
|
303 |
$wpsc_shipping_modules = apply_filters('wpsc_shipping_modules',$wpsc_shipping_modules);
|
511 |
|
512 |
add_filter('redirect_canonical', 'wpsc_break_canonical_redirects', 10, 2);
|
513 |
|
514 |
+
|
515 |
+
|
516 |
+
/**
|
517 |
+
* Update Notice
|
518 |
+
*
|
519 |
+
* Displays an update message below the auto-upgrade link in the WordPress admin
|
520 |
+
* to notify users that they should check the upgrade information and changelog
|
521 |
+
* before upgrading in case they need to may updates to their theme files.
|
522 |
+
*
|
523 |
+
* @package wp-e-commerce
|
524 |
+
* @since 3.7.6.1
|
525 |
+
*/
|
526 |
+
function wpsc_update_notice() {
|
527 |
+
$info_title = __( 'Please Note', 'wpsc' );
|
528 |
+
$info_text = sprintf( __( 'Before upgrading you should check the <a %s>upgrade information</a> and changelog as you may need to make updates to your template files.', 'wpsc' ), 'href="http://getshopped.org/resources/docs/upgrades/staying-current/" target="_blank"' );
|
529 |
+
echo '<div style="border-top:1px solid #CCC; margin-top:3px; padding-top:3px; font-weight:normal;"><strong style="color:#CC0000">' . strip_tags( $info_title ) . '</strong>: ' . strip_tags( $info_text, '<br><a><strong><em><span>' ) . '</div>';
|
530 |
+
}
|
531 |
+
|
532 |
+
if ( is_admin() ) {
|
533 |
+
add_action( 'in_plugin_update_message-' . plugin_basename( __FILE__ ), 'wpsc_update_notice' );
|
534 |
+
}
|
535 |
+
|
536 |
+
|
537 |
+
|
538 |
?>
|
wpsc-admin/admin.php
CHANGED
@@ -238,14 +238,8 @@ function wpsc_admin_include_css_and_js() {
|
|
238 |
'separate' => __('Separate tags with commas'),
|
239 |
));
|
240 |
if(defined('WPSC_GOLD_DIR_NAME') && WPSC_GOLD_DIR_NAME != ''){
|
241 |
-
wp_enqueue_style('gold_cart',
|
242 |
}
|
243 |
-
//jQuery wysiwyg
|
244 |
-
// if ( user_can_richedit() ) {
|
245 |
-
// wp_enqueue_script('editor');
|
246 |
-
// }
|
247 |
-
// wp_enqueue_script('media-upload');
|
248 |
-
// wp_enqueue_style('thickbox');
|
249 |
|
250 |
// Prototype breaks dragging and dropping, I need it gone
|
251 |
wp_deregister_script('prototype');
|
@@ -755,6 +749,12 @@ function wpsc_admin_4months_widget_rightnow() {
|
|
755 |
echo "</div>";
|
756 |
}
|
757 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
758 |
|
759 |
if( IS_WP27 ) {
|
760 |
add_action('wp_dashboard_setup','wpsc_dashboard_4months_widget_setup');
|
238 |
'separate' => __('Separate tags with commas'),
|
239 |
));
|
240 |
if(defined('WPSC_GOLD_DIR_NAME') && WPSC_GOLD_DIR_NAME != ''){
|
241 |
+
wp_enqueue_style('gold_cart', WPSC_GOLD_FILE_URL.'/gold_cart.css',false, $version_identifier, 'all');
|
242 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
|
244 |
// Prototype breaks dragging and dropping, I need it gone
|
245 |
wp_deregister_script('prototype');
|
749 |
echo "</div>";
|
750 |
}
|
751 |
}
|
752 |
+
function wpsc_getshopped_news_meta_box(){
|
753 |
+
$rss = fetch_feed('http://getshopped.org/category/community-plugins/feed/');
|
754 |
+
$args = array('show_author' => 1, 'show_date' => 1, 'show_summary' => 1, 'items'=>3 );
|
755 |
+
wp_widget_rss_output($rss, $args);
|
756 |
+
}
|
757 |
+
|
758 |
|
759 |
if( IS_WP27 ) {
|
760 |
add_action('wp_dashboard_setup','wpsc_dashboard_4months_widget_setup');
|
wpsc-admin/ajax-and-init.php
CHANGED
@@ -1329,7 +1329,7 @@ function wpsc_purchlog_edit_status($purchlog_id='', $purchlog_status='') {
|
|
1329 |
if(($purchlog_status > $log_data['processed']) && ($log_data['processed'] <= 2)) {
|
1330 |
transaction_results($log_data['sessionid'],false);
|
1331 |
}
|
1332 |
-
exit("1");
|
1333 |
}
|
1334 |
|
1335 |
if($_REQUEST['wpsc_admin_action'] == 'purchlog_edit_status') {
|
@@ -1340,14 +1340,15 @@ SELECT DISTINCT `products`.*, `category`.`category_id`,`order`.`order`, IF(ISNUL
|
|
1340 |
*/
|
1341 |
function wpsc_save_product_order() {
|
1342 |
global $wpdb;
|
1343 |
-
if(is_numeric($_POST['category_id'])) {
|
1344 |
$category_id = absint($_POST['category_id']);
|
1345 |
$products = $_POST['product'];
|
1346 |
$order=1;
|
|
|
1347 |
foreach($products as $product_id) {
|
1348 |
$product_id = absint($product_id);
|
1349 |
$wpdb->query("REPLACE INTO `".WPSC_TABLE_PRODUCT_ORDER."`(`category_id`, `product_id`, `order`) VALUES ('{$category_id}', '{$product_id}', '{$order}' )");
|
1350 |
-
|
1351 |
$order++;
|
1352 |
}
|
1353 |
$success = true;
|
1329 |
if(($purchlog_status > $log_data['processed']) && ($log_data['processed'] <= 2)) {
|
1330 |
transaction_results($log_data['sessionid'],false);
|
1331 |
}
|
1332 |
+
// exit("1");
|
1333 |
}
|
1334 |
|
1335 |
if($_REQUEST['wpsc_admin_action'] == 'purchlog_edit_status') {
|
1340 |
*/
|
1341 |
function wpsc_save_product_order() {
|
1342 |
global $wpdb;
|
1343 |
+
if(is_numeric($_POST['category_id']) ) {
|
1344 |
$category_id = absint($_POST['category_id']);
|
1345 |
$products = $_POST['product'];
|
1346 |
$order=1;
|
1347 |
+
// echo '/*<pre>'.print_r($products,true).'</pre>*/';
|
1348 |
foreach($products as $product_id) {
|
1349 |
$product_id = absint($product_id);
|
1350 |
$wpdb->query("REPLACE INTO `".WPSC_TABLE_PRODUCT_ORDER."`(`category_id`, `product_id`, `order`) VALUES ('{$category_id}', '{$product_id}', '{$order}' )");
|
1351 |
+
// echo "/* REPLACE INTO `".WPSC_TABLE_PRODUCT_ORDER."`(`category_id`, `product_id`, `order`) VALUES ('{$category_id}', '{$product_id}', '$order' ) */\n\r";
|
1352 |
$order++;
|
1353 |
}
|
1354 |
$success = true;
|
wpsc-admin/display-items.page.php
CHANGED
@@ -196,6 +196,7 @@ function wpsc_admin_products_list($category_id = 0) {
|
|
196 |
$is_sortable = true;
|
197 |
} else {
|
198 |
$itempp = 10;
|
|
|
199 |
if ($_GET['pageno']!='all') {
|
200 |
if($_GET['pageno'] > 0) {
|
201 |
$page = absint($_GET['pageno']);
|
@@ -204,11 +205,19 @@ function wpsc_admin_products_list($category_id = 0) {
|
|
204 |
}
|
205 |
$start = (int)($page * $itempp) - $itempp;
|
206 |
$sql = "SELECT DISTINCT * FROM `".WPSC_TABLE_PRODUCT_LIST."` AS `products` WHERE `products`.`active`='1' $search_sql ORDER BY `products`.`date_added` DESC LIMIT $start,$itempp";
|
|
|
|
|
|
|
|
|
207 |
} else {
|
208 |
-
|
|
|
209 |
}
|
|
|
210 |
}
|
|
|
211 |
$product_list = $wpdb->get_results($sql,ARRAY_A);
|
|
|
212 |
$num_products = $wpdb->get_var("SELECT COUNT(DISTINCT `products`.`id`) FROM `".WPSC_TABLE_PRODUCT_LIST."` AS `products` WHERE `products`.`active`='1' $search_sql");
|
213 |
|
214 |
if (isset($itempp)) {
|
@@ -235,12 +244,13 @@ function wpsc_admin_products_list($category_id = 0) {
|
|
235 |
|
236 |
|
237 |
|
238 |
-
|
239 |
<div class="tablenav-pages">
|
240 |
<?php
|
241 |
echo $page_links;
|
242 |
?>
|
243 |
</div>
|
|
|
244 |
|
245 |
<div class="alignleft actions">
|
246 |
<form action="admin.php" method="get">
|
@@ -310,12 +320,17 @@ function wpsc_admin_products_list($category_id = 0) {
|
|
310 |
$product_name = htmlentities(stripslashes($product['name']), ENT_QUOTES, 'UTF-8');
|
311 |
}
|
312 |
|
313 |
-
|
314 |
$category_html = '';
|
|
|
315 |
$category_list = $wpdb->get_results("SELECT `".WPSC_TABLE_PRODUCT_CATEGORIES."`.`id`,`".WPSC_TABLE_PRODUCT_CATEGORIES."`.`name` FROM `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."` , `".WPSC_TABLE_PRODUCT_CATEGORIES."` WHERE `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`product_id` IN ('".$product['id']."') AND `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`category_id` = `".WPSC_TABLE_PRODUCT_CATEGORIES."`.`id` AND `".WPSC_TABLE_PRODUCT_CATEGORIES."`.`active` IN('1')",ARRAY_A);
|
|
|
|
|
|
|
316 |
$i = 0;
|
317 |
foreach((array)$category_list as $category_row) {
|
318 |
if($i > 0) {
|
|
|
319 |
$category_html .= "<br />";
|
320 |
}
|
321 |
|
@@ -324,7 +339,11 @@ function wpsc_admin_products_list($category_id = 0) {
|
|
324 |
$i++;
|
325 |
}
|
326 |
|
327 |
-
|
|
|
|
|
|
|
|
|
328 |
?>
|
329 |
<tr class="product-edit <?php echo ( wpsc_publish_status($product['id']) ) ? ' wpsc_published' : ' wpsc_not_published'; ?>" id="product-<?php echo $product['id']?>" >
|
330 |
<th class="check-column" scope="row">
|
@@ -373,7 +392,7 @@ function wpsc_admin_products_list($category_id = 0) {
|
|
373 |
</span>
|
374 |
|
|
375 |
<span class="delete">
|
376 |
-
<a class='submitdelete'
|
377 |
title='<?php echo attribute_escape(__('Delete this product', 'wpsc')); ?>'
|
378 |
href='<?php echo wp_nonce_url("admin.php?wpsc_admin_action=delete_product&product={$product['id']}", 'delete_product_' . $product['id']); ?>'
|
379 |
onclick="if ( confirm(' <?php echo js_escape(sprintf( __("You are about to delete this product '%s'\n 'Cancel' to stop, 'OK' to delete."), $product['name'] )) ?>') ) { return true;}return false;"
|
196 |
$is_sortable = true;
|
197 |
} else {
|
198 |
$itempp = 10;
|
199 |
+
|
200 |
if ($_GET['pageno']!='all') {
|
201 |
if($_GET['pageno'] > 0) {
|
202 |
$page = absint($_GET['pageno']);
|
205 |
}
|
206 |
$start = (int)($page * $itempp) - $itempp;
|
207 |
$sql = "SELECT DISTINCT * FROM `".WPSC_TABLE_PRODUCT_LIST."` AS `products` WHERE `products`.`active`='1' $search_sql ORDER BY `products`.`date_added` DESC LIMIT $start,$itempp";
|
208 |
+
if(get_option('wpsc_sort_by') == 'dragndrop'){
|
209 |
+
$sql = "SELECT DISTINCT * FROM `".WPSC_TABLE_PRODUCT_LIST."` AS `products` LEFT JOIN `".WPSC_TABLE_PRODUCT_ORDER."` AS `order` ON `products`.`id`= `order`.`product_id` WHERE `products`.`active`='1' AND `order`.`category_id`='0' $search_sql ORDER BY `order`.`order`";
|
210 |
+
}
|
211 |
+
|
212 |
} else {
|
213 |
+
$sql = "SELECT DISTINCT * FROM `".WPSC_TABLE_PRODUCT_LIST."` AS `products` WHERE `products`.`active`='1' $search_sql ORDER BY `products`.`date_added`";
|
214 |
+
|
215 |
}
|
216 |
+
|
217 |
}
|
218 |
+
// exit($sql);
|
219 |
$product_list = $wpdb->get_results($sql,ARRAY_A);
|
220 |
+
//exit('<pre>'.print_r($product_list, true).'</pre>');
|
221 |
$num_products = $wpdb->get_var("SELECT COUNT(DISTINCT `products`.`id`) FROM `".WPSC_TABLE_PRODUCT_LIST."` AS `products` WHERE `products`.`active`='1' $search_sql");
|
222 |
|
223 |
if (isset($itempp)) {
|
244 |
|
245 |
|
246 |
|
247 |
+
<?php if(get_option('wpsc_sort_by') != 'dragndrop'){ ?>
|
248 |
<div class="tablenav-pages">
|
249 |
<?php
|
250 |
echo $page_links;
|
251 |
?>
|
252 |
</div>
|
253 |
+
<?php } ?>
|
254 |
|
255 |
<div class="alignleft actions">
|
256 |
<form action="admin.php" method="get">
|
320 |
$product_name = htmlentities(stripslashes($product['name']), ENT_QUOTES, 'UTF-8');
|
321 |
}
|
322 |
|
323 |
+
|
324 |
$category_html = '';
|
325 |
+
if(get_option('wpsc_sort_by') != 'dragndrop'){
|
326 |
$category_list = $wpdb->get_results("SELECT `".WPSC_TABLE_PRODUCT_CATEGORIES."`.`id`,`".WPSC_TABLE_PRODUCT_CATEGORIES."`.`name` FROM `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."` , `".WPSC_TABLE_PRODUCT_CATEGORIES."` WHERE `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`product_id` IN ('".$product['id']."') AND `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`category_id` = `".WPSC_TABLE_PRODUCT_CATEGORIES."`.`id` AND `".WPSC_TABLE_PRODUCT_CATEGORIES."`.`active` IN('1')",ARRAY_A);
|
327 |
+
}else{
|
328 |
+
$category_list = $wpdb->get_results("SELECT `".WPSC_TABLE_PRODUCT_CATEGORIES."`.`id`,`".WPSC_TABLE_PRODUCT_CATEGORIES."`.`name` FROM `".WPSC_TABLE_PRODUCT_CATEGORIES."` LEFT JOIN `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."` ON `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`category_id`= `".WPSC_TABLE_PRODUCT_CATEGORIES."`.`id` WHERE `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`product_id` IN ('".$product['product_id']."') AND `".WPSC_TABLE_PRODUCT_CATEGORIES."`.`active` IN('1')",ARRAY_A);
|
329 |
+
}
|
330 |
$i = 0;
|
331 |
foreach((array)$category_list as $category_row) {
|
332 |
if($i > 0) {
|
333 |
+
|
334 |
$category_html .= "<br />";
|
335 |
}
|
336 |
|
339 |
$i++;
|
340 |
}
|
341 |
|
342 |
+
if(get_option('wpsc_sort_by') == 'dragndrop'){
|
343 |
+
$product['id'] = $product['product_id'];
|
344 |
+
}
|
345 |
+
|
346 |
+
|
347 |
?>
|
348 |
<tr class="product-edit <?php echo ( wpsc_publish_status($product['id']) ) ? ' wpsc_published' : ' wpsc_not_published'; ?>" id="product-<?php echo $product['id']?>" >
|
349 |
<th class="check-column" scope="row">
|
392 |
</span>
|
393 |
|
|
394 |
<span class="delete">
|
395 |
+
<a class='submitdelete delete_button'
|
396 |
title='<?php echo attribute_escape(__('Delete this product', 'wpsc')); ?>'
|
397 |
href='<?php echo wp_nonce_url("admin.php?wpsc_admin_action=delete_product&product={$product['id']}", 'delete_product_' . $product['id']); ?>'
|
398 |
onclick="if ( confirm(' <?php echo js_escape(sprintf( __("You are about to delete this product '%s'\n 'Cancel' to stop, 'OK' to delete."), $product['name'] )) ?>') ) { return true;}return false;"
|
wpsc-admin/display-sales-logs.php
CHANGED
@@ -50,7 +50,14 @@ if(!isset($purchlogs)){
|
|
50 |
///// start of update message section //////
|
51 |
|
52 |
//$fixpage = get_option('siteurl').'/wp-admin/admin.php?page='.WPSC_FOLDER.'/wpsc-admin/purchlogs_upgrade.php';
|
53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
$fixpage = get_option('siteurl').'/wp-admin/admin.php?page=wpsc-sales-logs&subpage=upgrade-purchase-logs';
|
55 |
if (isset($_GET['skipped']) || isset($_GET['updated']) || isset($_GET['deleted']) || isset($_GET['locked']) ) { ?>
|
56 |
<div id="message" class="updated fade"><p>
|
@@ -81,11 +88,16 @@ if(!isset($purchlogs)){
|
|
81 |
<div class='error' style='padding:8px;line-spacing:8px;'><span ><?php _e('When upgrading the Wp-E-Commerce Plugin from 3.6.* to 3.7 it is required that you associate your checkout form fields with the new Purchase Logs system. To do so please '); ?> <a href='<?php echo $fixpage; ?>'>Click Here</a></span></div>
|
82 |
<?php }
|
83 |
///// end of update message section //////?>
|
|
|
|
|
|
|
84 |
<div id='dashboard-widgets' style='min-width: 825px;'>
|
85 |
<!--
|
86 |
<div class='inner-sidebar'>
|
87 |
<div class='meta-box-sortables'>
|
88 |
<?php
|
|
|
|
|
89 |
//if(IS_WP27){
|
90 |
// display_ecomm_rss_feed();
|
91 |
//}
|
@@ -96,12 +108,32 @@ if(!isset($purchlogs)){
|
|
96 |
<?php /* end of sidebar start of main column */ ?>
|
97 |
<div id='post-body' class='has-sidebar metabox-holder' style='width:95%;'>
|
98 |
<div id='dashboard-widgets-main-content-wpsc' class='has-sidebar-content'>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
|
100 |
-
|
101 |
if(function_exists('wpsc_right_now')) {
|
102 |
-
echo wpsc_right_now();
|
103 |
}
|
104 |
-
|
105 |
?>
|
106 |
</div><br />
|
107 |
<div id='wpsc_purchlog_searchbox'>
|
50 |
///// start of update message section //////
|
51 |
|
52 |
//$fixpage = get_option('siteurl').'/wp-admin/admin.php?page='.WPSC_FOLDER.'/wpsc-admin/purchlogs_upgrade.php';
|
53 |
+
$current_user = wp_get_current_user();
|
54 |
+
|
55 |
+
// we put the closed postboxes array into the product data to propagate it to each form without having it global.
|
56 |
+
$dashboard_data['closed_postboxes'] = (array)get_usermeta( $current_user->ID, 'closedpostboxes_store_page_wpscsalelogs');
|
57 |
+
// exit('<pre>'.print_r($dashboard_data,true).'</pre>');
|
58 |
+
// $dashboard_data['hidden_postboxes'] = (array)get_usermeta( $current_user->ID, 'metaboxhidden_store_page_wpsc-edit-products');
|
59 |
+
|
60 |
+
|
61 |
$fixpage = get_option('siteurl').'/wp-admin/admin.php?page=wpsc-sales-logs&subpage=upgrade-purchase-logs';
|
62 |
if (isset($_GET['skipped']) || isset($_GET['updated']) || isset($_GET['deleted']) || isset($_GET['locked']) ) { ?>
|
63 |
<div id="message" class="updated fade"><p>
|
88 |
<div class='error' style='padding:8px;line-spacing:8px;'><span ><?php _e('When upgrading the Wp-E-Commerce Plugin from 3.6.* to 3.7 it is required that you associate your checkout form fields with the new Purchase Logs system. To do so please '); ?> <a href='<?php echo $fixpage; ?>'>Click Here</a></span></div>
|
89 |
<?php }
|
90 |
///// end of update message section //////?>
|
91 |
+
|
92 |
+
|
93 |
+
|
94 |
<div id='dashboard-widgets' style='min-width: 825px;'>
|
95 |
<!--
|
96 |
<div class='inner-sidebar'>
|
97 |
<div class='meta-box-sortables'>
|
98 |
<?php
|
99 |
+
|
100 |
+
|
101 |
//if(IS_WP27){
|
102 |
// display_ecomm_rss_feed();
|
103 |
//}
|
108 |
<?php /* end of sidebar start of main column */ ?>
|
109 |
<div id='post-body' class='has-sidebar metabox-holder' style='width:95%;'>
|
110 |
<div id='dashboard-widgets-main-content-wpsc' class='has-sidebar-content'>
|
111 |
+
<?php if(function_exists('fetch_feed')){ ?>
|
112 |
+
<div class='postbox <?php echo ((array_search('wpsc_getshopped_news', $dashboard_data['closed_postboxes']) !== false) ? 'closed' : ''); ?>' id="wpsc_getshopped_news">
|
113 |
+
<h3 class='hndle'>
|
114 |
+
<span><?php _e('GetShopped News', 'wpsc'); ?></span>
|
115 |
+
<br class='clear'/>
|
116 |
+
</h3>
|
117 |
+
|
118 |
+
<div class='inside'>
|
119 |
+
<?php
|
120 |
+
// exit('Data:<pre>'.print_r($dashboard_data,true).'</pre>');
|
121 |
+
$rss = fetch_feed('http://getshopped.org/category/wp-e-commerce-plugin/');
|
122 |
+
$args = array('show_author' => 1, 'show_date' => 1, 'show_summary' => 1, 'items'=>3 );
|
123 |
+
wp_widget_rss_output($rss, $args);
|
124 |
+
?>
|
125 |
+
</div>
|
126 |
+
</div>
|
127 |
+
<?php
|
128 |
+
}
|
129 |
+
// add_meta_box("wpsc_getshopped_news", __('GetShopped News', 'wpsc'), "wpsc_getshopped_news_meta_box", "wpsc");
|
130 |
+
// do_meta_boxes('wpsc','advanced',null);
|
131 |
|
132 |
+
|
133 |
if(function_exists('wpsc_right_now')) {
|
134 |
+
echo wpsc_right_now($dashboard_data['closed_postboxes'] );
|
135 |
}
|
136 |
+
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
|
137 |
?>
|
138 |
</div><br />
|
139 |
<div id='wpsc_purchlog_searchbox'>
|
wpsc-admin/includes/display-items-functions.php
CHANGED
@@ -348,7 +348,7 @@ if(0 == $product_data['special_price']){
|
|
348 |
|
349 |
|
350 |
<input class='button-primary' style='float:left;' type='submit' name='submit' value='<?php if($product_data['id'] > 0) { _e('Update Product', 'wpsc'); } else { _e('Add New Product', 'wpsc'); } ?>' />
|
351 |
-
<a class='submitdelete' title='<?php echo attribute_escape(__('Delete this product')); ?>' href='<?php echo wp_nonce_url("page.php?wpsc_admin_action=delete_product&product={$product_data['id']}", 'delete_product_' . $product_data['id']); ?>' onclick="if ( confirm(' <?php echo js_escape(sprintf( __("You are about to delete this product '%s'\n 'Cancel' to stop, 'OK' to delete."), $product_data['name'] )) ?>') ) { return true;}return false;"><?php _e('Delete') ?></a>
|
352 |
<?php
|
353 |
}
|
354 |
|
@@ -1122,10 +1122,10 @@ function edit_multiple_image_gallery($product_data) {
|
|
1122 |
<div class='previewimage' id='gallery_image_<?php echo $main_image['id']; ?>'>
|
1123 |
<?php if ($main_image['image'] != '') { ?>
|
1124 |
<?php
|
1125 |
-
$image_data = getimagesize(
|
1126 |
?>
|
1127 |
<a id='extra_preview_link_0' href='' title='' rel='product_extra_image_0' >
|
1128 |
-
<img class='previewimage' onclick='return false;' src='<?php echo
|
1129 |
</a>
|
1130 |
<?php } ?>
|
1131 |
<?php
|
@@ -1146,7 +1146,7 @@ function edit_multiple_image_gallery($product_data) {
|
|
1146 |
if($image['image'] != '') {
|
1147 |
$num++;
|
1148 |
$imagepath = WPSC_IMAGE_DIR . $image['image'];
|
1149 |
-
$image_data = getimagesize(WPSC_IMAGE_DIR.$image['image']);
|
1150 |
?>
|
1151 |
<li id="product_image_<?php echo $image['id']; ?>" class='gallery_image'>
|
1152 |
<input type='hidden' class='image-id' name='gallery_image_id[]' value='<?php echo $image['id']; ?>' />
|
@@ -1204,7 +1204,7 @@ function wpsc_main_product_image_menu($product_id) {
|
|
1204 |
<ul>
|
1205 |
|
1206 |
<li>
|
1207 |
-
<input type='radio' name='gallery_resize' value='1' id='gallery_resize1' class='image_resize' onclick='image_resize_extra_forms(this)' /> <label for='gallery_resize1'><?php echo __('use default size', 'wpsc');
|
1208 |
</label>
|
1209 |
|
1210 |
</li>
|
@@ -1231,9 +1231,12 @@ function wpsc_main_product_image_menu($product_id) {
|
|
1231 |
<a href='<?php echo htmlentities("admin.php?wpsc_admin_action=crop_image&imagename=".$main_image['image']."&imgheight=".$image_data[1]."&imgwidth=".$image_data[0]."&width=630&height=500&product_id=".$product_id); ?>' title='Crop Image' class='thickbox'>Crop This Image Using jCrop</a>
|
1232 |
|
1233 |
</li>
|
|
|
1234 |
<li>
|
1235 |
-
<
|
|
|
1236 |
</li>
|
|
|
1237 |
|
1238 |
</ul>
|
1239 |
</div>
|
@@ -1368,4 +1371,4 @@ function wpsc_the_editor($content, $id = 'content', $prev_id = 'title', $media_b
|
|
1368 |
<?php
|
1369 |
}
|
1370 |
|
1371 |
-
?>
|
348 |
|
349 |
|
350 |
<input class='button-primary' style='float:left;' type='submit' name='submit' value='<?php if($product_data['id'] > 0) { _e('Update Product', 'wpsc'); } else { _e('Add New Product', 'wpsc'); } ?>' />
|
351 |
+
<a class='submitdelete delete_button' title='<?php echo attribute_escape(__('Delete this product')); ?>' href='<?php echo wp_nonce_url("page.php?wpsc_admin_action=delete_product&product={$product_data['id']}", 'delete_product_' . $product_data['id']); ?>' onclick="if ( confirm(' <?php echo js_escape(sprintf( __("You are about to delete this product '%s'\n 'Cancel' to stop, 'OK' to delete."), $product_data['name'] )) ?>') ) { return true;}return false;"><?php _e('Delete') ?></a>
|
352 |
<?php
|
353 |
}
|
354 |
|
1122 |
<div class='previewimage' id='gallery_image_<?php echo $main_image['id']; ?>'>
|
1123 |
<?php if ($main_image['image'] != '') { ?>
|
1124 |
<?php
|
1125 |
+
$image_data = getimagesize(WPSC_THUMBNAIL_DIR.$main_image['image']);
|
1126 |
?>
|
1127 |
<a id='extra_preview_link_0' href='' title='' rel='product_extra_image_0' >
|
1128 |
+
<img class='previewimage' onclick='return false;' src='<?php echo WPSC_THUMBNAIL_URL.$main_image['image']; ?>' alt='<?php echo __('Preview', 'wpsc'); ?>' title='<?php echo __('Preview', 'wpsc'); ?>' />
|
1129 |
</a>
|
1130 |
<?php } ?>
|
1131 |
<?php
|
1146 |
if($image['image'] != '') {
|
1147 |
$num++;
|
1148 |
$imagepath = WPSC_IMAGE_DIR . $image['image'];
|
1149 |
+
$image_data = @getimagesize(WPSC_IMAGE_DIR.$image['image']);
|
1150 |
?>
|
1151 |
<li id="product_image_<?php echo $image['id']; ?>" class='gallery_image'>
|
1152 |
<input type='hidden' class='image-id' name='gallery_image_id[]' value='<?php echo $image['id']; ?>' />
|
1204 |
<ul>
|
1205 |
|
1206 |
<li>
|
1207 |
+
<input type='radio' name='gallery_resize' value='1' id='gallery_resize1' class='image_resize' onclick='image_resize_extra_forms(this)' /> <label for='gallery_resize1'><?php echo __('use default size', 'wpsc'); ?> (<a href='<?php echo $presentation_link; ?>' title='<?php echo __('This is set on the Settings Page', 'wpsc'); ?>'><?php echo get_option('product_image_height'); ?>×<?php echo get_option('product_image_width'); ?>px</a>)
|
1208 |
</label>
|
1209 |
|
1210 |
</li>
|
1231 |
<a href='<?php echo htmlentities("admin.php?wpsc_admin_action=crop_image&imagename=".$main_image['image']."&imgheight=".$image_data[1]."&imgwidth=".$image_data[0]."&width=630&height=500&product_id=".$product_id); ?>' title='Crop Image' class='thickbox'>Crop This Image Using jCrop</a>
|
1232 |
|
1233 |
</li>
|
1234 |
+
|
1235 |
<li>
|
1236 |
+
<input type='submit' class='button-primary closeimagesettings' onclick='return false;' value='finish' />
|
1237 |
+
<a href='#' class='delete_primary_image delete_button'>Delete</a>
|
1238 |
</li>
|
1239 |
+
|
1240 |
|
1241 |
</ul>
|
1242 |
</div>
|
1371 |
<?php
|
1372 |
}
|
1373 |
|
1374 |
+
?>
|
wpsc-admin/includes/google_base_functions.php
DELETED
@@ -1,243 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/* Our Google Base API developer key. */
|
4 |
-
//$GLOBALS['developerKey'] = "ABQIAAAA6ggeUfjN1SpHwYsrpccTGhRuQWnos65R7rFyIjvnCKH4e1YArxSdx2HKFtraZCwQgrQplEXLG99isg";
|
5 |
-
//$GLOBALS['developerKey'] = "ABQIAAAAytglg4w-F970cu2wgEJJfBS0dHaC-2dNNjDFDkd1HH21BJ65AhT1FKTndoMPr-hz7ZR87MhvYqxlag";
|
6 |
-
$GLOBALS['developerKey'] = "ABQIAAAAytglg4w-F970cu2wgEJJfBTkn4bjjtLhLTDtEb0EwHFW9tR8IRSJLrLd5UwWvO_iLJ90wKh2_OHatA";
|
7 |
-
|
8 |
-
/* The items feed URL, used for queries, insertions and batch commands. */
|
9 |
-
$GLOBALS['itemsFeedURL'] = "http://www.google.com/base/feeds/items";
|
10 |
-
|
11 |
-
/* Parsed recipe entries from a query. */
|
12 |
-
$GLOBALS['parsedEntries'] = array();
|
13 |
-
|
14 |
-
/* Are we currently parsing an XML ENTRY tag? */
|
15 |
-
$GLOBALS['foundEntry'] = false;
|
16 |
-
|
17 |
-
/* Current XML element being processed. */
|
18 |
-
$GLOBALS['curElement'] = "";
|
19 |
-
|
20 |
-
/**
|
21 |
-
* Creates the XML content used to insert a new recipe.
|
22 |
-
*/
|
23 |
-
function buildInsertXML($name,$price,$description) {
|
24 |
-
$result = "<?xml version='1.0'?>" . "\n";
|
25 |
-
|
26 |
-
$result .= "<entry xmlns='http://www.w3.org/2005/Atom' xmlns:g='http://base.google.com/ns/1.0'>
|
27 |
-
<category scheme='http://base.google.com/categories/itemtypes' term='Products'/>
|
28 |
-
<g:item_type type='text'>Products</g:item_type>
|
29 |
-
<g:price type='floatUnit'> ".$price."</g:price>
|
30 |
-
<title type='text'>".$name."</title>
|
31 |
-
<content>".$description."</content>
|
32 |
-
</entry>";
|
33 |
-
return $result;
|
34 |
-
}
|
35 |
-
|
36 |
-
/**
|
37 |
-
* Creates the XML content used to perform a batch delete.
|
38 |
-
*/
|
39 |
-
function buildBatchXML() {
|
40 |
-
$counter = 0;
|
41 |
-
|
42 |
-
$result = '<?xml version="1.0" encoding="UTF-8"?>' . "\n";
|
43 |
-
$result .= '<feed xmlns="http://www.w3.org/2005/Atom"' . "\n";
|
44 |
-
$result .= ' xmlns:g="http://base.google.com/ns/1.0"' . "\n";
|
45 |
-
$result .= ' xmlns:batch="http://schemas.google.com/gdata/batch">' . "\n";
|
46 |
-
foreach($_POST as $key => $value) {
|
47 |
-
if(substr($key, 0, 5) == "link_") {
|
48 |
-
$counter++;
|
49 |
-
|
50 |
-
$result .= '<entry>' . "\n";
|
51 |
-
$result .= '<id>' . $value . '</id>' . "\n";
|
52 |
-
$result .= '<batch:operation type="delete"/>' . "\n";
|
53 |
-
$result .= '<batch:id>' . $counter . '</batch:id>' . "\n";
|
54 |
-
$result .= '</entry>' . "\n";
|
55 |
-
}
|
56 |
-
}
|
57 |
-
$result .= '</feed>' . "\n";
|
58 |
-
|
59 |
-
return $result;
|
60 |
-
}
|
61 |
-
|
62 |
-
/**
|
63 |
-
* Exchanges the given single-use token for a session
|
64 |
-
* token using AuthSubSessionToken, and returns the result.
|
65 |
-
*/
|
66 |
-
function exchangeToken($token) {
|
67 |
-
$ch = curl_init(); /* Create a CURL handle. */
|
68 |
-
|
69 |
-
curl_setopt($ch, CURLOPT_URL, "https://www.google.com/accounts/AuthSubSessionToken");
|
70 |
-
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
71 |
-
curl_setopt($ch, CURLOPT_FAILONERROR, true);
|
72 |
-
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
|
73 |
-
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization: AuthSub token="' . $token . '"'));
|
74 |
-
|
75 |
-
$result = curl_exec($ch); /* Execute the HTTP command. */
|
76 |
-
curl_close($ch);
|
77 |
-
$splitStr = split("=", $result);
|
78 |
-
return trim($splitStr[1]);
|
79 |
-
}
|
80 |
-
|
81 |
-
/**
|
82 |
-
* Performs a query for all of the user's items using the
|
83 |
-
* items feed, then parses the resulting XML with the
|
84 |
-
* startElement, endElement and characterData functions
|
85 |
-
* (below).
|
86 |
-
*/
|
87 |
-
function getItems($token) {
|
88 |
-
$ch = curl_init(); /* Create a CURL handle. */
|
89 |
-
global $developerKey, $itemsFeedURL;
|
90 |
-
|
91 |
-
curl_setopt($ch, CURLOPT_URL, $itemsFeedURL . "?");
|
92 |
-
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
93 |
-
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/atom+xml', 'Authorization: AuthSub token="' . trim($token) . '"', 'X-Google-Key: key=' . $developerKey));
|
94 |
-
|
95 |
-
$result = curl_exec($ch); /* Execute the HTTP command. */
|
96 |
-
curl_close($ch);
|
97 |
-
|
98 |
-
/* Parse the resulting XML. */
|
99 |
-
$xml_parser = xml_parser_create();
|
100 |
-
xml_set_element_handler($xml_parser, "startElement", "endElement");
|
101 |
-
xml_set_character_data_handler($xml_parser, "characterData");
|
102 |
-
xml_parse($xml_parser, $result);
|
103 |
-
xml_parser_free($xml_parser);
|
104 |
-
}
|
105 |
-
|
106 |
-
/**
|
107 |
-
* Inserts a new recipe by performing an HTTP POST to the
|
108 |
-
* items feed.
|
109 |
-
*/
|
110 |
-
function postItem($name,$price,$description, $token='') {
|
111 |
-
$ch = curl_init(); /* Create a CURL handle. */
|
112 |
-
global $developerKey, $itemsFeedURL;
|
113 |
-
|
114 |
-
/* Set cURL options. */
|
115 |
-
curl_setopt($ch, CURLOPT_URL, $itemsFeedURL);
|
116 |
-
curl_setopt($ch, CURLOPT_POST, true);
|
117 |
-
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
118 |
-
curl_setopt($ch, CURLOPT_FAILONERROR, true);
|
119 |
-
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization: AuthSub token="' . $token . '"', 'X-Google-Key: key=' . $developerKey, 'Content-Type: application/atom+xml'));
|
120 |
-
$xml=buildInsertXML($name,$price,$description);
|
121 |
-
curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);
|
122 |
-
|
123 |
-
$result = curl_exec($ch); /* Execute the HTTP request. */
|
124 |
-
curl_close($ch); /* Close the cURL handle. */
|
125 |
-
|
126 |
-
echo("<pre>".htmlentities($xml)."</pre>");
|
127 |
-
exit("<pre>".htmlentities($result)."</pre>");
|
128 |
-
// exit($result);
|
129 |
-
return $result;
|
130 |
-
}
|
131 |
-
|
132 |
-
/**
|
133 |
-
* Updates an existing recipe by performing an HTTP PUT
|
134 |
-
* on its feed URI, using the updated values a PUT data.
|
135 |
-
*/
|
136 |
-
function updateItem() {
|
137 |
-
$ch = curl_init(); /* Create a CURL handle. */
|
138 |
-
global $developerKey;
|
139 |
-
|
140 |
-
/* Prepare the data for HTTP PUT. */
|
141 |
-
$putString = buildInsertXML();
|
142 |
-
$putData = tmpfile();
|
143 |
-
// exit("=======><pre>".var_dump($putData)."</pre>");
|
144 |
-
fwrite($putData, $putString);
|
145 |
-
fseek($putData, 0);
|
146 |
-
|
147 |
-
/* Set cURL options. */
|
148 |
-
curl_setopt($ch, CURLOPT_URL, $_POST['link']);
|
149 |
-
curl_setopt($ch, CURLOPT_PUT, true);
|
150 |
-
curl_setopt($ch, CURLOPT_INFILE, $putData);
|
151 |
-
curl_setopt($ch, CURLOPT_INFILESIZE, strlen($putString));
|
152 |
-
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
153 |
-
curl_setopt($ch, CURLOPT_FAILONERROR, true);
|
154 |
-
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization: AuthSub token="' . $_POST['token'] . '"', 'X-Google-Key: key=' . $developerKey, 'Content-Type: application/atom+xml'));
|
155 |
-
|
156 |
-
$result = curl_exec($ch); /* Execute the HTTP request. */
|
157 |
-
fclose($putData); /* Close and delete the temp file. */
|
158 |
-
curl_close($ch); /* Close the cURL handle. */
|
159 |
-
|
160 |
-
return $result;
|
161 |
-
}
|
162 |
-
|
163 |
-
/**
|
164 |
-
* Deletes a recipe by performing an HTTP DELETE (a custom
|
165 |
-
* cURL request) on its feed URI.
|
166 |
-
*/
|
167 |
-
function deleteItem() {
|
168 |
-
$ch = curl_init();
|
169 |
-
global $developerKey;
|
170 |
-
|
171 |
-
/* Set cURL options. */
|
172 |
-
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "DELETE");
|
173 |
-
curl_setopt($ch, CURLOPT_URL, $_POST['link']);
|
174 |
-
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
175 |
-
curl_setopt($ch, CURLOPT_FAILONERROR, true);
|
176 |
-
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization: AuthSub token="' . $_POST['token'] . '"', 'X-Google-Key: key=' . $developerKey));
|
177 |
-
|
178 |
-
$result = curl_exec($ch); /* Execute the HTTP request. */
|
179 |
-
curl_close($ch); /* Close the cURL handle. */
|
180 |
-
|
181 |
-
return $result;
|
182 |
-
}
|
183 |
-
|
184 |
-
/**
|
185 |
-
* Deletes all recipes by performing an HTTP POST to the
|
186 |
-
* batch URI.
|
187 |
-
*/
|
188 |
-
function batchDelete() {
|
189 |
-
$ch = curl_init(); /* Create a CURL handle. */
|
190 |
-
global $developerKey, $itemsFeedURL;
|
191 |
-
|
192 |
-
/* Set cURL options. */
|
193 |
-
curl_setopt($ch, CURLOPT_URL, $itemsFeedURL . "/batch");
|
194 |
-
curl_setopt($ch, CURLOPT_POST, true);
|
195 |
-
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
196 |
-
curl_setopt($ch, CURLOPT_FAILONERROR, true);
|
197 |
-
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization: AuthSub token="' . $_POST['token'] . '"', 'X-Google-Key: key=' . $developerKey, 'Content-Type: application/atom+xml'));
|
198 |
-
curl_setopt($ch, CURLOPT_POSTFIELDS, buildBatchXML());
|
199 |
-
|
200 |
-
$result = curl_exec($ch); /* Execute the HTTP request. */
|
201 |
-
curl_close($ch); /* Close the cURL handle. */
|
202 |
-
|
203 |
-
return $result;
|
204 |
-
}
|
205 |
-
|
206 |
-
/**
|
207 |
-
* Callback function for XML start tags parsed by
|
208 |
-
* xml_parse.
|
209 |
-
*/
|
210 |
-
function startElement($parser, $name, $attrs) {
|
211 |
-
global $curElement, $foundEntry, $parsedEntries;
|
212 |
-
|
213 |
-
$curElement = $name;
|
214 |
-
if($curElement == "ENTRY") {
|
215 |
-
$foundEntry = true;
|
216 |
-
$parsedEntries[count($parsedEntries)] = array();
|
217 |
-
} else if($foundEntry && $curElement == "LINK") {
|
218 |
-
$parsedEntries[count($parsedEntries) - 1][$attrs["REL"]] = $attrs["HREF"];
|
219 |
-
}
|
220 |
-
}
|
221 |
-
|
222 |
-
/**
|
223 |
-
* Callback function for XML end tags parsed by
|
224 |
-
* xml_parse.
|
225 |
-
*/
|
226 |
-
function endElement($parser, $name) {
|
227 |
-
global $curElement, $foundEntry, $parsedEntries;
|
228 |
-
if($name == "ENTRY") {
|
229 |
-
$foundEntry = false;
|
230 |
-
}
|
231 |
-
}
|
232 |
-
|
233 |
-
/**
|
234 |
-
* Callback function for XML character data parsed by
|
235 |
-
* xml_parse.
|
236 |
-
*/
|
237 |
-
function characterData($parser, $data) {
|
238 |
-
global $curElement, $foundEntry, $parsedEntries;
|
239 |
-
|
240 |
-
if($foundEntry) {
|
241 |
-
$parsedEntries[count($parsedEntries) - 1][strtolower($curElement)] = $data;
|
242 |
-
}
|
243 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wpsc-admin/includes/product-functions.php
CHANGED
@@ -841,20 +841,4 @@ function wpsc_item_add_preview_file($product_id, $preview_file) {
|
|
841 |
}
|
842 |
}
|
843 |
|
844 |
-
|
845 |
-
function wpsc_send_to_google_base($product_data) {
|
846 |
-
require_once('google_base_functions.php');
|
847 |
-
if (strlen(get_option('wpsc_google_base_token')) > 0) {
|
848 |
-
$token = get_option('wpsc_google_base_token');
|
849 |
-
// if (isset($_SESSION['google_base_sessionToken'])) {
|
850 |
-
// $sessionToken = $_SESSION['google_base_sessionToken'];
|
851 |
-
// } else {
|
852 |
-
$sessionToken = exchangeToken($token);
|
853 |
-
// $_SESSION['google_base_sessionToken'] = $sessionToken;
|
854 |
-
// }
|
855 |
-
postItem($product_data['name'], $product_data['price'], $product_data['description'], $sessionToken);
|
856 |
-
}
|
857 |
-
}
|
858 |
-
|
859 |
-
|
860 |
-
?>
|
841 |
}
|
842 |
}
|
843 |
|
844 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wpsc-admin/includes/settings-pages/admin.php
CHANGED
@@ -76,7 +76,9 @@ global $wpdb;
|
|
76 |
<?php echo __('Purchase Log Email', 'wpsc');?>:
|
77 |
</th>
|
78 |
<td>
|
79 |
-
<input class='text' name='wpsc_options[purch_log_email]' type='text' size='40' value='<?php echo get_option('purch_log_email'); ?>' />
|
|
|
|
|
80 |
</td>
|
81 |
</tr>
|
82 |
<tr>
|
@@ -85,6 +87,7 @@ global $wpdb;
|
|
85 |
</th>
|
86 |
<td>
|
87 |
<input class='text' name='wpsc_options[return_email]' type='text' size='40' value='<?php echo get_option('return_email'); ?>' />
|
|
|
88 |
</td>
|
89 |
</tr>
|
90 |
|
@@ -94,6 +97,8 @@ global $wpdb;
|
|
94 |
</th>
|
95 |
<td>
|
96 |
<input class='text' name='wpsc_options[return_name]' type='text' size='40' value='<?php echo get_option('return_name'); ?>' />
|
|
|
|
|
97 |
</td>
|
98 |
</tr>
|
99 |
|
76 |
<?php echo __('Purchase Log Email', 'wpsc');?>:
|
77 |
</th>
|
78 |
<td>
|
79 |
+
<input class='text' name='wpsc_options[purch_log_email]' type='text' size='40' value='<?php echo get_option('purch_log_email'); ?>' /><br />
|
80 |
+
<?php _e('i.e. this is the address where your purchase reports are sent.','wpsc'); ?>
|
81 |
+
|
82 |
</td>
|
83 |
</tr>
|
84 |
<tr>
|
87 |
</th>
|
88 |
<td>
|
89 |
<input class='text' name='wpsc_options[return_email]' type='text' size='40' value='<?php echo get_option('return_email'); ?>' />
|
90 |
+
<?php _e('i.e. this is the reply address contained in the purchase receipt sent to the buyer.','wpsc'); ?>
|
91 |
</td>
|
92 |
</tr>
|
93 |
|
97 |
</th>
|
98 |
<td>
|
99 |
<input class='text' name='wpsc_options[return_name]' type='text' size='40' value='<?php echo get_option('return_name'); ?>' />
|
100 |
+
<?php _e('i.e. this is the "from name" buyers will see in their purchase receipt. ','wpsc'); ?>
|
101 |
+
|
102 |
</td>
|
103 |
</tr>
|
104 |
|
wpsc-admin/includes/settings-pages/general.php
CHANGED
@@ -176,6 +176,30 @@ function wpsc_options_general(){
|
|
176 |
<label for='csl4'><span id='cslchar4'><?php echo $currency_sign; ?></span> 100</label>
|
177 |
</td>
|
178 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
</table>
|
180 |
<div class="submit">
|
181 |
<input type='hidden' name='wpsc_admin_action' value='submit_options' />
|
176 |
<label for='csl4'><span id='cslchar4'><?php echo $currency_sign; ?></span> 100</label>
|
177 |
</td>
|
178 |
</tr>
|
179 |
+
<tr>
|
180 |
+
<?php
|
181 |
+
$decimals = get_option('wpsc_hide_decimals');
|
182 |
+
switch($decimals){
|
183 |
+
case '1':
|
184 |
+
$decimal1 = 'checked="checked"';
|
185 |
+
break;
|
186 |
+
|
187 |
+
case '0':
|
188 |
+
default:
|
189 |
+
$decimal2 = 'checked="checked"';
|
190 |
+
break;
|
191 |
+
}
|
192 |
+
|
193 |
+
?>
|
194 |
+
<th scope="row"><?php _e('Hide Decimals on Products Pages'); ?></th>
|
195 |
+
<td>
|
196 |
+
<input type='radio' value='1' name='wpsc_options[wpsc_hide_decimals]' id='hide_decimals1' <?php echo $decimal1; ?> />
|
197 |
+
<label for='hide_decimals1'><?php _e('Yes'); ?></label>
|
198 |
+
|
199 |
+
<input type='radio' value='0' name='wpsc_options[wpsc_hide_decimals]' id='hide_decimals2' <?php echo $decimal2; ?> />
|
200 |
+
<label for='hide_decimals2'><?php _e('No'); ?></label>
|
201 |
+
</td>
|
202 |
+
</tr>
|
203 |
</table>
|
204 |
<div class="submit">
|
205 |
<input type='hidden' name='wpsc_admin_action' value='submit_options' />
|
wpsc-admin/includes/settings-pages/presentation.php
CHANGED
@@ -18,22 +18,22 @@ function options_categorylist() {
|
|
18 |
} else {
|
19 |
$selected = '';
|
20 |
}
|
21 |
-
$categorylist .= "<option value='list' ".$selected." >".__('Show
|
22 |
|
23 |
if(get_option('wpsc_default_category') == 'all+list') {
|
24 |
$selected = "selected='selected'";
|
25 |
} else {
|
26 |
$selected = '';
|
27 |
}
|
28 |
-
$categorylist .= "<option value='all+list' ".$selected." >".__('Show
|
29 |
-
|
30 |
foreach($group_data as $group) {
|
31 |
$cat_sql = "SELECT * FROM `".WPSC_TABLE_PRODUCT_CATEGORIES."` WHERE `group_id` IN ({$group['id']}) AND `active`='1'";
|
32 |
$category_data = $wpdb->get_results($cat_sql,ARRAY_A);
|
33 |
if($category_data != null) {
|
34 |
|
35 |
|
36 |
-
$categorylist .= "<optgroup label='{$group['name']}'>"
|
37 |
foreach((array)$category_data as $category) {
|
38 |
if(get_option('wpsc_default_category') == $category['id']) {
|
39 |
$selected = "selected='selected'";
|
@@ -285,7 +285,7 @@ global $wpdb;
|
|
285 |
<h3 class="form_group"><?php echo __('Product Page Settings', 'wpsc');?></h3>
|
286 |
<table class='wpsc_options form-table'>
|
287 |
<tr>
|
288 |
-
<th scope="row"><?php echo __('
|
289 |
<td>
|
290 |
<?php
|
291 |
$display_pnp = get_option('product_view');
|
@@ -413,7 +413,7 @@ global $wpdb;
|
|
413 |
?>
|
414 |
|
415 |
<tr>
|
416 |
-
<th scope="row"><?php echo __('
|
417 |
<td>
|
418 |
<?php
|
419 |
echo wpsc_list_product_themes();
|
@@ -422,7 +422,7 @@ global $wpdb;
|
|
422 |
</tr>
|
423 |
|
424 |
<tr>
|
425 |
-
<th scope="row"><?php echo __('
|
426 |
<td>
|
427 |
<?php echo options_categorylist(); ?>
|
428 |
</td>
|
@@ -438,6 +438,10 @@ global $wpdb;
|
|
438 |
$wpsc_sort_by2 = "selected ='selected'";
|
439 |
break;
|
440 |
|
|
|
|
|
|
|
|
|
441 |
case 'id':
|
442 |
default:
|
443 |
$wpsc_sort_by3 = "selected ='selected'";
|
@@ -446,17 +450,18 @@ global $wpdb;
|
|
446 |
?>
|
447 |
<tr>
|
448 |
<th scope="row">
|
449 |
-
<?php echo __('Sort
|
450 |
</th>
|
451 |
<td>
|
452 |
<select name='wpsc_options[wpsc_sort_by]'>
|
453 |
<option <?php echo $wpsc_sort_by1; ?> value='name'><?php echo __('Name', 'wpsc');?></option>
|
454 |
<option <?php echo $wpsc_sort_by2; ?> value='price'><?php echo __('Price', 'wpsc');?></option>
|
|
|
455 |
<option <?php echo $wpsc_sort_by3; ?> value='id'><?php echo __('Time Uploaded', 'wpsc');?></option>
|
456 |
-
</select
|
|
|
457 |
</td>
|
458 |
</tr>
|
459 |
-
|
460 |
<tr>
|
461 |
<th scope="row"><?php echo __('Show Breadcrumbs', 'wpsc');?>:</th>
|
462 |
<td>
|
18 |
} else {
|
19 |
$selected = '';
|
20 |
}
|
21 |
+
$categorylist .= "<option value='list' ".$selected." >".__('Show Category List', 'wpsc')."</option>";
|
22 |
|
23 |
if(get_option('wpsc_default_category') == 'all+list') {
|
24 |
$selected = "selected='selected'";
|
25 |
} else {
|
26 |
$selected = '';
|
27 |
}
|
28 |
+
$categorylist .= "<option value='all+list' ".$selected." >".__('Show All Products + Category List', 'wpsc')."</option>";
|
29 |
+
$categorylist .="<optgroup label='Select a default Product Category:'></optgroup>";
|
30 |
foreach($group_data as $group) {
|
31 |
$cat_sql = "SELECT * FROM `".WPSC_TABLE_PRODUCT_CATEGORIES."` WHERE `group_id` IN ({$group['id']}) AND `active`='1'";
|
32 |
$category_data = $wpdb->get_results($cat_sql,ARRAY_A);
|
33 |
if($category_data != null) {
|
34 |
|
35 |
|
36 |
+
$categorylist .= "<optgroup label='{$group['name']}'>";
|
37 |
foreach((array)$category_data as $category) {
|
38 |
if(get_option('wpsc_default_category') == $category['id']) {
|
39 |
$selected = "selected='selected'";
|
285 |
<h3 class="form_group"><?php echo __('Product Page Settings', 'wpsc');?></h3>
|
286 |
<table class='wpsc_options form-table'>
|
287 |
<tr>
|
288 |
+
<th scope="row"><?php echo __('Catalog View', 'wpsc');?>:</th>
|
289 |
<td>
|
290 |
<?php
|
291 |
$display_pnp = get_option('product_view');
|
413 |
?>
|
414 |
|
415 |
<tr>
|
416 |
+
<th scope="row"><?php echo __('Theme', 'wpsc');?>:</th>
|
417 |
<td>
|
418 |
<?php
|
419 |
echo wpsc_list_product_themes();
|
422 |
</tr>
|
423 |
|
424 |
<tr>
|
425 |
+
<th scope="row"><?php echo __('Product page displays', 'wpsc'); ?>:</th>
|
426 |
<td>
|
427 |
<?php echo options_categorylist(); ?>
|
428 |
</td>
|
438 |
$wpsc_sort_by2 = "selected ='selected'";
|
439 |
break;
|
440 |
|
441 |
+
case 'dragndrop':
|
442 |
+
$wpsc_sort_by4 = "selected='selected'";
|
443 |
+
break;
|
444 |
+
|
445 |
case 'id':
|
446 |
default:
|
447 |
$wpsc_sort_by3 = "selected ='selected'";
|
450 |
?>
|
451 |
<tr>
|
452 |
<th scope="row">
|
453 |
+
<?php echo __('Sort Products By', 'wpsc');?>:
|
454 |
</th>
|
455 |
<td>
|
456 |
<select name='wpsc_options[wpsc_sort_by]'>
|
457 |
<option <?php echo $wpsc_sort_by1; ?> value='name'><?php echo __('Name', 'wpsc');?></option>
|
458 |
<option <?php echo $wpsc_sort_by2; ?> value='price'><?php echo __('Price', 'wpsc');?></option>
|
459 |
+
<option <?php echo $wpsc_sort_by4; ?> value='dragndrop'><?php echo __('Drag & Drop', 'wpsc');?></option>
|
460 |
<option <?php echo $wpsc_sort_by3; ?> value='id'><?php echo __('Time Uploaded', 'wpsc');?></option>
|
461 |
+
</select><br />
|
462 |
+
<?php _e('If you have used the drag-drop interface on the edit-products page to order your products then you must use the Drag & Drop option.','wpsc'); ?>
|
463 |
</td>
|
464 |
</tr>
|
|
|
465 |
<tr>
|
466 |
<th scope="row"><?php echo __('Show Breadcrumbs', 'wpsc');?>:</th>
|
467 |
<td>
|
wpsc-admin/includes/settings-pages/shipping.php
CHANGED
@@ -193,6 +193,7 @@ function selectgateway() {
|
|
193 |
|
194 |
<p>
|
195 |
<?php echo __('To enable shipping in WP e-Commerce you must select which shipping methods you want to enable on your site', 'wpsc'); ?>
|
|
|
196 |
</p>
|
197 |
<br />
|
198 |
<p>
|
193 |
|
194 |
<p>
|
195 |
<?php echo __('To enable shipping in WP e-Commerce you must select which shipping methods you want to enable on your site', 'wpsc'); ?>
|
196 |
+
<?php if (!phpMinV('5')){ echo __('<br /><strong>UPS has been deactivated because you are running PHP4, please upgrade to PHP5 to enable UPS.</strong>','wpsc'); } ?>
|
197 |
</p>
|
198 |
<br />
|
199 |
<p>
|
wpsc-admin/js/admin.js
CHANGED
@@ -195,6 +195,7 @@ jQuery(document).ready( function () {
|
|
195 |
axis: 'y',
|
196 |
containment: 'table#wpsc_checkout_list',
|
197 |
placeholder: 'checkout-placeholder',
|
|
|
198 |
|
199 |
});
|
200 |
jQuery(this).bind('sortupdate', function(event, ui) {
|
@@ -433,10 +434,19 @@ jQuery(document).ready( function () {
|
|
433 |
wpsc_save_postboxes_state('store_page_wpsc-edit-products', '#poststuff');
|
434 |
});
|
435 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
436 |
|
437 |
|
438 |
-
|
439 |
-
|
440 |
jQuery('a.add_new_form_set').livequery(function(){
|
441 |
jQuery(this).click( function() {
|
442 |
jQuery(".add_new_form_set_forms").toggle();
|
@@ -465,8 +475,7 @@ jQuery(document).ready( function () {
|
|
465 |
postboxes.save_state('store_page_wpsc-edit-products');
|
466 |
});
|
467 |
});
|
468 |
-
|
469 |
-
|
470 |
// postbox sorting
|
471 |
jQuery('.meta-box-sortables').livequery(function(){
|
472 |
jQuery(this).sortable({
|
@@ -530,7 +539,7 @@ jQuery(document).ready( function () {
|
|
530 |
});
|
531 |
});
|
532 |
|
533 |
-
jQuery('
|
534 |
jQuery(this).click( function() {
|
535 |
jQuery('.image_settings_box').hide();
|
536 |
});
|
@@ -848,9 +857,9 @@ function hideOptionElement(id, option) {
|
|
848 |
|
849 |
|
850 |
function wpsc_save_postboxes_state(page, container) {
|
851 |
-
|
852 |
var closed = jQuery(container+' .postbox').filter('.closed').map(function() { return this.id; }).get().join(',');
|
853 |
-
jQuery.post(
|
854 |
action: 'closed-postboxes',
|
855 |
closed: closed,
|
856 |
closedpostboxesnonce: jQuery('#closedpostboxesnonce').val(),
|
@@ -945,7 +954,8 @@ function add_form_field() {
|
|
945 |
new_element = document.createElement('tr');
|
946 |
new_element.id = new_element_id;
|
947 |
document.getElementById("wpsc_checkout_list_body").appendChild(new_element);
|
948 |
-
document.getElementById(new_element_id).innerHTML = new_element_contents;
|
|
|
949 |
jQuery('#'+new_element_id).addClass('checkout_form_field');
|
950 |
return false;
|
951 |
}
|
195 |
axis: 'y',
|
196 |
containment: 'table#wpsc_checkout_list',
|
197 |
placeholder: 'checkout-placeholder',
|
198 |
+
handle: '.drag'
|
199 |
|
200 |
});
|
201 |
jQuery(this).bind('sortupdate', function(event, ui) {
|
434 |
wpsc_save_postboxes_state('store_page_wpsc-edit-products', '#poststuff');
|
435 |
});
|
436 |
});
|
437 |
+
jQuery('#dashboard-widgets .postbox h3').livequery(function(){
|
438 |
+
jQuery(this).click( function() {
|
439 |
+
jQuery(jQuery(this).parent('div.postbox')).toggleClass('closed');
|
440 |
+
if(jQuery(jQuery(this).parent('div.postbox')).hasClass('closed')) {
|
441 |
+
jQuery('a.togbox',this).html('+');
|
442 |
+
} else {
|
443 |
+
jQuery('a.togbox',this).html('–');
|
444 |
+
}
|
445 |
+
wpsc_save_postboxes_state('store_page_wpsc-sale-logs', '#dashboard-widgets-main-content-wpsc');
|
446 |
+
});
|
447 |
+
});
|
448 |
|
449 |
|
|
|
|
|
450 |
jQuery('a.add_new_form_set').livequery(function(){
|
451 |
jQuery(this).click( function() {
|
452 |
jQuery(".add_new_form_set_forms").toggle();
|
475 |
postboxes.save_state('store_page_wpsc-edit-products');
|
476 |
});
|
477 |
});
|
478 |
+
|
|
|
479 |
// postbox sorting
|
480 |
jQuery('.meta-box-sortables').livequery(function(){
|
481 |
jQuery(this).sortable({
|
539 |
});
|
540 |
});
|
541 |
|
542 |
+
jQuery('.closeimagesettings').livequery(function(){
|
543 |
jQuery(this).click( function() {
|
544 |
jQuery('.image_settings_box').hide();
|
545 |
});
|
857 |
|
858 |
|
859 |
function wpsc_save_postboxes_state(page, container) {
|
860 |
+
// console.log(container);
|
861 |
var closed = jQuery(container+' .postbox').filter('.closed').map(function() { return this.id; }).get().join(',');
|
862 |
+
jQuery.post(ajaxurl, {
|
863 |
action: 'closed-postboxes',
|
864 |
closed: closed,
|
865 |
closedpostboxesnonce: jQuery('#closedpostboxesnonce').val(),
|
954 |
new_element = document.createElement('tr');
|
955 |
new_element.id = new_element_id;
|
956 |
document.getElementById("wpsc_checkout_list_body").appendChild(new_element);
|
957 |
+
//document.getElementById(new_element_id).innerHTML = new_element_contents;
|
958 |
+
jQuery('#'+new_element_id).append(new_element_contents);
|
959 |
jQuery('#'+new_element_id).addClass('checkout_form_field');
|
960 |
return false;
|
961 |
}
|
wpsc-includes/ajax.functions.php
CHANGED
@@ -57,12 +57,16 @@ function wpsc_add_to_cart() {
|
|
57 |
foreach((array)$_POST['variation'] as $key => $variation) {
|
58 |
$provided_parameters['variation_values'][(int)$key] = (int)$variation;
|
59 |
}
|
60 |
-
//exit('<pre>'.print_r($_POST
|
61 |
if($_POST['quantity'] > 0 && (!isset($_POST['wpsc_quantity_update']))) {
|
62 |
$provided_parameters['quantity'] = (int)$_POST['quantity'];
|
63 |
} else if (isset($_POST['wpsc_quantity_update'])) {
|
64 |
$wpsc_cart->remove_item($_POST['key']);
|
65 |
-
|
|
|
|
|
|
|
|
|
66 |
}
|
67 |
// exit('<pre>'.print_r($_POST, true).'</pre>');
|
68 |
if($_POST['is_customisable'] == 'true') {
|
@@ -213,6 +217,7 @@ function wpsc_empty_cart() {
|
|
213 |
});
|
214 |
";
|
215 |
}
|
|
|
216 |
exit();
|
217 |
}
|
218 |
|
@@ -363,24 +368,30 @@ function wpsc_update_shipping_price() {
|
|
363 |
global $wpdb, $wpsc_cart;
|
364 |
$quote_shipping_method = $_POST['key1'];
|
365 |
$quote_shipping_option = $_POST['key'];
|
366 |
-
|
|
|
367 |
if($quote_shipping_method == '' && $quote_shipping_option == ''){
|
368 |
$quote_shipping_method = $wpsc_cart->selected_shipping_method;
|
369 |
-
|
370 |
-
|
371 |
-
$wpsc_cart->update_shipping($quote_shipping_method, $quote_shipping_option);
|
372 |
-
if($_POST['key1'] == '' && $_POST['key'] == ''){
|
373 |
-
$i=0;
|
374 |
foreach($wpsc_cart->cart_items as $cart_item){
|
375 |
$product_ship = $cart_item->calculate_shipping($quote_shipping_method);
|
376 |
|
377 |
echo "jQuery('#shipping_".$i."').html('".htmlspecialchars(nzshpcrt_currency_display($product_ship, false,true))."');\n\r";
|
378 |
$i++;
|
379 |
}
|
380 |
-
|
381 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
382 |
while (wpsc_have_shipping_methods()) : wpsc_the_shipping_method();
|
383 |
if (!wpsc_have_shipping_quotes()) { continue; } // Don't display shipping method if it doesn't have at least one quote
|
|
|
|
|
384 |
while (wpsc_have_shipping_quotes()) : wpsc_the_shipping_quote();
|
385 |
$output .="<tr class='shipping_quotes'>";
|
386 |
$output .="<td colspan='3'>";
|
@@ -401,11 +412,15 @@ function wpsc_update_shipping_price() {
|
|
401 |
endwhile;
|
402 |
endwhile;
|
403 |
$output = str_replace(Array("\n","\r") , Array("\\n","\\r"),addslashes($output));
|
404 |
-
echo "jQuery('
|
405 |
-
echo "
|
|
|
|
|
406 |
// }
|
407 |
-
|
408 |
-
|
|
|
|
|
409 |
echo "jQuery(\"tr.total_tax\").show();\n\r";
|
410 |
echo "jQuery('#checkout_tax').html(\"<span class='pricedisplay'>".wpsc_cart_tax()."</span>\");\n\r";
|
411 |
}
|
@@ -511,14 +526,16 @@ function wpsc_update_location() {
|
|
511 |
}
|
512 |
|
513 |
//exit();
|
514 |
-
if($
|
515 |
exit();
|
516 |
}
|
517 |
}
|
518 |
|
519 |
// execute on POST and GET
|
|
|
520 |
if($_REQUEST['wpsc_ajax_actions'] == 'update_location') {
|
521 |
-
add_action('init', 'wpsc_update_location');
|
|
|
522 |
}
|
523 |
|
524 |
|
57 |
foreach((array)$_POST['variation'] as $key => $variation) {
|
58 |
$provided_parameters['variation_values'][(int)$key] = (int)$variation;
|
59 |
}
|
60 |
+
//exit('<pre>'.print_r($_POST, true).'</pre>');
|
61 |
if($_POST['quantity'] > 0 && (!isset($_POST['wpsc_quantity_update']))) {
|
62 |
$provided_parameters['quantity'] = (int)$_POST['quantity'];
|
63 |
} else if (isset($_POST['wpsc_quantity_update'])) {
|
64 |
$wpsc_cart->remove_item($_POST['key']);
|
65 |
+
if(is_numeric($_POST['wpsc_quantity_update'])){
|
66 |
+
$provided_parameters['quantity'] = (int)$_POST['wpsc_quantity_update'];
|
67 |
+
}else{
|
68 |
+
$provided_parameters['quantity'] = (int)$_POST['wpsc_quantity_update'][$_POST['product_id']];
|
69 |
+
}
|
70 |
}
|
71 |
// exit('<pre>'.print_r($_POST, true).'</pre>');
|
72 |
if($_POST['is_customisable'] == 'true') {
|
217 |
});
|
218 |
";
|
219 |
}
|
220 |
+
|
221 |
exit();
|
222 |
}
|
223 |
|
368 |
global $wpdb, $wpsc_cart;
|
369 |
$quote_shipping_method = $_POST['key1'];
|
370 |
$quote_shipping_option = $_POST['key'];
|
371 |
+
|
372 |
+
//If no $_POST key variable means it is activated through shipping same as billing
|
373 |
if($quote_shipping_method == '' && $quote_shipping_option == ''){
|
374 |
$quote_shipping_method = $wpsc_cart->selected_shipping_method;
|
375 |
+
$i=0;
|
376 |
+
//if it is from shipping same as billing then per item shipping may need to be calculated...
|
|
|
|
|
|
|
377 |
foreach($wpsc_cart->cart_items as $cart_item){
|
378 |
$product_ship = $cart_item->calculate_shipping($quote_shipping_method);
|
379 |
|
380 |
echo "jQuery('#shipping_".$i."').html('".htmlspecialchars(nzshpcrt_currency_display($product_ship, false,true))."');\n\r";
|
381 |
$i++;
|
382 |
}
|
383 |
+
}else{
|
384 |
+
$wpsc_cart->update_shipping($quote_shipping_method, $quote_shipping_option);
|
385 |
+
echo "jQuery('.pricedisplay.checkout-shipping').html('".wpsc_cart_shipping()."');\n\r";
|
386 |
+
echo "jQuery('.pricedisplay.checkout-total').html('".wpsc_cart_total()."');\n\r";
|
387 |
+
exit();
|
388 |
+
}
|
389 |
+
|
390 |
+
//if(count($wpsc_cart->shipping_quotes) > 0 && $_POST['key1'] == '' && $_POST['key'] == ''){
|
391 |
while (wpsc_have_shipping_methods()) : wpsc_the_shipping_method();
|
392 |
if (!wpsc_have_shipping_quotes()) { continue; } // Don't display shipping method if it doesn't have at least one quote
|
393 |
+
|
394 |
+
$output .="<tr><td class='shipping_header' colspan='5'>".wpsc_shipping_method_name().__('- Choose a Shipping Rate', 'wpsc')."</td></tr>";
|
395 |
while (wpsc_have_shipping_quotes()) : wpsc_the_shipping_quote();
|
396 |
$output .="<tr class='shipping_quotes'>";
|
397 |
$output .="<td colspan='3'>";
|
412 |
endwhile;
|
413 |
endwhile;
|
414 |
$output = str_replace(Array("\n","\r") , Array("\\n","\\r"),addslashes($output));
|
415 |
+
echo "var shipping =jQuery('td.shipping_header').parent('tr');";
|
416 |
+
echo "shipping.nextAll('tr').remove();\n\r";
|
417 |
+
echo "shipping.parent().append(\"".$output."\");\n\r";
|
418 |
+
echo "shipping.empty();";
|
419 |
// }
|
420 |
+
|
421 |
+
$wpsc_cart->update_shipping($quote_shipping_method, $quote_shipping_option);
|
422 |
+
|
423 |
+
if(wpsc_cart_tax(false) > 0){
|
424 |
echo "jQuery(\"tr.total_tax\").show();\n\r";
|
425 |
echo "jQuery('#checkout_tax').html(\"<span class='pricedisplay'>".wpsc_cart_tax()."</span>\");\n\r";
|
426 |
}
|
526 |
}
|
527 |
|
528 |
//exit();
|
529 |
+
if($_REQUEST['ajax'] == 'true') {
|
530 |
exit();
|
531 |
}
|
532 |
}
|
533 |
|
534 |
// execute on POST and GET
|
535 |
+
|
536 |
if($_REQUEST['wpsc_ajax_actions'] == 'update_location') {
|
537 |
+
add_action('init', 'wpsc_update_location',110);
|
538 |
+
|
539 |
}
|
540 |
|
541 |
|
wpsc-includes/cart.class.php
CHANGED
@@ -77,20 +77,37 @@ function wpsc_cart_total($forDisplay=true) {
|
|
77 |
}
|
78 |
}
|
79 |
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
global $wpsc_cart;
|
|
|
82 |
$total = $wpsc_cart->calculate_subtotal();
|
83 |
-
|
84 |
-
if(
|
|
|
|
|
|
|
85 |
$total += $wpsc_cart->calculate_total_tax();
|
86 |
}
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
return $wpsc_cart->process_as_currency($
|
|
|
|
|
93 |
}
|
|
|
94 |
}
|
95 |
|
96 |
/**
|
@@ -481,7 +498,9 @@ function wpsc_have_morethanone_shipping_quote(){
|
|
481 |
$wpsc_cart->rewind_shipping_methods();
|
482 |
$wpsc_cart->update_shipping('flatrate', $name);
|
483 |
return false;
|
|
|
484 |
}
|
|
|
485 |
return true;
|
486 |
}
|
487 |
|
@@ -593,7 +612,7 @@ class wpsc_cart {
|
|
593 |
}
|
594 |
$this->update_location();
|
595 |
$this->get_tax_rate();
|
596 |
-
$this->unique_id = sha1(uniqid(rand(),
|
597 |
|
598 |
$this->get_shipping_method();
|
599 |
}
|
@@ -655,7 +674,7 @@ class wpsc_cart {
|
|
655 |
|
656 |
$this->shipping_methods = get_option('custom_shipping_options');
|
657 |
$this->shipping_method_count = count($this->shipping_methods);
|
658 |
-
|
659 |
if((get_option('do_not_use_shipping') != 1) && (count($this->shipping_methods) > 0) ) {
|
660 |
if(array_search($this->selected_shipping_method, (array)$this->shipping_methods) === false) {
|
661 |
//unset($this->selected_shipping_method);
|
@@ -668,6 +687,7 @@ class wpsc_cart {
|
|
668 |
$this->shipping_quotes = $wpsc_shipping_modules[$this->selected_shipping_method]->getQuote();
|
669 |
}
|
670 |
} else {
|
|
|
671 |
// otherwise select the first one with any quotes
|
672 |
foreach((array)$custom_shipping as $shipping_module) {
|
673 |
// if the shipping module does not require a weight, or requires one and the weight is larger than zero
|
@@ -682,7 +702,7 @@ class wpsc_cart {
|
|
682 |
|
683 |
}
|
684 |
}
|
685 |
-
|
686 |
//echo('<pre>'.print_r($custom_shipping,true).'</pre>');
|
687 |
}
|
688 |
|
@@ -714,20 +734,25 @@ class wpsc_cart {
|
|
714 |
*/
|
715 |
function update_shipping($method, $option) {
|
716 |
global $wpdb, $wpsc_shipping_modules;
|
|
|
|
|
|
|
|
|
717 |
$this->selected_shipping_method = $method;
|
718 |
-
if(is_callable(array($wpsc_shipping_modules[$
|
719 |
$this->shipping_quotes = $wpsc_shipping_modules[$method]->getQuote();
|
720 |
-
}
|
721 |
//exit('<pre>'.print_r($this->shipping_quotes,true).'</pre> quotes');
|
722 |
$this->selected_shipping_option = $option;
|
723 |
|
724 |
foreach($this->cart_items as $key => $cart_item) {
|
725 |
-
$this->cart_items[$key]->
|
726 |
}
|
727 |
$this->clear_cache();
|
728 |
$this->get_shipping_option();
|
729 |
}
|
730 |
|
|
|
731 |
/**
|
732 |
* get_tax_rate method, gets the tax rate as a percentage, based on the selected country and region
|
733 |
* @access public
|
@@ -853,6 +878,7 @@ class wpsc_cart {
|
|
853 |
}
|
854 |
$this->cart_item_count = count($this->cart_items);
|
855 |
$this->clear_cache();
|
|
|
856 |
return $status;
|
857 |
}
|
858 |
|
@@ -1040,6 +1066,7 @@ class wpsc_cart {
|
|
1040 |
$this->subtotal = null;
|
1041 |
$this->total_price = null;
|
1042 |
$this->uses_shipping = null;
|
|
|
1043 |
$this->get_shipping_option();
|
1044 |
}
|
1045 |
|
@@ -1953,4 +1980,4 @@ class wpsc_cart_item {
|
|
1953 |
}
|
1954 |
|
1955 |
}
|
1956 |
-
?>
|
77 |
}
|
78 |
}
|
79 |
|
80 |
+
/**
|
81 |
+
* Cart Total Widget
|
82 |
+
*
|
83 |
+
* Can be used to display the cart total excluding shipping, tax or coupons.
|
84 |
+
*
|
85 |
+
* @since 3.7.6.2
|
86 |
+
*
|
87 |
+
* @return string The subtotal price of the cart, with a currency sign.
|
88 |
+
*/
|
89 |
+
function wpsc_cart_total_widget( $shipping = true, $tax = true, $coupons = true ) {
|
90 |
+
|
91 |
global $wpsc_cart;
|
92 |
+
|
93 |
$total = $wpsc_cart->calculate_subtotal();
|
94 |
+
|
95 |
+
if ( $shipping ) {
|
96 |
+
$total += $wpsc_cart->calculate_total_shipping();
|
97 |
+
}
|
98 |
+
if ( $tax && wpsc_tax_isincluded() == false ) {
|
99 |
$total += $wpsc_cart->calculate_total_tax();
|
100 |
}
|
101 |
+
if ( $coupons ) {
|
102 |
+
$total -= $wpsc_cart->coupons_amount;
|
103 |
+
}
|
104 |
+
|
105 |
+
if ( get_option( 'add_plustax' ) == 1 ) {
|
106 |
+
return $wpsc_cart->process_as_currency( $wpsc_cart->calculate_subtotal() );
|
107 |
+
} else {
|
108 |
+
return $wpsc_cart->process_as_currency( $total );
|
109 |
}
|
110 |
+
|
111 |
}
|
112 |
|
113 |
/**
|
498 |
$wpsc_cart->rewind_shipping_methods();
|
499 |
$wpsc_cart->update_shipping('flatrate', $name);
|
500 |
return false;
|
501 |
+
|
502 |
}
|
503 |
+
|
504 |
return true;
|
505 |
}
|
506 |
|
612 |
}
|
613 |
$this->update_location();
|
614 |
$this->get_tax_rate();
|
615 |
+
$this->unique_id = sha1(uniqid(rand(),true));
|
616 |
|
617 |
$this->get_shipping_method();
|
618 |
}
|
674 |
|
675 |
$this->shipping_methods = get_option('custom_shipping_options');
|
676 |
$this->shipping_method_count = count($this->shipping_methods);
|
677 |
+
|
678 |
if((get_option('do_not_use_shipping') != 1) && (count($this->shipping_methods) > 0) ) {
|
679 |
if(array_search($this->selected_shipping_method, (array)$this->shipping_methods) === false) {
|
680 |
//unset($this->selected_shipping_method);
|
687 |
$this->shipping_quotes = $wpsc_shipping_modules[$this->selected_shipping_method]->getQuote();
|
688 |
}
|
689 |
} else {
|
690 |
+
// exit('Here <pre>'.print_r($custom_shipping, true).'</pre>');
|
691 |
// otherwise select the first one with any quotes
|
692 |
foreach((array)$custom_shipping as $shipping_module) {
|
693 |
// if the shipping module does not require a weight, or requires one and the weight is larger than zero
|
702 |
|
703 |
}
|
704 |
}
|
705 |
+
// exit('<pre>'.print_r($this, true).'</pre>');
|
706 |
//echo('<pre>'.print_r($custom_shipping,true).'</pre>');
|
707 |
}
|
708 |
|
734 |
*/
|
735 |
function update_shipping($method, $option) {
|
736 |
global $wpdb, $wpsc_shipping_modules;
|
737 |
+
|
738 |
+
// if($method == 'weightrate') {
|
739 |
+
// exit("<pre>".print_r(debug_backtrace(),true)."</pre>");
|
740 |
+
// }
|
741 |
$this->selected_shipping_method = $method;
|
742 |
+
//if(is_callable(array($wpsc_shipping_modules[$this->selected_shipping_method]), "getQuote" )) {
|
743 |
$this->shipping_quotes = $wpsc_shipping_modules[$method]->getQuote();
|
744 |
+
//}
|
745 |
//exit('<pre>'.print_r($this->shipping_quotes,true).'</pre> quotes');
|
746 |
$this->selected_shipping_option = $option;
|
747 |
|
748 |
foreach($this->cart_items as $key => $cart_item) {
|
749 |
+
$this->cart_items[$key]->refresh_item();
|
750 |
}
|
751 |
$this->clear_cache();
|
752 |
$this->get_shipping_option();
|
753 |
}
|
754 |
|
755 |
+
|
756 |
/**
|
757 |
* get_tax_rate method, gets the tax rate as a percentage, based on the selected country and region
|
758 |
* @access public
|
878 |
}
|
879 |
$this->cart_item_count = count($this->cart_items);
|
880 |
$this->clear_cache();
|
881 |
+
do_action ("wpsc_cart_updated", &$this);
|
882 |
return $status;
|
883 |
}
|
884 |
|
1066 |
$this->subtotal = null;
|
1067 |
$this->total_price = null;
|
1068 |
$this->uses_shipping = null;
|
1069 |
+
$this->shipping_quotes = null;
|
1070 |
$this->get_shipping_option();
|
1071 |
}
|
1072 |
|
1980 |
}
|
1981 |
|
1982 |
}
|
1983 |
+
?>
|
wpsc-includes/checkout.class.php
CHANGED
@@ -85,7 +85,7 @@ function wpsc_the_checkout_item_error_class($as_attribute = true) {
|
|
85 |
$class_name = 'validation-error';
|
86 |
}
|
87 |
if(($as_attribute == true)){
|
88 |
-
$output = "class='".$class_name.wpsc_shipping_details()."'";
|
89 |
} else {
|
90 |
$output = $class_name;
|
91 |
}
|
@@ -367,9 +367,9 @@ class wpsc_checkout {
|
|
367 |
|
368 |
function form_name() {
|
369 |
if($this->form_name_is_required() && ($this->checkout_item->type != 'heading')){
|
370 |
-
return stripslashes($this->checkout_item->name).' * ';
|
371 |
}else{
|
372 |
-
return stripslashes($this->checkout_item->name);
|
373 |
}
|
374 |
}
|
375 |
|
85 |
$class_name = 'validation-error';
|
86 |
}
|
87 |
if(($as_attribute == true)){
|
88 |
+
$output = "class='".$class_name.wpsc_shipping_details()." wpsc_checkout_field".$wpsc_checkout->checkout_item->id."'";
|
89 |
} else {
|
90 |
$output = $class_name;
|
91 |
}
|
367 |
|
368 |
function form_name() {
|
369 |
if($this->form_name_is_required() && ($this->checkout_item->type != 'heading')){
|
370 |
+
return stripslashes($this->checkout_item->name).': * ';
|
371 |
}else{
|
372 |
+
return stripslashes($this->checkout_item->name).': ';
|
373 |
}
|
374 |
}
|
375 |
|
wpsc-includes/display.functions.php
CHANGED
@@ -169,7 +169,7 @@ function wpsc_product_url($product_id, $category_id = null, $escape = true) {
|
|
169 |
}
|
170 |
|
171 |
|
172 |
-
|
173 |
if((($wp_rewrite->rules != null) && ($wp_rewrite != null)) || (get_option('rewrite_rules') != null)) {
|
174 |
$url_name = get_product_meta($product_id, 'url_name', true);
|
175 |
$url_name = htmlentities(stripslashes($url_name), ENT_QUOTES, 'UTF-8');
|
169 |
}
|
170 |
|
171 |
|
172 |
+
// exit('<pre>'.print_r($wp_query, true).'</pre>');
|
173 |
if((($wp_rewrite->rules != null) && ($wp_rewrite != null)) || (get_option('rewrite_rules') != null)) {
|
174 |
$url_name = get_product_meta($product_id, 'url_name', true);
|
175 |
$url_name = htmlentities(stripslashes($url_name), ENT_QUOTES, 'UTF-8');
|
wpsc-includes/install_and_update.functions.php
CHANGED
@@ -436,8 +436,10 @@ function wpsc_create_upload_directories() {
|
|
436 |
);
|
437 |
foreach ($folders as $folder) {
|
438 |
wp_mkdir_p($folder);
|
439 |
-
|
|
|
440 |
}
|
|
|
441 |
//wpsc_copy_themes_to_uploads();
|
442 |
}
|
443 |
|
436 |
);
|
437 |
foreach ($folders as $folder) {
|
438 |
wp_mkdir_p($folder);
|
439 |
+
@ chmod( $folder, 0775 );
|
440 |
+
// echo 'Folder:'.$folder.' Creation attempted';
|
441 |
}
|
442 |
+
|
443 |
//wpsc_copy_themes_to_uploads();
|
444 |
}
|
445 |
|
wpsc-includes/merchant.class.php
CHANGED
@@ -115,18 +115,28 @@ class wpsc_merchant {
|
|
115 |
'billing' => array(),
|
116 |
'shipping' => array()
|
117 |
);
|
|
|
118 |
foreach((array)$collected_form_data as $collected_form_row) {
|
119 |
$address_data_set = 'billing';
|
120 |
$address_key = array_search($collected_form_row['unique_name'], $address_keys['billing']);
|
121 |
-
if($address_key
|
122 |
$address_data_set = 'shipping';
|
|
|
123 |
$address_key = array_search($collected_form_row['unique_name'], $address_keys['shipping']);
|
124 |
}
|
125 |
if($address_key == null) {
|
126 |
continue;
|
127 |
}
|
128 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
}
|
|
|
130 |
if(count($address_data['shipping']) < 1) {
|
131 |
$address_data['shipping'] = $address_data['billing'];
|
132 |
}
|
115 |
'billing' => array(),
|
116 |
'shipping' => array()
|
117 |
);
|
118 |
+
|
119 |
foreach((array)$collected_form_data as $collected_form_row) {
|
120 |
$address_data_set = 'billing';
|
121 |
$address_key = array_search($collected_form_row['unique_name'], $address_keys['billing']);
|
122 |
+
if($address_key == null) {
|
123 |
$address_data_set = 'shipping';
|
124 |
+
// exit('<pre>'.print_r($collected_form_row,true).'</pre>');
|
125 |
$address_key = array_search($collected_form_row['unique_name'], $address_keys['shipping']);
|
126 |
}
|
127 |
if($address_key == null) {
|
128 |
continue;
|
129 |
}
|
130 |
+
if($collected_form_row['unique_name'] == 'billingcountry' || $collected_form_row['unique_name'] == 'shippingcountry'){
|
131 |
+
$country = maybe_unserialize($collected_form_row['value']);
|
132 |
+
$address_data[$address_data_set][$address_key] =$country[0];
|
133 |
+
}elseif($collected_form_row['unique_name'] == 'shippingstate'){
|
134 |
+
$address_data[$address_data_set][$address_key] = wpsc_get_state_by_id($collected_form_row['value'], 'code');
|
135 |
+
}else{
|
136 |
+
$address_data[$address_data_set][$address_key] = $collected_form_row['value'];
|
137 |
+
}
|
138 |
}
|
139 |
+
// exit('<pre>'.print_r($address_data,true).'</pre>');
|
140 |
if(count($address_data['shipping']) < 1) {
|
141 |
$address_data['shipping'] = $address_data['billing'];
|
142 |
}
|
wpsc-includes/misc.functions.php
CHANGED
@@ -121,30 +121,43 @@ add_filter('single_post_title','wpsc_post_title_seo');
|
|
121 |
*/
|
122 |
function wpsc_change_canonical_url($url) {
|
123 |
global $wpdb, $wpsc_query, $post;
|
124 |
-
|
125 |
-
|
126 |
-
if(
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
}
|
147 |
-
//echo "<pre>".print_r($wpsc_query->is_single,true)."</pre>";
|
148 |
return $url;
|
149 |
}
|
150 |
add_filter('aioseop_canonical_url', 'wpsc_change_canonical_url');
|
@@ -153,12 +166,13 @@ add_filter('aioseop_canonical_url', 'wpsc_change_canonical_url');
|
|
153 |
|
154 |
function wpsc_insert_canonical_url() {
|
155 |
$wpsc_url = wpsc_change_canonical_url(null);
|
|
|
156 |
echo "<link rel='canonical' href='$wpsc_url' />\n";
|
157 |
}
|
158 |
|
159 |
function wpsc_canonical_url() {
|
160 |
$wpsc_url = wpsc_change_canonical_url(null);
|
161 |
-
if($wpsc_url != null) {
|
162 |
remove_action( 'wp_head', 'rel_canonical' );
|
163 |
add_action( 'wp_head', 'wpsc_insert_canonical_url');
|
164 |
}
|
@@ -404,8 +418,18 @@ function nzshpcrt_display_preview_image() {
|
|
404 |
}
|
405 |
} else if($_GET['image_id']) {
|
406 |
$image_id = (int)$_GET['image_id'];
|
407 |
-
$
|
408 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
409 |
} else if( $_GET['image_name']) {
|
410 |
$image = basename($_GET['image_name']);
|
411 |
$imagepath = WPSC_USER_UPLOADS_DIR . $image;
|
@@ -745,4 +769,28 @@ function wpsc_clear_stock_claims( ) {
|
|
745 |
$wpdb->query("DELETE FROM `".WPSC_TABLE_CLAIMED_STOCK."` WHERE `last_activity` < '{$old_claimed_stock_datetime}' AND `cart_submitted` IN ('0')");
|
746 |
}
|
747 |
add_action('wpsc_daily_cron_tasks', 'wpsc_clear_stock_claims');
|
748 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
*/
|
122 |
function wpsc_change_canonical_url($url) {
|
123 |
global $wpdb, $wpsc_query, $post;
|
124 |
+
|
125 |
+
// Only change the URL is we're viewing a WP e-Commerce page
|
126 |
+
if(stristr($post->post_content,'[productspage]')) {
|
127 |
+
|
128 |
+
if (isset($wpsc_query->query_vars['product_url_name'])) {
|
129 |
+
$product_url_name = $wpsc_query->query_vars['product_url_name'];
|
130 |
+
} else {
|
131 |
+
$product_url_name = '';
|
132 |
+
}
|
133 |
+
|
134 |
+
// Viewing a single product page
|
135 |
+
if ($product_url_name != '') {
|
136 |
+
if(!is_numeric($_GET['product_id'])) {
|
137 |
+
$product_id = $wpdb->get_var($wpdb->prepare("SELECT product_id FROM ".WPSC_TABLE_PRODUCTMETA." WHERE meta_key = 'url_name' AND meta_value = %s ORDER BY product_id DESC LIMIT 1", $product_url_name));
|
138 |
+
} else {
|
139 |
+
$product_id = absint($_GET['product_id']);
|
140 |
+
}
|
141 |
+
if($product_id > 0){
|
142 |
+
$url = wpsc_product_url($product_id);
|
143 |
+
}else{
|
144 |
+
$url = get_option('product_list_url');
|
145 |
+
}
|
146 |
+
|
147 |
+
// Viewing a category page
|
148 |
+
} elseif (absint($wpsc_query->query_vars['category_id']) > 0) {
|
149 |
+
$url = wpsc_category_url(absint($wpsc_query->query_vars['category_id']));
|
150 |
+
|
151 |
+
if ( $wpsc_query->query_vars['page'] > 1 ) {
|
152 |
+
if ( get_option( 'permalink_structure' ) ) {
|
153 |
+
$url .= "page/{$wpsc_query->query_vars['page']}/";
|
154 |
+
} else {
|
155 |
+
$url .= "&page_number={$wpsc_query->query_vars['page']}";
|
156 |
+
$url = html_entity_decode( $url );
|
157 |
+
}
|
158 |
+
}
|
159 |
+
}
|
160 |
}
|
|
|
161 |
return $url;
|
162 |
}
|
163 |
add_filter('aioseop_canonical_url', 'wpsc_change_canonical_url');
|
166 |
|
167 |
function wpsc_insert_canonical_url() {
|
168 |
$wpsc_url = wpsc_change_canonical_url(null);
|
169 |
+
// exit($wpsc_url);
|
170 |
echo "<link rel='canonical' href='$wpsc_url' />\n";
|
171 |
}
|
172 |
|
173 |
function wpsc_canonical_url() {
|
174 |
$wpsc_url = wpsc_change_canonical_url(null);
|
175 |
+
if(($wpsc_url != null) && ((count($aioseop_options) <= 1) || (($aioseop_options['aiosp_can'] != '1' && $aioseop_options['aiosp_can'] != 'on'))) ) {
|
176 |
remove_action( 'wp_head', 'rel_canonical' );
|
177 |
add_action( 'wp_head', 'wpsc_insert_canonical_url');
|
178 |
}
|
418 |
}
|
419 |
} else if($_GET['image_id']) {
|
420 |
$image_id = (int)$_GET['image_id'];
|
421 |
+
$results = $wpdb->get_row("SELECT `image`,`product_id` FROM `".WPSC_TABLE_PRODUCT_IMAGES."` WHERE `id` = '{$image_id}' LIMIT 1");
|
422 |
+
$image = $results->image;
|
423 |
+
$pid = $results->product_id;
|
424 |
+
$thumbnail_info = $wpdb->get_row("SELECT `thumbnail_state`,`image` FROM `".WPSC_TABLE_PRODUCT_LIST."` WHERE `id` = '{$pid}' LIMIT 1");
|
425 |
+
$thumbnail_state = $thumbnail_info->thumbnail_state;
|
426 |
+
$thumbnail_image = $thumbnail_info->image;
|
427 |
+
if (($thumbnail_state == 3) && ($image_id == $thumbnail_image)) {
|
428 |
+
$imagepath = WPSC_THUMBNAIL_DIR . $image;
|
429 |
+
} else {
|
430 |
+
$imagepath = WPSC_IMAGE_DIR . $image;
|
431 |
+
}
|
432 |
+
|
433 |
} else if( $_GET['image_name']) {
|
434 |
$image = basename($_GET['image_name']);
|
435 |
$imagepath = WPSC_USER_UPLOADS_DIR . $image;
|
769 |
$wpdb->query("DELETE FROM `".WPSC_TABLE_CLAIMED_STOCK."` WHERE `last_activity` < '{$old_claimed_stock_datetime}' AND `cart_submitted` IN ('0')");
|
770 |
}
|
771 |
add_action('wpsc_daily_cron_tasks', 'wpsc_clear_stock_claims');
|
772 |
+
|
773 |
+
/**
|
774 |
+
* Description Check PHP version to Compare
|
775 |
+
* @access public
|
776 |
+
*
|
777 |
+
* @param string of version to compare
|
778 |
+
* @return boolean true or false
|
779 |
+
*/
|
780 |
+
function phpMinV($v)
|
781 |
+
{
|
782 |
+
$phpV = PHP_VERSION;
|
783 |
+
|
784 |
+
if ($phpV[0] >= $v[0]) {
|
785 |
+
if (empty($v[2]) || $v[2] == '*') {
|
786 |
+
return true;
|
787 |
+
} elseif ($phpV[2] >= $v[2]) {
|
788 |
+
if (empty($v[4]) || $v[4] == '*' || $phpV[4] >= $v[4]) {
|
789 |
+
return true;
|
790 |
+
}
|
791 |
+
}
|
792 |
+
}
|
793 |
+
|
794 |
+
return false;
|
795 |
+
}
|
796 |
+
?>
|
wpsc-includes/productfeed.php
CHANGED
@@ -46,6 +46,7 @@ function wpsc_generate_product_feed() {
|
|
46 |
ON `p`.`image` = `pi`.`id`
|
47 |
AND `pi`.`product_id` = `p`.`id`
|
48 |
WHERE `active` = '1'
|
|
|
49 |
AND p.id = '".$_GET['product_id']."'
|
50 |
LIMIT 1";
|
51 |
|
@@ -62,6 +63,7 @@ function wpsc_generate_product_feed() {
|
|
62 |
LEFT JOIN `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."` ca
|
63 |
ON `p`.`id` = `ca`.`product_id`
|
64 |
WHERE `p`.`active` = '1'
|
|
|
65 |
AND `ca`.`category_id` IN ('".$_GET['category_id']."')
|
66 |
$limit";
|
67 |
|
@@ -74,6 +76,7 @@ function wpsc_generate_product_feed() {
|
|
74 |
ON `p`.`image` = `pi`.`id`
|
75 |
AND `pi`.`product_id` = `p`.`id`
|
76 |
WHERE `active` ='1'
|
|
|
77 |
ORDER BY `id`
|
78 |
DESC $limit";
|
79 |
|
@@ -89,8 +92,15 @@ function wpsc_generate_product_feed() {
|
|
89 |
$output = "<?xml version='1.0' encoding='UTF-8' ?>\n\r";
|
90 |
$output .= "<rss version='2.0' xmlns:atom='http://www.w3.org/2005/Atom'";
|
91 |
|
|
|
|
|
92 |
if ($_GET['xmlformat'] == 'google') {
|
93 |
$output .= ' xmlns:g="http://base.google.com/ns/1.0"';
|
|
|
|
|
|
|
|
|
|
|
94 |
} else {
|
95 |
$output .= ' xmlns:product="http://www.buy.com/rss/module/productV2/"';
|
96 |
}
|
@@ -108,9 +118,12 @@ function wpsc_generate_product_feed() {
|
|
108 |
$purchase_link = wpsc_product_url($product['id']);
|
109 |
|
110 |
$output .= " <item>\n\r";
|
111 |
-
|
|
|
|
|
|
|
112 |
$output .= " <link>$purchase_link</link>\n\r";
|
113 |
-
$output .= " <description><![CDATA[".
|
114 |
$output .= " <pubDate>".date("r")."</pubDate>\n\r";
|
115 |
$output .= " <guid>$purchase_link</guid>\n\r";
|
116 |
|
@@ -144,19 +157,21 @@ function wpsc_generate_product_feed() {
|
|
144 |
|
145 |
$output .= " <g:price>".$product['price']."</g:price>\n\r";
|
146 |
//$output .= " <g:condition>new</g:condition>\n\r";
|
147 |
-
$meta_sql = "SELECT
|
148 |
FROM `".WPSC_TABLE_PRODUCTMETA."` pm
|
149 |
WHERE `pm`.`product_id` = '".$product['id']."'
|
150 |
AND `pm`.`meta_key` LIKE 'g:%'";
|
151 |
|
152 |
-
|
|
|
|
|
153 |
|
154 |
$done_condition = FALSE;
|
155 |
if (count($google_elements)) {
|
156 |
foreach ($google_elements as $gelement) {
|
157 |
|
158 |
$output .= " <".$gelement['meta_key'].">";
|
159 |
-
$output .= "<![CDATA["
|
160 |
$output .= "</".$gelement['meta_key'].">\n\r";
|
161 |
|
162 |
if ($gelement['meta_key'] == 'g:condition')
|
46 |
ON `p`.`image` = `pi`.`id`
|
47 |
AND `pi`.`product_id` = `p`.`id`
|
48 |
WHERE `active` = '1'
|
49 |
+
AND `publish` = '1'
|
50 |
AND p.id = '".$_GET['product_id']."'
|
51 |
LIMIT 1";
|
52 |
|
63 |
LEFT JOIN `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."` ca
|
64 |
ON `p`.`id` = `ca`.`product_id`
|
65 |
WHERE `p`.`active` = '1'
|
66 |
+
AND `p`.`publish` = '1'
|
67 |
AND `ca`.`category_id` IN ('".$_GET['category_id']."')
|
68 |
$limit";
|
69 |
|
76 |
ON `p`.`image` = `pi`.`id`
|
77 |
AND `pi`.`product_id` = `p`.`id`
|
78 |
WHERE `active` ='1'
|
79 |
+
AND `publish` = '1'
|
80 |
ORDER BY `id`
|
81 |
DESC $limit";
|
82 |
|
92 |
$output = "<?xml version='1.0' encoding='UTF-8' ?>\n\r";
|
93 |
$output .= "<rss version='2.0' xmlns:atom='http://www.w3.org/2005/Atom'";
|
94 |
|
95 |
+
$google_checkout_note = FALSE;
|
96 |
+
|
97 |
if ($_GET['xmlformat'] == 'google') {
|
98 |
$output .= ' xmlns:g="http://base.google.com/ns/1.0"';
|
99 |
+
// Is Google Checkout available as a payment gateway
|
100 |
+
$selected_gateways = get_option('custom_gateway_options');
|
101 |
+
if (in_array('google',$selected_gateways)) {
|
102 |
+
$google_checkout_note = TRUE;
|
103 |
+
}
|
104 |
} else {
|
105 |
$output .= ' xmlns:product="http://www.buy.com/rss/module/productV2/"';
|
106 |
}
|
118 |
$purchase_link = wpsc_product_url($product['id']);
|
119 |
|
120 |
$output .= " <item>\n\r";
|
121 |
+
if ($google_checkout_note) {
|
122 |
+
$output .= " <g:payment_notes>Google Checkout</g:payment_notes>\n\r";
|
123 |
+
}
|
124 |
+
$output .= " <title><![CDATA[".stripslashes($product['name'])."]]></title>\n\r";
|
125 |
$output .= " <link>$purchase_link</link>\n\r";
|
126 |
+
$output .= " <description><![CDATA[".stripslashes($product['description'])."]]></description>\n\r";
|
127 |
$output .= " <pubDate>".date("r")."</pubDate>\n\r";
|
128 |
$output .= " <guid>$purchase_link</guid>\n\r";
|
129 |
|
157 |
|
158 |
$output .= " <g:price>".$product['price']."</g:price>\n\r";
|
159 |
//$output .= " <g:condition>new</g:condition>\n\r";
|
160 |
+
$meta_sql = "SELECT meta_key, meta_value
|
161 |
FROM `".WPSC_TABLE_PRODUCTMETA."` pm
|
162 |
WHERE `pm`.`product_id` = '".$product['id']."'
|
163 |
AND `pm`.`meta_key` LIKE 'g:%'";
|
164 |
|
165 |
+
$google_elements = $wpdb->get_results($meta_sql, ARRAY_A);
|
166 |
+
$google_elements = apply_filters('wpsc_google_elements', array('product_id'=>$product['id'],'elements'=>$google_elements));
|
167 |
+
$google_elements = $google_elements['elements'];
|
168 |
|
169 |
$done_condition = FALSE;
|
170 |
if (count($google_elements)) {
|
171 |
foreach ($google_elements as $gelement) {
|
172 |
|
173 |
$output .= " <".$gelement['meta_key'].">";
|
174 |
+
$output .= "<![CDATA[".$gelement['meta_value']."]]>";
|
175 |
$output .= "</".$gelement['meta_key'].">\n\r";
|
176 |
|
177 |
if ($gelement['meta_key'] == 'g:condition')
|
wpsc-includes/purchaselogs.class.php
CHANGED
@@ -455,7 +455,7 @@ function wpsc_display_purchlog_totalprice(){
|
|
455 |
$purchlogitem->totalAmount -= wpsc_display_purchlog_discount(true);
|
456 |
$purchlogitem->totalAmount += wpsc_display_purchlog_shipping(true);
|
457 |
//$purchlogitem->totalAmount += $purchlogitem->extrainfo->base_shipping;
|
458 |
-
return nzshpcrt_currency_display($purchlogitem->
|
459 |
}
|
460 |
function wpsc_display_purchlog_buyers_name(){
|
461 |
global $purchlogitem;
|
455 |
$purchlogitem->totalAmount -= wpsc_display_purchlog_discount(true);
|
456 |
$purchlogitem->totalAmount += wpsc_display_purchlog_shipping(true);
|
457 |
//$purchlogitem->totalAmount += $purchlogitem->extrainfo->base_shipping;
|
458 |
+
return nzshpcrt_currency_display($purchlogitem->extrainfo->totalprice, true);
|
459 |
}
|
460 |
function wpsc_display_purchlog_buyers_name(){
|
461 |
global $purchlogitem;
|
wpsc-includes/theme.functions.php
CHANGED
@@ -182,7 +182,7 @@ function wpsc_enqueue_user_script_and_css() {
|
|
182 |
wp_enqueue_style( 'wpsc-theme-css', $theme_url, false, $version_identifier, 'all');
|
183 |
wp_enqueue_style( 'wpsc-theme-css-compatibility', WPSC_URL. '/themes/compatibility.css', false, $version_identifier, 'all');
|
184 |
wp_enqueue_style( 'wpsc-product-rater', WPSC_URL.'/js/product_rater.css', false, $version_identifier, 'all');
|
185 |
-
wp_enqueue_style( 'wp-e-commerce-dynamic'
|
186 |
wp_enqueue_style( 'wpsc-thickbox', WPSC_URL.'/js/thickbox.css', false, $version_identifier, 'all');
|
187 |
|
188 |
|
@@ -215,7 +215,7 @@ if(strpos($_SERVER['SCRIPT_NAME'], "wp-admin") === false) {
|
|
215 |
}
|
216 |
|
217 |
function wpsc_product_list_rss_feed() {
|
218 |
-
$rss_url = add_query_arg('wpsc_action', 'rss');
|
219 |
echo "<link rel='alternate' type='application/rss+xml' title='".get_option('blogname')." Product List RSS' href='{$rss_url}'/>";
|
220 |
}
|
221 |
add_action('wp_head', 'wpsc_product_list_rss_feed');
|
@@ -840,4 +840,4 @@ add_filter( 'body_class', 'wpsc_body_class' );
|
|
840 |
|
841 |
|
842 |
|
843 |
-
?>
|
182 |
wp_enqueue_style( 'wpsc-theme-css', $theme_url, false, $version_identifier, 'all');
|
183 |
wp_enqueue_style( 'wpsc-theme-css-compatibility', WPSC_URL. '/themes/compatibility.css', false, $version_identifier, 'all');
|
184 |
wp_enqueue_style( 'wpsc-product-rater', WPSC_URL.'/js/product_rater.css', false, $version_identifier, 'all');
|
185 |
+
wp_enqueue_style( 'wp-e-commerce-dynamic',$siteurl."/index.php?wpsc_user_dynamic_css=true&category=$category_id" , false, $version_identifier, 'all' );
|
186 |
wp_enqueue_style( 'wpsc-thickbox', WPSC_URL.'/js/thickbox.css', false, $version_identifier, 'all');
|
187 |
|
188 |
|
215 |
}
|
216 |
|
217 |
function wpsc_product_list_rss_feed() {
|
218 |
+
$rss_url = htmlentities(add_query_arg('wpsc_action', 'rss'));
|
219 |
echo "<link rel='alternate' type='application/rss+xml' title='".get_option('blogname')." Product List RSS' href='{$rss_url}'/>";
|
220 |
}
|
221 |
add_action('wp_head', 'wpsc_product_list_rss_feed');
|
840 |
|
841 |
|
842 |
|
843 |
+
?>
|
wpsc-includes/wpsc_query.php
CHANGED
@@ -303,11 +303,12 @@ function wpsc_the_product_permalink( $category_id = null ) {
|
|
303 |
return wpsc_product_url( $wpsc_query->product['id'], $category_id );
|
304 |
}
|
305 |
|
|
|
306 |
/**
|
307 |
* wpsc product price function
|
308 |
* @return string - the product price
|
309 |
*/
|
310 |
-
function wpsc_the_product_price() {
|
311 |
global $wpsc_query;
|
312 |
$price = calculate_product_price($wpsc_query->product['id'], $wpsc_query->first_variations);
|
313 |
if(($wpsc_query->product['special_price'] > 0) && (($wpsc_query->product['price'] - $wpsc_query->product['special_price'] ) >= 0) && ($variations_output[1] === null)) {
|
@@ -315,11 +316,10 @@ function wpsc_the_product_price() {
|
|
315 |
} else {
|
316 |
$output = nzshpcrt_currency_display($price, $wpsc_query->product['notax'], true);
|
317 |
}
|
318 |
-
if(
|
319 |
-
|
320 |
}
|
321 |
-
|
322 |
-
$output = apply_filters('wpsc_price_display_changer', $output);
|
323 |
//echo "<pre>".print_r($wpsc_query->product,true)."</pre>";
|
324 |
return $output;
|
325 |
}
|
@@ -519,22 +519,27 @@ function wpsc_the_product_image($width = null, $height = null) {
|
|
519 |
if(is_numeric($wpsc_query->product['image'])){
|
520 |
$image_file_name = $wpdb->get_var("SELECT `image` FROM `".WPSC_TABLE_PRODUCT_IMAGES."` WHERE `id`= '".$wpsc_query->product['image']."' LIMIT 1");
|
521 |
}else{
|
|
|
522 |
$image_file_name = $wpsc_query->product['image'];
|
523 |
}
|
524 |
$wpsc_query->product['image_file'] = $wpsc_query->product['image'];
|
525 |
}
|
526 |
|
527 |
-
$
|
|
|
|
|
|
|
|
|
|
|
528 |
$image_file_name_parts = explode(".",$image_file_name);
|
529 |
$extension = array_pop($image_file_name_parts);
|
530 |
-
|
531 |
if($image_file_name != null) {
|
532 |
if(($width > 0) && ($height > 0) && ($width <= 1024) && ($height <= 1024)) {
|
533 |
-
$cache_filename = basename("product_img_{$
|
534 |
-
|
535 |
-
if(file_exists(WPSC_CACHE_DIR.$cache_filename.$extension)) {
|
536 |
$original_modification_time = filemtime($image_path);
|
537 |
-
$cache_modification_time = filemtime(WPSC_CACHE_DIR.$cache_filename.$extension);
|
538 |
if($original_modification_time < $cache_modification_time) {
|
539 |
$use_cache = true;
|
540 |
}
|
@@ -544,7 +549,7 @@ function wpsc_the_product_image($width = null, $height = null) {
|
|
544 |
if(is_ssl()) {
|
545 |
$cache_url = str_replace("http://", "https://", $cache_url);
|
546 |
}
|
547 |
-
$image_url = $cache_url.$cache_filename.$extension;
|
548 |
} else {
|
549 |
$image_url = "index.php?image_id=".$wpsc_query->product['image']."&width=".$width."&height=".$height;
|
550 |
}
|
@@ -751,6 +756,52 @@ function wpsc_the_variation_name() {
|
|
751 |
return stripslashes($wpsc_query->variation['name']);
|
752 |
}
|
753 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
754 |
/**
|
755 |
* wpsc the variation ID function
|
756 |
* @return integer - the variation ID
|
@@ -1386,7 +1437,6 @@ class WPSC_Query {
|
|
1386 |
|
1387 |
|
1388 |
$range_sql="SELECT * FROM `".WPSC_TABLE_PRODUCT_LIST."` WHERE ".implode(" AND ", $product_sql_parts)."";
|
1389 |
-
//echo $range_sql;
|
1390 |
|
1391 |
$product_list = $wpdb->get_results($range_sql,ARRAY_A);
|
1392 |
}
|
@@ -1546,7 +1596,9 @@ class WPSC_Query {
|
|
1546 |
$order_by = "`".WPSC_TABLE_PRODUCT_LIST."`.`name` $order";
|
1547 |
} else if (get_option('wpsc_sort_by') == 'price') {
|
1548 |
$order_by = "`".WPSC_TABLE_PRODUCT_LIST."`.`price` $order";
|
1549 |
-
}
|
|
|
|
|
1550 |
if( $order == 'ASC'){
|
1551 |
$order = 'DESC';
|
1552 |
}else{
|
@@ -1554,6 +1606,7 @@ class WPSC_Query {
|
|
1554 |
}
|
1555 |
$order_by = "`".WPSC_TABLE_PRODUCT_LIST."`.`id` $order";
|
1556 |
}
|
|
|
1557 |
$rowcount = $wpdb->get_var("SELECT COUNT( DISTINCT `".WPSC_TABLE_PRODUCT_LIST."`.`id`) AS `count` FROM `".WPSC_TABLE_PRODUCT_LIST."`,`".WPSC_TABLE_ITEM_CATEGORY_ASSOC."` WHERE `".WPSC_TABLE_PRODUCT_LIST."`.`publish`='1' AND `".WPSC_TABLE_PRODUCT_LIST."`.`active`='1' AND `".WPSC_TABLE_PRODUCT_LIST."`.`id` = `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`product_id` $no_donations_sql $group_sql");
|
1558 |
|
1559 |
if(!is_numeric($products_per_page) || ($products_per_page < 1)) { $products_per_page = $rowcount; }
|
@@ -1561,16 +1614,22 @@ class WPSC_Query {
|
|
1561 |
$startnum = 0;
|
1562 |
}
|
1563 |
|
1564 |
-
$sql = "SELECT DISTINCT `".WPSC_TABLE_PRODUCT_LIST."
|
|
|
|
|
|
|
|
|
|
|
|
|
1565 |
}
|
1566 |
}
|
1567 |
|
1568 |
-
|
1569 |
|
1570 |
//echo "{$sql}";
|
1571 |
$this->category = $this->query_vars['category_id'];
|
1572 |
$this->products = $wpdb->get_results($sql,ARRAY_A);
|
1573 |
-
|
1574 |
$this->total_product_count = $rowcount;
|
1575 |
|
1576 |
if($rowcount > $products_per_page) {
|
@@ -2109,4 +2168,4 @@ class WPSC_Query {
|
|
2109 |
|
2110 |
}
|
2111 |
|
2112 |
-
?>
|
303 |
return wpsc_product_url( $wpsc_query->product['id'], $category_id );
|
304 |
}
|
305 |
|
306 |
+
|
307 |
/**
|
308 |
* wpsc product price function
|
309 |
* @return string - the product price
|
310 |
*/
|
311 |
+
function wpsc_the_product_price($no_decimals = false) {
|
312 |
global $wpsc_query;
|
313 |
$price = calculate_product_price($wpsc_query->product['id'], $wpsc_query->first_variations);
|
314 |
if(($wpsc_query->product['special_price'] > 0) && (($wpsc_query->product['price'] - $wpsc_query->product['special_price'] ) >= 0) && ($variations_output[1] === null)) {
|
316 |
} else {
|
317 |
$output = nzshpcrt_currency_display($price, $wpsc_query->product['notax'], true);
|
318 |
}
|
319 |
+
if($no_decimals == true) {
|
320 |
+
$output = array_shift(explode(".", $output));
|
321 |
}
|
322 |
+
// echo 'NO DECIMALS VALUE:'.$no_decimals;
|
|
|
323 |
//echo "<pre>".print_r($wpsc_query->product,true)."</pre>";
|
324 |
return $output;
|
325 |
}
|
519 |
if(is_numeric($wpsc_query->product['image'])){
|
520 |
$image_file_name = $wpdb->get_var("SELECT `image` FROM `".WPSC_TABLE_PRODUCT_IMAGES."` WHERE `id`= '".$wpsc_query->product['image']."' LIMIT 1");
|
521 |
}else{
|
522 |
+
|
523 |
$image_file_name = $wpsc_query->product['image'];
|
524 |
}
|
525 |
$wpsc_query->product['image_file'] = $wpsc_query->product['image'];
|
526 |
}
|
527 |
|
528 |
+
if ($wpsc_query->product['thumbnail_state'] == 3) {
|
529 |
+
$image_path = WPSC_THUMBNAIL_DIR . $image_file_name;
|
530 |
+
} else {
|
531 |
+
$image_path = WPSC_IMAGE_DIR . $image_file_name;
|
532 |
+
}
|
533 |
+
|
534 |
$image_file_name_parts = explode(".",$image_file_name);
|
535 |
$extension = array_pop($image_file_name_parts);
|
536 |
+
|
537 |
if($image_file_name != null) {
|
538 |
if(($width > 0) && ($height > 0) && ($width <= 1024) && ($height <= 1024)) {
|
539 |
+
$cache_filename = basename("product_img_{$wpsc_query->product['image']}_{$height}x{$width}");
|
540 |
+
if(file_exists(WPSC_CACHE_DIR.$cache_filename.'.'.$extension)) {
|
|
|
541 |
$original_modification_time = filemtime($image_path);
|
542 |
+
$cache_modification_time = filemtime(WPSC_CACHE_DIR.$cache_filename.'.'.$extension);
|
543 |
if($original_modification_time < $cache_modification_time) {
|
544 |
$use_cache = true;
|
545 |
}
|
549 |
if(is_ssl()) {
|
550 |
$cache_url = str_replace("http://", "https://", $cache_url);
|
551 |
}
|
552 |
+
$image_url = $cache_url.$cache_filename.'.'.$extension;
|
553 |
} else {
|
554 |
$image_url = "index.php?image_id=".$wpsc_query->product['image']."&width=".$width."&height=".$height;
|
555 |
}
|
756 |
return stripslashes($wpsc_query->variation['name']);
|
757 |
}
|
758 |
|
759 |
+
/**
|
760 |
+
* wpsc the variation stock function
|
761 |
+
* @return string - HTML attribute to disable select options and radio buttons
|
762 |
+
*/
|
763 |
+
function wpsc_the_variation_stock() {
|
764 |
+
global $wpsc_query, $wpdb;
|
765 |
+
$out_of_stock = false;
|
766 |
+
if(($wpsc_query->variation_group_count == 1) && ($wpsc_query->product['quantity_limited'] == 1)) {
|
767 |
+
$product_id = $wpsc_query->product['id'];
|
768 |
+
$variation_group_id = $wpsc_query->variation_group['variation_id'];
|
769 |
+
$variation_id = $wpsc_query->variation['id'];
|
770 |
+
|
771 |
+
|
772 |
+
$priceandstock_id = $wpdb->get_var("SELECT `priceandstock_id` FROM `".WPSC_TABLE_VARIATION_COMBINATIONS."` WHERE `product_id` = '{$product_id}' AND `value_id` IN ( '$variation_id' ) AND `all_variation_ids` IN('$variation_group_id') LIMIT 1");
|
773 |
+
|
774 |
+
$variation_stock_data = $wpdb->get_var("SELECT `stock` FROM `".WPSC_TABLE_VARIATION_PROPERTIES."` WHERE `id` = '{$priceandstock_id}' LIMIT 1");
|
775 |
+
|
776 |
+
}
|
777 |
+
return $variation_stock_data;
|
778 |
+
}
|
779 |
+
|
780 |
+
|
781 |
+
/**
|
782 |
+
* wpsc the variation price function
|
783 |
+
* @return string - the variation price
|
784 |
+
*/
|
785 |
+
function wpsc_the_variation_price() {
|
786 |
+
global $wpdb, $wpsc_query;
|
787 |
+
|
788 |
+
if(count($wpsc_query->variation_groups) == 1) {
|
789 |
+
//echo "<pre>".print_r($wpsc_query->variation, true)."</pre>";
|
790 |
+
$product_id = $wpsc_query->product['id'];
|
791 |
+
$variation_group_id = $wpsc_query->variation_group['variation_id'];
|
792 |
+
$variation_id = $wpsc_query->variation['id'];
|
793 |
+
|
794 |
+
$priceandstock_id = $wpdb->get_var("SELECT `priceandstock_id` FROM `".WPSC_TABLE_VARIATION_COMBINATIONS."` WHERE `product_id` = '{$product_id}' AND `value_id` IN ( '$variation_id' ) AND `all_variation_ids` IN('$variation_group_id') LIMIT 1");
|
795 |
+
|
796 |
+
$variation_price = $wpdb->get_var("SELECT `price` FROM `".WPSC_TABLE_VARIATION_PROPERTIES."` WHERE `id` = '{$priceandstock_id}' LIMIT 1");
|
797 |
+
|
798 |
+
$output = nzshpcrt_currency_display($variation_price, $wpsc_query->product['notax'], true);
|
799 |
+
} else {
|
800 |
+
$output = false;
|
801 |
+
}
|
802 |
+
|
803 |
+
return $output;
|
804 |
+
}
|
805 |
/**
|
806 |
* wpsc the variation ID function
|
807 |
* @return integer - the variation ID
|
1437 |
|
1438 |
|
1439 |
$range_sql="SELECT * FROM `".WPSC_TABLE_PRODUCT_LIST."` WHERE ".implode(" AND ", $product_sql_parts)."";
|
|
|
1440 |
|
1441 |
$product_list = $wpdb->get_results($range_sql,ARRAY_A);
|
1442 |
}
|
1596 |
$order_by = "`".WPSC_TABLE_PRODUCT_LIST."`.`name` $order";
|
1597 |
} else if (get_option('wpsc_sort_by') == 'price') {
|
1598 |
$order_by = "`".WPSC_TABLE_PRODUCT_LIST."`.`price` $order";
|
1599 |
+
} elseif(get_option('wpsc_sort_by') == 'dragndrop'){
|
1600 |
+
$order_by = "`".WPSC_TABLE_PRODUCT_ORDER."`.`order` ASC";
|
1601 |
+
}else {
|
1602 |
if( $order == 'ASC'){
|
1603 |
$order = 'DESC';
|
1604 |
}else{
|
1606 |
}
|
1607 |
$order_by = "`".WPSC_TABLE_PRODUCT_LIST."`.`id` $order";
|
1608 |
}
|
1609 |
+
|
1610 |
$rowcount = $wpdb->get_var("SELECT COUNT( DISTINCT `".WPSC_TABLE_PRODUCT_LIST."`.`id`) AS `count` FROM `".WPSC_TABLE_PRODUCT_LIST."`,`".WPSC_TABLE_ITEM_CATEGORY_ASSOC."` WHERE `".WPSC_TABLE_PRODUCT_LIST."`.`publish`='1' AND `".WPSC_TABLE_PRODUCT_LIST."`.`active`='1' AND `".WPSC_TABLE_PRODUCT_LIST."`.`id` = `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`product_id` $no_donations_sql $group_sql");
|
1611 |
|
1612 |
if(!is_numeric($products_per_page) || ($products_per_page < 1)) { $products_per_page = $rowcount; }
|
1614 |
$startnum = 0;
|
1615 |
}
|
1616 |
|
1617 |
+
$sql = "SELECT DISTINCT `".WPSC_TABLE_PRODUCT_LIST."`.*, `".WPSC_TABLE_PRODUCT_ORDER."`.`order` FROM `".WPSC_TABLE_PRODUCT_LIST."`
|
1618 |
+
LEFT JOIN `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."` ON `".WPSC_TABLE_PRODUCT_LIST."`.`id` = `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`product_id`
|
1619 |
+
LEFT JOIN `".WPSC_TABLE_PRODUCT_ORDER."` ON `".WPSC_TABLE_PRODUCT_LIST."`.`id` = `".WPSC_TABLE_PRODUCT_ORDER."`.`product_id`
|
1620 |
+
WHERE `".WPSC_TABLE_PRODUCT_LIST."`.`publish`='1' AND `".WPSC_TABLE_PRODUCT_LIST."`.`active`='1' $no_donations_sql $group_sql ORDER BY `".WPSC_TABLE_PRODUCT_LIST."`.`special`, $order_by LIMIT $startnum, $products_per_page";
|
1621 |
+
if(get_option('wpsc_sort_by') == 'dragndrop'){
|
1622 |
+
$sql = "SELECT `products`.* FROM `".WPSC_TABLE_PRODUCT_LIST."` AS `products` LEFT JOIN `".WPSC_TABLE_PRODUCT_ORDER."` AS `order` ON `products`.`id`= `order`.`product_id` WHERE `products`.`active`='1' AND `products`.`publish`='1' AND `order`.`category_id`='0' $search_sql ORDER BY `order`.`order`";
|
1623 |
+
}
|
1624 |
}
|
1625 |
}
|
1626 |
|
1627 |
+
//exit($sql);
|
1628 |
|
1629 |
//echo "{$sql}";
|
1630 |
$this->category = $this->query_vars['category_id'];
|
1631 |
$this->products = $wpdb->get_results($sql,ARRAY_A);
|
1632 |
+
// exit('<pre>'.print_r($this->products,true).'</pre>');
|
1633 |
$this->total_product_count = $rowcount;
|
1634 |
|
1635 |
if($rowcount > $products_per_page) {
|
2168 |
|
2169 |
}
|
2170 |
|
2171 |
+
?>
|