Jump to content

garywhitling

Member
  • Content Count

    89
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by garywhitling

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

    More products to display below current

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

    More products to display below current

    Hi Brian, Here you go https://www.firstchoicemobility.com/mobility-scooters/mobility-scooters-all.html Regards Gary
  5. 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(); });
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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 🙂
  15. garywhitling

    Paid Custom Work Required

    Hi, Nope still no joy 😞 Any takers to carry out the work? 🙂
  16. 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
  17. garywhitling

    Paid Custom Work Required

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

    Gallery Image Ordering

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

    Gallery Image Ordering

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

    Gallery Image Ordering

    Hi Ian, Cool, I will give it and go Cheers Gary
  21. garywhitling

    Gallery Image Ordering

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

    Facebook Posts

    Hi Claudia, Yes I saw this and think I will go down the same route as it looks like a great plugin. Cheers Gary
  23. garywhitling

    Facebook Posts

    Hi, We were wondering why the Facebook posts are different for cc3 and cc6 (cc3 providing a better post!) If we copy the address of a product and simply paste it in to Facebook...The CC3 version also displays the image. The cc6 version doesn't show the image and also captures the Meta Description so all posts are the same, apart from the title of the product. We have found the copy and paste of the title in the address bar really handy over the years but seems cc6 has brought this quick way of posting to an end? Any suggestions on how to solve this issue would be much appreciated. Regards Gary
  24. garywhitling

    Billing Address - no State

    Hi Brian, As always you have come up with the solution :-) Yep now working perfectly Thank you Gary
  25. garywhitling

    Billing Address - no State

    Hi Noodleman, I tried what you have suggested but now i have the white screen you mentioned before, when trying to view the language file. I get this error message when looking in the error log: [Exception] /var/www/vhosts/MYWEBSITE.com/httpdocs/classes/language.class.php:246 - Call to a member function attributes() on null I have turned off each plugin, one at a time to see if that helps but still no joy :-( I am using CubeCart version 6.1.12 Any Other Suggestions?
×