Buen dia.
Alguien sabe como le puedo hacer para que en mi tienda online al mostrar todos mis productos en la parte de abajo del nombre me muestre la referencia interna de cada producto.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Buen dia.
Alguien sabe como le puedo hacer para que en mi tienda online al mostrar todos mis productos en la parte de abajo del nombre me muestre la referencia interna de cada producto.
Hello Hector,
To display the internal reference in the store, you can add the following XML file. This will show the internal reference below the product name.
// Code In Comment
I Hope this information proves helpful to you.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
// Code
<odoo>
<!-- Display internal ref below name -->
<template id="products_internal_reference" inherit_id="website_sale.products_item">
<xpath expr="//div[hasclass('o_wsale_product_information_text')]"
position="after">
<a class="text-primary text-decoration-none" itemprop="name"
t-att-href="product_href"
t-att-content="product.default_code"
t-field="product.default_code" />
</xpath>
</template>
<!-- Display internal ref in product details -->
<template id="products_details_internal_reference"
inherit_id="website_sale.product">
<xpath expr="//div[@id='product_details']//h1"
position="after">
<h4 itemprop="name" t-field="product.default_code"/>
</xpath>
</template>
</odoo>
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
|
0
pro 22
|
1621 | ||
|
0
bře 21
|
2642 | ||
|
3
říj 20
|
3442 | ||
|
4
čvc 24
|
53120 | ||
|
4
bře 25
|
4083 |