cart responsive, Checkout from cart
This commit is contained in:
parent
bde1095014
commit
fb27009339
17 changed files with 501 additions and 319 deletions
|
|
@ -90,6 +90,7 @@ class CustomerController extends Controller
|
|||
if(old('switcher-without-email') === 'true'){
|
||||
$step = 1;
|
||||
$shopping_user->same_as_billing = true;
|
||||
$shopping_user->faker_mail = true;
|
||||
$billing_email = time()."@faker-mivita.care";
|
||||
}
|
||||
}
|
||||
|
|
@ -170,6 +171,7 @@ class CustomerController extends Controller
|
|||
}
|
||||
}
|
||||
|
||||
$data['faker_mail'] = isset($data['faker_mail']) ? true : false;
|
||||
$data['has_buyed'] = isset($data['has_buyed']) ? true : false;
|
||||
$data['subscribed'] = isset($data['subscribed']) ? true : false;
|
||||
//subscribed can only true when has_buyed ist active
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue