diff --git a/shop/management/commands/create_initial_shop_data.py b/shop/management/commands/create_initial_shop_data.py index b81c332..0872ba0 100644 --- a/shop/management/commands/create_initial_shop_data.py +++ b/shop/management/commands/create_initial_shop_data.py @@ -18,10 +18,13 @@ class Command(BaseCommand): {'name': 'Fuchsia', 'hex': '#C1366B', 'secondary_hex': None, 'ordering': 30}, {'name': 'Corail / Noir', 'hex': '#FF7F50', 'secondary_hex': '#000000', 'ordering': 40}, {'name': 'Gris Foncé Chiné / Noir', 'hex': '#4D4D4D', 'secondary_hex': '#000000', 'ordering': 50}, + {'name': 'Olive', 'hex': '#635E53', 'secondary_hex': None, 'ordering': 54}, {'name': 'Kaki Foncé', 'hex': '#707163', 'secondary_hex': None, 'ordering': 55}, {'name': 'Noir', 'hex': '#000000', 'secondary_hex': None, 'ordering': 60}, {'name': 'Noir / Corail', 'hex': '#000000', 'secondary_hex': '#FF7F50', 'ordering': 61}, {'name': 'Noir / Gris Foncé Chiné', 'hex': '#000000', 'secondary_hex': '#4D4D4D', 'ordering': 62}, + {'name': 'Rose Clair', 'hex': '#E7C8CF', 'secondary_hex': None, 'ordering': 31}, + {'name': 'Sand', 'hex': '#B4A885', 'secondary_hex': None, 'ordering': 32}, ] color_objects = {} @@ -137,6 +140,28 @@ class Command(BaseCommand): 'sizes': ['S', 'M', 'L', 'XL', 'XXL', '3XL'], 'image_filename': 'PS_PA1030_WHITE-SPORTYNAVY.png.avif' }, + { + 'sku': 'PC008', + 'title': 'T-shirt Simple Femme', + 'description': 'T-shirt simple avec logo coeur.', + 'price': 20.00, + 'ordering_value': 60, + 'cut': 1, # Women + 'colors': ['Blanc', 'Bleu Sport', 'Sand', 'Noir', 'Kaki Foncé', 'Rose Clair'], + 'sizes': ['XS','S', 'M', 'L', 'XL', 'XXL'], + 'image_filename': 'PS_PA439_WHITE.png.avif' + }, + { + 'sku': 'PC009', + 'title': 'T-shirt Simple Homme', + 'description': 'T-shirt simple avec logo coeur.', + 'price': 20.00, + 'ordering_value': 61, + 'cut': 2, # Men + 'colors': ['Blanc', 'Bleu Sport', 'Sand', 'Noir', 'Olive', 'Rose Clair'], + 'sizes': ['XS','S', 'M', 'L', 'XL', 'XXL', '3XL'], + 'image_filename': 'PS_PA438_WHITE.png.avif' + }, ] for product_data in products: diff --git a/shop/static/shop/images/products/PC008/blanc/PS_PA439_WHITE.png.avif b/shop/static/shop/images/products/PC008/blanc/PS_PA439_WHITE.png.avif new file mode 100644 index 0000000..73e3202 Binary files /dev/null and b/shop/static/shop/images/products/PC008/blanc/PS_PA439_WHITE.png.avif differ diff --git a/shop/static/shop/images/products/PC008/bleu-sport/PS_PA439_SPORTYNAVY.png.avif b/shop/static/shop/images/products/PC008/bleu-sport/PS_PA439_SPORTYNAVY.png.avif new file mode 100644 index 0000000..5551bb9 Binary files /dev/null and b/shop/static/shop/images/products/PC008/bleu-sport/PS_PA439_SPORTYNAVY.png.avif differ diff --git a/shop/static/shop/images/products/PC008/kaki-fonce/PS_PA439_DARKKHAKI.png.avif b/shop/static/shop/images/products/PC008/kaki-fonce/PS_PA439_DARKKHAKI.png.avif new file mode 100644 index 0000000..534bf6a Binary files /dev/null and b/shop/static/shop/images/products/PC008/kaki-fonce/PS_PA439_DARKKHAKI.png.avif differ diff --git a/shop/static/shop/images/products/PC008/noir/PS_PA439_BLACK.png.avif b/shop/static/shop/images/products/PC008/noir/PS_PA439_BLACK.png.avif new file mode 100644 index 0000000..b5f4943 Binary files /dev/null and b/shop/static/shop/images/products/PC008/noir/PS_PA439_BLACK.png.avif differ diff --git a/shop/static/shop/images/products/PC008/rose-clair/PS_PA439_PALEPINK.png.avif b/shop/static/shop/images/products/PC008/rose-clair/PS_PA439_PALEPINK.png.avif new file mode 100644 index 0000000..e5f4ba2 Binary files /dev/null and b/shop/static/shop/images/products/PC008/rose-clair/PS_PA439_PALEPINK.png.avif differ diff --git a/shop/static/shop/images/products/PC008/sand/PS_PA439_SAND.png.avif b/shop/static/shop/images/products/PC008/sand/PS_PA439_SAND.png.avif new file mode 100644 index 0000000..c9d98e6 Binary files /dev/null and b/shop/static/shop/images/products/PC008/sand/PS_PA439_SAND.png.avif differ diff --git a/shop/static/shop/images/products/PC009/blanc/PS_PA438_WHITE.png.avif b/shop/static/shop/images/products/PC009/blanc/PS_PA438_WHITE.png.avif new file mode 100644 index 0000000..496c0f4 Binary files /dev/null and b/shop/static/shop/images/products/PC009/blanc/PS_PA438_WHITE.png.avif differ diff --git a/shop/static/shop/images/products/PC009/bleu-sport/PS_PA438_SPORTYNAVY.png.avif b/shop/static/shop/images/products/PC009/bleu-sport/PS_PA438_SPORTYNAVY.png.avif new file mode 100644 index 0000000..cc9e8a5 Binary files /dev/null and b/shop/static/shop/images/products/PC009/bleu-sport/PS_PA438_SPORTYNAVY.png.avif differ diff --git a/shop/static/shop/images/products/PC009/noir/PS_PA438_BLACK.png.avif b/shop/static/shop/images/products/PC009/noir/PS_PA438_BLACK.png.avif new file mode 100644 index 0000000..973481f Binary files /dev/null and b/shop/static/shop/images/products/PC009/noir/PS_PA438_BLACK.png.avif differ diff --git a/shop/static/shop/images/products/PC009/olive/PS_PA438_OLIVE.png.avif b/shop/static/shop/images/products/PC009/olive/PS_PA438_OLIVE.png.avif new file mode 100644 index 0000000..33585a4 Binary files /dev/null and b/shop/static/shop/images/products/PC009/olive/PS_PA438_OLIVE.png.avif differ diff --git a/shop/static/shop/images/products/PC009/rose-clair/PS_PA438_PALEPINK.png.avif b/shop/static/shop/images/products/PC009/rose-clair/PS_PA438_PALEPINK.png.avif new file mode 100644 index 0000000..b53cbdc Binary files /dev/null and b/shop/static/shop/images/products/PC009/rose-clair/PS_PA438_PALEPINK.png.avif differ diff --git a/shop/static/shop/images/products/PC009/sand/PS_PA438_SAND.png.avif b/shop/static/shop/images/products/PC009/sand/PS_PA438_SAND.png.avif new file mode 100644 index 0000000..2d73cda Binary files /dev/null and b/shop/static/shop/images/products/PC009/sand/PS_PA438_SAND.png.avif differ diff --git a/shop/templates/shop/partials/navigation_base.html b/shop/templates/shop/partials/navigation_base.html index 3c49543..9f54c1a 100644 --- a/shop/templates/shop/partials/navigation_base.html +++ b/shop/templates/shop/partials/navigation_base.html @@ -1,9 +1,12 @@