Jump to content

garywhitling

Member
  • Content Count

    89
  • Joined

  • Last visited

  • Days Won

    1

garywhitling last won the day on May 14

garywhitling had the most liked content!

Community Reputation

1 Neutral

1 Follower

Profile Information

  • Gender
    Male

Recent Profile Visitors

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

  1. garywhitling

    More products to display below current

    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
  2. garywhitling

    More products to display below current

    Hi Brian, Yep that works perfectly 🙂 Thank you Gary
  3. garywhitling

    More products to display below current

    Hi Brian, Here you go https://www.firstchoicemobility.com/mobility-scooters/mobility-scooters-all.html Regards Gary
  4. garywhitling

    More products to display below current

    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(); });
  5. 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
  6. garywhitling

    Unable to upload images via file manager

    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
  7. garywhitling

    Unable to upload images via file manager

    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
  8. 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
  9. garywhitling

    Wrong Image showing when pasting link to Facebook Message

    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
  10. 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
  11. garywhitling

    Contact Form not displaying on page

    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
  12. 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
  13. garywhitling

    Page refresh when browser resized

    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 🙂
  14. garywhitling

    Page refresh when browser resized

    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
  15. garywhitling

    Paid Custom Work Required

    Hi, Nope still no joy 😞 Any takers to carry out the work? 🙂
×