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.
 
 
 
 
 

375 lines
19 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Replacing Existing Website Templates-->
<template id="header_call_to_action_refurbished"
inherit_id="website.header_call_to_action">
<xpath expr="//a[@href='/contactus']" position="replace">
</xpath>
</template>
<template id="template_header_refurbished"
inherit_id="website.template_header_default"
name="Template Header refurbished" active="True">
<xpath expr="//t[@t-call='website.placeholder_header_brand']"
position="replace">
</xpath>
<xpath expr="//t[@t-call='portal.user_dropdown']" position="replace">
</xpath>
<xpath expr="//t[@t-call='website.navbar']" position="before">
<div class="ref-header">
<div class="ref-wrapper ref-head">
<div class="ref-header__logo">
<span class="ref-logo">ReTech</span>
</div>
<div class="ref-searchbox" id="main_search_box">
<t t-call="website.website_search_box_input"/>
</div>
<div class="ref-header__icons">
<ul class="nav navbar-nav navbar-expand">
<!-- Sign In -->
<t t-call="portal.placeholder_user_sign_in">
<t t-set="_item_class"
t-value="'nav-item'"/>
<t t-set="_link_class"
t-value="'nav-link'"/>
</t>
<!-- User Dropdown -->
<t t-call="portal.user_dropdown">
<t t-set="_icon" t-value="true"/>
<t t-set="_item_class"
t-value="'nav-item dropdown'"/>
<t t-set="_link_class"
t-value="'nav-link'"/>
<t t-set="_dropdown_menu_class"
t-value="'position-absolute dropdown-menu-right'"/>
</t>
<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'"/>
</t>
<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'"/>
</t>
</ul>
</div>
</div>
</div>
</xpath>
</template>
<template id="website_contactus_refurbished"
inherit_id="website.contactus">
<xpath expr="//section[hasclass('s_title')]" position="replace">
<div class="ref-hero-sub-bg">
<h2 class="ref-hero-sub-bg_heading">Get in Touch with Us
</h2>
</div>
</xpath>
<xpath expr="//section[hasclass('s_text_block')]" position="before">
<div class="ref-contact-info">
<div class="ref-contact_container">
<img src="/theme_eco_refine/static/src/img/phone.svg"
alt=""/>
<h4>Phone</h4>
<p>+1 (650) 555-0111</p>
</div>
<div class="ref-contact_container">
<img src="/theme_eco_refine/static/src/img/location.svg"
alt=""/>
<h4>Location</h4>
<p>3575 Fake Buena Vista Avenue</p>
</div>
<div class="ref-contact_container">
<img src="/theme_eco_refine/static/src/img/email.svg"
alt=""/>
<h4>Email</h4>
<p>info@yourcompany.example.com</p>
</div>
</div>
</xpath>
<xpath expr="//section[hasclass('s_text_block')]" position="replace">
<div class="ref-contact-msg">
<span class="ref-section_head ref-head--primary">
Contact Us
</span>
<section class="s_website_form" data-vcss="001"
data-snippet="s_website_form">
<div class="container">
<form id="contactus_form"
action="/website/form/"
method="post"
enctype="multipart/form-data"
class="ref-contact-form"
data-mark="*"
data-model_name="mail.mail"
data-success-mode="redirect"
data-success-page="/contactus-thank-you"
data-pre-fill="true">
<div class="s_website_form_rows row s_col_no_bgcolor">
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_required"
data-type="char"
data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<div class="col-sm">
<input id="contactus_name"
type="text"
class="form-control s_website_form_input"
placeholder="Name"
required=""
data-fill-with="name"/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_required"
data-type="email"
data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<div class="col-sm">
<input id="contactus_email"
type="email"
class="form-control s_website_form_input"
placeholder="Email"
required=""
data-fill-with="email"/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_required"
data-type="char"
data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<div class="col-sm">
<input id="contactus_subject"
type="text"
class="form-control s_website_form_input"
name="subject"
placeholder="Subject"
required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required"
data-type="text"
data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<div class="col-sm">
<textarea
id="contactus_question"
class="s_website_form_input"
name="description"
placeholder="Question"
required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_dnone">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label"
style="width: 200px"
for="contact7">
<span class="s_website_form_label_content">
Email To
</span>
</label>
<div class="col-sm">
<input id="contact7"
type="hidden"
class="form-control s_website_form_input"
name="email_to"/>
</div>
</div>
</div>
<div class="ref-form-subbtn"
data-name="Submit Button">
<div style="width: 200px;"
class="s_website_form_label"/>
<a href="#" role="button"
class="btn btn-primary btn-lg s_website_form_send">
Send
</a>
<span id="s_website_form_result"/>
</div>
</div>
</form>
</div>
</section>
</div>
</xpath>
</template>
<template id="footer_custom_refurbished" inherit_id="website.footer_custom"
name="Default" active="True">
<xpath expr="//div[@id='footer']" position="replace">
<footer id="ref-footer">
<div class="ref-footer-section">
<div class="ref-wrapper">
<div class="ref-foot-row">
<div class="column">
<div class="ref-header__logo">
<span class="ref-logo light-logo">ReTech
</span>
</div>
<p class="ref-foot-para">Lorem Ipsum is simply
dummy text of the printing and typesetting
industry.
</p>
</div>
<div class="column">
<h4 class="ref-foot_head"
style="margin-left: 30px;">Contact Us
</h4>
<ul>
<li class="ref-foot-para">Phone: +1 (555)
555-5555
</li>
<li class="ref-foot-para ">Email:
<a>info@example.com</a>
</li>
<li class="ref-foot-para ">Address: 123
Main Street, Anytown, USA
</li>
</ul>
</div>
<div class="column">
<h4 class="ref-foot_head"
style="margin-left: 30px;">Useful Links
</h4>
<ul>
<li class="ref-foot-para ">
<a>About Us</a>
</li>
<li class="ref-foot-para ">
<a>Shipping &amp; Returns</a>
</li>
<li class="ref-foot-para ">
<a>Terms &amp; Conditions</a>
</li>
<li class="ref-foot-para ">
<a>Privacy Policy</a>
</li>
</ul>
</div>
<div class="column">
<h4 class="ref-foot_head"
style="margin-left: 35px;">Follow Us
</h4>
<ul class="d-flex">
<li>
<a>
<img src="/theme_eco_refine/static/src/img/facebook.svg"
alt=""/>
</a>
</li>
<li>
<a>
<img src="/theme_eco_refine/static/src/img/twitter.svg"
alt=""/>
</a>
</li>
<li>
<a>
<img src="/theme_eco_refine/static/src/img/instagram.svg"
alt=""/>
</a>
</li>
</ul>
</div>
<div class="subscription-form">
<input type="email"
placeholder="Enter your email address"/>
<button type="submit" class="ref-button">
Subscribe
</button>
</div>
</div>
</div>
</div>
<div class="ref-wrapper">
<p class="ref-foot-cpy-rt">Copyright © 2023 Example
Company. All rights reserved.
</p>
</div>
</footer>
</xpath>
</template>
<template id="products_refurbished" inherit_id="website_sale.products">
<xpath expr="//div[hasclass('oe_website_sale')]" position="before">
<div class="ref-hero-sub-bg ref-prdt-bg">
<h2 class="ref-hero-sub-bg_heading">Discover Our Latest
Refurbished Products
</h2>
</div>
</xpath>
</template>
<template id="product_add_to_wishlist_refurbished"
inherit_id="website_sale_wishlist.product_add_to_wishlist">
<xpath expr="//button[hasclass('o_add_wishlist_dyn')]"
position="replace">
</xpath>
</template>
<template id="product_refurbished" inherit_id="website_sale.product">
<xpath expr="//a[@id='add_to_cart']" position="after">
<button t-if="product_variant" type="button" role="button"
class="btn btn-link px-0 pe-3 o_add_wishlist_dyn"
t-att-disabled='in_wish or None'
t-att-data-product-template-id="product.id"
t-att-data-product-product-id="product_variant.id"
data-action="o_wishlist" title="Add to wishlist"><i
class="fa fa-heart-o me-2" role="img"
aria-label="Add to wishlist"/>Add to wishlist
</button>
</xpath>
<xpath expr="//div[@id='o_product_terms_and_share']" position="before">
<div class="ref-sl-product--describe-tabs">
<div class="tab-container">
<nav>
<div class="nav nav-tabs" id="nav-tab" role="tablist">
<button class="nav-link active" id="nav-home-tab"
data-toggle="tab" data-target="#nav-spec"
type="button" role="tab"
aria-controls="nav-spec"
aria-selected="true">Specification
</button>
<button class="nav-link" id="nav-profile-tab"
data-toggle="tab" data-target="#nav-detail"
type="button" role="tab"
aria-controls="nav-detail"
aria-selected="false">Product detail
</button>
</div>
</nav>
<div class="tab-content product" id="nav-tabContent" style="display: block;">
<div class="tab-pane fade show active" id="nav-spec"
role="tabpanel" aria-labelledby="nav-spec-tab" t-field="product.product_spec"/>
<div class="tab-pane fade" id="nav-detail"
role="tabpanel" aria-labelledby="nav-detail-tab" t-field="product.product_detail"/>
</div>
</div>
</div>
</xpath>
</template>
<template id="alternative_products_refurbished"
inherit_id="website_sale.recommended_products">
<xpath expr="//div[hasclass('mt32')]/h3" position="replace">
<span class="ref-head__underline ref-section_head ">Alternative
Products
</span>
</xpath>
</template>
</odoo>