Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by garywhitling

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

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

  3. 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;
                async: false,
                url: $(this).attr('href'),
                cache: true,
                complete: function(returned) {
                    var page = returned.responseText;
                    var list = $('.product_list li', page);
                    var next = $('a.ccScroll-next', page);
        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++) {
                    $('html, body').animate({ scrollTop: ccScrollHistory['loc'] }, 'slow');
        var duration = 500;
        $(window).scroll(function() {
            if ($(this).scrollTop() > 400) {
            } else {
        $('.back-to-top').click(function(event) {
            $('html, body').animate({
                scrollTop: 0
            }, duration);
            return false;
        $('#show-small-search').click(function() {
        if ($("#checkout_form")[0]) {
            if (window_loc_hash == '#login') {
            } else if (window_loc_hash == '#register') {
            $('#checkout_login').click(function() {
            $('#checkout_register').click(function() {
        if($('#ptp').length > 0 && $('[name^=productOptions]').length > 0) {
            $("[name^=productOptions]").change(function() {
        $("#newsletter_email").focus(function() {


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


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

  6. 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
    PHP Version (5.6 Recommended)
    MySQL Version
    Image folder size
    1.06 GB
    Download folder size
    2.91 MB
    Max. Upload filesize
    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

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

    Screen Shot 2018-07-28 at 12.09.48.png

    13 minutes ago, Dirty Butter said:

    I use this is element.meta.php to get it to pick up the image I want. Otherwise it picks up the wrong image for me too.

          {if $FBOG}
          <meta property="og:image" content="{$image.source}"> {*  MY VERSION *}
          <meta property="og:image:width" content="600" />
          <meta property="og:url" content="{$VAL_SELF}">


    Hi Dirty Butter,

    I used Brian's suggestion above and that worked.

    Thank you for taking the time to offer another suggestion 👍

    Regards Gary

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

  9. Hi,

    Anyone have any idea why the contact form on the bottom of this page is not displaying?


    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

  10. 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 🙂

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


  12. Hi Coders!

    I am in the need of a couple of modifications.

    The website concerned is http://www.firstchoicemobility.com 

    1. 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.
    2. 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)
    3. 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

    • Like 1

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

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

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


    Screen Shot 2017-11-27 at 20.50.43.png

    Screen Shot 2017-11-27 at 20.51.05.png

  • Create New...