This topic has 34 replies, 4 voices, and was last updated 6 years, 11 months ago ago by Rose Tyler
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.
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.
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..
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.
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).
Hello,
Sorry, but unfortunately we can’t recreate this problem on our test site.
Regards,
Rose Tyler.
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).
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
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?
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
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?
Hello,
Fixed. Please check.
Regards,
Rose Tyler.
Perfect, thank you very much!
Hello,
You’re welcome!
Regards,
Rose Tyler.
You must be logged in to reply to this topic.Log in/Sign up