Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
T
test-webshop
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Artem
test-webshop
Commits
f0d39ab7
Commit
f0d39ab7
authored
May 08, 2020
by
Artem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add link to homepage after successfully placed order
parent
94b0a557
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
cart.blade.php
resources/views/cart.blade.php
+6
-3
No files found.
resources/views/cart.blade.php
View file @
f0d39ab7
...
...
@@ -74,6 +74,7 @@
@else
@if(isset(
$order_id
))
<div class="
alert
alert
-
success
">Thank you, order succesfully placed. Your order number is <b>{{
$order_id
}}</b>. We will contact you shortly.</div>
<a href="
{{
route
(
'homepage'
)
}}
">You may like our other products</a>
@else
<div>There are no products in the cart. <a href="
{{
route
(
'homepage'
)
}}
">Check our products</a></div>
@endif
...
...
@@ -83,6 +84,8 @@
</section>
@endsection
@section('script')
<script src="
js
/
cart
.
js
" defer></script>
@endsection
@if(Session::has('cart'))
@section('script')
<script src="
js
/
cart
.
js
" defer></script>
@endsection
@endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment