Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4177 Näkymät

Hi,

Am trying to bring the fields in the product form which is defined in the back end to website.How can i do that am using odoo 12 community version.

Thanks in advance

Avatar
Hylkää
Paras vastaus

Hi,

There is field in product form called description for customer by filling this fields the description that we wrote will appear in the website.

If you want to add additional field write the following code.

<template id="product_quick_view_extended" inherit_id="website_sale.product">
<xpath expr="//t[@t-call='website.layout']" position="inside">
<xpath>
You can describe your fields here for eg.
<span t-field="product.barcode"/>
</xpath>
</xpath>
</template>



Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
kesäk. 20
3544
0
lokak. 19
4263
1
lokak. 23
2335
4
lokak. 23
4668
2
lokak. 24
3004