[FIX] website_sale_product_library: fallback xpath and stable iframe overlay

This commit is contained in:
snt 2026-03-29 18:30:19 +02:00
parent b9af48239e
commit e799ff33b5
2 changed files with 3 additions and 3 deletions

View file

@ -9,14 +9,14 @@
}
// Player centrado sobre la imagen de producto (sin ocultado por hover)
.o_wsale_product_img_link {
.oe_product_cart {
position: relative;
}
.o_multimedia_image_player {
position: absolute;
left: 50%;
top: 50%;
top: 38%;
transform: translate(-50%, -50%);
width: min(86%, 320px);
z-index: 4;

View file

@ -13,7 +13,7 @@
<span t-if="product.autor"><b><t t-out="product.autor" /></b></span>
</a>
</xpath>
<xpath expr="//a[hasclass('o_wsale_product_img_link')]" position="inside">
<xpath expr="//div[hasclass('o_wsale_product_sub')]" position="after">
<div t-if="product.multimedia_embed_url" class="o_multimedia_image_player">
<iframe
loading="lazy"