Skip to content

Commit 7ef3fe6

Browse files
Updated in line with Foxycart original
1 parent 9291d66 commit 7ef3fe6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

foxycart.cart_validation.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,14 @@ public static function getCartUrl() {
5151
*/
5252
protected static $cart_excludes = array(
5353
// Cart values
54-
'cart', 'fcsid', 'empty', 'coupon', 'output', 'sub_token', 'redirect', 'callback', '_',
54+
'cart', 'fcsid', 'empty', 'coupon', 'output', 'sub_token', 'redirect', 'callback', '_', 'locale',
5555
// Checkout pre-population values
56-
'customer_email', 'billing_first_name', 'billing_last_name', 'billing_address1', 'billing_address2',
56+
'customer_email', 'customer_first_name', 'customer_last_name', 'customer_address1', 'customer_address2',
57+
'customer_city', 'customer_state', 'customer_postal_code', 'customer_country', 'customer_phone', 'customer_company',
58+
'billing_first_name', 'billing_last_name', 'billing_address1', 'billing_address2',
5759
'billing_city', 'billing_postal_code', 'billing_region', 'billing_phone', 'billing_company',
5860
'shipping_first_name', 'shipping_last_name', 'shipping_address1', 'shipping_address2',
59-
'shipping_city', 'shipping_postal_code', 'shipping_region', 'shipping_phone', 'shipping_company',
61+
'shipping_city', 'shipping_state', 'shipping_country', 'shipping_postal_code', 'shipping_region', 'shipping_phone', 'shipping_company',
6062
);
6163
protected static $cart_excludes_prefixes = array(
6264
'h:', 'x:', '__',

0 commit comments

Comments
 (0)