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.
75 lines
4.6 KiB
75 lines
4.6 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<template id="eco_food_cart1" inherit_id="website_sale.short_cart_summary"
|
|
name="TotalOrder">
|
|
<xpath expr="//div[hasclass('card-body')]"
|
|
position="replace">
|
|
<div class="wrapper">
|
|
<div class="container-fluid">
|
|
<section class="cart mt-0 mt-lg-5" >
|
|
<div class="wrapper">
|
|
<div class="cart_items" style="margin-top: 30px;">
|
|
<div class="p_checkout">
|
|
<div class="wrapper1 cart_calc" style="margin-bottom: 15px !important">
|
|
<div class="left">
|
|
<span>
|
|
Subtotal:
|
|
</span>
|
|
<span class="d-block">
|
|
Taxes:
|
|
</span>
|
|
</div>
|
|
<div class="right">
|
|
<span id="cart-subtotal" t-field="website_sale_order.amount_untaxed"
|
|
class="monetary_field" style="white-space: nowrap; display:flex;"
|
|
t-options="{'widget': 'monetary', 'display_currency': website_sale_order.currency_id}"/>
|
|
<span t-field="website_sale_order.amount_tax"
|
|
class="monetary_field" style="white-space: nowrap; display:flex;"
|
|
t-options="{'widget': 'monetary', 'display_currency': website_sale_order.currency_id}"/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="wrapper1">
|
|
<div class="left">
|
|
<strong>Total:</strong>
|
|
</div>
|
|
<div class="right">
|
|
<strong t-field="website_sale_order.amount_total"
|
|
class="monetary_field" style="display:flex;"/>
|
|
</div>
|
|
</div>
|
|
<div t-if="not hide_promotions">
|
|
<div colspan="3" class="text-center border-0 mt-3">
|
|
<span class='' style="text-align: center !important;">
|
|
<t t-set='force_coupon'
|
|
t-value="website_sale_order.pricelist_id.code or request.params.get('code_not_available')"/>
|
|
<t t-if="not force_coupon">
|
|
<a href="#" class="show_coupon">I have a promo
|
|
code
|
|
</a>
|
|
</t>
|
|
<div t-attf-class="coupon_form #{not force_coupon and 'd-none'}">
|
|
<t t-call="website_sale.coupon_form"/>
|
|
</div>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="wrapper2">
|
|
<div class="d-flex flex-column"
|
|
t-if="website_sale_order and website_sale_order.website_order_line">
|
|
<a role="button" class="btn btn-cart"
|
|
href="/shop/checkout?express=1">
|
|
<span>Process Checkout</span>
|
|
<span class="fa fa-chevron-right"/>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|
|
|