@ -0,0 +1,53 @@ |
|||||
|
.. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg |
||||
|
:target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html |
||||
|
:alt: License: LGPL-3 |
||||
|
|
||||
|
Special Product Website Snippet |
||||
|
=============================== |
||||
|
Special Product Website Snippet |
||||
|
|
||||
|
Features |
||||
|
======== |
||||
|
* Users can select Product and Multiple Template for Product from Snippet. |
||||
|
|
||||
|
Configuration |
||||
|
============= |
||||
|
Nothing to configure. |
||||
|
|
||||
|
License |
||||
|
------- |
||||
|
General Public License, Version 3 (LGPL-3). |
||||
|
(https://www.odoo.com/documentation/user/16.0/legal/licenses/licenses.html) |
||||
|
|
||||
|
Company |
||||
|
------- |
||||
|
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Credits |
||||
|
------- |
||||
|
* Developers: (V16) Sruthi Pavithran, |
||||
|
(V17) Farhana Jahan PT, |
||||
|
(V18) Yadhu Krishnan K, |
||||
|
Contact: odoo@cybrosys.com |
||||
|
|
||||
|
Contacts |
||||
|
-------- |
||||
|
* Mail Contact : odoo@cybrosys.com |
||||
|
* Website : https://cybrosys.com |
||||
|
|
||||
|
Bug Tracker |
||||
|
----------- |
||||
|
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. |
||||
|
|
||||
|
Maintainer |
||||
|
========== |
||||
|
.. image:: https://cybrosys.com/images/logo.png |
||||
|
:target: https://cybrosys.com |
||||
|
|
||||
|
This module is maintained by Cybrosys Technologies. |
||||
|
|
||||
|
For support and more information, please visit `Our Website <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Further information |
||||
|
=================== |
||||
|
HTML Description: `<static/description/index.html>`__ |
@ -0,0 +1,22 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import controllers |
@ -0,0 +1,55 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
{ |
||||
|
'name': 'Special Product Website Snippet', |
||||
|
'version': '18.0.1.0.0', |
||||
|
'category': 'Website', |
||||
|
'summary': "Select Product and Multiple Template for Product in " |
||||
|
"Website Snippet", |
||||
|
'description': "This module gives an option to user to select product " |
||||
|
"and multiple template for product in website snippet.", |
||||
|
'author': 'Cybrosys Techno Solutions', |
||||
|
'company': 'Cybrosys Techno Solutions', |
||||
|
'maintainer': 'Cybrosys Techno Solutions', |
||||
|
'website': "https://cybrosys.com/", |
||||
|
'depends': ['sale_management', 'website', 'base', 'stock', 'website_sale'], |
||||
|
'data': [ |
||||
|
'views/special_product_snippet_templates.xml', |
||||
|
'views/product_snippet_templates.xml', |
||||
|
], |
||||
|
'assets': { |
||||
|
'web.assets_frontend': [ |
||||
|
'special_product_snippet/static/src/css/product_snippet.css', |
||||
|
], |
||||
|
'website.assets_wysiwyg': [ |
||||
|
'/special_product_snippet/static/src/js/options.js' |
||||
|
], |
||||
|
'web.assets_backend': [ |
||||
|
'special_product_snippet/static/src/xml/special_product_snippet.xml', |
||||
|
], |
||||
|
}, |
||||
|
'images': ['static/description/banner.jpg'], |
||||
|
'license': 'LGPL-3', |
||||
|
'installable': True, |
||||
|
'auto_install': False, |
||||
|
'application': False, |
||||
|
} |
@ -0,0 +1,22 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import special_product_snippet |
@ -0,0 +1,47 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
import json |
||||
|
from odoo import http |
||||
|
from odoo.http import request |
||||
|
|
||||
|
|
||||
|
class SpecialProduct(http.Controller): |
||||
|
""" Getting product details and passing returning |
||||
|
the values and rendering the templates from js""" |
||||
|
|
||||
|
@http.route('/website/snippet/special/render', type='json', auth='public', |
||||
|
website=True) |
||||
|
def render_template(self, params): |
||||
|
res = json.loads(params) |
||||
|
product = request.env['product.template'].sudo().search_read( |
||||
|
[('id', '=', res['id'])]) |
||||
|
qcontext = {} |
||||
|
for rec in product: |
||||
|
qcontext['display_name'] = rec['display_name'] |
||||
|
qcontext['list_price'] = rec['list_price'] |
||||
|
qcontext['website_url'] = rec['website_url'] |
||||
|
qcontext[ |
||||
|
'image_url'] = '/web/image/product.template/%s/image_1920' % \ |
||||
|
rec['id'] |
||||
|
return { |
||||
|
'qcontext': qcontext |
||||
|
} |
@ -0,0 +1,5 @@ |
|||||
|
## Module <special_product_snippet> |
||||
|
#### 22.01.2024 |
||||
|
#### Version 17.0.1.0.0 |
||||
|
#### ADD |
||||
|
- Initial Commit for Special Product Website Snippet |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 628 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 210 KiB |
After Width: | Height: | Size: 209 KiB |
After Width: | Height: | Size: 109 KiB |
After Width: | Height: | Size: 495 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 624 B |
After Width: | Height: | Size: 136 KiB |
After Width: | Height: | Size: 214 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 929 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 542 B |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 600 B |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 462 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 926 B |
After Width: | Height: | Size: 9.0 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 7.0 KiB |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 800 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 189 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 875 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 767 KiB |
After Width: | Height: | Size: 138 KiB |
After Width: | Height: | Size: 760 KiB |
After Width: | Height: | Size: 92 KiB |
After Width: | Height: | Size: 697 KiB |
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 136 KiB |
After Width: | Height: | Size: 79 KiB |
After Width: | Height: | Size: 75 KiB |
After Width: | Height: | Size: 122 KiB |
After Width: | Height: | Size: 117 KiB |
After Width: | Height: | Size: 73 KiB |
After Width: | Height: | Size: 176 KiB |
After Width: | Height: | Size: 310 KiB |
After Width: | Height: | Size: 880 KiB |
After Width: | Height: | Size: 745 KiB |
After Width: | Height: | Size: 37 KiB |
@ -0,0 +1,956 @@ |
|||||
|
<!DOCTYPE html> |
||||
|
<html lang="en"> |
||||
|
<head> |
||||
|
<meta charset="UTF-8"/> |
||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
||||
|
<title>Special Product Website Snippet</title> |
||||
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" |
||||
|
rel="stylesheet"/> |
||||
|
<link rel="preconnect" href="https://fonts.googleapis.com"> |
||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
||||
|
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" |
||||
|
rel="stylesheet"> |
||||
|
<link rel="stylesheet" |
||||
|
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"/> |
||||
|
<link rel="stylesheet" |
||||
|
href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css"/> |
||||
|
<style> |
||||
|
:root { |
||||
|
--primary-color: #7f54b3; |
||||
|
--bg-white: #fff; |
||||
|
--text-color: #121212; |
||||
|
--text-color-light: #64728f; |
||||
|
} |
||||
|
|
||||
|
body { |
||||
|
font-family: "Montserrat", sans-serif; |
||||
|
} |
||||
|
|
||||
|
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active { |
||||
|
color: #121212; |
||||
|
font-family: Montserrat; |
||||
|
font-size: 16px !important; |
||||
|
font-weight: 500 !important; |
||||
|
border-radius: 30px; |
||||
|
line-height: normal; |
||||
|
text-transform: capitalize; |
||||
|
background-color: #F5F5F5; |
||||
|
border: none; |
||||
|
margin-bottom: 0; |
||||
|
padding: 12px 24px; |
||||
|
} |
||||
|
|
||||
|
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover { |
||||
|
border-color: transparent; |
||||
|
isolation: isolate; |
||||
|
} |
||||
|
|
||||
|
.nav-tabs .nav-link:focus-visible { |
||||
|
border-color: transparent; |
||||
|
box-shadow: none; |
||||
|
} |
||||
|
|
||||
|
/* owl-carosel */ |
||||
|
.owl-carousel .owl-nav { |
||||
|
position: absolute; |
||||
|
top: 42%; |
||||
|
width: 100%; |
||||
|
display: flex; |
||||
|
justify-content: space-between; |
||||
|
transform: translateY(-42%); |
||||
|
} |
||||
|
|
||||
|
.owl-carousel .owl-nav button.owl-prev { |
||||
|
position: absolute; |
||||
|
right: -36px; |
||||
|
font-size: 28px; |
||||
|
background-color: #e4e4e4; |
||||
|
border-radius: 20px; |
||||
|
width: 40px; |
||||
|
height: 40px; |
||||
|
display: flex; |
||||
|
justify-content: center; |
||||
|
align-items: center; |
||||
|
} |
||||
|
|
||||
|
.owl-carousel .owl-nav button.owl-next { |
||||
|
position: absolute; |
||||
|
left: -36px; |
||||
|
font-size: 28px; |
||||
|
background-color: #e4e4e4; |
||||
|
border-radius: 20px; |
||||
|
width: 40px; |
||||
|
height: 40px; |
||||
|
display: flex; |
||||
|
justify-content: center; |
||||
|
align-items: center; |
||||
|
|
||||
|
} |
||||
|
|
||||
|
</style> |
||||
|
</head> |
||||
|
<body> |
||||
|
<!-- overview --> |
||||
|
<div class="container"> |
||||
|
<div class="my-5"> |
||||
|
<!-- button tab --> |
||||
|
<!-- --> |
||||
|
<!-- version support --> |
||||
|
<div class="my-3 d-flex align-items-center justify-content-end"> |
||||
|
<div class="text-center" |
||||
|
style="background-color:#017E84 !important; font-size:0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width:120px !important"> |
||||
|
Community |
||||
|
</div> |
||||
|
<div class="text-center" |
||||
|
style="background-color:#875A7B !important; color:#fff !important; font-size:0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width:120px !important"> |
||||
|
Enterprise |
||||
|
</div> |
||||
|
<div class="text-center" |
||||
|
style="background-color:#7C7BAD !important; color:#fff !important; font-size:0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width:120px !important"> |
||||
|
Odoo.sh |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="tab-content" id="myTabContent"> |
||||
|
<!-- description --> |
||||
|
<div class="tab-pane fade show active" id="home" role="tabpanel" |
||||
|
aria-labelledby="home-tab"> |
||||
|
<div class="position-relative" |
||||
|
style="border-radius: 16px; background: #f8f8f8; padding: 20px 0;"> |
||||
|
<div class="row " style=" |
||||
|
padding: 2rem 0rem 0 !important; |
||||
|
"> |
||||
|
<div class="col-lg-8 mx-auto gap-4 d-flex flex-column align-items-center"> |
||||
|
<p class="my-1 text-center text-uppercase" |
||||
|
style=" |
||||
|
letter-spacing: 4px !important; |
||||
|
color: #7f54b3; |
||||
|
font-weight: bold; |
||||
|
text-align: center; |
||||
|
font-size: 14px; |
||||
|
font-weight: 600; |
||||
|
line-height: 15.96px; |
||||
|
text-transform: uppercase; |
||||
|
"> |
||||
|
Special Product Snippet for Website. |
||||
|
</p> |
||||
|
<h1 class="text-center text-uppercase my-0" |
||||
|
style=" |
||||
|
color: #121212; |
||||
|
font-size: 46px; |
||||
|
font-weight: 700; |
||||
|
line-height: normal; |
||||
|
">Special Product Website Snippet</span> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<div class="col-lg-12 d-flex justify-content-center align-items-center" |
||||
|
style="margin: 3rem 0;"> |
||||
|
<img src="./assets/icons/brand-pair.svg" |
||||
|
width="100%" |
||||
|
height="auto" |
||||
|
style="width: 50%" |
||||
|
class="img-responsive"/> |
||||
|
</div> |
||||
|
<div class="col-md-12 text-center"> |
||||
|
<a href="mailto:odoo@cybrosys.com" |
||||
|
target="_blank" |
||||
|
style="background-color: transparent;border-radius: 35px; |
||||
|
font-family: Montserrat; |
||||
|
display: inline-block; |
||||
|
padding: 7px 33px; |
||||
|
border: 1px solid #7f54b3; |
||||
|
color: #7f54b3; |
||||
|
text-decoration: none; |
||||
|
" |
||||
|
class="mx-1 mb-2 deep-1 deep_hover"> |
||||
|
<img class="img" |
||||
|
style="width: 24px" |
||||
|
src="./assets/icons/mail.svg"/> |
||||
|
<span class="pl-2" |
||||
|
style=" font-size: 16px; vertical-align: middle" |
||||
|
>Email Us</span |
||||
|
> |
||||
|
</a> |
||||
|
<a href="skype:cybroopenerp?chat" |
||||
|
target="_blank" |
||||
|
style=" |
||||
|
background-color: #7f289b; |
||||
|
font-family: Montserrat; |
||||
|
display: inline-block; |
||||
|
padding: 7px 33px; |
||||
|
border: 1px solid #7f289b; |
||||
|
border-radius: 35px; |
||||
|
text-decoration: none; |
||||
|
" |
||||
|
class="mx-1 mb-2 deep-1 deep_hover"> |
||||
|
<img |
||||
|
class="img" |
||||
|
style="width: 24px" |
||||
|
src="./assets/icons/skype-fill.svg" |
||||
|
/> |
||||
|
<span |
||||
|
class="pl-2" |
||||
|
style="color: #fff; font-size: 16px; vertical-align: middle" |
||||
|
>Skype Us</span |
||||
|
> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="d-flex justify-content-center mt-2"> |
||||
|
<img src="./assets/screenshots/hero.gif" |
||||
|
class="w-100" |
||||
|
style="z-index: 3; height: auto;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="position-absolute bottom-0" |
||||
|
style="z-index: 1; width: 100%;"> |
||||
|
<img src="./assets/icons/banner-bg.svg" |
||||
|
class="img-fluid w-100"> |
||||
|
</div> |
||||
|
<div class="position-absolute bottom-0 end-0" |
||||
|
style=" z-index: 2;"> |
||||
|
<img src="./assets/icons/patter.svg"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- key-highlight --> |
||||
|
<div class="" style="border-radius: 16px; |
||||
|
padding: 60px 40px; |
||||
|
border: 1px solid #EBEEF2; |
||||
|
background: #F5F5F7; |
||||
|
box-shadow: 0px 5px 20px -11px rgba(0, 0, 0, 0.25); "> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> |
||||
|
<h2 style=" color: #121212; |
||||
|
text-align: center; |
||||
|
font-size: 40px; |
||||
|
font-weight: 700; |
||||
|
text-transform: uppercase; padding-bottom: 50px;">Key |
||||
|
Highlights</h2> |
||||
|
</div> |
||||
|
<div class="col-lg-4"> |
||||
|
<div class="mb-4 d-flex flex-column justify-content-center gap-3" |
||||
|
style="border-radius: 12px; border: 1px solid #B6BCCD; |
||||
|
background: #FFF;padding:32px "> |
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#7847D9 !important; border-radius:8px !important; height:42px; width:42px"> |
||||
|
<img src="./assets/icons/feature-icon.svg" |
||||
|
class="img-responsive" height="26px" |
||||
|
width="26px"> |
||||
|
</div> |
||||
|
<h5 class="m-0" |
||||
|
style="color:#000 !important; font-weight:bold"> |
||||
|
Add Special Snippet in Website |
||||
|
</h5> |
||||
|
<p class="m-0" |
||||
|
style="font-size:0.9rem; color:#64728f; font-size: 16px; font-weight: 400;"> |
||||
|
Users can select Product and Multiple |
||||
|
Template for Product from Snippet.</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!--code --> |
||||
|
<div class="my-5"> |
||||
|
<div class="position-relative" |
||||
|
style=" padding: 5rem 4rem 5rem 4rem; background-color: #0A1425; border-radius: 12px;"> |
||||
|
<div class="d-flex flex-column gap-4"> |
||||
|
<span class="wrapper-subtitle" |
||||
|
style="font-size: 40px; font-weight: 700; color: #fff;line-height: 60px; text-transform: capitalize; width: 450px; font-family: Montserrat;">Automatic Database Backup</span> |
||||
|
<h3 class="wrapper-details" |
||||
|
style="font-size: 20px; font-weight: 400; color: #fff; line-height: 32px; "> |
||||
|
Are you ready to make your business more |
||||
|
organized? |
||||
|
<br> Improve now! |
||||
|
</h3> |
||||
|
<div class="d-flex gap-3"> |
||||
|
<a href="mailto:odoo@cybrosys.com" |
||||
|
class="shop-btn" style="cursor: pointer; border-radius: 16px; display: flex; justify-content: center; align-items: center; gap: 7px; |
||||
|
border: 1px solid #ffffff33; |
||||
|
background-color: #ffffff14; |
||||
|
backdrop-filter: blur(10px); color: #fff; padding: 12px 16px 12px 16px; text-decoration: none;"> |
||||
|
<span style="border-radius: 12px; |
||||
|
background-color: #ffffff1a; |
||||
|
backdrop-filter: blur(6px);padding: 12px; "> |
||||
|
<img src="./assets/icons/banner-mail.svg"> |
||||
|
</span> |
||||
|
<span style="font-weight: 500;font-family: Montserrat;">odoo@cybrosys.com</span> |
||||
|
</a> |
||||
|
<a href="tel:+91 9074270811" class="shop-btn" |
||||
|
style="cursor: pointer; border-radius: 16px; display: flex; justify-content: center; align-items: center; gap: 7px; |
||||
|
border: 1px solid #ffffff33; |
||||
|
background-color: #ffffff14; |
||||
|
backdrop-filter: blur(10px); color: #fff; padding: 12px 22px 12px 18px; text-decoration: none;"> |
||||
|
<span style="border-radius: 12px; |
||||
|
background-color: #ffffff1a; |
||||
|
backdrop-filter: blur(6px);padding: 12px;"> |
||||
|
<img src="./assets/icons/banner-call.svg"> |
||||
|
</span> |
||||
|
<span style="font-weight: 500;font-family: Montserrat;">+91 9074270811</span> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="position-absolute bottom-0 end-0"> |
||||
|
<img src="./assets/icons/banner-pattern.svg" |
||||
|
style="width: 540px;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- end-code --> |
||||
|
<!-- --> |
||||
|
<!-- screenshot and other --> |
||||
|
|
||||
|
<div class="mb-4 bg-white" |
||||
|
style=" border: 1px solid #EBEEF2; border-radius: 6px; box-shadow: 0px 8px 20px -4px rgba(0, 0, 0, 0.10); border: 1px solid #EBEEF2;"> |
||||
|
<div> |
||||
|
<ul class="nav nav-tabs justify-content-center bg-white py-2" |
||||
|
id="myTab" role="tablist" |
||||
|
style="border-radius: 6px 6px 0 0;"> |
||||
|
<li class="nav-item"> |
||||
|
<a aria-controls="overview" |
||||
|
aria-bs-selected="true" |
||||
|
class="nav-link active" data-bs-toggle="tab" |
||||
|
href="#overview" id="overview-tab" role="tab" |
||||
|
style="color:#121212; font-weight:500; font-size:16px"> |
||||
|
Screenshots</a> |
||||
|
</li> |
||||
|
<li class="nav-item"> |
||||
|
<a aria-controls="feature" |
||||
|
aria-bs-selected="false" |
||||
|
class="nav-link py-2" data-bs-toggle="tab" |
||||
|
href="#feature" id="feature-tab" role="tab" |
||||
|
style="color:#121212; font-weight:500; font-size:16px">Features</a> |
||||
|
</li> |
||||
|
<li class="nav-item"> |
||||
|
<a aria-controls="faq" aria-bs-selected="false" |
||||
|
class="nav-link" data-bs-toggle="tab" |
||||
|
href="#faq" id="faq-tab" role="tab" |
||||
|
style="color:#121212; font-weight:500; font-size:16px"> |
||||
|
FAQs</a> |
||||
|
</li> |
||||
|
<li class="nav-item"> |
||||
|
<a aria-controls="releases" |
||||
|
aria-bs-selected="false" class="nav-link" |
||||
|
data-bs-toggle="tab" href="#releases" |
||||
|
id="releases-tab" role="tab" |
||||
|
style="color:#121212; font-weight:500; font-size:16px">Releases</a> |
||||
|
</li> |
||||
|
</ul> |
||||
|
</div> |
||||
|
<div class="tab-content p-md-5 p-2 py-3" id="myTabContent"> |
||||
|
<div aria-labelledby="overview-tab" |
||||
|
class="tab-pane fade show active" id="overview" |
||||
|
role="tabpanel"> |
||||
|
<div class="position-relative mb-4" |
||||
|
style="border-radius:10px"> |
||||
|
<img alt="acc_bg" |
||||
|
class="w-100 h-100 position-absolute img-fluid left_0" |
||||
|
loading="lazy" |
||||
|
src="//apps.odoocdn.com/apps/assets/17.0/ks_dashboard_ninja/ai-img/o3.png?007008f" |
||||
|
style=""> |
||||
|
</div> |
||||
|
<!-- screenshots section--> |
||||
|
<div class="position-relative mb-4" |
||||
|
style="border-radius:10px; background-color:#f4f4f4"> |
||||
|
<div class="p-md-5 p-3 position-relative"> |
||||
|
<div class="row"> |
||||
|
<div class="col-md-12"> |
||||
|
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
||||
|
font-weight: 700;"> |
||||
|
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Drag and Drop the |
||||
|
</span> |
||||
|
<span style="color: var(--primary-color); font-size:calc(1.1rem + 1vw)"> Snippet </span> |
||||
|
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">in Website. |
||||
|
</span> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<div class="col-md-12 text-center"> |
||||
|
<div class="d-inline-block p-3 shadow-sm" |
||||
|
style="background-color:#fff; border-radius:10px"> |
||||
|
<img alt="" class="img-fluid" |
||||
|
loading="lazy" |
||||
|
src="./assets/screenshots/S1.png" |
||||
|
style="min-height: 1px;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="position-relative mb-4" |
||||
|
style="border-radius:10px; background-color:#f4f4f4"> |
||||
|
<div class="p-md-5 p-3 position-relative"> |
||||
|
<div class="row"> |
||||
|
<div class="col-md-12"> |
||||
|
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
||||
|
font-weight: 700;"> |
||||
|
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">User can add Product and Choose Product Template from that Snippet.</span> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<div class="col-md-12 text-center"> |
||||
|
<div class="d-inline-block p-3 shadow-sm" |
||||
|
style="background-color:#fff; border-radius:10px"> |
||||
|
<img alt="" class="img-fluid" |
||||
|
loading="lazy" |
||||
|
src="./assets/screenshots/S2.png" |
||||
|
style="min-height: 1px;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="position-relative mb-4" |
||||
|
style="border-radius:10px; background-color:#f4f4f4"> |
||||
|
<div class="p-md-5 p-3 position-relative"> |
||||
|
<div class="row"> |
||||
|
<div class="col-md-12"> |
||||
|
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
||||
|
font-weight: 700;"> |
||||
|
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">First Template.</span> |
||||
|
|
||||
|
</h1> |
||||
|
</div> |
||||
|
<div class="col-md-12 text-center"> |
||||
|
<div class="d-inline-block p-3 shadow-sm" |
||||
|
style="background-color:#fff; border-radius:10px"> |
||||
|
<img alt="" class="img-fluid" |
||||
|
loading="lazy" |
||||
|
src="./assets/screenshots/S3.png" |
||||
|
style="min-height: 1px;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="position-relative mb-4" |
||||
|
style="border-radius:10px; background-color:#f4f4f4"> |
||||
|
<div class="p-md-5 p-3 position-relative"> |
||||
|
<div class="row"> |
||||
|
<div class="col-md-12"> |
||||
|
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
||||
|
font-weight: 700;"> |
||||
|
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Second Template.</span> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<div class="col-md-12 text-center"> |
||||
|
<div class="d-inline-block p-3 shadow-sm" |
||||
|
style="background-color:#fff; border-radius:10px"> |
||||
|
<img alt="" class="img-fluid" |
||||
|
loading="lazy" |
||||
|
src="./assets/screenshots/S4.png" |
||||
|
style="min-height: 1px;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="position-relative mb-4" |
||||
|
style="border-radius:10px; background-color:#f4f4f4"> |
||||
|
<div class="p-md-5 p-3 position-relative"> |
||||
|
<div class="row"> |
||||
|
<div class="col-md-12"> |
||||
|
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
||||
|
font-weight: 700;"> |
||||
|
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Third Template.</span> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<div class="col-md-12 text-center"> |
||||
|
<div class="d-inline-block p-3 shadow-sm" |
||||
|
style="background-color:#fff; border-radius:10px"> |
||||
|
<img alt="" class="img-fluid" |
||||
|
loading="lazy" |
||||
|
src="./assets/screenshots/S5.png" |
||||
|
style="min-height: 1px;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="position-relative mb-4" |
||||
|
style="border-radius:10px; background-color:#f4f4f4"> |
||||
|
<div class="p-md-5 p-3 position-relative"> |
||||
|
<div class="row"> |
||||
|
<div class="col-md-12"> |
||||
|
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
||||
|
font-weight: 700;"> |
||||
|
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Fourth Template.</span> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<div class="col-md-12 text-center"> |
||||
|
<div class="d-inline-block p-3 shadow-sm" |
||||
|
style="background-color:#fff; border-radius:10px"> |
||||
|
<img alt="" class="img-fluid" |
||||
|
loading="lazy" |
||||
|
src="./assets/screenshots/S6.png" |
||||
|
style="min-height: 1px;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-md-12 text-center"> |
||||
|
<div class="d-inline-block p-3 shadow-sm" |
||||
|
style="background-color:#fff; border-radius:10px"> |
||||
|
<img alt="" class="img-fluid" |
||||
|
loading="lazy" |
||||
|
src="./assets/screenshots/google3.png" |
||||
|
style="min-height: 1px;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="position-relative mb-4" |
||||
|
style="border-radius:10px; background-color:#f4f4f4"> |
||||
|
<div class="p-md-5 p-3 position-relative"> |
||||
|
<div class="row"> |
||||
|
<div class="col-md-12"> |
||||
|
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
||||
|
font-weight: 700;"> |
||||
|
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">When we click on the 'View' button, redirects to the Shop to view the Product Details.</span> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<div class="col-md-12 text-center"> |
||||
|
<div class="d-inline-block p-3 shadow-sm" |
||||
|
style="background-color:#fff; border-radius:10px"> |
||||
|
<img alt="" class="img-fluid" |
||||
|
loading="lazy" |
||||
|
src="./assets/screenshots/S7.png" |
||||
|
style="min-height: 1px;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div aria-labelledby="feature-tab" |
||||
|
class="tab-pane fade show py-1" id="feature" |
||||
|
role="tabpanel"> |
||||
|
<div class="row py-4"> |
||||
|
<!-- Features Section --> |
||||
|
<div class="col-md-6 col-sm-12 p-3"> |
||||
|
<div class="d-flex flex-column align-items-start h-100" |
||||
|
style="padding:30px; border-radius:12px; background-color:#faf8ff"> |
||||
|
<div class="d-flex align-items-center justify-content-center"> |
||||
|
<div class="d-flex align-items-center justify-content-center " |
||||
|
style="width:36px; height:36px; border-radius:50%; background-color:#7847D9 ; margin-right:10px"> |
||||
|
<i class="fa fa-star " |
||||
|
style="color:#fff; font-size:14px"></i> |
||||
|
</div> |
||||
|
<p style="color:#1A202C; font-weight:600; font-size:1.2rem; margin-bottom:2px"> |
||||
|
Special Product Website Snippet .</p> |
||||
|
</div> |
||||
|
<div class="ms-5"> |
||||
|
<p class="m-0" |
||||
|
style="color:#718096"> |
||||
|
Select Multiple Template and Product |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div aria-labelledby="faq-tab" |
||||
|
class="tab-pane fade show" id="faq" |
||||
|
role="tabpanel"> |
||||
|
<div class="row" |
||||
|
style=" background-color:#fff !important"> |
||||
|
<div class="col-md-12" aria-labelledby="faq-tab" |
||||
|
id="faq" role="tabpanel"> |
||||
|
<div class="accordion mb-4" id="accordion6"> |
||||
|
<div style="background-color:#fff"> |
||||
|
<!-- accordian --> |
||||
|
<div class="accordion" |
||||
|
id="accordion_faq"> |
||||
|
<!-- Question 1 --> |
||||
|
<div class="" |
||||
|
style="margin:1rem 0rem"> |
||||
|
<div aria-expanded="false" |
||||
|
class=" card-header collapsed" |
||||
|
data-bs-toggle="collapse" |
||||
|
data-bs-target="#collapseFAQOne" |
||||
|
href="#collapseFAQOne" |
||||
|
aria-controls="collapseFAQOne" |
||||
|
style="cursor: pointer; background-color:#f8f8f8; border:none; border-top-right-radius:10px; border-top-left-radius:10px; padding: 12px 24px;"> |
||||
|
<a class="card-title text-decoration-none" |
||||
|
style=" font-size:18px; line-height:30px; font-weight:500; color:#040f3a"> |
||||
|
Is any configuration |
||||
|
needed to implement the feature? |
||||
|
<img alt="" |
||||
|
class="float-end" |
||||
|
src="//apps.odoocdn.com/apps/assets/16.0/index_test_odoo/assets/icons/down.svg?6ef7fd7" |
||||
|
width="25px"> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="accordion-collapse collapse" |
||||
|
aria-labelledby="collapseFAQOne" |
||||
|
data-bs-parent="#accordion_faq" |
||||
|
id="collapseFAQOne" |
||||
|
style=" box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px; border: 1px solid #f8f8f8; border-bottom-right-radius:10px; border-bottom-left-radius:10px"> |
||||
|
<p style=" padding:0.75rem 1.25rem; font-size:16px; line-height:27px; color:#888; font-weight:normal; border-bottom-right-radius:10px; border-bottom-left-radius:10px"> |
||||
|
No need any other |
||||
|
configuration, just |
||||
|
install the module. |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
<!-- --> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div aria-labelledby="releases-tab" |
||||
|
class="tab-pane fade show" id="releases" |
||||
|
role="tabpanel"> |
||||
|
<!-- Release Notes --> |
||||
|
<div class="row pt-5 m-0"> |
||||
|
<div class="col-md-3"> |
||||
|
<h4 style="font-size:16px; font-weight:600; color:#514F4F; margin:0; line-height:26px;"> |
||||
|
Latest Release 18.0.1.0.0 |
||||
|
</h4> |
||||
|
<span style="font-size:14px; color:#7A7979; display:block; margin-bottom:20px;"> |
||||
|
30th November, 2024 |
||||
|
</span> |
||||
|
</div> |
||||
|
<div class="col-md-8"> |
||||
|
<div style="padding:0 0 40px"> |
||||
|
<div style="margin:0 0 10px"> |
||||
|
<div style="display:inline-block; padding:0px 8px; color:#514F4F; background-color:#FFD8D8; border-radius:20px"> |
||||
|
Add |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="d-flex m-0" |
||||
|
style="color:#7A7979;"> |
||||
|
<ul class="pl-3 mb-0"> |
||||
|
<li> |
||||
|
Initial Commit |
||||
|
</li> |
||||
|
|
||||
|
</ul> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div style="padding:0 0 0; border-bottom:1px solid #E3E3E3"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- --> |
||||
|
<!-- related post --> |
||||
|
<!-- --> |
||||
|
<section class="oe_container mt32"> |
||||
|
<h2 style="color: #091E42;font-family: "Montserrat";text-align: center;margin: 25px auto;text-transform: uppercase;" |
||||
|
class="oe_slogan"> |
||||
|
<b>Related Products</b> |
||||
|
</h2> |
||||
|
<div id="demo" class="row carousel slide mt64 mb32" |
||||
|
data-bs-ride="carousel"> |
||||
|
<!-- The slideshow --> |
||||
|
<div class="carousel-inner"> |
||||
|
<div class="carousel-item active"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float: left; padding: 10px;"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/18.0/base_accounting_kit" |
||||
|
target="_blank" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border-radius: 6px; padding: 16px; border: 1px solid #cbcbcb;" |
||||
|
class="shadow-sm"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style=" max-width: 100%;" |
||||
|
src="./assets/modules/1.jpg"/> |
||||
|
<h4 class="mt0 text-truncate" |
||||
|
style="text-align:center;width:100% margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px"> |
||||
|
Odoo 18 Full Accounting Kit</h4> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float: left; padding: 10px;"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/18.0/ohrms_core" |
||||
|
target="_blank" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border-radius: 6px; padding: 16px; border: 1px solid #cbcbcb;" |
||||
|
class="shadow-sm"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style=" max-width: 100%;" |
||||
|
src="./assets/modules/2.jpg"/> |
||||
|
<h4 class="mt0 text-truncate" |
||||
|
style="text-align:center;width:100% margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px"> |
||||
|
Open HRMS Core</h4> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float: left; padding: 10px;"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/18.0/woo_commerce" |
||||
|
target="_blank" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border-radius: 6px;padding: 16px; border: 1px solid #cbcbcb;" |
||||
|
class="shadow-sm"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style=" max-width: 100%;" |
||||
|
src="./assets/modules/3.jpg"/> |
||||
|
<h4 class="mt0 text-truncate" |
||||
|
style="text-align:center;width:100% margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px"> |
||||
|
Odoo WooCommerce Connector </h4> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="carousel-item"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float: left; padding: 10px;"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/18.0/dynamic_accounts_report" |
||||
|
target="_blank" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border-radius: 6px; padding: 16px; border: 1px solid #cbcbcb;" |
||||
|
class="shadow-sm"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style=" max-width: 100%;" |
||||
|
src="./assets/modules/4.png"/> |
||||
|
<h4 class="mt0 text-truncate" |
||||
|
style="text-align:center;width:100% margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px"> |
||||
|
Odoo18 Dynamic Accounting |
||||
|
Reports</h4> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float: left; padding: 10px;"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/18.0/hide_menu_user" |
||||
|
target="_blank" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border-radius: 6px; padding: 16px; border: 1px solid #cbcbcb;" |
||||
|
class="shadow-sm"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style=" max-width: 100%;" |
||||
|
src="./assets/modules/5.jpg"/> |
||||
|
<h4 class="mt0 text-truncate" |
||||
|
style="text-align:center;width:100% margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px"> |
||||
|
Hide Any Menu User Wise</h4> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float: left; padding: 10px;"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/18.0/odoo_dynamic_dashboard" |
||||
|
target="_blank" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border-radius: 6px; padding: 16px; border: 1px solid #cbcbcb;" |
||||
|
class="shadow-sm"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style=" max-width: 100%;" |
||||
|
src="./assets/modules/6.gif"/> |
||||
|
<h4 class="mt0 text-truncate" |
||||
|
style="text-align:center;width:100% margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px"> |
||||
|
Odoo Dynamic Dashboard</h4> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Left and right controls --> |
||||
|
<a class="carousel-control-prev" href="#demo" |
||||
|
data-bs-slide="prev" |
||||
|
style="margin-left: -30px;width: 35px;color: #000;"> |
||||
|
<span class="carousel-control-prev-icon"> |
||||
|
<i class="fa fa-chevron-left" style="font-size:24px"></i> |
||||
|
</span> |
||||
|
</a> |
||||
|
<a class="carousel-control-next" href="#demo" |
||||
|
data-bs-slide="next" |
||||
|
style="margin-right: -30px;width: 35px;color: #000;"> |
||||
|
<span class="carousel-control-next-icon"> |
||||
|
<i class="fa fa-chevron-right" style="font-size:24px"></i> |
||||
|
</span> |
||||
|
</a> |
||||
|
</div> |
||||
|
</section> |
||||
|
<!-- service-section --> |
||||
|
|
||||
|
<section id="services" class="mt-5" style="border-radius: 16px; |
||||
|
border: 1px solid #EBEEF2; |
||||
|
background: var(--Neutral-N0, #FFF); |
||||
|
padding: 60px 40px; |
||||
|
box-shadow: 0px 5px 20px -11px rgba(0, 0, 0, 0.25);"> |
||||
|
<div class="text-center mt-4"><h3 class="mb-0" style="color: #000; |
||||
|
text-align: center; |
||||
|
font-family: Montserrat; |
||||
|
font-size: 40px; |
||||
|
font-style: normal; |
||||
|
font-weight: 700; |
||||
|
line-height: normal; |
||||
|
text-transform: uppercase; |
||||
|
padding-bottom: 50px;"> |
||||
|
Our Services</h3></div> |
||||
|
<div class="row mt-3"> |
||||
|
<div class="col-lg-3 col-sm-12 mb-3"> |
||||
|
<a href="#" style="text-decoration:none"> |
||||
|
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
||||
|
style="font-size:25px; font-weight:bold;background-color:#FFE2E5; margin:auto; gap: 16px; border-radius: 8px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#FA5A7D; border-radius:50%; height:56px; width:56px"> |
||||
|
<img src="./assets/icons/gear.svg" |
||||
|
class="img-responsive" |
||||
|
height="28px" width="28px"> |
||||
|
</div> |
||||
|
<span style="font-size: 18px; |
||||
|
color: var(--text-color); |
||||
|
font-weight: 600;"> Odoo Customization</span> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-lg-3 col-sm-12 mb-3"> |
||||
|
<a href="#" style="text-decoration:none"> |
||||
|
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
||||
|
style="font-size:25px; font-weight:bold;background-color:#FFF4DE; margin:auto; gap: 16px; border-radius: 8px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#FF947A; border-radius:50%; height:56px; width:56px"> |
||||
|
<img src="./assets/icons/wrench-icon.svg" |
||||
|
class="img-responsive" |
||||
|
height="28px" width="28px"> |
||||
|
</div> |
||||
|
<span style="font-size: 18px; |
||||
|
color: var(--text-color); |
||||
|
font-weight: 600;"> Odoo Implementation</span> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-lg-3 col-sm-12 mb-3"> |
||||
|
<a href="#" style="text-decoration:none"> |
||||
|
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
||||
|
style="font-size:25px; font-weight:bold;background-color:#DCFCE7; margin:auto; gap: 16px; border-radius: 8px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#3CD856; border-radius:50%; height:56px; width:56px"> |
||||
|
<img src="./assets/icons/life-ring-icon.svg" |
||||
|
class="img-responsive" |
||||
|
height="28px" width="28px"> |
||||
|
</div> |
||||
|
<span style="font-size: 18px; |
||||
|
color: var(--text-color); |
||||
|
font-weight: 600;">Odoo Support</span> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-lg-3 col-sm-12 mb-3"> |
||||
|
<a href="#" style="text-decoration:none"> |
||||
|
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
||||
|
style="font-size:25px; font-weight:bold;background-color:#F3E8FF; margin:auto; gap: 16px; border-radius: 8px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#BF83FF; border-radius:50%; height:56px; width:56px"> |
||||
|
<img src="./assets/icons/arrows-repeat.svg" |
||||
|
class="img-responsive" |
||||
|
height="28px" width="28px"> |
||||
|
</div> |
||||
|
<span style="font-size: 18px; |
||||
|
color: var(--text-color); |
||||
|
font-weight: 600;">Odoo Migration</span> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-lg-3 col-sm-12 mb-3"> |
||||
|
<a href="#" style="text-decoration:none"> |
||||
|
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
||||
|
style="font-size:25px; font-weight:bold;background-color:#F1F9FF; margin:auto; gap: 16px; border-radius: 8px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#01649C; border-radius:50%; height:56px; width:56px"> |
||||
|
<img src="./assets/icons/puzzle-piece-icon.svg" |
||||
|
class="img-responsive" |
||||
|
height="28px" width="28px"> |
||||
|
</div> |
||||
|
<span style="font-size: 18px; |
||||
|
color: var(--text-color); |
||||
|
font-weight: 600;">Odoo integration</span> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-lg-3 col-sm-12 mb-3"> |
||||
|
<a href="#" style="text-decoration:none"> |
||||
|
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
||||
|
style="font-size:25px; font-weight:bold;background-color:#EDF8ED; margin:auto; gap: 16px; border-radius: 8px;"> |
||||
|
|
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#69CC70; border-radius:50%; height:56px; width:56px"> |
||||
|
<img src="./assets/icons/odoo-consultancy.svg" |
||||
|
class="img-responsive" |
||||
|
height="28px" width="28px"> |
||||
|
</div> |
||||
|
<span style="font-size: 18px; |
||||
|
color: var(--text-color); |
||||
|
font-weight: 600;">Odoo Consultancy</span> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-lg-3 col-sm-12 mb-3"> |
||||
|
<a href="#" style="text-decoration:none"> |
||||
|
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
||||
|
style="font-size:25px; font-weight:bold;background-color:#F1F6FF; margin:auto; gap: 16px; border-radius: 8px;"> |
||||
|
|
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#2E4556; border-radius:50%; height:56px; width:56px"> |
||||
|
<img src="./assets/icons/odoo-licencing.svg" |
||||
|
class="img-responsive" |
||||
|
height="28px" width="28px"> |
||||
|
</div> |
||||
|
<span style="font-size: 18px; |
||||
|
color: var(--text-color); |
||||
|
font-weight: 600;">Odoo Licensing</span> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-lg-3 col-sm-12 mb-3"> |
||||
|
<a href="#" style="text-decoration:none"> |
||||
|
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
||||
|
style="font-size:25px; font-weight:bold;background-color:#FAF6EA; margin:auto; gap: 16px; border-radius: 8px;"> |
||||
|
|
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#FCD12C; border-radius:50%; height:56px; width:56px"> |
||||
|
<img src="./assets/icons/hire-odoo.svg" |
||||
|
class="img-responsive" |
||||
|
height="28px" width="28px"> |
||||
|
</div> |
||||
|
<span style="font-size: 18px; |
||||
|
color: var(--text-color); |
||||
|
font-weight: 600;">Hire Odoo Developer</span> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- licence --> |
||||
|
<div class="tab-pane fade" id="profile" role="tabpanel" |
||||
|
aria-labelledby="profile-tab"> |
||||
|
<div class="px-5"> |
||||
|
.... |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- --> |
||||
|
</div> |
||||
|
</section> |
||||
|
<!-- --> |
||||
|
</div> |
||||
|
</div> |
||||
|
</body> |
||||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"></script> |
||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" |
||||
|
integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" |
||||
|
crossorigin="anonymous" referrerpolicy="no-referrer"></script> |
||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script> |
||||
|
<script> |
||||
|
$('.owl-carousel').owlCarousel({ |
||||
|
rtl: true, |
||||
|
loop: true, |
||||
|
margin: 10, |
||||
|
nav: true, |
||||
|
responsive: { |
||||
|
0: { |
||||
|
items: 1 |
||||
|
}, |
||||
|
600: { |
||||
|
items: 3 |
||||
|
}, |
||||
|
1000: { |
||||
|
items: 3 |
||||
|
} |
||||
|
} |
||||
|
}) |
||||
|
</script> |
||||
|
</html> |
@ -0,0 +1,181 @@ |
|||||
|
.first-product-page { |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
justify-content: center; |
||||
|
height: 100vh; |
||||
|
background-color: #f4f4f4; |
||||
|
} |
||||
|
.product-image { |
||||
|
width: 300px; |
||||
|
height: 300px; |
||||
|
object-fit: cover; |
||||
|
margin-right: 10px; |
||||
|
border-radius: 50px; |
||||
|
margin-top: 40px; |
||||
|
} |
||||
|
.second-product-image { |
||||
|
width: 300px; |
||||
|
height: 300px; |
||||
|
object-fit: cover; |
||||
|
border-radius: 0px; |
||||
|
} |
||||
|
.product-details { |
||||
|
display: flex; |
||||
|
flex-direction: column; |
||||
|
align-items: center; |
||||
|
text-align: center; |
||||
|
} |
||||
|
.second-product-details { |
||||
|
display: flex; |
||||
|
flex-direction: column; |
||||
|
align-items: center; |
||||
|
text-align: center; |
||||
|
} |
||||
|
.product-name { |
||||
|
font-size: 30px; |
||||
|
font-weight: bold; |
||||
|
color: #333; |
||||
|
margin-top: 100px; |
||||
|
} |
||||
|
.second-product-name { |
||||
|
font-size: 30px; |
||||
|
font-weight: bold; |
||||
|
color: #333; |
||||
|
margin-top: 40px; |
||||
|
margin-left: 90px; |
||||
|
} |
||||
|
.product-description { |
||||
|
font-size: 22px; |
||||
|
color: #888; |
||||
|
margin-top: 40px; |
||||
|
max-width: 700px; |
||||
|
} |
||||
|
.product-price { |
||||
|
font-size: 24px; |
||||
|
color: #ff5252; |
||||
|
margin-top: 10px; |
||||
|
} |
||||
|
.second-product-price { |
||||
|
font-size: 30px; |
||||
|
color: #ff5252; |
||||
|
margin-top: 5px; |
||||
|
font-style: italic; |
||||
|
margin-left: 75px; |
||||
|
} |
||||
|
.third-product-price { |
||||
|
color: grey; |
||||
|
font-size: 22px; |
||||
|
} |
||||
|
.cta-button { |
||||
|
margin-top: 40px; |
||||
|
padding: 20px 40px; |
||||
|
background-color: #ff5252; |
||||
|
color: #fff; |
||||
|
border: none; |
||||
|
border-radius: 100px; |
||||
|
font-size: 22px; |
||||
|
font-weight: bold; |
||||
|
cursor: pointer; |
||||
|
} |
||||
|
.cta-button:hover { |
||||
|
background-color: #e63939; |
||||
|
} |
||||
|
.cta-button2 { |
||||
|
padding: 20px 40px; |
||||
|
background-color: #ff5252; |
||||
|
color: #fff; |
||||
|
border: none; |
||||
|
border-radius: 100px; |
||||
|
font-size: 22px; |
||||
|
font-weight: bold; |
||||
|
cursor: pointer; |
||||
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2); |
||||
|
margin-left: 60px; |
||||
|
} |
||||
|
.cta-button:hover2 { |
||||
|
background-color: #e63939; |
||||
|
} |
||||
|
body { |
||||
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; |
||||
|
} |
||||
|
.third-product-page { |
||||
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); |
||||
|
max-width: 300px; |
||||
|
margin: auto; |
||||
|
text-align: center; |
||||
|
font-family: arial; |
||||
|
} |
||||
|
.third-product-name { |
||||
|
font-size: 24px; |
||||
|
} |
||||
|
.third-product-image { |
||||
|
width: 300px; |
||||
|
} |
||||
|
.third-cta-button { |
||||
|
padding: 20px 40px; |
||||
|
background-color: #ff5252; |
||||
|
color: #fff; |
||||
|
border: none; |
||||
|
border-radius: 100px; |
||||
|
font-size: 22px; |
||||
|
font-weight: bold; |
||||
|
cursor: pointer; |
||||
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2); |
||||
|
} |
||||
|
.fourth-cta-button { |
||||
|
border: none; |
||||
|
outline: 0; |
||||
|
padding: 12px; |
||||
|
color: white; |
||||
|
background-color: #ff5252; |
||||
|
text-align: center; |
||||
|
cursor: pointer; |
||||
|
width: 100%; |
||||
|
font-size: 18px; |
||||
|
} |
||||
|
.cta-button:hover3 { |
||||
|
background-color: #e63939; |
||||
|
} |
||||
|
.s_special_products_options { |
||||
|
border: 1px solid #EAEAEA; |
||||
|
padding: 20px; |
||||
|
} |
||||
|
.fourth-product-image { |
||||
|
width: 400px; |
||||
|
border: 1px solid black; |
||||
|
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); |
||||
|
animation: slide-in 1s ease-in-out; |
||||
|
} |
||||
|
@keyframes slide-in { |
||||
|
0% { |
||||
|
transform: translateX(-100%); |
||||
|
opacity: 0; |
||||
|
} |
||||
|
100% { |
||||
|
transform: translateX(0); |
||||
|
opacity: 1; |
||||
|
} |
||||
|
} |
||||
|
.fourth-product-details { |
||||
|
display: flex; |
||||
|
flex-direction: column; |
||||
|
align-items: center; |
||||
|
} |
||||
|
.fourth-product-price { |
||||
|
font-size: 20px; |
||||
|
font-weight: bold; |
||||
|
color: black; |
||||
|
margin-bottom: 10px; |
||||
|
} |
||||
|
.fourth-view-button { |
||||
|
padding: 10px 30px; |
||||
|
background-color: #ff5252; |
||||
|
color: #fff; |
||||
|
border: none; |
||||
|
border-radius: 100px; |
||||
|
font-size: 22px; |
||||
|
font-weight: bold; |
||||
|
cursor: pointer; |
||||
|
box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 20%); |
||||
|
} |
||||
|
} |
After Width: | Height: | Size: 2.3 KiB |
@ -0,0 +1,94 @@ |
|||||
|
/** @odoo-module **/ |
||||
|
var globalVariable; |
||||
|
import { rpc } from "@web/core/network/rpc"; |
||||
|
import options from "@web_editor/js/editor/snippets.options"; |
||||
|
import { renderToFragment } from "@web/core/utils/render"; |
||||
|
const Many2oneSpecialWidget = options.userValueWidgetsRegistry['we-many2one']; |
||||
|
options.registry.SpecialProduct = options.registry.SelectTemplate.extend({ |
||||
|
/** |
||||
|
* @constructor |
||||
|
*/ |
||||
|
init() { |
||||
|
this._super(...arguments); |
||||
|
this.containerSelector = ''; |
||||
|
this.selectTemplateWidgetName = 'special_product_snippet'; |
||||
|
this.orm = this.bindService("orm"); |
||||
|
}, |
||||
|
async selectTemplate(previewMode, widgetValue, params) { |
||||
|
var self = this; |
||||
|
if (globalVariable) { |
||||
|
await this._templatesLoading; |
||||
|
// Call the controller method with parameters
|
||||
|
const response = await rpc("/website/snippet/special/render", { |
||||
|
'template': widgetValue, |
||||
|
'params': globalVariable |
||||
|
}); |
||||
|
if (previewMode === 'reset') { |
||||
|
if (!this.beforePreviewNodes) { |
||||
|
// FIXME should not be necessary: only needed because we have a
|
||||
|
// strange 'reset' sent after a non-preview
|
||||
|
return; |
||||
|
} |
||||
|
// Empty the container and restore the original content
|
||||
|
while (this.containerEl.lastChild) { |
||||
|
this.containerEl.removeChild(this.containerEl.lastChild); |
||||
|
} |
||||
|
for (const node of this.beforePreviewNodes) { |
||||
|
this.containerEl.appendChild(node); |
||||
|
} |
||||
|
this.beforePreviewNodes = null; |
||||
|
return; |
||||
|
} |
||||
|
if (!this.beforePreviewNodes) { |
||||
|
// We are about the apply a template on non-previewed content,
|
||||
|
// save that content's nodes.
|
||||
|
this.beforePreviewNodes = [...this.containerEl.childNodes]; |
||||
|
} |
||||
|
// Empty the container and add the template content
|
||||
|
while (this.containerEl.lastChild) { |
||||
|
this.containerEl.removeChild(this.containerEl.lastChild); |
||||
|
} |
||||
|
const temp = renderToFragment(widgetValue, response); |
||||
|
this.$target.append(temp) |
||||
|
if (!previewMode) { |
||||
|
// The original content to keep saved has to be retrieved just
|
||||
|
// before the preview (if we save it now, we might miss other items
|
||||
|
// added by other options or custo).
|
||||
|
this.beforePreviewNodes = null; |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
}); |
||||
|
// getting product from Many2one widget and setting the value in a global
|
||||
|
// variable and passing to python and fetching data
|
||||
|
const SpecialProductSnippetProduct = Many2oneSpecialWidget.include({ |
||||
|
init(parent, title, options, $target) { |
||||
|
return this._super(...arguments); |
||||
|
}, |
||||
|
_onUserValueNotification(ev) { |
||||
|
const { |
||||
|
widget |
||||
|
} = ev.data; |
||||
|
globalVariable = widget._methodsParams.recordData |
||||
|
if (widget && widget === this.createInput) { |
||||
|
ev.stopPropagation(); |
||||
|
return; |
||||
|
} |
||||
|
if (widget && widget === this.createButton) { |
||||
|
if (!this.createInput._value) { |
||||
|
ev.stopPropagation(); |
||||
|
} |
||||
|
return; |
||||
|
} |
||||
|
if (widget !== this.createButton && this.createInput) { |
||||
|
this.createInput._value = ''; |
||||
|
} |
||||
|
return this._super(ev); |
||||
|
}, |
||||
|
}); |
||||
|
options.userValueWidgetsRegistry['we-many2one-special'] = Many2oneSpecialWidget; |
||||
|
return { |
||||
|
SpecialProductSnippetProduct: SpecialProductSnippetProduct, |
||||
|
SpecialProduct: options.registry.SpecialProduct, |
||||
|
Many2oneSpecialWidget: Many2oneSpecialWidget, |
||||
|
}; |
@ -0,0 +1,89 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<!--Create list of product snippet templates--> |
||||
|
<templates id="template" xml:space="preserve"> |
||||
|
<t t-name="special_product_snippet.first_dynamic_template"> |
||||
|
<div class="first-product-page"> |
||||
|
<img t-att-src="image_url" |
||||
|
alt="Product Image" |
||||
|
class="product-image"/> |
||||
|
<div class="product-details"> |
||||
|
<h1 class="product-name display_name"> |
||||
|
<t t-esc="display_name"/> |
||||
|
</h1> |
||||
|
<p class="product-description"> |
||||
|
|
||||
|
</p> |
||||
|
<p class="product-price">Starting at |
||||
|
<t t-esc="list_price" |
||||
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/> |
||||
|
</p> |
||||
|
<a t-att-href="website_url" class="third-cta-button"> |
||||
|
View |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</t> |
||||
|
<t t-name="special_product_snippet.second_dynamic_template"> |
||||
|
<div class="second-product-page"> |
||||
|
<div class="d-flex justify-content-center"> |
||||
|
<img t-att-src="image_url" |
||||
|
alt="Product Image" |
||||
|
class="second-product-image"/> |
||||
|
</div> |
||||
|
<div class="second-product-details"> |
||||
|
<h1 class="second-product-name display_name"> |
||||
|
<t t-esc="display_name"/> |
||||
|
</h1> |
||||
|
<p class="second-product-description"> |
||||
|
|
||||
|
</p> |
||||
|
<p class="second-product-price">Starting at |
||||
|
<t t-esc="list_price" |
||||
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/> |
||||
|
</p> |
||||
|
<a t-att-href="website_url" class="cta-button2"> |
||||
|
View |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</t> |
||||
|
<t t-name="special_product_snippet.third_dynamic_template"> |
||||
|
<div class="third-product-page oe_structure"> |
||||
|
<div class="third-product-header"> |
||||
|
<h1 class="third-product-name display_name"> |
||||
|
<t t-esc="display_name"/> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<div class="third-product-details"> |
||||
|
<img class="third-product-image" t-att-src="image_url" |
||||
|
alt="Product Image"/> |
||||
|
<div class="third-product-description"> |
||||
|
|
||||
|
</div> |
||||
|
<div class="third-product-price"> |
||||
|
<p>Starting at |
||||
|
<t t-esc="list_price" |
||||
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/> |
||||
|
</p> |
||||
|
<a t-att-href="website_url" |
||||
|
class="fourth-cta-button">View |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</t> |
||||
|
<t t-name="special_product_snippet.fourth_dynamic_template"> |
||||
|
<div class="product-card-page"> |
||||
|
<div class="d-flex justify-content-center"> |
||||
|
<img t-att-src="image_url" class="fourth-product-image" |
||||
|
alt="Product Image"/> |
||||
|
</div> |
||||
|
<div class="fourth-product-details"> |
||||
|
<span class="fourth-product-price"><t t-esc="display_name"/> |
||||
|
<t t-esc="list_price" |
||||
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></span> |
||||
|
<a t-att-href="website_url" class="fourth-view-button">View</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</t> |
||||
|
</templates> |
@ -0,0 +1,138 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Listing Product Snippet templates--> |
||||
|
<template id="s_special_snippets" name="Special Snippet"> |
||||
|
<section class="s_special_products_options"> |
||||
|
<div class="container"> |
||||
|
<t t-call="special_product_snippet.first_dynamic_template"/> |
||||
|
</div> |
||||
|
</section> |
||||
|
</template> |
||||
|
<template id="first_dynamic_template" |
||||
|
name="special snippet" groups="base.group_user"> |
||||
|
<div class="first-product-page"> |
||||
|
<img t-att-src="image_url" |
||||
|
alt="Product Image" |
||||
|
class="product-image"/> |
||||
|
<div class="product-details"> |
||||
|
<h1 class="product-name display_name"> |
||||
|
<t t-esc="display_name"/> |
||||
|
</h1> |
||||
|
<p class="product-description">Description of the |
||||
|
product |
||||
|
</p> |
||||
|
<p class="product-price">Starting at |
||||
|
<t t-esc="list_price"/> |
||||
|
</p> |
||||
|
<a t-att-href="website_url" class="third-cta-button"> |
||||
|
View |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
||||
|
<template id="second_dynamic_template" |
||||
|
name="special snippet" groups="base.group_user"> |
||||
|
<div class="second-product-page" |
||||
|
t-attf-style="background-image: url(#{image_url});"> |
||||
|
<div class="second-product-details"> |
||||
|
<h1 class="second-product-name display_name"> |
||||
|
<t t-esc="display_name"/> |
||||
|
</h1> |
||||
|
<p class="second-product-description">Description of the |
||||
|
product |
||||
|
</p> |
||||
|
<p class="second-product-price">Starting at |
||||
|
<t t-esc="list_price"/> |
||||
|
</p> |
||||
|
<a t-att-href="website_url" class="third-cta-button"> |
||||
|
View |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
||||
|
<template id="third_dynamic_template" |
||||
|
name="special snippet" groups="base.group_user"> |
||||
|
<div class="third-product-page oe_structure"> |
||||
|
<div class="third-product-header"> |
||||
|
<h1 class="third-product-name display_name"> |
||||
|
<t t-esc="display_name"/> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<div class="third-product-details"> |
||||
|
<img class="third-product-image" t-att-src="image_url" |
||||
|
alt="Product Image"/> |
||||
|
<div class="third-product-description"> |
||||
|
<p>Description of the product.</p> |
||||
|
</div> |
||||
|
<div class="third-product-price"> |
||||
|
<p>Starting at |
||||
|
<t t-esc="list_price"/> |
||||
|
</p> |
||||
|
<a t-att-href="website_url" |
||||
|
class="third-cta-button">View |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
||||
|
<template id="fourth_dynamic_template" |
||||
|
name="special snippet" groups="base.group_user"> |
||||
|
<div class="product-card-page"> |
||||
|
<h2 class="product-name4"> |
||||
|
<t t-esc="display_name"/> |
||||
|
</h2> |
||||
|
<img t-att-src="image_url" alt="Product Image"/> |
||||
|
<div class="fourth-product-details"> |
||||
|
<span class="fourth-product-price"> |
||||
|
<t t-esc="list_price"/> |
||||
|
</span> |
||||
|
<a t-att-href="website_url" class="fourth-view-button">View</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<template id="s_special_products_options" |
||||
|
inherit_id="website.snippet_options"> |
||||
|
<xpath expr="." position="inside"> |
||||
|
<div data-js="SpecialProduct" |
||||
|
data-selector=".s_special_products_options"> |
||||
|
<we-row> |
||||
|
<we-many2one string="Product" |
||||
|
data-model="product.template" |
||||
|
data-no-preview="true" |
||||
|
data-name="" |
||||
|
data-select-data-attribute="" |
||||
|
data-set-product-attribute="" |
||||
|
data-attribute-name="scrollBackgroundRatio" |
||||
|
/> |
||||
|
</we-row> |
||||
|
<we-select string="Template" |
||||
|
data-name="special_product_snippet" |
||||
|
data-attribute-name="SpecialProductTemplate" |
||||
|
data-attribute-default-value="default"> |
||||
|
<we-button title="Default" |
||||
|
data-select-template="special_product_snippet.first_dynamic_template" |
||||
|
data-select-data-attribute="default" |
||||
|
data-img="/special_product_snippet/static/src/img/snippets_options/img_special_product_snippet.svg" |
||||
|
|
||||
|
/> |
||||
|
<we-button title="second-temp" |
||||
|
data-select-template="special_product_snippet.second_dynamic_template" |
||||
|
data-select-data-attribute="Second Temp" |
||||
|
data-img="/special_product_snippet/static/src/img/snippets_options/img_special_product_snippet.svg" |
||||
|
/> |
||||
|
<we-button title="third-temp" |
||||
|
data-select-template="special_product_snippet.third_dynamic_template" |
||||
|
data-select-data-attribute="Third Temp" |
||||
|
data-img="/special_product_snippet/static/src/img/snippets_options/img_special_product_snippet.svg" |
||||
|
/> |
||||
|
<we-button title="fourth-temp" |
||||
|
data-select-template="special_product_snippet.fourth_dynamic_template" |
||||
|
data-select-data-attribute="Fourth Temp" |
||||
|
data-img="/special_product_snippet/static/src/img/snippets_options/img_special_product_snippet.svg" |
||||
|
/> |
||||
|
</we-select> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
</odoo> |
@ -0,0 +1,11 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<odoo> |
||||
|
<!-- Create product snippet--> |
||||
|
<template id="product_snippets" inherit_id="website.snippets" |
||||
|
priority="8"> |
||||
|
<xpath expr="//snippets[@id='snippet_content']//t[@t-snippet][last()]" position="after"> |
||||
|
<t t-snippet="special_product_snippet.s_special_snippets" |
||||
|
t-thumbnail="/special_product_snippet/static/src/img/snippets_options/img_special_product_snippet.svg"/> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
</odoo> |