Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
368 Vistas

I cannot figure out how to remove/toggle off the new dog ear badge on each product. 

See my site at Purple Pepper dot org forward slash shop

Avatar
Descartar
Mejor respuesta

In Odoo 18, the dog-ear badge on products is a new UI feature. To remove or toggle it off, try the following methods:

1. Disable in Settings (If Available)

  • Go to WebsiteConfigurationSettings.
  • Look for an option related to Product Labels/Badges and disable it.

2. Hide via CSS

If no setting exists, you can hide it using CSS:

  1. Go to WebsiteCustomizeEdit HTML/CSS.
  2. Add the following CSS in your custom theme:

    css

    CopyEdit

    .o_product_badge { display: none !important; }

  3. Save and refresh the page.

3. Remove via XML/QWeb (Advanced)

If it's rendered via QWeb, override the template:

  • Locate the template (e.g., website_sale.product_badge).
  • Use a custom module or website customization to remove the badge element.

Avatar
Descartar