Is it possible to display this as the SKU on the product page underneath the add to cart/compare sections?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
Hi @Gabriel Rojas, @wanli cheng:
If you're looking for a simple way to replace the text "Internal Reference" with "SKU" in your Odoo instance, you can use the module i created, you can find it in the Odoo store or github under the name change_internal_reference_for_sku.
You can download an install it.
It helps you modify the product form and list views in the backend, and also updates the product detail page on the website to display the SKU above the attributes.
It uses Odoo's inheritance system (XPath) for clean and efficient changes. Ideal for those who want clearer change the original "Interal Reference" for any other text.
Best regards.
Diego Naranjo
Hi,
Try to add the below at the end of the templates.xml, this will show internal reference in shop page for all products.
<template id="products_item_internal_
<xpath expr="//*[hasclass('product_
<h6 class="o_wsale_products_item_
<a class="text-primary text-decoration-none" itemprop="default_code" t-att-href="product_href"
t-att-content="product.
</h6>
</xpath>
</template>
Hope it helps
Hi,
Where to find templates.xml to modify?
sorry for so evident question, im new in Odoo, thanks
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
2
mars 24
|
1846 | ||
|
1
févr. 24
|
1539 | ||
|
4
mai 25
|
2836 | ||
Website orders not confirmed
Résolu
|
|
4
janv. 25
|
2655 | |
|
2
juin 24
|
2075 |