[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) // Player centrado sobre la imagen de producto (sin ocultado por hover)
.o_wsale_product_img_link { .oe_product_cart {
position: relative; position: relative;
} }
.o_multimedia_image_player { .o_multimedia_image_player {
position: absolute; position: absolute;
left: 50%; left: 50%;
top: 50%; top: 38%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
width: min(86%, 320px); width: min(86%, 320px);
z-index: 4; z-index: 4;

View file

@ -13,7 +13,7 @@
<span t-if="product.autor"><b><t t-out="product.autor" /></b></span> <span t-if="product.autor"><b><t t-out="product.autor" /></b></span>
</a> </a>
</xpath> </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"> <div t-if="product.multimedia_embed_url" class="o_multimedia_image_player">
<iframe <iframe
loading="lazy" loading="lazy"