Version Description
- New: Add support for quantity field in default grid view template.
- New: Let plugins add new column to product variation list table via filter 'wpsc_manage_product_variations_custom_column'.
- Fix: Blank transaction results page when using paypal gateways.
- Fix: Comment form is displayed even though comment is closed on products page.
- Fix: Fatal error in formatting.php for some sites.
- Fix: New countries in 3.8.9 automatically added to target market list.
- Fix: PayPal Standard doesnt' take care of coupons.
- Fix: Punctuation in pending transaction email.
Download this release
Release Info
Developer | garyc40 |
Plugin | WP eCommerce |
Version | 3.8.9.3 |
Comparing to | |
See all releases |
Code changes from version 3.8.9.2 to 3.8.9.3
- images/cc.gif +0 -0
- images/google_checkout.gif +0 -0
- images/paypal.gif +0 -0
- readme.txt +11 -1
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
- screenshot-4.png +0 -0
- wp-shopping-cart.php +1 -1
- wpsc-admin/admin-form-functions.php +0 -0
- wpsc-admin/admin.php +0 -0
- wpsc-admin/ajax-and-init.php +0 -0
- wpsc-admin/ajax.php +0 -0
- wpsc-admin/css/admin.css +0 -0
- wpsc-admin/css/arrows.png +0 -0
- wpsc-admin/css/loading-small.gif +0 -0
- wpsc-admin/css/plus-minus.png +0 -0
- wpsc-admin/db-upgrades/routines/1.php +1 -0
- wpsc-admin/db-upgrades/routines/2.php +14 -3
- wpsc-admin/db-upgrades/routines/3.php +0 -0
- wpsc-admin/db-upgrades/upgrade.php +0 -0
- wpsc-admin/db-upgrades/views/main.php +0 -0
- wpsc-admin/display-coupons.php +0 -0
- wpsc-admin/display-update.page.php +0 -0
- wpsc-admin/includes/display-items-functions.php +0 -0
- wpsc-admin/includes/product-functions.php +0 -0
- wpsc-admin/includes/product-variation-list-table.class.php +5 -0
- wpsc-admin/includes/product-variations-manage.page.php +0 -0
- wpsc-admin/includes/product-variations-page.class.php +0 -0
- wpsc-admin/includes/product-variations-setup.page.php +0 -0
- wpsc-admin/includes/product-variations.page.php +0 -0
- wpsc-admin/includes/products.php +0 -0
- wpsc-admin/includes/purchase-log-list-table-class.php +0 -0
- wpsc-admin/includes/purchase-logs-page/bulk-delete-confirm.php +0 -0
- wpsc-admin/includes/purchase-logs-page/item-details.php +0 -0
- wpsc-admin/includes/purchase-logs-page/list-table.php +0 -0
- wpsc-admin/includes/purchase-logs-page/packing-slip.php +0 -0
- wpsc-admin/includes/settings-tabs/admin.php +0 -0
- wpsc-admin/includes/settings-tabs/checkout.php +0 -0
- wpsc-admin/includes/settings-tabs/gateway.php +0 -0
- wpsc-admin/includes/settings-tabs/general.php +0 -0
- wpsc-admin/includes/settings-tabs/import.php +0 -0
- wpsc-admin/includes/settings-tabs/marketing.php +0 -0
- wpsc-admin/includes/settings-tabs/presentation.php +0 -0
- wpsc-admin/includes/settings-tabs/shipping.php +0 -0
- wpsc-admin/includes/settings-tabs/taxes.php +0 -0
- wpsc-admin/includes/updating-functions.php +0 -0
- wpsc-admin/includes/walker-variation-checklist.php +0 -0
- wpsc-admin/init.php +0 -0
- wpsc-admin/js/product-variations.js +0 -0
- wpsc-admin/js/purchase-logs.js +0 -0
- wpsc-admin/js/set-post-thumbnail.js +0 -0
- wpsc-admin/js/settings-page.js +0 -0
- wpsc-admin/js/sortable-table.js +0 -0
- wpsc-admin/settings-page.php +0 -0
- wpsc-core/images/border.png +0 -0
- wpsc-core/images/controls.png +0 -0
- wpsc-core/images/credit_cards.png +0 -0
- wpsc-core/images/drag.png +0 -0
- wpsc-core/images/icon32.png +0 -0
- wpsc-core/images/loading_background.png +0 -0
- wpsc-core/images/menu-bits.gif +0 -0
- wpsc-core/images/mobile.png +0 -0
- wpsc-core/images/overlay.png +0 -0
- wpsc-core/images/social_networking/facebook.png +0 -0
- wpsc-core/images/toolbar.png +0 -0
- wpsc-core/js/jquery.infieldlabel.min.js +0 -0
- wpsc-core/js/tinymce3/credit_cards.png +0 -0
- wpsc-core/js/tinymce3/productspage.jpg +0 -0
- wpsc-core/js/wp-e-commerce.js +1 -5
- wpsc-core/js/wpsc_colorbox.css +0 -0
- wpsc-core/wpsc-constants.php +3 -3
- wpsc-core/wpsc-deprecated.php +0 -0
- wpsc-core/wpsc-functions.php +0 -0
- wpsc-core/wpsc-includes.php +0 -0
- wpsc-core/wpsc-installer.php +0 -0
- wpsc-includes/breadcrumbs.class.php +0 -0
- wpsc-includes/checkout-form-data.class.php +0 -0
- wpsc-includes/checkout.class.php +0 -0
- wpsc-includes/country.class.php +0 -0
- wpsc-includes/coupons.class.php +0 -0
- wpsc-includes/cron.php +0 -0
- wpsc-includes/currency.helpers.php +0 -0
- wpsc-includes/google-analytics.class.php +0 -0
- wpsc-includes/product-template.php +1 -1
- wpsc-includes/productfeed.php +0 -0
- wpsc-includes/purchase-log-notification.class.php +4 -4
- wpsc-includes/purchase-log.class.php +0 -0
- wpsc-includes/purchase-log.helpers.php +0 -3
- wpsc-includes/theme.functions.php +3 -2
- wpsc-includes/theming.class.php +0 -0
- wpsc-languages/EN_en.php +0 -0
- wpsc-languages/wpsc-cs_CS.mo +0 -0
- wpsc-languages/wpsc-cs_CS.po +0 -0
- wpsc-languages/wpsc-cs_CZ.mo +0 -0
- wpsc-languages/wpsc-cs_CZ.po +0 -0
- wpsc-languages/wpsc-da_DK.mo +0 -0
- wpsc-languages/wpsc-da_DK.po +0 -0
- wpsc-languages/wpsc-de_DE.mo +0 -0
- wpsc-languages/wpsc-de_DE.po +0 -0
- wpsc-languages/wpsc-es_ES.mo +0 -0
- wpsc-languages/wpsc-es_ES.po +0 -0
- wpsc-languages/wpsc-et.mo +0 -0
- wpsc-languages/wpsc-et.po +0 -0
- wpsc-languages/wpsc-fi.mo +0 -0
- wpsc-languages/wpsc-fi.po +0 -0
- wpsc-languages/wpsc-fr_FR.mo +0 -0
- wpsc-languages/wpsc-fr_FR.po +0 -0
- wpsc-languages/wpsc-hr_HR.mo +0 -0
- wpsc-languages/wpsc-hr_HR.po +0 -0
- wpsc-languages/wpsc-hu_HU.mo +0 -0
- wpsc-languages/wpsc-hu_HU.po +0 -0
- wpsc-languages/wpsc-id_ID.mo +0 -0
- wpsc-languages/wpsc-id_ID.po +0 -0
- wpsc-languages/wpsc-it_IT.mo +0 -0
- wpsc-languages/wpsc-it_IT.po +0 -0
- wpsc-languages/wpsc-ja.mo +0 -0
- wpsc-languages/wpsc-ja.po +0 -0
- wpsc-languages/wpsc-lt_LT.mo +0 -0
- wpsc-languages/wpsc-lt_LT.po +0 -0
- wpsc-languages/wpsc-nb_NO.mo +0 -0
- wpsc-languages/wpsc-nb_NO.po +0 -0
- wpsc-languages/wpsc-nl_NL.mo +0 -0
- wpsc-languages/wpsc-nl_NL.po +0 -0
- wpsc-languages/wpsc-nn_NO.mo +0 -0
- wpsc-languages/wpsc-nn_NO.po +0 -0
- wpsc-languages/wpsc-pt_BR.mo +0 -0
- wpsc-languages/wpsc-pt_BR.po +0 -0
- wpsc-languages/wpsc-ru_RU.mo +0 -0
- wpsc-languages/wpsc-ru_RU.po +0 -0
- wpsc-languages/wpsc-sv_SE.mo +0 -0
- wpsc-languages/wpsc-sv_SE.po +0 -0
- wpsc-languages/wpsc-tr.mo +0 -0
- wpsc-languages/wpsc-tr.po +0 -0
- wpsc-languages/wpsc-zh_ZH.mo +0 -0
- wpsc-languages/wpsc-zh_ZH.po +0 -0
- wpsc-languages/wpsc.pot +0 -0
- wpsc-merchants/paypal-standard.merchant.php +1 -0
- wpsc-merchants/testmode.merchant.php +0 -0
- wpsc-shipping/australiapost.php +0 -0
- wpsc-shipping/shipwire.php +0 -0
- wpsc-taxes/controllers/taxes_controller.class.php +0 -0
- wpsc-taxes/models/taxes.class.php +0 -0
- wpsc-taxes/taxes_module.php +0 -0
- wpsc-theme/functions/wpsc-transaction_results_functions.php +0 -0
- wpsc-theme/functions/wpsc-user_log_functions.php +0 -0
- wpsc-theme/wpsc-cart_widget.php +0 -0
- wpsc-theme/wpsc-category-list.php +0 -0
- wpsc-theme/wpsc-category_widget.php +0 -0
- wpsc-theme/wpsc-default.css +0 -0
- wpsc-theme/wpsc-featured_product.php +0 -0
- wpsc-theme/wpsc-grid_view.php +8 -0
- wpsc-theme/wpsc-images/bulletpoint.gif +0 -0
- wpsc-theme/wpsc-images/yes_stock.png +0 -0
- wpsc-theme/wpsc-list_view.php +0 -0
- wpsc-theme/wpsc-products_page.php +0 -0
- wpsc-theme/wpsc-shopping_cart_page.php +0 -0
- wpsc-theme/wpsc-single_product.php +0 -0
- wpsc-theme/wpsc-transaction_results.php +0 -0
- wpsc-theme/wpsc-user-log.php +0 -0
images/cc.gif
CHANGED
File without changes
|
images/google_checkout.gif
CHANGED
File without changes
|
images/paypal.gif
CHANGED
File without changes
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://getshopped.org
|
|
4 |
Tags: e-commerce, wp-e-commerce, shop, cart, paypal, authorize, stock control, ecommerce, shipping, tax
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 3.4.2
|
7 |
-
Stable tag: 3.8.9.
|
8 |
|
9 |
WP e-Commerce is a free WordPress Shopping Cart Plugin that lets customers buy your products, services and digital downloads online.
|
10 |
|
@@ -155,6 +155,16 @@ Before updating please make a backup of your existing files and database. Just i
|
|
155 |
After upgrading from earlier versions look for link "Update Store". This will update your database structure to work with new version.
|
156 |
|
157 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
= 3.8.9.2 =
|
159 |
* Fix: Admin cannot download file from product edit page.
|
160 |
* Fix: Compatibility issues with Jetpack.
|
4 |
Tags: e-commerce, wp-e-commerce, shop, cart, paypal, authorize, stock control, ecommerce, shipping, tax
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 3.4.2
|
7 |
+
Stable tag: 3.8.9.3
|
8 |
|
9 |
WP e-Commerce is a free WordPress Shopping Cart Plugin that lets customers buy your products, services and digital downloads online.
|
10 |
|
155 |
After upgrading from earlier versions look for link "Update Store". This will update your database structure to work with new version.
|
156 |
|
157 |
== Changelog ==
|
158 |
+
= 3.8.9.3 =
|
159 |
+
* New: Add support for quantity field in default grid view template.
|
160 |
+
* New: Let plugins add new column to product variation list table via filter 'wpsc_manage_product_variations_custom_column'.
|
161 |
+
* Fix: Blank transaction results page when using paypal gateways.
|
162 |
+
* Fix: Comment form is displayed even though comment is closed on products page.
|
163 |
+
* Fix: Fatal error in formatting.php for some sites.
|
164 |
+
* Fix: New countries in 3.8.9 automatically added to target market list.
|
165 |
+
* Fix: PayPal Standard doesnt' take care of coupons.
|
166 |
+
* Fix: Punctuation in pending transaction email.
|
167 |
+
|
168 |
= 3.8.9.2 =
|
169 |
* Fix: Admin cannot download file from product edit page.
|
170 |
* Fix: Compatibility issues with Jetpack.
|
screenshot-1.png
CHANGED
File without changes
|
screenshot-2.png
CHANGED
File without changes
|
screenshot-3.png
CHANGED
File without changes
|
screenshot-4.png
CHANGED
File without changes
|
wp-shopping-cart.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: WP e-Commerce
|
4 |
* Plugin URI: http://getshopped.org/
|
5 |
* Description: A plugin that provides a WordPress Shopping Cart. See also: <a href="http://getshopped.org" target="_blank">GetShopped.org</a> | <a href="http://getshopped.org/forums/" target="_blank">Support Forum</a> | <a href="http://docs.getshopped.org/" target="_blank">Documentation</a>
|
6 |
-
* Version: 3.8.9.
|
7 |
* Author: Instinct Entertainment
|
8 |
* Author URI: http://getshopped.org/
|
9 |
**/
|
3 |
* Plugin Name: WP e-Commerce
|
4 |
* Plugin URI: http://getshopped.org/
|
5 |
* Description: A plugin that provides a WordPress Shopping Cart. See also: <a href="http://getshopped.org" target="_blank">GetShopped.org</a> | <a href="http://getshopped.org/forums/" target="_blank">Support Forum</a> | <a href="http://docs.getshopped.org/" target="_blank">Documentation</a>
|
6 |
+
* Version: 3.8.9.3
|
7 |
* Author: Instinct Entertainment
|
8 |
* Author URI: http://getshopped.org/
|
9 |
**/
|
wpsc-admin/admin-form-functions.php
CHANGED
File without changes
|
wpsc-admin/admin.php
CHANGED
File without changes
|
wpsc-admin/ajax-and-init.php
CHANGED
File without changes
|
wpsc-admin/ajax.php
CHANGED
File without changes
|
wpsc-admin/css/admin.css
CHANGED
File without changes
|
wpsc-admin/css/arrows.png
CHANGED
File without changes
|
wpsc-admin/css/loading-small.gif
CHANGED
File without changes
|
wpsc-admin/css/plus-minus.png
CHANGED
File without changes
|
wpsc-admin/db-upgrades/routines/1.php
CHANGED
@@ -141,6 +141,7 @@ function _wpsc_create_south_sudan() {
|
|
141 |
'currency' => __( 'South Sudanese Pound', 'wpsc' ),
|
142 |
'code' => __( 'SSP', 'wpsc' ),
|
143 |
'continent' => 'africa',
|
|
|
144 |
) );
|
145 |
$country->save();
|
146 |
}
|
141 |
'currency' => __( 'South Sudanese Pound', 'wpsc' ),
|
142 |
'code' => __( 'SSP', 'wpsc' ),
|
143 |
'continent' => 'africa',
|
144 |
+
'visible' => 0,
|
145 |
) );
|
146 |
$country->save();
|
147 |
}
|
wpsc-admin/db-upgrades/routines/2.php
CHANGED
@@ -62,7 +62,8 @@ function _wpsc_new_country_serbia() {
|
|
62 |
'isocode' => 'RS',
|
63 |
'currency' => __('Serbian Dinar', 'wpsc'),
|
64 |
'code' => __('RSD', 'wpsc'),
|
65 |
-
'continent' => 'europe'
|
|
|
66 |
) );
|
67 |
$country->save();
|
68 |
}
|
@@ -77,6 +78,7 @@ function _wpsc_new_country_montenegro() {
|
|
77 |
'symbol_html' => __( '€', 'wpsc' ),
|
78 |
'code' => __( 'EUR', 'wpsc' ),
|
79 |
'continent' => 'europe',
|
|
|
80 |
) );
|
81 |
$country->save();
|
82 |
}
|
@@ -91,6 +93,7 @@ function _wpsc_fix_timor_leste_name() {
|
|
91 |
'symbol_html' => __( '$', 'wpsc' ),
|
92 |
'code' => 'USD',
|
93 |
'continent' => 'asiapacific',
|
|
|
94 |
) );
|
95 |
$country->save();
|
96 |
}
|
@@ -105,6 +108,7 @@ function _wpsc_new_country_aland_islands() {
|
|
105 |
'symbol_html' => __( '€', 'wpsc' ),
|
106 |
'code' => __( 'EUR', 'wpsc' ),
|
107 |
'continent' => 'europe',
|
|
|
108 |
) );
|
109 |
$country->save();
|
110 |
}
|
@@ -119,6 +123,7 @@ function _wpsc_new_country_saint_barthelemy() {
|
|
119 |
'symbol_html' => __( '€', 'wpsc' ),
|
120 |
'code' => __( 'EUR', 'wpsc' ),
|
121 |
'continent' => 'europe',
|
|
|
122 |
) );
|
123 |
$country->save();
|
124 |
}
|
@@ -132,7 +137,8 @@ function _wpsc_new_country_bonaire_et_al() {
|
|
132 |
'symbol' => __( '$', 'wpsc' ),
|
133 |
'symbol_html' => __( '$', 'wpsc' ),
|
134 |
'code' => __( 'USD', 'wpsc' ),
|
135 |
-
'continent' => 'southamerica'
|
|
|
136 |
) );
|
137 |
$country->save();
|
138 |
}
|
@@ -146,7 +152,8 @@ function _wpsc_new_country_curacao() {
|
|
146 |
'symbol' => __( 'ƒ', 'wpsc' ),
|
147 |
'symbol_html' => __( 'ƒ', 'wpsc' ),
|
148 |
'code' => __( 'ANG', 'wpsc' ),
|
149 |
-
'continent' => 'southamerica'
|
|
|
150 |
) );
|
151 |
$country->save();
|
152 |
}
|
@@ -161,6 +168,7 @@ function _wpsc_new_country_saint_martin_french() {
|
|
161 |
'symbol_html' => __( '€', 'wpsc' ),
|
162 |
'code' => __( 'EUR', 'wpsc' ),
|
163 |
'continent' => 'southamerica',
|
|
|
164 |
) );
|
165 |
$country->save();
|
166 |
}
|
@@ -175,6 +183,7 @@ function _wpsc_new_country_palestinian_territories() {
|
|
175 |
'symbol_html' => __( '₪', 'wpsc' ),
|
176 |
'code' => __( 'ILS', 'wpsc' ),
|
177 |
'continent' => 'asiapacific',
|
|
|
178 |
) );
|
179 |
$country->save();
|
180 |
}
|
@@ -198,6 +207,7 @@ function _wpsc_new_country_sint_maarten_dutch() {
|
|
198 |
'symbol_html' => __( 'ƒ', 'wpsc' ),
|
199 |
'code' => __( 'ANG', 'wpsc' ),
|
200 |
'continent' => 'southamerica',
|
|
|
201 |
) );
|
202 |
$country->save();
|
203 |
}
|
@@ -212,6 +222,7 @@ function _wpsc_new_country_french_guiana() {
|
|
212 |
'symbol_html' => __( '€', 'wpsc' ),
|
213 |
'code' => __( 'EUR', 'wpsc' ),
|
214 |
'continent' => 'southamerica',
|
|
|
215 |
) );
|
216 |
$country->save();
|
217 |
}
|
62 |
'isocode' => 'RS',
|
63 |
'currency' => __('Serbian Dinar', 'wpsc'),
|
64 |
'code' => __('RSD', 'wpsc'),
|
65 |
+
'continent' => 'europe',
|
66 |
+
'visible' => '0',
|
67 |
) );
|
68 |
$country->save();
|
69 |
}
|
78 |
'symbol_html' => __( '€', 'wpsc' ),
|
79 |
'code' => __( 'EUR', 'wpsc' ),
|
80 |
'continent' => 'europe',
|
81 |
+
'visible' => '0',
|
82 |
) );
|
83 |
$country->save();
|
84 |
}
|
93 |
'symbol_html' => __( '$', 'wpsc' ),
|
94 |
'code' => 'USD',
|
95 |
'continent' => 'asiapacific',
|
96 |
+
'visible' => '0',
|
97 |
) );
|
98 |
$country->save();
|
99 |
}
|
108 |
'symbol_html' => __( '€', 'wpsc' ),
|
109 |
'code' => __( 'EUR', 'wpsc' ),
|
110 |
'continent' => 'europe',
|
111 |
+
'visible' => '0',
|
112 |
) );
|
113 |
$country->save();
|
114 |
}
|
123 |
'symbol_html' => __( '€', 'wpsc' ),
|
124 |
'code' => __( 'EUR', 'wpsc' ),
|
125 |
'continent' => 'europe',
|
126 |
+
'visible' => '0',
|
127 |
) );
|
128 |
$country->save();
|
129 |
}
|
137 |
'symbol' => __( '$', 'wpsc' ),
|
138 |
'symbol_html' => __( '$', 'wpsc' ),
|
139 |
'code' => __( 'USD', 'wpsc' ),
|
140 |
+
'continent' => 'southamerica',
|
141 |
+
'visible' => '0',
|
142 |
) );
|
143 |
$country->save();
|
144 |
}
|
152 |
'symbol' => __( 'ƒ', 'wpsc' ),
|
153 |
'symbol_html' => __( 'ƒ', 'wpsc' ),
|
154 |
'code' => __( 'ANG', 'wpsc' ),
|
155 |
+
'continent' => 'southamerica',
|
156 |
+
'visible' => '0',
|
157 |
) );
|
158 |
$country->save();
|
159 |
}
|
168 |
'symbol_html' => __( '€', 'wpsc' ),
|
169 |
'code' => __( 'EUR', 'wpsc' ),
|
170 |
'continent' => 'southamerica',
|
171 |
+
'visible' => '0',
|
172 |
) );
|
173 |
$country->save();
|
174 |
}
|
183 |
'symbol_html' => __( '₪', 'wpsc' ),
|
184 |
'code' => __( 'ILS', 'wpsc' ),
|
185 |
'continent' => 'asiapacific',
|
186 |
+
'visible' => '0',
|
187 |
) );
|
188 |
$country->save();
|
189 |
}
|
207 |
'symbol_html' => __( 'ƒ', 'wpsc' ),
|
208 |
'code' => __( 'ANG', 'wpsc' ),
|
209 |
'continent' => 'southamerica',
|
210 |
+
'visible' => '0',
|
211 |
) );
|
212 |
$country->save();
|
213 |
}
|
222 |
'symbol_html' => __( '€', 'wpsc' ),
|
223 |
'code' => __( 'EUR', 'wpsc' ),
|
224 |
'continent' => 'southamerica',
|
225 |
+
'visible' => '0',
|
226 |
) );
|
227 |
$country->save();
|
228 |
}
|
wpsc-admin/db-upgrades/routines/3.php
CHANGED
File without changes
|
wpsc-admin/db-upgrades/upgrade.php
CHANGED
File without changes
|
wpsc-admin/db-upgrades/views/main.php
CHANGED
File without changes
|
wpsc-admin/display-coupons.php
CHANGED
File without changes
|
wpsc-admin/display-update.page.php
CHANGED
File without changes
|
wpsc-admin/includes/display-items-functions.php
CHANGED
File without changes
|
wpsc-admin/includes/product-functions.php
CHANGED
File without changes
|
wpsc-admin/includes/product-variation-list-table.class.php
CHANGED
@@ -273,6 +273,11 @@ class WPSC_Product_Variation_List_Table extends WP_List_Table
|
|
273 |
<?php
|
274 |
}
|
275 |
|
|
|
|
|
|
|
|
|
|
|
276 |
private function shipping_editor( $item = false ) {
|
277 |
static $alternate = '';
|
278 |
|
273 |
<?php
|
274 |
}
|
275 |
|
276 |
+
public function column_default( $item, $column_name ) {
|
277 |
+
$output = apply_filters( 'wpsc_manage_product_variations_custom_column', '', $column_name, $item );
|
278 |
+
return $output;
|
279 |
+
}
|
280 |
+
|
281 |
private function shipping_editor( $item = false ) {
|
282 |
static $alternate = '';
|
283 |
|
wpsc-admin/includes/product-variations-manage.page.php
CHANGED
File without changes
|
wpsc-admin/includes/product-variations-page.class.php
CHANGED
File without changes
|
wpsc-admin/includes/product-variations-setup.page.php
CHANGED
File without changes
|
wpsc-admin/includes/product-variations.page.php
CHANGED
File without changes
|
wpsc-admin/includes/products.php
CHANGED
File without changes
|
wpsc-admin/includes/purchase-log-list-table-class.php
CHANGED
File without changes
|
wpsc-admin/includes/purchase-logs-page/bulk-delete-confirm.php
CHANGED
File without changes
|
wpsc-admin/includes/purchase-logs-page/item-details.php
CHANGED
File without changes
|
wpsc-admin/includes/purchase-logs-page/list-table.php
CHANGED
File without changes
|
wpsc-admin/includes/purchase-logs-page/packing-slip.php
CHANGED
File without changes
|
wpsc-admin/includes/settings-tabs/admin.php
CHANGED
File without changes
|
wpsc-admin/includes/settings-tabs/checkout.php
CHANGED
File without changes
|
wpsc-admin/includes/settings-tabs/gateway.php
CHANGED
File without changes
|
wpsc-admin/includes/settings-tabs/general.php
CHANGED
File without changes
|
wpsc-admin/includes/settings-tabs/import.php
CHANGED
File without changes
|
wpsc-admin/includes/settings-tabs/marketing.php
CHANGED
File without changes
|
wpsc-admin/includes/settings-tabs/presentation.php
CHANGED
File without changes
|
wpsc-admin/includes/settings-tabs/shipping.php
CHANGED
File without changes
|
wpsc-admin/includes/settings-tabs/taxes.php
CHANGED
File without changes
|
wpsc-admin/includes/updating-functions.php
CHANGED
File without changes
|
wpsc-admin/includes/walker-variation-checklist.php
CHANGED
File without changes
|
wpsc-admin/init.php
CHANGED
File without changes
|
wpsc-admin/js/product-variations.js
CHANGED
File without changes
|
wpsc-admin/js/purchase-logs.js
CHANGED
File without changes
|
wpsc-admin/js/set-post-thumbnail.js
CHANGED
File without changes
|
wpsc-admin/js/settings-page.js
CHANGED
File without changes
|
wpsc-admin/js/sortable-table.js
CHANGED
File without changes
|
wpsc-admin/settings-page.php
CHANGED
File without changes
|
wpsc-core/images/border.png
CHANGED
File without changes
|
wpsc-core/images/controls.png
CHANGED
File without changes
|
wpsc-core/images/credit_cards.png
CHANGED
File without changes
|
wpsc-core/images/drag.png
CHANGED
File without changes
|
wpsc-core/images/icon32.png
CHANGED
File without changes
|
wpsc-core/images/loading_background.png
CHANGED
File without changes
|
wpsc-core/images/menu-bits.gif
CHANGED
File without changes
|
wpsc-core/images/mobile.png
CHANGED
File without changes
|
wpsc-core/images/overlay.png
CHANGED
File without changes
|
wpsc-core/images/social_networking/facebook.png
CHANGED
File without changes
|
wpsc-core/images/toolbar.png
CHANGED
File without changes
|
wpsc-core/js/jquery.infieldlabel.min.js
CHANGED
File without changes
|
wpsc-core/js/tinymce3/credit_cards.png
CHANGED
File without changes
|
wpsc-core/js/tinymce3/productspage.jpg
CHANGED
File without changes
|
wpsc-core/js/wp-e-commerce.js
CHANGED
@@ -572,11 +572,7 @@ function wpsc_set_profile_country(html_form_id, form_id) {
|
|
572 |
jQuery(document).ready(function(){
|
573 |
jQuery('.wpsc_checkout_table input, .wpsc_checkout_table textarea').each(function(){
|
574 |
var real_value = jQuery(this).val();
|
575 |
-
value = jQuery('label[for="'+jQuery(this).attr('id')+'"]').
|
576 |
-
if(null != value){
|
577 |
-
value = value.replace(/<span class="?asterix"?>\*<\/span>/i,'');
|
578 |
-
}
|
579 |
-
|
580 |
if( jQuery.fn.inlineFieldLabel )
|
581 |
jQuery(this).inlineFieldLabel({label:jQuery.trim(value)});
|
582 |
if(real_value != '')
|
572 |
jQuery(document).ready(function(){
|
573 |
jQuery('.wpsc_checkout_table input, .wpsc_checkout_table textarea').each(function(){
|
574 |
var real_value = jQuery(this).val();
|
575 |
+
value = jQuery('label[for="'+jQuery(this).attr('id')+'"]').text();
|
|
|
|
|
|
|
|
|
576 |
if( jQuery.fn.inlineFieldLabel )
|
577 |
jQuery(this).inlineFieldLabel({label:jQuery.trim(value)});
|
578 |
if(real_value != '')
|
wpsc-core/js/wpsc_colorbox.css
CHANGED
File without changes
|
wpsc-core/wpsc-constants.php
CHANGED
@@ -30,9 +30,9 @@ function wpsc_core_constants() {
|
|
30 |
if(!defined('WPSC_URL'))
|
31 |
define( 'WPSC_URL', plugins_url( '', __FILE__ ) );
|
32 |
// Define Plugin version
|
33 |
-
define( 'WPSC_VERSION', '3.8.9.
|
34 |
-
define( 'WPSC_MINOR_VERSION', '
|
35 |
-
define( 'WPSC_PRESENTABLE_VERSION', '3.8.9.
|
36 |
define( 'WPSC_DB_VERSION', 3 );
|
37 |
|
38 |
// Define Debug Variables for developers
|
30 |
if(!defined('WPSC_URL'))
|
31 |
define( 'WPSC_URL', plugins_url( '', __FILE__ ) );
|
32 |
// Define Plugin version
|
33 |
+
define( 'WPSC_VERSION', '3.8.9.3' );
|
34 |
+
define( 'WPSC_MINOR_VERSION', '630512' );
|
35 |
+
define( 'WPSC_PRESENTABLE_VERSION', '3.8.9.3' );
|
36 |
define( 'WPSC_DB_VERSION', 3 );
|
37 |
|
38 |
// Define Debug Variables for developers
|
wpsc-core/wpsc-deprecated.php
CHANGED
File without changes
|
wpsc-core/wpsc-functions.php
CHANGED
File without changes
|
wpsc-core/wpsc-includes.php
CHANGED
File without changes
|
wpsc-core/wpsc-installer.php
CHANGED
File without changes
|
wpsc-includes/breadcrumbs.class.php
CHANGED
File without changes
|
wpsc-includes/checkout-form-data.class.php
CHANGED
File without changes
|
wpsc-includes/checkout.class.php
CHANGED
File without changes
|
wpsc-includes/country.class.php
CHANGED
File without changes
|
wpsc-includes/coupons.class.php
CHANGED
File without changes
|
wpsc-includes/cron.php
CHANGED
File without changes
|
wpsc-includes/currency.helpers.php
CHANGED
File without changes
|
wpsc-includes/google-analytics.class.php
CHANGED
File without changes
|
wpsc-includes/product-template.php
CHANGED
@@ -108,7 +108,7 @@ function wpsc_pagination($totalpages = '', $per_page = '', $current_page = '', $
|
|
108 |
if(!get_option('permalink_structure')) {
|
109 |
$category = '?';
|
110 |
|
111 |
-
if(
|
112 |
$category = '?wpsc_product_category='.$wp_query->query_vars['wpsc_product_category'];
|
113 |
if(isset($wp_query->query_vars['wpsc_product_category']) && is_string($wp_query->query_vars['wpsc_product_category'])){
|
114 |
$page_link = get_option('blogurl').$category.'&paged';
|
108 |
if(!get_option('permalink_structure')) {
|
109 |
$category = '?';
|
110 |
|
111 |
+
if( ! empty( $wp_query->query_vars['wpsc_product_category'] ) )
|
112 |
$category = '?wpsc_product_category='.$wp_query->query_vars['wpsc_product_category'];
|
113 |
if(isset($wp_query->query_vars['wpsc_product_category']) && is_string($wp_query->query_vars['wpsc_product_category'])){
|
114 |
$page_link = get_option('blogurl').$category.'&paged';
|
wpsc-includes/productfeed.php
CHANGED
File without changes
|
wpsc-includes/purchase-log-notification.class.php
CHANGED
@@ -287,8 +287,8 @@ class WPSC_Purchase_Log_Customer_Notification extends WPSC_Purchase_Log_Notifica
|
|
287 |
public function get_raw_message() {
|
288 |
$raw_message = '';
|
289 |
|
290 |
-
if ( $this->purchase_log->
|
291 |
-
$raw_message = __( 'Thank you, your purchase is pending
|
292 |
|
293 |
$raw_message .= get_option( 'wpsc_email_receipt' );
|
294 |
$raw_message = $this->maybe_add_discount( $raw_message );
|
@@ -422,8 +422,8 @@ class WPSC_Purchase_Log_Customer_HTML_Notification extends WPSC_Purchase_Log_Cus
|
|
422 |
{
|
423 |
public function get_raw_message() {
|
424 |
$raw_message = apply_filters( 'wpsc_pre_transaction_results', '', $this );
|
425 |
-
if ( $this->purchase_log->
|
426 |
-
$raw_message = __( 'Thank you, your purchase is pending
|
427 |
|
428 |
$raw_message .= get_option( 'wpsc_email_receipt' );
|
429 |
$raw_message = $this->maybe_add_discount( $raw_message );
|
287 |
public function get_raw_message() {
|
288 |
$raw_message = '';
|
289 |
|
290 |
+
if ( ! $this->purchase_log->is_transaction_completed() )
|
291 |
+
$raw_message = __( 'Thank you, your purchase is pending. You will be sent an email once the order clears.', 'wpsc' ) . "\n\r";
|
292 |
|
293 |
$raw_message .= get_option( 'wpsc_email_receipt' );
|
294 |
$raw_message = $this->maybe_add_discount( $raw_message );
|
422 |
{
|
423 |
public function get_raw_message() {
|
424 |
$raw_message = apply_filters( 'wpsc_pre_transaction_results', '', $this );
|
425 |
+
if ( ! $this->purchase_log->is_transaction_completed() )
|
426 |
+
$raw_message = __( 'Thank you, your purchase is pending. You will be sent an email once the order clears.', 'wpsc' ) . "\n\r";
|
427 |
|
428 |
$raw_message .= get_option( 'wpsc_email_receipt' );
|
429 |
$raw_message = $this->maybe_add_discount( $raw_message );
|
wpsc-includes/purchase-log.class.php
CHANGED
File without changes
|
wpsc-includes/purchase-log.helpers.php
CHANGED
@@ -239,9 +239,6 @@ function wpsc_get_transaction_html_output( $purchase_log ) {
|
|
239 |
if ( ! is_object( $purchase_log ) )
|
240 |
$purchase_log = new WPSC_Purchase_Log( $purchase_log );
|
241 |
|
242 |
-
if ( ! $purchase_log->is_transaction_completed() && ! $purchase_log->is_order_received() )
|
243 |
-
return '';
|
244 |
-
|
245 |
$notification = new WPSC_Purchase_Log_Customer_HTML_Notification( $purchase_log );
|
246 |
$output = $notification->get_html_message();
|
247 |
|
239 |
if ( ! is_object( $purchase_log ) )
|
240 |
$purchase_log = new WPSC_Purchase_Log( $purchase_log );
|
241 |
|
|
|
|
|
|
|
242 |
$notification = new WPSC_Purchase_Log_Customer_HTML_Notification( $purchase_log );
|
243 |
$output = $notification->get_html_message();
|
244 |
|
wpsc-includes/theme.functions.php
CHANGED
@@ -415,7 +415,6 @@ function wpsc_single_template( $content ) {
|
|
415 |
ob_end_clean();
|
416 |
list( $wp_query, $wpsc_temp_query ) = array( $wpsc_temp_query, $wp_query ); // swap the wpsc_query objects back
|
417 |
$_wpsc_is_in_custom_loop = false;
|
418 |
-
|
419 |
}
|
420 |
|
421 |
return $content;
|
@@ -1083,9 +1082,11 @@ function wpsc_products_page( $content = '' ) {
|
|
1083 |
$product_meta = get_post_meta( $product_id, '_wpsc_product_metadata', true );
|
1084 |
|
1085 |
list($wp_query, $wpsc_query) = array( $wpsc_query, $wp_query ); // swap the wpsc_query objects back
|
|
|
1086 |
$_wpsc_is_in_custom_loop = false;
|
|
|
1087 |
if ( ($is_single == false) || ($product_meta['enable_comments'] == '0') )
|
1088 |
-
|
1089 |
}
|
1090 |
$wp_query->current_post = $wp_query->post_count;
|
1091 |
return preg_replace( "/(<p>)*\[productspage\](<\/p>)*/", $output, $content );
|
415 |
ob_end_clean();
|
416 |
list( $wp_query, $wpsc_temp_query ) = array( $wpsc_temp_query, $wp_query ); // swap the wpsc_query objects back
|
417 |
$_wpsc_is_in_custom_loop = false;
|
|
|
418 |
}
|
419 |
|
420 |
return $content;
|
1082 |
$product_meta = get_post_meta( $product_id, '_wpsc_product_metadata', true );
|
1083 |
|
1084 |
list($wp_query, $wpsc_query) = array( $wpsc_query, $wp_query ); // swap the wpsc_query objects back
|
1085 |
+
|
1086 |
$_wpsc_is_in_custom_loop = false;
|
1087 |
+
|
1088 |
if ( ($is_single == false) || ($product_meta['enable_comments'] == '0') )
|
1089 |
+
wp_reset_postdata();
|
1090 |
}
|
1091 |
$wp_query->current_post = $wp_query->post_count;
|
1092 |
return preg_replace( "/(<p>)*\[productspage\](<\/p>)*/", $output, $content );
|
wpsc-includes/theming.class.php
CHANGED
File without changes
|
wpsc-languages/EN_en.php
CHANGED
File without changes
|
wpsc-languages/wpsc-cs_CS.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-cs_CS.po
CHANGED
File without changes
|
wpsc-languages/wpsc-cs_CZ.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-cs_CZ.po
CHANGED
File without changes
|
wpsc-languages/wpsc-da_DK.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-da_DK.po
CHANGED
File without changes
|
wpsc-languages/wpsc-de_DE.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-de_DE.po
CHANGED
File without changes
|
wpsc-languages/wpsc-es_ES.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-es_ES.po
CHANGED
File without changes
|
wpsc-languages/wpsc-et.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-et.po
CHANGED
File without changes
|
wpsc-languages/wpsc-fi.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-fi.po
CHANGED
File without changes
|
wpsc-languages/wpsc-fr_FR.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-fr_FR.po
CHANGED
File without changes
|
wpsc-languages/wpsc-hr_HR.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-hr_HR.po
CHANGED
File without changes
|
wpsc-languages/wpsc-hu_HU.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-hu_HU.po
CHANGED
File without changes
|
wpsc-languages/wpsc-id_ID.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-id_ID.po
CHANGED
File without changes
|
wpsc-languages/wpsc-it_IT.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-it_IT.po
CHANGED
File without changes
|
wpsc-languages/wpsc-ja.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-ja.po
CHANGED
File without changes
|
wpsc-languages/wpsc-lt_LT.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-lt_LT.po
CHANGED
File without changes
|
wpsc-languages/wpsc-nb_NO.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-nb_NO.po
CHANGED
File without changes
|
wpsc-languages/wpsc-nl_NL.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-nl_NL.po
CHANGED
File without changes
|
wpsc-languages/wpsc-nn_NO.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-nn_NO.po
CHANGED
File without changes
|
wpsc-languages/wpsc-pt_BR.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-pt_BR.po
CHANGED
File without changes
|
wpsc-languages/wpsc-ru_RU.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-ru_RU.po
CHANGED
File without changes
|
wpsc-languages/wpsc-sv_SE.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-sv_SE.po
CHANGED
File without changes
|
wpsc-languages/wpsc-tr.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-tr.po
CHANGED
File without changes
|
wpsc-languages/wpsc-zh_ZH.mo
CHANGED
File without changes
|
wpsc-languages/wpsc-zh_ZH.po
CHANGED
File without changes
|
wpsc-languages/wpsc.pot
CHANGED
File without changes
|
wpsc-merchants/paypal-standard.merchant.php
CHANGED
@@ -308,6 +308,7 @@ class wpsc_merchant_paypal_standard extends wpsc_merchant {
|
|
308 |
}
|
309 |
|
310 |
if ( $this->cart_data['has_discounts'] && ! $free_shipping ) {
|
|
|
311 |
$subtotal = $wpsc_cart->calculate_subtotal();
|
312 |
if ( $this->cart_data['cart_discount_value'] >= $wpsc_cart->calculate_subtotal() ) {
|
313 |
$paypal_vars['discount_amount_cart'] = $this->convert( $subtotal ) - 0.01;
|
308 |
}
|
309 |
|
310 |
if ( $this->cart_data['has_discounts'] && ! $free_shipping ) {
|
311 |
+
$paypal_vars['discount_amount_cart'] = $this->convert( $this->cart_data['cart_discount_value'] );
|
312 |
$subtotal = $wpsc_cart->calculate_subtotal();
|
313 |
if ( $this->cart_data['cart_discount_value'] >= $wpsc_cart->calculate_subtotal() ) {
|
314 |
$paypal_vars['discount_amount_cart'] = $this->convert( $subtotal ) - 0.01;
|
wpsc-merchants/testmode.merchant.php
CHANGED
File without changes
|
wpsc-shipping/australiapost.php
CHANGED
File without changes
|
wpsc-shipping/shipwire.php
CHANGED
File without changes
|
wpsc-taxes/controllers/taxes_controller.class.php
CHANGED
File without changes
|
wpsc-taxes/models/taxes.class.php
CHANGED
File without changes
|
wpsc-taxes/taxes_module.php
CHANGED
File without changes
|
wpsc-theme/functions/wpsc-transaction_results_functions.php
CHANGED
File without changes
|
wpsc-theme/functions/wpsc-user_log_functions.php
CHANGED
File without changes
|
wpsc-theme/wpsc-cart_widget.php
CHANGED
File without changes
|
wpsc-theme/wpsc-category-list.php
CHANGED
File without changes
|
wpsc-theme/wpsc-category_widget.php
CHANGED
File without changes
|
wpsc-theme/wpsc-default.css
CHANGED
File without changes
|
wpsc-theme/wpsc-featured_product.php
CHANGED
File without changes
|
wpsc-theme/wpsc-grid_view.php
CHANGED
@@ -124,6 +124,14 @@ $image_height = get_option('product_image_height');
|
|
124 |
<?php endif ?>
|
125 |
<?php if((get_option('display_addtocart') == 1) && (get_option('addtocart_or_buynow') !='1')) :?>
|
126 |
<?php if(wpsc_product_has_stock()) : ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
<input type="submit" value="<?php _e('Add To Cart', 'wpsc'); ?>" name="Buy" class="wpsc_buy_button" id="product_<?php echo wpsc_the_product_id(); ?>_submit_button"/>
|
128 |
<?php else : ?>
|
129 |
<p class="soldout"><?php _e('Sorry, sold out!', 'wpsc'); ?></p>
|
124 |
<?php endif ?>
|
125 |
<?php if((get_option('display_addtocart') == 1) && (get_option('addtocart_or_buynow') !='1')) :?>
|
126 |
<?php if(wpsc_product_has_stock()) : ?>
|
127 |
+
<?php if(wpsc_has_multi_adding()): ?>
|
128 |
+
<div class="quantity_container">
|
129 |
+
<label class="wpsc_quantity_update" for="wpsc_quantity_update_<?php echo wpsc_the_product_id(); ?>"><?php _e('Quantity:', 'wpsc'); ?></label>
|
130 |
+
<input type="text" id="wpsc_quantity_update_<?php echo wpsc_the_product_id(); ?>" name="wpsc_quantity_update" size="2" value="1" />
|
131 |
+
<input type="hidden" name="key" value="<?php echo wpsc_the_cart_item_key(); ?>"/>
|
132 |
+
<input type="hidden" name="wpsc_update_quantity" value="true" />
|
133 |
+
</div><!--close quantity_container-->
|
134 |
+
<?php endif ;?>
|
135 |
<input type="submit" value="<?php _e('Add To Cart', 'wpsc'); ?>" name="Buy" class="wpsc_buy_button" id="product_<?php echo wpsc_the_product_id(); ?>_submit_button"/>
|
136 |
<?php else : ?>
|
137 |
<p class="soldout"><?php _e('Sorry, sold out!', 'wpsc'); ?></p>
|
wpsc-theme/wpsc-images/bulletpoint.gif
CHANGED
File without changes
|
wpsc-theme/wpsc-images/yes_stock.png
CHANGED
File without changes
|
wpsc-theme/wpsc-list_view.php
CHANGED
File without changes
|
wpsc-theme/wpsc-products_page.php
CHANGED
File without changes
|
wpsc-theme/wpsc-shopping_cart_page.php
CHANGED
File without changes
|
wpsc-theme/wpsc-single_product.php
CHANGED
File without changes
|
wpsc-theme/wpsc-transaction_results.php
CHANGED
File without changes
|
wpsc-theme/wpsc-user-log.php
CHANGED
File without changes
|