Added to cart popup: Since version 2.9 the loading circle disappeared

This topic has 34 replies, 4 voices, and was last updated 6 years, 11 months ago ago by Rose Tyler

  • Avatar: Royalty
    Royalty
    Participant
    April 28, 2017 at 12:52

    No, its still there.
    1. Clear the cache
    2. Add a product to the cart > the popup appears immediately, but the loading buttons dont
    3. Add another product to the cart > the popup AND the loading buttons appear immediately (thats how it should be)
    Can you please recheck it?
    Many thanks.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 28, 2017 at 14:16

    Hello,

    Oh I see, try to disable 3-rd party plugins (means the plugins that are not included in the theme package are not in the list of required plugins) and then check.
    Did you change any theme files?

    Regards,
    Rose Tyler.

    Avatar: Royalty
    Royalty
    Participant
    April 28, 2017 at 14:21

    I disabled all plugins except woocommerce and switched to Royal parent theme to be sure that no template files from my childtheme affect it, but that made no difference..

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 28, 2017 at 14:34

    Hello,

    You mustn’t copy the whole content of style.css into your child theme. Please read how to create style.css in the child theme correctly:
    http://codex.wordpress.org/Child_Themes
    You need write only style modifications you want to apply for your site, there is no need to copy all code.
    Please change it.

    Regards,
    Rose Tyler.

    Avatar: Royalty
    Royalty
    Participant
    April 28, 2017 at 14:36

    I know and I didnt copy the whole content, only added the parts that I wanted to modify and custom code for my plugins (that was a lot though).

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 28, 2017 at 14:41

    Hello,

    Sorry, but unfortunately we can’t recreate this problem on our test site.

    Regards,
    Rose Tyler.

    Avatar: Royalty
    Royalty
    Participant
    April 28, 2017 at 15:04

    Thats weird.
    I uploaded a whole new copy of Royal theme v. 3.0.2, made no changes at all.
    Disabled all plugins except woocommerce v 3.0.4.
    So there is no customization at all.
    But the bug is still there (tested with firefox and chrome).
    Do you have any idea what to check? PHP version is 5.6 (apache module).

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 6, 2017 at 10:37

    Hello,

    Truly saying our developers have no good idea why such issue appears and on your site only. For me it looks like when loading gif is cached it works file but the first loading when browser trying to get this image first time it makes this issue. Do you use any cache plugin to speed up your site?

    Regards

    Avatar: Royalty
    Royalty
    Participant
    May 7, 2017 at 16:44

    Thatso strange..
    No I am using no caching plugin. For testing purposes, I disabled all plugins except Woocommerce and the problem was still there. I really dont understand why this happens and why I am the only one with this problem. Can it be server- or php-version related?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 10, 2017 at 13:42

    Hello,

    If you don’t use cache plugin then I would suggest you to install it and then check again. Maybe cache will help you to fix this issue. PHP version can’t be the problem.

    Regards

    Avatar: Royalty
    Royalty
    Participant
    May 12, 2017 at 12:13

    I would prefer to solve this without installing more plugins. Anyway, the change you made in product-image.php has lead to another problem: Now, the add-to-cart-popup doesnt show the product image anymore.

    Here is the original ROYAL code:
    <?php echo apply_filters( 'woocommerce_single_product_image_html', sprintf( '<a href="%s" itemprop="image" class="woocommerce-main-image product-image" data-o_href="%s" data-o_srcset="%s" data-o_src="%s" title="%s">%s</a>', $image_link, $image_link, $image_srcset, $image_src[0], $image_title, $image ), $post->ID ); ?>

    And here is what you changed in order to remove the error message:
    <?php echo apply_filters( 'woocommerce_single_product_image_html', sprintf( '<a href="%s" itemprop="image" class="woocommerce-additional-image product-image" data-o_href="%s" data-o_srcset="%s" data-o_src="%s" title="%s">%s</a>', $image_link, $image_link, $image_srcset, $image_src[0], $image_title, $image ), $post->ID ); ?>

    -> class=”woocommerce-additional-image product-image” instead of class=”woocommerce-main-image product-image”. But as said, the product image is not shown in the emodal anymore.

    Any idea how to fix this?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 15, 2017 at 14:31

    Hello,

    Fixed. Please check.

    Regards,
    Rose Tyler.

    Avatar: Royalty
    Royalty
    Participant
    May 15, 2017 at 14:39

    Perfect, thank you very much!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 15, 2017 at 14:51

    Hello,

    You’re welcome!

    Regards,
    Rose Tyler.

  • 1 2
    Viewing 34 results - 21 through 34 (of 34 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.