Guest Checkout sucess add register #4356
is necessary convert .scss file to .css -> file shared.scss
This commit is contained in:
parent
c9d3c8b18e
commit
d459430c27
|
|
@ -12,6 +12,7 @@ use Webkul\Customer\Mail\RegistrationEmail;
|
|||
use Webkul\Customer\Mail\VerificationEmail;
|
||||
use Webkul\Customer\Repositories\CustomerGroupRepository;
|
||||
use Webkul\Customer\Repositories\CustomerRepository;
|
||||
use Webkul\Sales\Models\Order;
|
||||
use Webkul\Shop\Mail\SubscriptionEmail;
|
||||
|
||||
class RegistrationController extends Controller
|
||||
|
|
@ -162,6 +163,8 @@ class RegistrationController extends Controller
|
|||
session()->flash('info', trans('shop::app.customer.signup-form.success-verify-email-unsent'));
|
||||
}
|
||||
|
||||
Order::where('customer_email', $customer->email)->update(['customer_id' => $customer->id]);
|
||||
|
||||
session()->flash('success', trans('shop::app.customer.signup-form.success'));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -486,6 +486,7 @@ return [
|
|||
'empty' => 'Your shopping cart is empty',
|
||||
'update-cart' => 'Update Cart',
|
||||
'continue-shopping' => 'Continue Shopping',
|
||||
'continue-registration' => 'Continue Registration',
|
||||
'proceed-to-checkout' => 'Proceed To Checkout',
|
||||
'remove' => 'Remove',
|
||||
'remove-link' => 'Remove',
|
||||
|
|
|
|||
|
|
@ -699,6 +699,10 @@ a {
|
|||
text-decoration: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
&.registration-btn{
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-icon::after {
|
||||
|
|
|
|||
|
|
@ -23,6 +23,11 @@
|
|||
<a href="{{ route('shop.home.index') }}" class="theme-btn remove-decoration">
|
||||
{{ __('shop::app.checkout.cart.continue-shopping') }}
|
||||
</a>
|
||||
@guest('customer')
|
||||
<a href="{{ route('customer.register.index') }}" class="theme-btn registration-btn remove-decoration">
|
||||
{{ __('shop::app.checkout.cart.continue-registration') }}
|
||||
</a>
|
||||
@endguest
|
||||
</div>
|
||||
|
||||
{{ view_render_event('bagisto.shop.checkout.continue-shopping.after', ['order' => $order]) }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue