From d79817f069e7add6c8331e6407e935e3a99b2dfa Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Sun, 26 Oct 2025 19:59:27 +0100 Subject: [PATCH] Adding jinja shop templates --- app/templates/shop/account/addresses.html | 11 + app/templates/shop/account/login.html | 249 +++++++ app/templates/shop/account/orders.html | 11 + app/templates/shop/account/profile.html | 11 + app/templates/shop/account/register.html | 341 ++++++++++ app/templates/shop/cart.html | 489 ++++++++++++++ app/templates/shop/checkout.html | 11 + app/templates/shop/home.html | 11 + app/templates/shop/product.html | 771 ++++++++++++++++++++++ app/templates/shop/products.html | 459 +++++++++++++ app/templates/shop/search.html | 11 + 11 files changed, 2375 insertions(+) create mode 100644 app/templates/shop/account/addresses.html create mode 100644 app/templates/shop/account/login.html create mode 100644 app/templates/shop/account/orders.html create mode 100644 app/templates/shop/account/profile.html create mode 100644 app/templates/shop/account/register.html create mode 100644 app/templates/shop/cart.html create mode 100644 app/templates/shop/checkout.html create mode 100644 app/templates/shop/home.html create mode 100644 app/templates/shop/product.html create mode 100644 app/templates/shop/products.html create mode 100644 app/templates/shop/search.html diff --git a/app/templates/shop/account/addresses.html b/app/templates/shop/account/addresses.html new file mode 100644 index 00000000..0ca25b1b --- /dev/null +++ b/app/templates/shop/account/addresses.html @@ -0,0 +1,11 @@ + + + + + + Address management + + + <-- Address management --> + + diff --git a/app/templates/shop/account/login.html b/app/templates/shop/account/login.html new file mode 100644 index 00000000..150e8934 --- /dev/null +++ b/app/templates/shop/account/login.html @@ -0,0 +1,249 @@ + + + + + <!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>Login - {{ vendor.name }} + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/templates/shop/account/orders.html b/app/templates/shop/account/orders.html new file mode 100644 index 00000000..909a3bf9 --- /dev/null +++ b/app/templates/shop/account/orders.html @@ -0,0 +1,11 @@ + + + + + + Order history + + + <-- Order history --> + + diff --git a/app/templates/shop/account/profile.html b/app/templates/shop/account/profile.html new file mode 100644 index 00000000..96b6d750 --- /dev/null +++ b/app/templates/shop/account/profile.html @@ -0,0 +1,11 @@ + + + + + + Customer profile + + + <-- Customer profile --> + + diff --git a/app/templates/shop/account/register.html b/app/templates/shop/account/register.html new file mode 100644 index 00000000..56ff2d05 --- /dev/null +++ b/app/templates/shop/account/register.html @@ -0,0 +1,341 @@ + + + + + + Create Account - {{ vendor.name }} + + + + + + + + + + diff --git a/app/templates/shop/cart.html b/app/templates/shop/cart.html new file mode 100644 index 00000000..cc14648a --- /dev/null +++ b/app/templates/shop/cart.html @@ -0,0 +1,489 @@ + + + + + + Shopping Cart - {{ vendor.name }} + + + + + +
+ +
+
+

🛒 Shopping Cart

+
+ +
+ +
+ +
+
+

Loading your cart...

+
+ + +
+
🛒
+

Your cart is empty

+

Add some products to get started!

+ Browse Products +
+ + +
+ +
+ +
+ + +
+
+

Order Summary

+ +
+ Subtotal ( items): + +
+ +
+ Shipping: + +
+ +
+ Total: + +
+ + + + + Continue Shopping + +
+
+
+
+
+ + + + + + \ No newline at end of file diff --git a/app/templates/shop/checkout.html b/app/templates/shop/checkout.html new file mode 100644 index 00000000..3270d419 --- /dev/null +++ b/app/templates/shop/checkout.html @@ -0,0 +1,11 @@ + + + + + + Checkout process + + + <-- Checkout process --> + + diff --git a/app/templates/shop/home.html b/app/templates/shop/home.html new file mode 100644 index 00000000..8e463635 --- /dev/null +++ b/app/templates/shop/home.html @@ -0,0 +1,11 @@ + + + + + + Shop homepage + + + <-- Shop homepage --> + + diff --git a/app/templates/shop/product.html b/app/templates/shop/product.html new file mode 100644 index 00000000..77e5e639 --- /dev/null +++ b/app/templates/shop/product.html @@ -0,0 +1,771 @@ + + + + + + {{ product.name if product else 'Product' }} - {{ vendor.name }} + + + + + +
+ +
+
+ ← Back to Products +

{{ vendor.name }}

+
+ +
+ + +
+
+
+

Loading product...

+
+
+ + +
+
+ +
+
+ +
+ + + +
+ + +
+

+ + +
+ + Brand: + + + Category: + + + SKU: + +
+ + +
+
+ + + SALE +
+
+ +
+
+ + +
+ + ✓ In Stock ( available) + + + ✗ Out of Stock + +
+ + +
+

Description

+

+
+ + +
+

Product Details

+
    +
  • + GTIN: +
  • +
  • + Condition: +
  • +
  • + Color: +
  • +
  • + Size: +
  • +
  • + Material: +
  • +
+
+ + +
+ +
+ +
+ + + +
+
+ + + + + +
+ Total: +
+
+
+
+ + + +
+ + +
+
+ + + + + + \ No newline at end of file diff --git a/app/templates/shop/products.html b/app/templates/shop/products.html new file mode 100644 index 00000000..99a44701 --- /dev/null +++ b/app/templates/shop/products.html @@ -0,0 +1,459 @@ + + + + + + Products - {{ vendor.name }} + + + + + +
+ +
+
+

{{ vendor.name }} - Products

+
+ +
+ +
+ +
+ + +
+ +
+ + +
+ + +
+
+

Loading products...

+
+ + +
+
📦
+

No products found

+

Try adjusting your filters

+

Check back soon for new products!

+
+ + +
+ +
+ + + +
+ + +
+
+ + + + + + \ No newline at end of file diff --git a/app/templates/shop/search.html b/app/templates/shop/search.html new file mode 100644 index 00000000..3dfc5efa --- /dev/null +++ b/app/templates/shop/search.html @@ -0,0 +1,11 @@ + + + + + + Search results page + + + <-- Search results page --> + +