Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


garywhitling last won the day on May 14 2018

garywhitling had the most liked content!

Community Reputation

1 Neutral

1 Follower

Profile Information

  • Gender

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi bsmither, Thank you for the help, I can get the reCapture showing on the page, however i cannot seem to get it linked to the current submit and continue button. When i say link i mean that the reCapture is not having any effect on the page (Someone can just bypass it and still continue) I added the following to the /styleTemplates/global/index.tpl and the /styleTemplates/global/cart.tpl <!-- Start - reCapture by Gary --> <script type="text/javascript"> var onloadCallback = function() { alert("grecaptcha is ready!"); }; </script> <script src="https://www.google.com/recaptcha/api.js" async defer></script> <!-- End - reCapture by Gary --> and added the following to the reg.tpl page I have moved the code around the page to try different things but have been unsuccesful Tried this <form action="?" method="POST"> <div class="g-recaptcha" data-sitekey="my site key details removed"></div> </form> Tried this <form action="?" method="POST"> <div class="g-recaptcha" data-sitekey="my site key details removed"></div> <br/> <input type="submit" value="Submit"> </form> This is the code for the submit button <a href="javascript:{VERIFY_TAX_FORMAT} submitDoc('registerForm');" class="txtButton" tabindex="17" >{LANG_REGISTER_SUBMIT}</a> Should some of the code be added to this link? Any suggestions
  2. Hi, I need to add a reCAPTURE to an old version 3 cube cart store and was wondering if this has been done before? I have the code for the reCAPTURE however i require some pointers as to how i can get it to become part of the registration form (i.e a user is not able to complete the sign up unless they pass the reCAPTURE test) Any help would be much appreciated Gary
  3. Hi Brian, Thank you for confirming. I thought it was that file. unfortunately, I cannot open the file even when using Adobe Illustrator. it says "This SVG is Invalid. Validate it before opening" ?? However, I have found the icons here: https://fontawesome.com/icons?d=gallery&s=brands Regards Gary
  4. Hi, Can anyone advise me where I can find the social media icons, please. What folder are they stored in? I would like to add the same icons to my emails....but struggling to find them. Thank you Gary
  5. Hi Brian, I have just noticed that since adding that code i now see duplicates of any products that have been added after the code change was made. Any ideas why the category page would do that? the product is only added one in the admin area but displaying twice on the category page. I have reverted back to the old code for now Regards Gary
  6. Hi Brian, Yep that works perfectly Thank you Gary
  7. Hi Brian, Here you go https://www.firstchoicemobility.com/mobility-scooters/mobility-scooters-all.html Regards Gary
  8. Hi Brian, Yes I am using the foundation skin Sorry, not 100% sure what you mean Here is the code from that area. I see it has ccScroll implemented. // Set cookie for 10 mins var date = new Date(); date.setTime(date.getTime() + (10 * 60 * 1000)); $.cookie("ccScroll", JSON.stringify(ccScrollHistory), {expires: date}); $(this).after(function() { return loadingHtml; }); $.ajax({ async: false, url: $(this).attr('href'), cache: true, complete: function(returned) { $('p#loading').hide(); var page = returned.responseText; var list = $('.product_list li', page); var next = $('a.ccScroll-next', page); product_list.append(list); set_product_view(0) $(next_link).replaceWith(next); init_add_to_basket(); } }); }); if($('#ccScrollCat').length > 0) { var cat_pages = parseInt($('#ccScrollCat').text()); if ($.cookie('ccScroll')) { var ccScrollHistory = $.parseJSON($.cookie("ccScroll")); if(cat_pages in ccScrollHistory) { for (i = 1; i < ccScrollHistory[cat_pages]; i++) { $('.ccScroll-next:last').trigger("click"); } $('html, body').animate({ scrollTop: ccScrollHistory['loc'] }, 'slow'); } } } var duration = 500; $(window).scroll(function() { if ($(this).scrollTop() > 400) { $('.back-to-top').fadeIn(duration); } else { $('.back-to-top').fadeOut(duration); } }); $('.back-to-top').click(function(event) { event.preventDefault(); $('html, body').animate({ scrollTop: 0 }, duration); return false; }); $('#show-small-search').click(function() { $("#small-search").slideDown(); }); if ($("#checkout_form")[0]) { if (window_loc_hash == '#login') { checkout_form_toggle(false); } else if (window_loc_hash == '#register') { checkout_form_toggle(true); } $('#checkout_login').click(function() { checkout_form_toggle(false); }); $('#checkout_register').click(function() { checkout_form_toggle(true); }); } if($('#ptp').length > 0 && $('[name^=productOptions]').length > 0) { price_inc_options(); $("[name^=productOptions]").change(function() { price_inc_options(); }); } $("#newsletter_email").focus(function() { $("#newsletter_recaptcha").slideDown(); });
  9. Hi, Anybody know how to make the website show more products below the existing products when you click on More? Currently when you click on more it just replaces what is there with the next 12 products. Before the latest upgrade a while back it added the next group of products below, so you could see say 48 products at once on the same page. Regards Gary
  10. Hi bsmither, Well I got the browser ready and dropped the images in the drop zone and they uploaded perfectly at lightning speed! So its all ok now I am wondering if my host had some issues and now they are fixed Cheers for your help. If it happens again i will carry out the above to troubleshoot
  11. Hi bsmither, I have checked and the can see its 1.06 GB I will check with my host but not aware of any limits. Would CubeCart impose any limits? It's still possible to upload via FTP but not via file manager. Just checked my logs and have got this (70007)The timeout specified has expired: mod_fcgid: can't get data from http client, referer: https://www.REMOVED THIS PART FOR PRIVACY?_g=filemanager&subdir=sub-categories Never had timeouts before ===================================================== CubeCart Version 6.2.0 PHP Version (5.6 Recommended) 7.0.31 MySQL Version 5.1.73 Image folder size 1.06 GB Download folder size 2.91 MB Max. Upload filesize 40M Browser user-agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15 Server Software Apache
  12. Hi, I am having trouble uploading images via the file manager. It was fine two days ago but now it has just stopped working. I have asked my web host if they have made any changes and they say they have not so i am a bit stumped. Any ideas of what i need to check? Cheers Gary
  13. Hi bsmither, Excellent that worked! I pasted the code below <link rel="image_src" href="{$PRODUCT.small}" /> in to the template files main.php main.checkout.php and that has fixed it, see image below Thank again for your help! Regards Gary Hi Dirty Butter, I used Brian's suggestion above and that worked. Thank you for taking the time to offer another suggestion Regards Gary
  14. Hi, Sometimes we copy and paste the website address like this - https://www.firstchoicemobility.com/freerider-mayfair-mobility-scooter.html - in to a facebook message but for some strange reason the message always displays the VAT Relief image from the checkout page instead of the actual product image. Any Idea why it's grabbing this image and not the product image? Regards Gary
  15. Hi Brian, As always you have found the solution I simply removed the http: and presto its works! <p align="center"><iframe frameborder="0" height="500" src="//easyform.acorn-partner.co.uk/52365" width="400"></iframe></p> Thanks Gary
  • Create New...