Skip to Content
Menu
This question has been flagged
2 Replies
6697 Views

Hello, how can I show the internal reference number on my product page, below the add to cart button or any where else?

Avatar
Discard
Best Answer

Hello Saban,

  You can do this on website_sale.product

Internal Reference: <t-field="product.default_code"/>

I put this bellow of <h1 itemprop="name" t-field="product.name">Product Name</h1>

Avatar
Discard
Best Answer

@alexsandro Haag, thanks for the tip it works, but if i have variants in my products then the internal code is not rendering in my website i'm using odoo 12.0

Avatar
Discard
Related Posts Replies Views Activity
2
Jul 24
3064
3
Aug 23
7486
0
Feb 23
1752
1
Mar 15
4312
0
Mar 15
3597