Skip to content

Commit

Permalink
changed
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnuedappatt committed Jun 29, 2022
1 parent 8d918ea commit 65ed302
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion orders/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class OrderProduct(models.Model):
ordered=models.BooleanField(default=False)
created_at=models.DateTimeField(auto_now_add=True)
updated_at=models.DateTimeField(auto_now=True)
# method=models.CharField(max_length=10,null=True,blank=True)




Expand Down
4 changes: 2 additions & 2 deletions orders/templates/orders/cod.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<div class="col-first">
<h1>Checkout</h1>
<nav class="d-flex align-items-center">
<a href="index.html">Home<span class="lnr lnr-arrow-right"></span></a>
<a href="single-product.html">Placeorder</a>
<a href="{% url 'home' %}">Home<i class="fa fa-arrow-right" aria-hidden="true"></i></a>
<a href="">Placeorder</a>
</nav>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions orders/templates/orders/cod_verify.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<div class="col-first">
<h1>Checkout</h1>
<nav class="d-flex align-items-center">
<a href="index.html">Home<span class="lnr lnr-arrow-right"></span></a>
<a href="single-product.html">Placeorder</a>
<a href="{% url 'home' %}">Home<i class="fa fa-arrow-right" aria-hidden="true"></i></a>
<a href="single-product.html">verification</a>
</nav>
</div>
</div>
Expand Down Expand Up @@ -40,7 +40,7 @@ <h1>Checkout</h1>
</div>

</div>
<span style="color: black;">* Verify the order with Mobile Number for the co</span>
<span style="color: black;">* Verify the order with Mobile Number for the complete your order</span>
</form>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion orders/templates/orders/payments.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="col-first">
<h1>Checkout</h1>
<nav class="d-flex align-items-center">
<a href="index.html">Home<span class="lnr lnr-arrow-right"></span></a>
<a href="">Home<i class="fa fa-arrow-right" aria-hidden="true"></i></a>
<a href="single-product.html">PAYMENT ON THE WAY</a>
</nav>
</div>
Expand Down
4 changes: 2 additions & 2 deletions orders/templates/orders/razor_payments.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<div class="col-first">
<h1>Checkout</h1>
<nav class="d-flex align-items-center">
<a href="index.html">Home<span class="lnr lnr-arrow-right"></span></a>
<a href="single-product.html">Placeorder</a>
<a href="">Home<i class="fa fa-arrow-right" aria-hidden="true"></i></a>
<a href="">Placeorder</a>
</nav>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion orders/templates/orders/successcod.html

This file was deleted.

1 change: 1 addition & 0 deletions orders/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ def cod(request):
pay.user=current_user
pay.amount_paid=paisa
pay.order_id=order_number
pay.paid=True
pay.save()

context={
Expand Down
2 changes: 1 addition & 1 deletion products/templates/products/cart.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="col-first">
<h1>Shopping Cart</h1>
<nav class="d-flex align-items-center">
<a href="">Home<span class="lnr lnr-arrow-right"></span></a>
<a href="">Home<i class="fa fa-arrow-right" aria-hidden="true"></i></a>
<a href="">Cart</a>
</nav>
</div>
Expand Down
8 changes: 4 additions & 4 deletions products/templates/products/categorylist.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<div class="col-first">
<!-- <h1>Shop Category page</h1> -->
<nav class="d-flex align-items-center">
<a href="index.html">ghv hnjgvb jhnbvhmjb<span class="lnr lnr-arrow-right "></span></a>
<a href="#">Shop<span class="lnr lnr-arrow-right"></span></a>
<a href="i"><span class="lnr lnr-arrow-right "></span></a>
<a href="#"><span class="lnr lnr-arrow-right"></span></a>
<a href="category.html">Fashon Category</a>
</nav>
</div>
Expand Down Expand Up @@ -173,8 +173,8 @@ <h6 class="l-through"></h6>
<span class="lnr lnr-sync"></span>
<p class="hover-text">compare</p>
</a> -->
<a href="" class="social-info">
<span class="lnr lnr-move"></span>
<a href="{{ pro.get_url }}" class="social-info">
<span class="lnr bg-secondary"><i class="fa fa-plus-circle" aria-hidden="true"></i></span>
<p class="hover-text">view more</p>
</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions products/templates/products/check.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<div class="col-first">
<h1>Checkout</h1>
<nav class="d-flex align-items-center">
<a href="index.html">Home<span class="lnr lnr-arrow-right"></span></a>
<a href="single-product.html">place order</a>
<a href="">Home<i class="fa fa-arrow-right" aria-hidden="true"></i></a>
<a href="">place order</a>
</nav>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion products/templates/products/product_detailes.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="col-first">
<h1>{{single_product.category}}</h1>
<nav class="d-flex align-items-center">
<a href="index.html">Home<span class="lnr lnr-arrow-right"></span></a>
<a href="index.html">Home<i class="fa fa-arrow-right" aria-hidden="true"></i></a>
<a href="#">{{single_product.category}}<span class="lnr lnr-arrow-right"></span></a>
<a href="">{{single_product.name}}</a>

Expand Down
12 changes: 6 additions & 6 deletions products/templates/products/subcategory.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<div class="col-first">
<!-- <h1>Shop Category page</h1> -->
<nav class="d-flex align-items-center">
<a href="index.html">Home<span class="lnr lnr-arrow-right"></span></a>
<a href="index.html">Home<i class="fa fa-arrow-right" aria-hidden="true"></i></a>
<a href="#">Shop<span class="lnr lnr-arrow-right">{{categor}}</span></a>
<a href="category.html"></a>
<a href=""></a>
</nav>
</div>
</div>
Expand Down Expand Up @@ -139,19 +139,19 @@ <h6 class="l-through"></h6>
<div class="prd-bottom">

<a href="{{ pro.get_url }} " class="social-info">
<span class="ti-bag bg-primary"><i class="fa fa-shopping-cart" aria-hidden="true"></i></span>
<span class=" bg-primary"><i class="fa fa-shopping-cart" aria-hidden="true"></i></span>
<p class="hover-text">add to bag</p>
</a>
<a href="{% url 'wishlist_add' pro.id %}" class="social-info">
<span class="lnr lnr-heart bg-danger"><i class="fa fa-gratipay" aria-hidden="true"></i></span>
<span class="lnr bg-danger"><i class="fa fa-gratipay" aria-hidden="true"></i></span>
<p class="hover-text">Wishlist</p>
</a>
<!-- <a href="" class="social-info">
<span class="lnr lnr-sync"></span>
<p class="hover-text">compare</p>
</a> -->
<a href="" class="social-info">
<span class="lnr lnr-move"></span>
<a href="{{ pro.get_url }}" class="social-info">
<span class="lnr bg-secondary"><i class="fa fa-plus-circle" aria-hidden="true"></i></span>
<p class="hover-text">view more</p>
</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions products/templates/products/wishlist.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<div class="col-first">
<h1>Wishlist</h1>
<nav class="d-flex align-items-center">
<a href="index.html">Home<span class="lnr lnr-arrow-right"></span></a>
<a href="category.html">wishlist</a>
<a href="{% url 'home' %}">Home<i class="fa fa-arrow-right" aria-hidden="true"></i></a>
<a href="">wishlist</a>
</nav>
</div>
</div>
Expand Down

0 comments on commit 65ed302

Please sign in to comment.