Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

White flash when product loads to cart

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › White flash when product loads to cart

  • This topic has 8 replies, 3 voices, and was last updated 13 years, 7 months ago by tiger.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • February 27, 2013 at 11:32 am #8652
    tiger
    Member

    when i add a product to shopping cart the page goes white while it loads, i had similar problem with plugins clashing when you openend pages on my site but i managed to stop that by putting a black html line in my theme css that hides the flash but it doesnt seem to work with the cart?

    February 27, 2013 at 12:00 pm #54094
    Peter
    Member

    please post a link to your shopping cart so we can see for ourselves.

    February 27, 2013 at 1:58 pm #54095
    tiger
    Member

    [removed site url at the request of the user] Then the page called Another Mans Army

    February 27, 2013 at 9:56 pm #54096
    Peter
    Member

    something appears to be loading an older version of jquery library in addition to the jquery library loaded by wordpress and this is interfering with correct operation of lightbox in eStore.

    Please do the following theme/plugin conflict tests to find the culprit which is causing the problem:

    https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin

    Also, check this post:

    https://support.tipsandtricks-hq.com/forums/topic/wrong-way-of-adding-jquery-library-to-wordpress-source-of-javascript-conflicts

    February 28, 2013 at 12:41 pm #54097
    tiger
    Member

    its the html5 audio player that i have linked the cart to, if i turn off the extra shortcodes it doesnt flash but obviously doesnt load song into the cart..

    the way i have linked it is ..in the html5 audio player add track menu you get a choice to put your sell button..i put this in..

    ?wp_eStore_add_to_cart id=1

    this seems to be the only way i can see that it will link the 2, i turned off lightbox because all im doing with the cart is linking from the player..

    i read somewhere about putting jquery scripts into queues but i have no idea where to do this?

    February 28, 2013 at 11:20 pm #54098
    wpCommerce
    Moderator

    Hi, this is what’s happening:

    your HTML5 audio player plugin is hardcoding the following jQuery script

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

    But Another copy of jQuery is already included on that page

    <script type='text/javascript' src='http://www.yourdomain.com/wp-content/plugins/jquery-updater/js/jquery-1.8.2.min.js?ver=1.8.2'></script>

    That’s where the problem is. You can’t have two copies of jQuery on the same page (they will conflict with each other).

    WordPress has a proper API to avoid this issue which is to invoke the enqueue function when a theme or plugin needs to include jQuery. That way no matter how many plugins include jQuery there will always be one copy of it. Unfortunately, your plugin is not following the API.

    March 2, 2013 at 9:10 pm #54099
    tiger
    Member

    it was doing it before i added the

    <script type=’text/javascript’ src=’http://www.yourdomain.com/wp-content/plugins/jquery-updater/js/jquery-1.8.2.min.js?ver=1.8.2′></script&gt;

    and now still doing when i have deleted the jquery -updater plugin..

    its weird because when you add the track to cart you can see this in the address bar..

    [http://www.yourdomain.com/ama/?wp_eStore_add_to_cart=1]

    its like its making a brief page out of it?

    March 2, 2013 at 11:26 pm #54100
    wpCommerce
    Moderator

    Hi, The following script needs to be removed (It is still on that page):

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

    Also, when I go to the URL you specified it tells me that product 1 doesn’t exists?

    March 4, 2013 at 2:19 pm #54101
    tiger
    Member

    i have sent this on to the developer and he said to say thank you as he will fix in his next update.

    and thanks from me for your help :)

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2026 | Tips and Tricks HQ