Post by CEMinistries » Thu Jul 02, 2015 11:28 pm

Hello,

I run pav_bikestore on our website and the "Add to Cart" buttons on the homepage are not working. OC 1.5.6.4
website: arpbookstore.com

Thanks for the help!

New member

Posts

Joined
Wed Apr 16, 2014 11:17 pm

Post by deepvision » Fri Jul 03, 2015 12:30 am

No wonder it is not working. There is a javascript error in the following code (very bad copy&paste I assume)

Code: Select all

<script type="text/javascript"><!--
		$(document).ready(function() {
			<script type="text/javascript">
  (function() {
    var po = document.createElement("script"); po.type = "text/javascript"; po.async = true;
    po.src = "https://apis.google.com/js/plusone.js?publisherid=110186862990706569766";
    var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s);
  })();
</script>		});
//--></script>
You should change it to

Code: Select all

<script type="text/javascript"><!--
$(document).ready(function() {
  (function() {
    var po = document.createElement("script"); po.type = "text/javascript"; po.async = true;
    po.src = "https://apis.google.com/js/plusone.js?publisherid=110186862990706569766";
    var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s);
  })();
});
//--></script>

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am
Who is online

Users browsing this forum: No registered users and 10 guests