Home Forums WoodMart support forum Product image file

Product image file

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #710838

    BVEdgie
    Participant

    Hi there,
    After latest updates of Woocommerce and Woodmart, I updated templates file child-theme/woocommerce/single-product/product-image.php from 9.7.0 to 10.5.0 (this file is really smaller than the previous!) and now single product page is broken.
    Why did I missed?
    Thanks

    Attachments:
    You must be logged in to view attached files.
    #710896

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    The issue is most likely caused by overwriting the product-image.php template with the newer WooCommerce version (10.5.0). In recent updates, WooCommerce significantly simplified this file because much of the product gallery logic was moved to other template files and hooked functions.

    Recommended Solution:

    1/ Restore the previous working version of: child-theme/woocommerce/single-product/product-image.php

    2/ If WooCommerce reports the file as outdated:

    Do NOT directly copy the default WooCommerce template.
    Instead, compare: woodmart/woocommerce/single-product/product-image.php
    Your child theme override
    Merge changes carefully while keeping Woodmart-specific hooks.

    3. If you did not customize the file heavily, the safest option is:

    Delete the override from the child theme
    Let Woodmart’s core template handle it

    Alternatively, try to contact your developer and ask to check it for you.

    Best Regards,

    #711079

    BVEdgie
    Participant

    Good day,
    Ok but will you merge the WC team changes to Woodmart?
    Best regards

    #711096

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    No, we do not.
    WooCommerce is responsible for its plugin, and we are responsible for the WoodMart theme.

    Best Regards,

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