You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

174 lines
9.8 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Header Template-->
<template id="theme_og_store_header" inherit_id="website.layout"
active="True">
<xpath expr="//header" position="replace">
<div class="oe_structure"/>
<div class="top-bar">
<div class="container">
<div class="row">
<div class="col-6 col-md-12">
<div class="left-content">
<a href="tel:+123-456-7890">
<img src="theme_og_store/static/src/img/icons/call.svg"
alt=""/>
+123-456-7890
</a>
<a href="mailto:">
<img
src="theme_og_store/static/src/img/icons/mail.svg"
alt=""/>
info@example.com
</a>
</div>
</div>
<div class="col-6 col-md-12">
<div class="right-content">
<div class="righ_links">
<a href="#">Free Delivery</a>
<a href="#">Return Policy</a>
</div>
<div class="social-icons">
<a href="#">
<i class="fa fa-facebook shadow-sm o_editable_media"/>
</a>
<a href="#">
<i class="fa fa-twitter shadow-sm o_editable_media"/> </a>
<a href="#">
<i class="fa fa-instagram shadow-sm o_editable_media"/> </a>
<a href="#">
<i class="fa fa-youtube shadow-sm o_editable_media"/>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Navbar starts here -->
<header id="header">
<div class="navbar">
<div class="container">
<div class="wrapper">
<a class="navbar-brand d-none d-md-block st-logo"
href="index.html">
<t t-call="website.placeholder_header_brand">
<t t-set="_link_class" t-value="'mr-4'"/>
</t>
</a>
<!-- <div class="logo">-->
<!-- <img src="theme_og_store/static/src/img/Logo/OG STORE LOGO.svg"-->
<!-- alt="Farhad’s Cll Company Logo"/>-->
<!-- </div>-->
<div class="hamburger" id="hamburger">
<span></span>
<span></span>
<span></span>
</div>
<ul class="nav-links" id="myDIV">
<li>
<t t-foreach="website.menu_id.child_id"
t-as="submenu">
<t t-call="website.submenu">
<t t-set="item_class"
t-value="'nav-item'"/>
<t t-set="link_class"
t-value="'nav-link'"/>
</t>
</t>
<ul class="right_menu align-items-center gap-2 flex-shrink-0 justify-content-end ps-3">
<!-- Cart -->
<t t-call="website_sale.header_cart_link">
<t t-set="_icon" t-value="True"/>
<t t-set="_item_class"
t-value="'nav-item ml-lg-3'"/>
<t t-set="_link_class"
t-value="'nav-link btn position-relative p-1 rounded-circle text-reset'"/>
<t t-set="_badge_class"
t-value="'position-absolute top-0 end-0 rounded-pill mt-n1 me-n1'"/>
</t>
<!-- Wishlist -->
<t t-call="website_sale_wishlist.header_wishlist_link">
<t t-set="_icon" t-value="True"/>
<t t-set="_item_class"
t-value="'nav-item ml-lg-3'"/>
<t t-set="_link_class"
t-value="'nav-link btn position-relative p-1 rounded-circle text-reset'"/>
<t t-set="_badge_class"
t-value="'position-absolute top-0 end-0 rounded-pill mt-n1 me-n1'"/>
</t>
<!-- Search Bar -->
<t t-call="website.placeholder_header_search_box">
<t t-set="_layout"
t-valuef="modal"/>
<t t-set="_item_class"
t-value="'nav-item ml-lg-3'"/>
<t t-set="_button_classes"
t-value="'nav-link btn position-relative p-1 rounded-circle text-reset'"/>
<t t-set="_input_classes"
t-valuef="border border-end-0 p-3"/>
<t t-set="_submit_classes"
t-valuef="border border-start-0 px-4 bg-o-color-4"/>
</t>
<!-- Social -->
<t t-call="website.placeholder_header_social_links"/>
<!-- Language Selector -->
<t t-call="website.placeholder_header_language_selector">
<t t-set="_btn_class"
t-valuef="btn-outline-secondary border-0"/>
<t t-set="_txt_class"
t-valuef="small"/>
<t t-set="_dropdown_menu_class"
t-valuef="dropdown-menu-end"/>
</t>
<!-- Sign In -->
<t t-call="portal.placeholder_user_sign_in">
<t t-set="_item_class"
t-value="'nav-item user ml-auto'"/>
<t t-set="_link_class"
t-value="'nav-link font-weight-bold'"/>
</t>
<!-- User Dropdown -->
<t t-call="portal.user_dropdown">
<t t-set="_user_name"
t-value="true"/>
<t t-set="_item_class"
t-value="'nav-item dropdown ml-lg-auto'"/>
<t t-set="_link_class"
t-value="'nav-link font-weight-bold'"/>
</t>
</ul>
</li>
</ul>
</div>
</div>
</div>
</header>
</xpath>
</template>
<template id="og_store_header_cart_link"
inherit_id="website_sale.header_cart_link"
name="OG Cart link">
<!-- <xpath expr="//i[@class='fa fa-shopping-cart fa-stack']"-->
<!-- position="replace">-->
<!-- <img src="theme_og_store/static/src/img/icons/shopping-cart.svg"-->
<!-- alt=""/>-->
<!-- </xpath>-->
</template>
<template id="og_store_search_placeholder_header_search_box"
inherit_id="website.placeholder_header_search_box"
name="OG Search Icon">
<xpath expr="//i[@class='oi oi-search fa-stack lh-lg']"
position="replace">
<img src="theme_og_store/static/src/img/icons/search.svg"
alt="" style="width: 20px;"/>
</xpath>
</template>
</odoo>