Is there a way for the internal code or SKU to be show under the product name on the website or do you have to do this manually for each product
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
To do this without code and keep it supported via updates:
-Enable developer mode
-Go to Website > Configuration > Websites
-Go to the "Product Page Extra Fields" and add "Internal Reference" here
It will be displayed on all products in the shop.
this didnot work for me .. donot know what i am missing
How would this work for variants?
Got the same problem with variants. It's not showing up.
Hi,
To display the internal code (SKU) under the product name on your Odoo website, follow these steps:
1) Activate developer mode and Go to Technical > User Interface > Views.
2) Search for the key 'website_sale.product'.
3) Open the appropriate view template and place the default_code in the desired location. For example:
<p t-if="product.default_code">
<span t-esc="product.default_code"/>
</p>
Save your changes, and the SKU will now display under the product name on your website.
Hope it helps
When update module it will be lost :))
this didnot work and taking help from chatgpt i found product.default_code is not passed on by odoo
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Dec 24
|
770 | ||
|
0
Oct 24
|
430 | ||
|
1
Sep 24
|
607 | ||
|
2
Jan 23
|
5930 | ||
|
0
Feb 21
|
1858 |