From 65ed302688ed0ac39af328205ae901e79dbddfa9 Mon Sep 17 00:00:00 2001 From: imviz Date: Wed, 29 Jun 2022 15:13:25 +0530 Subject: [PATCH] changed --- orders/models.py | 2 +- orders/templates/orders/cod.html | 4 ++-- orders/templates/orders/cod_verify.html | 6 +++--- orders/templates/orders/payments.html | 2 +- orders/templates/orders/razor_payments.html | 4 ++-- orders/templates/orders/successcod.html | 1 - orders/views.py | 1 + products/templates/products/cart.html | 2 +- products/templates/products/categorylist.html | 8 ++++---- products/templates/products/check.html | 4 ++-- products/templates/products/product_detailes.html | 2 +- products/templates/products/subcategory.html | 12 ++++++------ products/templates/products/wishlist.html | 4 ++-- 13 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 orders/templates/orders/successcod.html diff --git a/orders/models.py b/orders/models.py index 2a431940..619f5a02 100644 --- a/orders/models.py +++ b/orders/models.py @@ -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) + diff --git a/orders/templates/orders/cod.html b/orders/templates/orders/cod.html index 5fd35174..88844f4b 100644 --- a/orders/templates/orders/cod.html +++ b/orders/templates/orders/cod.html @@ -10,8 +10,8 @@

Checkout

diff --git a/orders/templates/orders/cod_verify.html b/orders/templates/orders/cod_verify.html index bfc59218..893db19c 100644 --- a/orders/templates/orders/cod_verify.html +++ b/orders/templates/orders/cod_verify.html @@ -10,8 +10,8 @@

Checkout

@@ -40,7 +40,7 @@

Checkout

- * Verify the order with Mobile Number for the co + * Verify the order with Mobile Number for the complete your order diff --git a/orders/templates/orders/payments.html b/orders/templates/orders/payments.html index 6082044d..d412a48a 100644 --- a/orders/templates/orders/payments.html +++ b/orders/templates/orders/payments.html @@ -11,7 +11,7 @@

Checkout

diff --git a/orders/templates/orders/razor_payments.html b/orders/templates/orders/razor_payments.html index 25791ca6..6a846e62 100644 --- a/orders/templates/orders/razor_payments.html +++ b/orders/templates/orders/razor_payments.html @@ -10,8 +10,8 @@

Checkout

diff --git a/orders/templates/orders/successcod.html b/orders/templates/orders/successcod.html deleted file mode 100644 index fa1b2c2a..00000000 --- a/orders/templates/orders/successcod.html +++ /dev/null @@ -1 +0,0 @@ -

success fullll

\ No newline at end of file diff --git a/orders/views.py b/orders/views.py index 8b1741e9..bfe1f1e4 100644 --- a/orders/views.py +++ b/orders/views.py @@ -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={ diff --git a/products/templates/products/cart.html b/products/templates/products/cart.html index b63ef0c0..ef1307ef 100644 --- a/products/templates/products/cart.html +++ b/products/templates/products/cart.html @@ -7,7 +7,7 @@

Shopping Cart

diff --git a/products/templates/products/categorylist.html b/products/templates/products/categorylist.html index 9c760773..db3202a5 100644 --- a/products/templates/products/categorylist.html +++ b/products/templates/products/categorylist.html @@ -10,8 +10,8 @@
@@ -173,8 +173,8 @@

compare

--> - - + +

view more

diff --git a/products/templates/products/check.html b/products/templates/products/check.html index f16c6e43..bb9f6194 100644 --- a/products/templates/products/check.html +++ b/products/templates/products/check.html @@ -11,8 +11,8 @@

Checkout

diff --git a/products/templates/products/product_detailes.html b/products/templates/products/product_detailes.html index 4f735a31..243af79c 100644 --- a/products/templates/products/product_detailes.html +++ b/products/templates/products/product_detailes.html @@ -10,7 +10,7 @@

{{single_product.category}}

@@ -139,19 +139,19 @@
-
diff --git a/products/templates/products/wishlist.html b/products/templates/products/wishlist.html index 8e3a2569..5be13b91 100644 --- a/products/templates/products/wishlist.html +++ b/products/templates/products/wishlist.html @@ -7,8 +7,8 @@

Wishlist