Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
luisnmartins committed May 30, 2018
1 parent 27845de commit 79bf494
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions public/js/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ $(document).ready(function(){

});


$(document).bind('ajaxStart', function(){
$("#loader_page").show();
}).bind('ajaxStop', function(){
Expand Down
2 changes: 1 addition & 1 deletion resources/views/pages/cart.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
@endforeach
</select>
<h6>Subtotal before Delivery</h6>
<p class="subtotal_price">{{ $total }} €</p>
<p class="subtotal_price" value="{{$total}}">{{ $total }} €</p>
<h6>Delivery Type</h6>
<select id="delivery_type" name="delivery_type" onchange="update_total(this.options[this.selectedIndex])" required>
<option disabled selected value>Choose Delivery Type</option>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/partials/purchase_product.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@for ($i = 0; $i < $purchase_product->pivot->quantity; $i++)
<div class="product_list container">
<div class="row" onclick="window.location='product.html'">
<div class="row" onclick="window.location='{{ route("product", ["product_id"=> $purchase_product->id]) }}'">
<p class="col-lg-auto col-md-auto col-sm-auto">{{$purchase_product->name}}</p>
<hr class="col">
<p class="col-lg-auto col-md-auto col-sm-auto">{{$purchase_product->pivot->price}}€</p>
Expand Down

0 comments on commit 79bf494

Please sign in to comment.