Home Forums WoodMart support forum Product video not showing on translated pages (WPML + WoodMart)

Product video not showing on translated pages (WPML + WoodMart)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #694067

    webiaprod
    Participant

    Hello,

    I’m using WordPress + WooCommerce with the WoodMart theme and WPML for a multilingual store.
    My main language is French (FR) and the translated version is Spanish (ES).

    The issue

    On my product pages, I’ve added a video in the product gallery (using the built-in WoodMart video option).

    On the French version, the video displays correctly on the product page (front-end).

    On the Spanish translation, the video appears correctly in the back-end gallery, but it does not show up on the front-end.

    I’ve tried several configurations:

    Using an MP4 file → works in FR, not in ES.

    Using a YouTube link → same issue, works in FR but not visible in ES.

    The translated product is fully synchronized with WPML (images and gallery are copied correctly).

    I’ve also re-added the video directly on the Spanish product edit page — still not showing.

    Technical details

    Theme: WoodMart (latest version)

    Multilingual plugin: WPML + WooCommerce Multilingual

    Editor: Classic Editor + Elementor

    #694092

    Artem Temos
    Keymaster

    Hello,

    We’re sorry to hear that you’re experiencing problems with our theme. Our team is here to assist you and ensure that you have a positive experience.

    In order to investigate the issue further, could you please provide us with your admin access? This will enable us to check your settings and identify the root cause of the issue. Rest assured that we will keep your information confidential and secure.

    Once we have the access details, we will get to work immediately to resolve the issue as quickly as possible.

    Thank you for bringing this to our attention, and we look forward to hearing back from you soon.

    Best regards

    #694101

    webiaprod
    Participant

    I will put the access details in the private folder.

    #694194

    Artem Temos
    Keymaster

    Try to add the following PHP code snippet to the child theme functions.php file to fix this issue. Let me know if it helps

    add_action('init', function() {
    	remove_filter( 'woodmart_single_product_image_thumbnail_id', 'woodmart_wpml_product_video_attachment_id', 10, 2 );
    }, 1000);
    #694215

    webiaprod
    Participant

    Thank you for this code, it works,

    #694252

    Artem Temos
    Keymaster

    You are always welcome. Feel free to contact us if you have any further questions.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Product video not showing on translated pages (WPML + WoodMart)’ is closed to new replies.