Merge branch 'ticket-14285-Dropshipping' into develop
This commit is contained in:
commit
97ec6492c6
@ -2097,11 +2097,12 @@ class Sale {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Particular and classic but different shipping
|
||||
// Particular and classic but different shipping (only dropshipping and default shipping can be combinable)
|
||||
if(
|
||||
((int)$current_sale['delivery_delay'] == 1 || (int)$current_sale['delivery_delay'] == 9)
|
||||
&& ((int)$adding_sale['delivery_delay'] == 1 || (int)$adding_sale['delivery_delay'] == 9)
|
||||
&& (int)$current_sale['shipping'] != (int)$adding_sale['shipping']
|
||||
&& ((int)$current_sale['shipping'] != (int)$adding_sale['shipping'])
|
||||
&& (!in_array((int)$current_sale['shipping'],array(0,2)) || !in_array((int)$adding_sale['shipping'],array(0,2)))
|
||||
){
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user