Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by garywhitling

  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
  16. Hi, Anyone have any idea why the contact form on the bottom of this page is not displaying? https://www.firstchoicemobility.com/stairlifts.html Here is the code: <p align="center"><iframe frameborder="0" height="500" src="http://easyform.acorn-partner.co.uk/52365" width="400"></iframe></p> Found this warning message when inspecting the page with Safari [Warning] [blocked] The page at about:blank was not allowed to display insecure content from http://easyform.acorn-partner.co.uk/52365. Any Suggestions? Cheers Gary
  17. Cheers Al and Noodleman, Found this that looks like it would do https://www.sitepoint.com/jquery-refresh-page-browser-resize/ ====================================================== //refresh page on browser resize $(window).bind('resize', function(e) { if (window.RT) clearTimeout(window.RT); window.RT = setTimeout(function() { this.location.reload(false); /* false to get page from cache */ }, 200); }); ================================================== However, not sure where to paste in Noodleman like your idea of using hidden div's to control the desktop layout only
  18. Hi, I was wondering if anyone knows of some code that can be added to "Refresh" the page or the main menu anytime the web browser is resized on a desktop. I don't need this to happen when the site is being viewed on a mobile or tablet, only for the desktop view. Basically, I have a problem with a menu layout that doesn't resize it's self correctly when the web browser is resized manually. Any Suggestions? Regards Gary
  19. Hi, Nope still no joy Any takers to carry out the work?
  20. Hi Vidmarc, Cheers will take a look at the link above and let you know if it does what i need. Will take a look at the menu and see. Thanks for the advice Regards Gary
  21. Hi Coders! I am in the need of a couple of modifications. The website concerned is http://www.firstchoicemobility.com I currently have a large dropdown menu that works fine apart from when the web browser is resized. the text then gathers up on the left hand side. Apparently this is because the coding used (Isotope) for the menu should not be used like that so there is no fix. So I would like a new menu created the same without the browser resizing issue. The ability to print off or save a PDF of a product page (I have a sample of what i would like the layout to look like) The ability to re-order images to display on the product page in the order i wish. Please contact me if you are able to carry one or all of the modifications. Thank You Gary
  22. Hi Dnhart29, Thank you for the suggestion, unfortunately I have over 2,700 products with roughly 7 images each :-( So I am looking for an automated option. I am nearly there with a mod from Havenswift so keeping my fingers crossed with that But thanks for having a look and spending the time to reply Regards Gary
  23. Hi Ian, Cool, I will give it and go Cheers Gary
  24. Hi Brian, Great stuff I have just made the changes you mentioned and that helps for now :-) Ideally we would like to set the order of the images differently depending on the product page. otherwise we will have to re-name images to get them in-line. Are you aware of any mods/plugins that offer this? Regards Gary
  25. Hi, I was wondering if anyone is aware of how to arrange the images within the gallery area on the product page in to a certain order. For example drag and drop in to position from within the admin area or alphabetically within the code.
  • Create New...