Variation images and descriptions are no longer working when creating new products

This topic has 19 replies, 5 voices, and was last updated 2 weeks, 5 days ago ago by Andrew Mitchell

  • Avatar: carlyliczyk
    carliczyk
    Participant
    November 22, 2024 at 02:58

    Hello,

    Since updating the theme, it appears that the variation images and the descriptions for new products that we create are no longer loading on the page.

    We have successfully uploaded images and descriptions in the past, but when we create

    Video in the private area

    Please, contact administrator
    for this information.
    18 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 22, 2024 at 09:52

    Hello, Carliczyk,

    Thank you for reaching out to us.

    To assist you further, could you please provide the URL of the product where the issue is visible, along with temporary wp-admin and FTP access? This will help us investigate and resolve the matter efficiently.

    We appreciate your cooperation and look forward to your response.

    Best regards,
    The 8Theme Team

    Avatar: carlyliczyk
    carliczyk
    Participant
    November 22, 2024 at 15:59

    Thanks, logins in private area

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 22, 2024 at 16:11

    Hello, Carliczyk,

    Could you please provide the URL of the product where the issue is visible?

    Best regards,
    The 8Theme Team

    Avatar: carlyliczyk
    carliczyk
    Participant
    November 22, 2024 at 16:57

    Sorry! In private area.

    Thanks

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 23, 2024 at 15:00

    Hello, Carliczyk,

    We kindly request that you temporarily disable two-factor authentication https://prnt.sc/A1EL9IIJXlfE

    Best regards,
    The 8Theme Team

    Avatar: carlyliczyk
    carliczyk
    Participant
    November 23, 2024 at 23:06

    Thank you. Its disabled now

    Avatar: carlyliczyk
    carliczyk
    Participant
    November 27, 2024 at 02:46

    Hello, just wondering if you have an up date with this request or of you need anything else from me

    Thank you for your help

    Avatar: carlyliczyk
    carliczyk
    Participant
    November 28, 2024 at 15:05

    Hello, with our theme support running out in less than a week, we are afraid that this issue will not be resolved by then.

    Are you able to provide an update on the status of this ticket?

    We have a number of products that we need to add variation images too but are not updating.

    Thanks for your help

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    November 28, 2024 at 16:45

    Hello @carliczyk
    We have checked your product and it works correctly -> https://gyazo.com/d08f388d2f05bc8d3f6d88c5f2fbfce1. Did you manage to fix it or there is some configuration applied for that product ?
    Kind regards, Jack Richardson

    Avatar: carlyliczyk
    carliczyk
    Participant
    November 28, 2024 at 16:50

    Hello, the product that you are looking at was the example I sent of one that worked correctly previously. Now when we try to update products to add more images, they do not work.

    The one that is not working correctly I sent previously in the private area, and there are a number of ones that have the same issue. I have re-sent again.

    Thanks

    Please contact administrator
    for this information.
    Avatar: carlyliczyk
    carliczyk
    Participant
    November 29, 2024 at 21:46

    Hello, just following up on this.

    Thank you

    Avatar: Justin
    Luca Rossi
    Support staff
    December 2, 2024 at 06:15

    Hi @carliczyk,

    We could see that the JS file is not loading correctly: https://prnt.sc/WKv98nNTSdsa.

    Could you please fix this issue or contact to your hosting provider about this? We guess it could be related to server side issues.

    We also recommend testing for potential conflicts between the WP-Rocket plugin and third-party plugins. To do so, please temporarily disable any non-essential third-party plugins that are not part of the XStore theme package. For your convenience, you can find the list of included plugins here: [Included Plugins](https://www.8theme.com/documentation/xstore/plugins/included-plugins/).

    Once you have deactivated the unnecessary plugins, kindly clear your browser’s cache and verify whether the performance issue persists. This step is crucial, as conflicts with third-party plugins can sometimes cause unexpected issues.

    Should you require any further assistance, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: carlyliczyk
    carliczyk
    Participant
    December 2, 2024 at 19:13

    Hello,

    I have deactivated all plugins except for xstore core, elementor and woocommerce, but its still showing that the xstore/js/scripts.js file is missing. photo attached

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    December 3, 2024 at 10:01

    Dear @carliczyk,

    We hope this message finds you well.

    Upon reviewing the issue, we identified that the missing JavaScript file originates from the child theme’s code. To address this, we temporarily commented out the following code, and everything is now functioning as expected:

    
    function my_theme_scripts() {  
        wp_enqueue_script( 'scripts', get_template_directory_uri() . '/js/scripts.js', array( 'jquery' ), '1.0.0', true );  
    }  
    //add_action( 'wp_enqueue_scripts', 'my_theme_scripts' );  
    

    Additionally, we have verified that the variation gallery is now working correctly. You can view the demonstration here: [Video Link](https://www.awesomescreenshot.com/video/34247765?key=69358fc6cb7380a62aa8e8489defe048).

    Please note that if the image gallery for the main product is not configured, the gallery will not display when visiting the product page. To ensure the gallery appears, you will need to select both the color and size options.

    Should you have any further questions or require additional assistance, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: carlyliczyk
    carliczyk
    Participant
    December 3, 2024 at 14:44

    Thank you for addressing the issue.

    Although, we had opened a thread previously “Change product image by selecting only one attribute in woocommerce variable products” that allowed the variation galley to switch and be displayed when only 1 attribute was selected.

    How come this is no longer the case?

    Thank you

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    December 5, 2024 at 14:29

    Hello, carliczyk,

    Thank you for reaching out to us.

    We would like to inform you that the changes we made to the file:
    /wp-content/plugins/et-core-plugin/packages/st-woo-swatches/public/js/frontend.min.js

    as referenced in the following link:
    https://www.8theme.com/topic/change-product-image-by-selecting-only-one-attribute-in-woocommerce-variable-products-3/#post-420503

    have already been included in the update. As a result, after resolving the bug related to the connection of the file:
    wp-content/themes/xstore/js/scripts.js
    the variations began functioning correctly again.

    We would like to emphasize that our theme does not include the file:
    wp-content/themes/xstore/js/scripts.js

    However, such a file exists in your child theme. We suspect there may have been an error in how this file was connected within the child theme. Specifically, instead of using the function get_stylesheet_directory_uri() the function get_template_directory_uri() was used. This caused an attempt to load a non-existent file from the parent theme instead of the child theme.

    Please note that we did not create this customization for you. It appears to be related to the title attribute for images.

    Should you have any further questions or require assistance, please do not hesitate to contact us.

    Best regards,
    8Theme’s Team

    Avatar: carlyliczyk
    carliczyk
    Participant
    December 5, 2024 at 20:01

    Thank you. I have removed this now.

    Is there any way to show the variation galley without having both attributes selected? It works fine with the main image, but we would also like the variation galley to be visible without having to select a size.

    Thank you for your help

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    December 6, 2024 at 16:40

    Hello, carliczyk,

    Could you please provide a link to a product with a variable gallery and multiple attributes for selection?

    Best regards,
    The 8Theme Team

  • Viewing 19 results - 1 through 19 (of 19 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.