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.
105 lines
5.4 KiB
105 lines
5.4 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<!-- This XML template customizes the appearance and functionality of the shopping cart page -->
|
|
<template id="coffee_shop_cart" name="Coffee Shop Cart"
|
|
inherit_id="website_sale.cart">
|
|
<xpath expr="//div[@id='wrap']" position="replace">
|
|
<section id="banner" class="banner-imgcart">
|
|
<div class="container wrapper ">
|
|
<div class="banner-content">
|
|
<div class="banner-text">
|
|
<p class="banner-head">Pick your</p>
|
|
<p class="banner-head">favourites</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<section id="my-cart" class="container wrapper">
|
|
<span class="cart-heading">My Cart</span>
|
|
</section>
|
|
<div class="border"/>
|
|
<section id="carts" class="container wrapper">
|
|
<div class="container oe_website_sale py-2">
|
|
<div class="row">
|
|
<div class="col-12 d-none">
|
|
<t t-call="website_sale.wizard_checkout">
|
|
<t t-set="step" t-value="10"/>
|
|
</t>
|
|
</div>
|
|
<div class=" oe_cart">
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div t-if="abandoned_proceed or access_token"
|
|
class="mt8 mb8 alert alert-info"
|
|
role="alert"> <!-- Abandoned cart choices -->
|
|
<t t-if="abandoned_proceed">
|
|
<p>Your previous cart has already
|
|
been completed.
|
|
</p>
|
|
<p t-if="website_sale_order">Please
|
|
proceed your current cart.
|
|
</p>
|
|
</t>
|
|
<t t-if="access_token">
|
|
<p>This is your current cart.</p>
|
|
<p>
|
|
<strong>
|
|
<a t-attf-href="/shop/cart/?access_token=#{access_token}&revive=squash">
|
|
Click here
|
|
</a>
|
|
</strong>
|
|
if you want to restore your
|
|
previous cart. Your current
|
|
cart
|
|
will be replaced with your
|
|
previous cart.
|
|
</p>
|
|
<p>
|
|
<strong>
|
|
<a t-attf-href="/shop/cart/?access_token=#{access_token}&revive=merge">
|
|
Click here
|
|
</a>
|
|
</strong>
|
|
if you want to merge your
|
|
previous cart into current
|
|
cart.
|
|
</p>
|
|
</t>
|
|
</div>
|
|
<t t-call="website_sale.cart_lines"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<div class="border"/>
|
|
<section id="cart-sum" class="container wrapper">
|
|
<div class="cart-left">
|
|
<div class="continue-shopping">
|
|
<a role="button" href="/shop">
|
|
<img src="/theme_coffee_shop/static/src/images/Arrow 2.svg"
|
|
alt=""/>
|
|
</a>
|
|
<span class="conti-shop">Continue shopping</span>
|
|
</div>
|
|
<div class="shop-details">
|
|
<p>Congrats you’re eligible for free shipping</p>
|
|
<p>100% Secure & Encrypt</p>
|
|
<img src="/theme_coffee_shop/static/src/images/payment-method_69e7ec.svg"
|
|
alt=""/>
|
|
</div>
|
|
</div>
|
|
<div class="cart-right width_35">
|
|
<t t-call="website_sale.short_cart_summary"/>
|
|
<div class="check-btn">
|
|
<a role="button" href="/shop/checkout?express=1"
|
|
class="btn-ckeckout">
|
|
Process Checkout
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|
|
|