Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – Please confirm your selection by clicking the update button
Tagged: shipping options
- This topic has 3 replies, 2 voices, and was last updated 10 years, 3 months ago by Coran.
-
AuthorPosts
-
August 7, 2014 at 9:44 am #11283CoranMember
Extra Shortcodes: V4.8.7
WP eStore: V7.1.3
WP: V3.9.2
[http://www.museumofthehorse.org/museum-shop/the-race-sulky-mug/]
The message “Please confirm your selection by clicking the update button” always comes up twice. Once the button is pressed the one message goes but leaves the other one.
I have looked at the current posts and acted on the advice given. Deleted eStore and Extra Shortcodes and reinstalled them from new zips downloaded from your website.
I have looked at the ordering of the js and the css files in the page as this could be a problem but this seems ok.
I have used the eStore on another website and this does not exhibit the same problem. i.e. [http://www.sarah-alexander.co.uk/books-by-sarah-alexander/spiritual-intelligence-in-leadership] although these are earlier versions of the code.
Any suggestions?
August 7, 2014 at 11:49 pm #64778adminKeymasterYou have got a javascript error on this site (where it is not working). That error is preventing estore’s script from working correctly.
The following post will help you see the error I am talking about:
https://support.tipsandtricks-hq.com/forums/topic/debugging-javascript-errors-on-your-site
August 10, 2014 at 5:48 am #64779CoranMemberThank you for the information. This has provided some useful data. I have disabled the eStore and the error does not show up. There are no JavaScript errors on the page. It is only AFTER the eStore is enabled that the error appears.
The error seems to be that $ is undefined. It comes from this code
<script type=”text/javascript”>
$(document).ready(function(){
//Run the script to preload images from CSS
$.preloadCssImages();
});
</script>
where is think that the $ in $.preloadCssImages(); is wrong.
I have no experience in debugging JavaScript or writing it so am struggling to sort this one out. Do I need to preload CSS Images? What is the purpose? Is it important?
Thanks for any further help you can give.
August 10, 2014 at 6:59 am #64780CoranMemberI have resolved, by more luck than judgement, the error. I moved the preload css images code further up the page. That is, BEFORE the addition of the eStore JavaScript code in the page. No idea why it worked but the error did not occur. The preload css images code is now BEFORE any WP plugin code.
Thanks for your help.
-
AuthorPosts
- You must be logged in to reply to this topic.