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.
35 lines
1.9 KiB
35 lines
1.9 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="cart" inherit_id="website_sale.cart">
|
|
<xpath expr="//a[hasclass('btn', 'btn-primary', 'float-right', 'd-none', 'd-xl-inline-block')]" position="replace">
|
|
<a role="button" t-if="website_sale_order and website_sale_order.website_order_line and not no_pass_payment" class="btn btn-primary float-right d-none d-xl-inline-block" href="/shop/checkout?express=1">
|
|
<span class="">Process Checkout</span>
|
|
<span class="fa fa-chevron-right" />
|
|
</a>
|
|
</xpath>
|
|
<xpath expr="//a[hasclass('btn', 'btn-primary', 'float-right')]" position="replace">
|
|
<a role="button" t-if="website_sale_order and website_sale_order.website_order_line and not no_pass_payment" class="btn btn-primary float-right" href="/shop/checkout?express=1">
|
|
<span class="">Process Checkout</span>
|
|
<span class="fa fa-chevron-right" />
|
|
</a>
|
|
</xpath>
|
|
|
|
<xpath expr="//div[hasclass('mt8', 'mb8', 'alert', 'alert-info')]" position="before">
|
|
<div t-if="no_pass_payment" class="alert alert-danger" role="alert">
|
|
<span>
|
|
Votre pannier doit être supérieur ou égal à <t t-esc="amount_limit"/> euros pour valider votre commande.
|
|
</span>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="short_cart_summary" inherit_id="website_sale.short_cart_summary">
|
|
<xpath expr="//a[hasclass('btn', 'btn-secondary', 'float-right', 'd-none', 'd-xl-inline-block')]" position="replace">
|
|
<a role="button" t-if="website_sale_order and website_sale_order.website_order_line and not no_pass_payment" class="btn btn-secondary float-right d-none d-xl-inline-block" href="/shop/checkout?express=1">
|
|
<span>Process Checkout</span>
|
|
</a>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|