[ADD] theme 13.0
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
Odoo Proprietary License v1.0
|
||||
|
||||
This software and associated files (the "Software") may only be used (executed,
|
||||
modified, executed after modifications) if you have purchased a valid license
|
||||
from the authors, typically via Odoo Apps, or if you have received a written
|
||||
agreement from the authors of the Software (see the COPYRIGHT file).
|
||||
|
||||
You may develop Odoo modules that use the Software as a library (typically
|
||||
by depending on it, importing it and using its resources), but without copying
|
||||
any source code or material from the Software. You may distribute those
|
||||
modules under the license of your choice, provided that this license is
|
||||
compatible with the terms of the Odoo Proprietary License (For example:
|
||||
LGPL, MIT, or proprietary licenses similar to this one).
|
||||
|
||||
It is forbidden to publish, distribute, sublicense, or sell copies of the Software
|
||||
or modified copies of the Software.
|
||||
|
||||
The above copyright notice and this permission notice must be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
'name': 'Theme Monglia eCommerce Plugin',
|
||||
'description': 'Monglia eCommerce Plugin',
|
||||
'category': 'Theme/Hidden',
|
||||
'sequence': 261,
|
||||
'version': '1.0',
|
||||
'depends': ['theme_monglia', 'website_sale'],
|
||||
'data': [
|
||||
'views/theme.xml',
|
||||
'views/layout.xml',
|
||||
],
|
||||
'auto_install': True,
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * theme_monglia_sale
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2019
|
||||
# Ermin Trevisan <trevi@twanda.com>, 2019
|
||||
# Leon Grill <leg@odoo.com>, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-24 09:00+0000\n"
|
||||
"PO-Revision-Date: 2019-04-24 11:21+0000\n"
|
||||
"Last-Translator: Leon Grill <leg@odoo.com>, 2019\n"
|
||||
"Language-Team: German (https://www.transifex.com/odoo/teams/41243/de/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: de\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.product
|
||||
msgid ""
|
||||
"<i class=\"fa fa-shopping-cart\"/>\n"
|
||||
" Add to Cart"
|
||||
msgstr ""
|
||||
"<i class=\"fa fa-shopping-cart\"/>\n"
|
||||
"In den Einkaufskorb"
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.products_categories
|
||||
msgid "Product categories"
|
||||
msgstr "Produktkategorie"
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.products_filters
|
||||
msgid "Product filters"
|
||||
msgstr "Produktfilter"
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.search
|
||||
msgid "Search..."
|
||||
msgstr "Suchen..."
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.search
|
||||
msgid "pagination form-inline col-lg-12"
|
||||
msgstr "pagination form-inline col-lg-12"
|
||||
@@ -0,0 +1,47 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * theme_monglia_sale
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-24 09:00+0000\n"
|
||||
"PO-Revision-Date: 2019-04-24 11:21+0000\n"
|
||||
"Last-Translator: Martin Trigaux, 2019\n"
|
||||
"Language-Team: Spanish (https://www.transifex.com/odoo/teams/41243/es/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: es\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.product
|
||||
msgid ""
|
||||
"<i class=\"fa fa-shopping-cart\"/>\n"
|
||||
" Add to Cart"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.products_categories
|
||||
msgid "Product categories"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.products_filters
|
||||
msgid "Product filters"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.search
|
||||
msgid "Search..."
|
||||
msgstr "Buscar…"
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.search
|
||||
msgid "pagination form-inline col-lg-12"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,47 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * theme_monglia_sale
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-24 09:00+0000\n"
|
||||
"PO-Revision-Date: 2019-04-24 11:21+0000\n"
|
||||
"Last-Translator: Martin Trigaux, 2019\n"
|
||||
"Language-Team: French (https://www.transifex.com/odoo/teams/41243/fr/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: fr\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.product
|
||||
msgid ""
|
||||
"<i class=\"fa fa-shopping-cart\"/>\n"
|
||||
" Add to Cart"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.products_categories
|
||||
msgid "Product categories"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.products_filters
|
||||
msgid "Product filters"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.search
|
||||
msgid "Search..."
|
||||
msgstr "Recherche…"
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.search
|
||||
msgid "pagination form-inline col-lg-12"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,50 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * theme_monglia_sale
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2019
|
||||
# Yenthe Van Ginneken <yenthespam@gmail.com>, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-24 09:00+0000\n"
|
||||
"PO-Revision-Date: 2019-04-24 11:21+0000\n"
|
||||
"Last-Translator: Yenthe Van Ginneken <yenthespam@gmail.com>, 2019\n"
|
||||
"Language-Team: Dutch (https://www.transifex.com/odoo/teams/41243/nl/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: nl\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.product
|
||||
msgid ""
|
||||
"<i class=\"fa fa-shopping-cart\"/>\n"
|
||||
" Add to Cart"
|
||||
msgstr ""
|
||||
"<i class=\"fa fa-shopping-cart\"/>\n"
|
||||
" Toevoegen aan winkelmandje"
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.products_categories
|
||||
msgid "Product categories"
|
||||
msgstr "Productcategorieën"
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.products_filters
|
||||
msgid "Product filters"
|
||||
msgstr "Product filters"
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.search
|
||||
msgid "Search..."
|
||||
msgstr "Zoeken..."
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.search
|
||||
msgid "pagination form-inline col-lg-12"
|
||||
msgstr "pagination form-inline col-lg-12"
|
||||
@@ -0,0 +1,43 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * theme_monglia_sale
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-24 09:00+0000\n"
|
||||
"PO-Revision-Date: 2019-04-24 09:00+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.product
|
||||
msgid "<i class=\"fa fa-shopping-cart\"/>\n"
|
||||
" Add to Cart"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.products_categories
|
||||
msgid "Product categories"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.products_filters
|
||||
msgid "Product filters"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.search
|
||||
msgid "Search..."
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.search
|
||||
msgid "pagination form-inline col-lg-12"
|
||||
msgstr ""
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * theme_monglia_sale
|
||||
#
|
||||
# Translators:
|
||||
# liAnGjiA <liangjia@qq.com>, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-24 09:00+0000\n"
|
||||
"PO-Revision-Date: 2019-04-24 11:21+0000\n"
|
||||
"Last-Translator: liAnGjiA <liangjia@qq.com>, 2019\n"
|
||||
"Language-Team: Chinese (China) (https://www.transifex.com/odoo/teams/41243/zh_CN/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: zh_CN\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.product
|
||||
msgid ""
|
||||
"<i class=\"fa fa-shopping-cart\"/>\n"
|
||||
" Add to Cart"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.products_categories
|
||||
msgid "Product categories"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.products_filters
|
||||
msgid "Product filters"
|
||||
msgstr ""
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.search
|
||||
msgid "Search..."
|
||||
msgstr "搜索..."
|
||||
|
||||
#. module: theme_monglia_sale
|
||||
#: model_terms:theme.ir.ui.view,arch:theme_monglia_sale.search
|
||||
msgid "pagination form-inline col-lg-12"
|
||||
msgstr ""
|
||||
@@ -0,0 +1 @@
|
||||
$o-wsale-products-layout-grid-ratio: 0.7;
|
||||
@@ -0,0 +1,191 @@
|
||||
.oe_website_sale {
|
||||
padding-bottom: 20px;
|
||||
background-color: o-theme-color('alpha');
|
||||
color: gray('700');
|
||||
|
||||
&:not(.oe_optional_products_modal) {
|
||||
overflow: hidden;
|
||||
}
|
||||
.badge, .active .badge {
|
||||
padding: 5px 10px;
|
||||
margin-left: 15px;
|
||||
background-color: o-theme-color('epsilon');
|
||||
color: white;
|
||||
min-width: 28px;
|
||||
}
|
||||
.oe_cart {
|
||||
.btn-primary {
|
||||
background-color: o-theme-color('epsilon');
|
||||
color: white;
|
||||
&:hover {
|
||||
background-color: o-theme-color('mu');
|
||||
}
|
||||
}
|
||||
.card {
|
||||
text-align: unset;
|
||||
}
|
||||
.oe_website_spinner {
|
||||
max-width: 150px;
|
||||
width: auto;
|
||||
margin: auto;
|
||||
border-collapse: inherit;
|
||||
}
|
||||
h4 .oe_currency_value, h4 .text-right {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
@include o-theme-cfa-ecommerce-classes($js-attributes-strong-color: white, $js-attributes-label-color: white, $h6-border-bottom: 1px solid gray('200'),
|
||||
$right-column-border-bottom: 0, $right-column-font-weight: normal, $add-cart-width: 50px, $price-h4: $h4-font-size);
|
||||
}
|
||||
#products_grid {
|
||||
background-color: white;
|
||||
table, tbody {
|
||||
background-color: rgba(0, 0, 0, 0) !important;
|
||||
}
|
||||
.products_pager {
|
||||
margin: 15px 0;
|
||||
@include media-breakpoint-down(sm) {
|
||||
&:last-child {
|
||||
float: right;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
ul.pagination {
|
||||
a {
|
||||
border: rgba(0, 0, 0, 0);
|
||||
color: gray('700');
|
||||
min-width: 35px;
|
||||
transition: all 0.3s ease-out;
|
||||
&:hover {
|
||||
border-bottom: 3px solid o-theme-color('delta');
|
||||
background: rgba(0, 0, 0, 0);
|
||||
color: gray('600');
|
||||
}
|
||||
}
|
||||
li.active > a {
|
||||
border-bottom: 3px solid o-theme-color('epsilon');
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
color: o-theme-color('epsilon');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* =================== Search =================== */
|
||||
|
||||
#wrap .search {
|
||||
background-color: o-theme-color('beta');
|
||||
}
|
||||
.js_sale .search form {
|
||||
padding-right: 0px;
|
||||
}
|
||||
.pagination {
|
||||
padding-left: 15px;
|
||||
}
|
||||
.form-inline .input-group {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
border-bottom: 1px solid o-theme-color('epsilon');
|
||||
padding-right: 0;
|
||||
width: 100%;
|
||||
.form-control {
|
||||
height: 50px;
|
||||
text-transform: lowercase;
|
||||
border: none;
|
||||
}
|
||||
::-webkit-input-placeholder { color:o-theme-color('epsilon'); }
|
||||
::-moz-placeholder { color:o-theme-color('epsilon'); }
|
||||
:-ms-input-placeholder { color:o-theme-color('epsilon'); }
|
||||
input:-moz-placeholder { color:o-theme-color('epsilon'); }
|
||||
.input-group-btn .btn-secondary {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
&:hover {
|
||||
background-color: rgba(0, 0, 0, 0) !important;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* =================== Categories =================== */
|
||||
|
||||
#products_grid_before {
|
||||
padding-left: 40px;
|
||||
padding-bottom: 800em;
|
||||
margin-bottom: -800em;
|
||||
background-color: o-theme-color('delta');
|
||||
>.row {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.category-name {
|
||||
font-size: 25px;
|
||||
text-transform: uppercase;
|
||||
text-align: left;
|
||||
margin-top: 0px;
|
||||
padding: 10px 15px;
|
||||
color: o-theme-color('alpha');
|
||||
}
|
||||
.pagination .input-group > .form-control {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
/* =================== Product page =================== */
|
||||
.js_sale > .container:first-child {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
#product_detail {
|
||||
.form-inline {
|
||||
width: 100%;
|
||||
}
|
||||
.col-lg-5 {
|
||||
padding: 40px;
|
||||
}
|
||||
}
|
||||
.oe_website_sale.container {
|
||||
max-width: 100%;
|
||||
padding-top: 0 !important;
|
||||
|
||||
> :first-child {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
> :last-child, + .oe_structure {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
}
|
||||
#add_to_cart {
|
||||
padding: 11px 20px;
|
||||
max-width: 150px;
|
||||
display: inline-block;
|
||||
transition: all 0.5s ease-out;
|
||||
.fa {
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ======= ADD QUANTITY ========= */
|
||||
|
||||
.oe_website_spinner {
|
||||
margin-bottom: 25px;
|
||||
width: 240px;
|
||||
height: 50px;
|
||||
@include media-breakpoint-down(sm) {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
.js_add_cart_json {
|
||||
padding: 15px;
|
||||
}
|
||||
.quantity {
|
||||
text-align: center;
|
||||
border-color: gray('700');
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
font-size: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
#payment_method .oe_sale_acquirer_button .btn-primary {
|
||||
background-color: o-theme-color('epsilon');
|
||||
color: white;
|
||||
&:hover {
|
||||
background-color: o-theme-color('mu');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!-- Product grid view -->
|
||||
<template id="products" inherit_id='website_sale.products' name="Products" priority="15">
|
||||
<xpath expr="//*[contains(@id, 'products_grid')]//*[1]" position="before">
|
||||
<t t-call="theme_monglia_sale.search"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Add pager to the top and bottom -->
|
||||
<xpath expr="//div[@id='products_grid']/*[1]" position="before">
|
||||
<div class="products_pager form-inline justify-content-center">
|
||||
<t t-call="website_sale.pricelist_list"/>
|
||||
<t t-call="website.pager"/>
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//div[@id='products_grid']/*[last()]" position="after">
|
||||
<div class="products_pager form-inline justify-content-center">
|
||||
<t t-call="website_sale.pricelist_list"/>
|
||||
<t t-call="website.pager"/>
|
||||
</div>
|
||||
</xpath>
|
||||
|
||||
<!-- Remove original pager -->
|
||||
<xpath expr="//div[hasclass('products_pager')]" position="replace"/>
|
||||
<xpath expr="//div[hasclass('oe_website_sale')]/div[hasclass('products_pager')]" position="replace"/>
|
||||
</template>
|
||||
|
||||
<!-- Rearrange product page -->
|
||||
<template id="product" inherit_id='website_sale.product' name="Product">
|
||||
<!-- Widen breadcrumb -->
|
||||
<xpath expr="//*[@id='wrap']//*[hasclass('row')]/*[1]" position="attributes">
|
||||
<attribute name="class">col-md-12</attribute>
|
||||
</xpath>
|
||||
<!-- Move search bar -->
|
||||
<xpath expr="//*[@id='wrap']//*[hasclass('row')]/*[2]" position="replace">
|
||||
</xpath>
|
||||
<xpath expr="//*[@id='wrap']//*[hasclass('row')]" position="before">
|
||||
<t t-call="theme_monglia_sale.search"/>
|
||||
</xpath>
|
||||
|
||||
<!-- New add to cart button -->
|
||||
<xpath expr="//a[@id='add_to_cart']" position="replace">
|
||||
<a id="add_to_cart" class="btn btn-success btn-lg mt8 js_check_product a-submit d-block" href="#">
|
||||
<i class="fa fa-shopping-cart"/>
|
||||
Add to Cart
|
||||
</a>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- Add class to recommended products -->
|
||||
<template id="recommended_products" inherit_id="website_sale.recommended_products" name="Alternative Products">
|
||||
<xpath expr="//div[hasclass('container')]" position="attributes">
|
||||
<attribute name='id'>website_sale_recommended_products</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- Add h3 tag to the category list -->
|
||||
<template id="products_categories" inherit_id="website_sale.products_categories" name="Product Categories">
|
||||
<xpath expr="//div[@id='wsale_products_categories_collapse']/ul" position="before">
|
||||
<h3 class="category-name">Product categories</h3>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- Add h3 tag before filters -->
|
||||
<template id="products_filters" inherit_id="website_sale.products_attributes" name="Product Filters">
|
||||
<xpath expr="//div[@id='wsale_products_attributes_collapse']/form" position="before">
|
||||
<h3 class="category-name">Product filters</h3>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="search" name="search">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<t t-if="not keep">
|
||||
<form action="/shop" method="get" class="pagination form-inline">
|
||||
<div class="input-group">
|
||||
<input name="search" class="search-query form-control" placeholder="Search..." type="text"/>
|
||||
<div class="input-group-append">
|
||||
<a class="btn btn-secondary a-submit"><i class="fa fa-search"/></a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</t>
|
||||
<t t-if="keep">
|
||||
<t t-call="website_sale.search">
|
||||
<t t-set="search_class">pagination form-inline col-lg-12</t>
|
||||
</t>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</odoo>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="_assets_primary_variables" inherit_id="website_sale._assets_primary_variables">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/theme_monglia_sale/static/src/scss/primary_variables.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="assets_frontend" inherit_id="website_sale.assets_frontend">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/theme_monglia_sale/static/src/scss/theme_ecommerce.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user