diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index f86341dac14f862365c7b8acf610f6a2e2af129a..a27e1a339c4616213d0f9759c2b2558fa5935fe5 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -1008,18 +1008,6 @@ </form> </template> - <template id="reduction_code" inherit_id="website_sale.cart" active="False" customize_show="True" name="Promo Code"> - <xpath expr="//div[@id='right_column']" position="inside"> - <h4>Promo Code</h4> - <p> - Have a promo code? Fill in this field and apply. - </p> - <t t-call='website_sale.coupon_form'> - <t t-set='redirect'>/shop/cart</t> - </t> - </xpath> - </template> - <template id="checkout"> <t t-call="website.layout"> <t t-set="additional_title">Shop - Checkout</t> @@ -1540,6 +1528,20 @@ </div> </template> + <template id="reduction_code" inherit_id="website_sale.total" active="False" customize_show="True" name="Promo Code"> + <xpath expr="//div[@id='cart_total']" position="after"> + <div class='col-md-offset-6 col-md-6'> + <h4>Promo Code</h4> + <p> + Have a promo code? Fill in this field and apply. + </p> + <t t-call='website_sale.coupon_form'> + <t t-set='redirect'>/shop/cart</t> + </t> + </div> + </xpath> + </template> + <template id="payment_confirmation_status"> <div class="oe_website_sale_tx_status" t-att-data-order-id="order.id"> <div t-att-class="'panel %s' % (