Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #621469

    HI, sorry, you closed the ticket before I was able to see that the problem was not absolutely solved. The post is #612440.

    I was able to add the code you told me and to replace the line. It helped to remove instagram images, but now I still see 2 extra pictures from the same page (“UPF50+” and “wet-dry”). Also the light box acts weird. I can see the main picture twice.

    Please see the link in private content and advice.

    #622486

    I had to remove the suggested code from functions.php file as it destroed all my slides. No slides were working after I use this code:

    function wp_change_aviajs() {
    wp_dequeue_script( ‘avia-default’ );
    wp_enqueue_script( ‘avia-default-child’, get_stylesheet_directory_uri().’/js/avia.js’, array(‘jquery’), 2, true );
    }
    add_action( ‘wp_print_scripts’, ‘wp_change_aviajs’, 100 );

    Still have the problem with the pictures…

    #624231

    Hi,

    Thank you for using Enfold.

    Did you create a “js” folder inside the child theme? And move the avia.js file inside? The code moved the script path.

    Best regards,
    Ismael

    #624627

    Sorry, I didn’t understand if I had to create or I should not create the js folder.
    first I just created a “js” folder and moved there avia.js file, in which I made changes that you told me. it didn’t work.
    then I moved the favia.js file into the root child theme folder but there were no changes.

    so I tried both ways. even when I rename the avia.js file in child theme it doesn’t help and I still can see all the pictures from instagram and from the website in the product pictures.
    Please see ftp access and website access in private data. I hope you can help soon as i’t already time to launch the website.

    #626115

    Hi,

    Add the code in the functions.php file then create a folder called “js” inside the child theme folder. Add the modified avia.js file inside the js folder. Remove browser cache or hard refresh the page afterwards.

    Best regards,
    Ismael

    #627622

    unfortunatelly this doesn’t work for me.

    I did all steps as you said and I am getting an error when I add the code to functions.php

    Parse error: syntax error, unexpected ‘default’ (T_DEFAULT) in /home/content/p3pnexwpnas13_data01/96/3196196/html/wp-content/themes/enfold-child/functions.php on line 61

    Line 61 is: wp_enqueue_script( ‘avia-default-child’, get_stylesheet_directory_uri().’/js/avia.js’, array(‘jquery’), 2, true );

    #628950

    Hi,

    Sorry for the delay. We added the code and we didn’t get the error. http://1ac.33e.myftpupload.com/product/rainbow-rashguard/

    Best regards,
    Ismael

    #629020

    Thank you. I see it works, but adding this code destroys the variation tab on my product page backend. its all time loading and doesn’t work when the code is enabled.

    I am not sure if it has anything to do with this problem https://kriesi.at/support/topic/price-on-the-productpage-doesnt-show-up/. Please check.

    Thank you

    #630337

    Hi,

    Please try to add the code provided here. https://kriesi.at/support/topic/having-problems-after-updating-to-wordpress-4-5-please-read-this-first/

    It’s possibly a jquery issue. The other thread has nothing to do with the current issue.

    UPDATE: Yes, you’re probably. It has something to do with the other thread.

    Best regards,
    Ismael

    #630953

    I just have added that code – but no changes by now.

    Could you please combine these two treads, so we don’t jump here and there for two problems with the same roots?

    #631918

    Hi,

    We provided a reply here: https://kriesi.at/support/topic/price-on-the-productpage-doesnt-show-up/#post-631901

    Unfortunately, we can’t combine threads. Let’s close this one then continue on the previous thread. Would that be OK with you?

    Best regards,
    Ismael

    #632271

    yes, sure. Thanks

    #632710

    Hi,

    Ok, closing this thread for now.

    Regards,
    Rikard

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Product lightbox shows extra pictures’ is closed to new replies.