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

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

  • 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 - 31 through 34 (of 34 total)

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

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