跳至內容
選單
此問題已被標幟
2 回覆
6704 瀏覽次數

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

頭像
捨棄
最佳答案

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>

頭像
捨棄
最佳答案

@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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
7月 24
3067
3
8月 23
7492
0
2月 23
1755
1
3月 15
4315
0
3月 15
3600