From 4db79c5f793e6b30de9ad6e8a04feb9d514c858e Mon Sep 17 00:00:00 2001 From: Alaguraj0361 Date: Sat, 7 Feb 2026 18:19:59 +0530 Subject: [PATCH] Implement initial Dine360 Chennora theme, including shop and product detail page views and styling. --- addons/dine360_theme_chennora/__manifest__.py | 1 + .../static/src/scss/shop.scss | 65 +++++++++++++++++ .../views/product_details_page.xml | 73 +++++++++++++++++++ .../views/shop_page.xml | 26 +++---- 4 files changed, 151 insertions(+), 14 deletions(-) create mode 100644 addons/dine360_theme_chennora/views/product_details_page.xml diff --git a/addons/dine360_theme_chennora/__manifest__.py b/addons/dine360_theme_chennora/__manifest__.py index fa61b8c..1a33c5f 100644 --- a/addons/dine360_theme_chennora/__manifest__.py +++ b/addons/dine360_theme_chennora/__manifest__.py @@ -12,6 +12,7 @@ 'views/contact_page.xml',# Contact Page 'views/faq_page.xml', # FAQ Page 'views/shop_page.xml', # Shop Page + 'views/product_details_page.xml', # Customized Product Details Page 'views/snippets.xml', # Custom Building Blocks 'views/options.xml', # Options for snippets (if any) 'data/website_data.xml', # Data for creating pages diff --git a/addons/dine360_theme_chennora/static/src/scss/shop.scss b/addons/dine360_theme_chennora/static/src/scss/shop.scss index b7b4864..a0cbf83 100644 --- a/addons/dine360_theme_chennora/static/src/scss/shop.scss +++ b/addons/dine360_theme_chennora/static/src/scss/shop.scss @@ -453,4 +453,69 @@ } } } +} + +/* Product Details Page Styling */ +#product_detail { + padding-top: 50px; + + .product-details-wrapper { + .display-5 { + font-weight: 800; + color: var(--food-text); + letter-spacing: -0.5px; + } + + .product-price { + h2 { + color: var(--food-green); + font-family: inherit; + } + } + + .css_quantity { + border: 2px solid #eee !important; + border-radius: 50px !important; + overflow: hidden; + display: inline-flex; + margin-right: 15px; + + .btn { + border: none !important; + background: transparent !important; + padding: 0 15px !important; + color: #333 !important; + + &:hover { + background: #f9f9f9 !important; + } + } + + .quantity { + border: none !important; + max-width: 50px; + text-align: center; + font-weight: bold; + background: transparent !important; + } + } + + #add_to_cart { + background: var(--food-green) !important; + color: white !important; + border: none !important; + border-radius: 50px !important; + padding: 12px 40px !important; + font-weight: 800 !important; + text-transform: uppercase !important; + letter-spacing: 1px !important; + transition: all 0.3s !important; + box-shadow: 0 10px 20px rgba(0, 104, 55, 0.2) !important; + + &:hover { + background: #00502a !important; + transform: translateY(-2px) !important; + } + } + } } \ No newline at end of file diff --git a/addons/dine360_theme_chennora/views/product_details_page.xml b/addons/dine360_theme_chennora/views/product_details_page.xml new file mode 100644 index 0000000..950e788 --- /dev/null +++ b/addons/dine360_theme_chennora/views/product_details_page.xml @@ -0,0 +1,73 @@ + + + + + + + diff --git a/addons/dine360_theme_chennora/views/shop_page.xml b/addons/dine360_theme_chennora/views/shop_page.xml index f8b22be..538060e 100644 --- a/addons/dine360_theme_chennora/views/shop_page.xml +++ b/addons/dine360_theme_chennora/views/shop_page.xml @@ -10,7 +10,7 @@ - +
Categories