Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
556 Lượt xem

When a customer validates their cart and pays, they are then taken to a summary page with their order form. I was wondering how I could modify this page to better reflect the store's needs.


I have Odoo 18 free


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

If you want to add content in the 'Order Summary' column, you can try the following approach. 


<?xml version="1.0" encoding="utf-8"?>

<odoo>

<template id="order_summary_inherit" inherit_id="website_sale.checkout_layout" name=" Order Summary Inherit">

<xpath expr="//td[@name='website_sale_cart_summary_product_name']/h6" position="after">

<!--To add something on the order line, Do your logic here. --> </xpath>

</template>

</odoo>


Hope it helps

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 25
932
2
thg 12 24
1286
1
thg 8 25
120
1
thg 8 25
741
1
thg 8 25
116