Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1102302
D236.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Aug 18, 4:11 PM
Size
837 B
Mime Type
text/x-diff
Expires
Tue, Aug 19, 4:11 PM (8 h, 17 m)
Engine
blob
Format
Raw Data
Handle
714075
Attached To
D236: MINC-178 - Replace billing with shipping email on "Shipping" step during checkout
D236.id.diff
View Options
Index: branches/5.2.x/units/orders/orders_event_handler.php
===================================================================
--- branches/5.2.x/units/orders/orders_event_handler.php
+++ branches/5.2.x/units/orders/orders_event_handler.php
@@ -1548,7 +1548,7 @@
// shipping address required fields
if ($this->Application->GetVar('check_shipping_address')) {
$has_tangibles = $order->HasTangibleItems();
- $req_fields = array('ShippingTo', 'ShippingAddress1', 'ShippingCity', 'ShippingZip', 'ShippingCountry', /*'ShippingPhone',*/ 'BillingEmail');
+ $req_fields = array('ShippingTo', 'ShippingAddress1', 'ShippingCity', 'ShippingZip', 'ShippingCountry');
$order->setRequired($req_fields, $has_tangibles);
$order->setRequired('ShippingState', $cs_helper->CountryHasStates( $field_values['ShippingCountry'] ));
}
Event Timeline
Log In to Comment