Results 1 to 10 of 38

Hybrid View

  1. #1

    Default Re: Compare multiple products support thread

    Thanks for this fantasic mod!
    I have it working except for the jQuery side.
    When I check a compare box, the javascript fires (I have tested this with an alert) but the product image doesn't appear in the compare box at the top of the screen. The 'compare' button doesn't show at the top of the screen either.
    However, if I refresh the page, the products do appear in the box so something behind the scenes is working.

    Has anybody any ideas what is going wrong?

  2. #2

    Default Re: Compare multiple products support thread

    Ok, I seem to have this working.
    the problem is in the javascript file jscript_products_compare.js.

    If I change from this...
    Code:
      function compareNew(obj, action) {
        $('#compareProducts').load('ajax_compare.php', {'compare_id': obj, 'action': action});
      }
    ....to this.....
    Code:
      function compareNew(obj, action) {
        $('#compareProducts').load('AJAX_servers/AJAX_compare_server.php', {'compare_id': obj, 'action': action},
    							   function(data) {  $("#compareProducts").html(data);  }
    							   );
      }
    It works!
    Has anybody else had this not work or is it just me?

  3. #3
    Join Date
    Jul 2004
    Location
    stroud, gloucestershire
    Posts
    205
    Plugin Contributions
    1

    Default Re: Compare multiple products support thread

    hi,

    Quite frustratingly i have been spending hours today trying to get this working. The ajax side of it wasnt working at all. Then, i had a moment of inspiration! I use the CEON URL re-write tool. I needed to exclude this file from being re-written and off we went! works perfectly!

    Just something to keep in mind for others!
    Even novices can be professionals!

    Funky Fancy Dress

  4. #4
    Join Date
    Jul 2009
    Posts
    127
    Plugin Contributions
    0

    Default Re: Compare multiple products support thread

    I have this installed on my local host and when ever I try to compare two or more products the resulting page is one that says there are no products to compare, even though I'm certain that I checked the boxes before clicking compare. any help?

  5. #5
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: Compare multiple products support thread

    Quote Originally Posted by novastar View Post
    I have this installed on my local host and when ever I try to compare two or more products the resulting page is one that says there are no products to compare, even though I'm certain that I checked the boxes before clicking compare. any help?
    Just thought I'd ask whether anyone knows the reason for the above. I suspect it might be related to other mods I have installed. I've installed and reinstalled this mod but can't for the life of me see where the problem is.

  6. #6
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: Compare multiple products - support thread

    Quote Originally Posted by novastar View Post
    I have this installed on my local host and when ever I try to compare two or more products the resulting page is one that says there are no products to compare, even though I'm certain that I checked the boxes before clicking compare. any help?
    Just thought - it might be because I'm running v1.50, although the original source of this query - novastar - would have been on an earlier version

  7. #7
    Join Date
    Jul 2009
    Posts
    127
    Plugin Contributions
    0

    Default Re: Compare multiple products - support thread

    Quote Originally Posted by simon1066 View Post
    Just thought - it might be because I'm running v1.50, although the original source of this query - novastar - would have been on an earlier version
    Yeah I'm using 1.3.9h, I installed a fresh copy of zen cart on my localhost to test this so this was the first and only mod I installed and it still didn't work. I saw that another version had been installed so I installed that on my live sight but it still has the same issue. I don't want to oversimplify a problem because I'm not an expert but it seems like a small fix, may be a bug somewhere. Any help appreciated.

  8. #8
    Join Date
    Jul 2009
    Posts
    127
    Plugin Contributions
    0

    Default Re: Compare multiple products support thread

    Quote Originally Posted by novastar View Post
    I have this installed on my local host and when ever I try to compare two or more products the resulting page is one that says there are no products to compare, even though I'm certain that I checked the boxes before clicking compare. any help?
    Wrong quote, this is the issue I was talking about, sorry.

 

 

Similar Threads

  1. v151 Multiple Ship-To Addresses [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 84
    Last Post: 14 Dec 2022, 07:02 PM
  2. Multiple Zone Rates Support Thread
    By totalsam in forum Addon Shipping Modules
    Replies: 54
    Last Post: 24 Feb 2015, 03:34 PM
  3. v150 Compare multiple products now working properly
    By nnagarajan in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 30 Jun 2012, 03:04 AM
  4. Compare Multiple Products/Stock Level Indicator
    By dinix in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Feb 2012, 02:42 AM
  5. Products Disclaimer Support Thread
    By clydejones in forum All Other Contributions/Addons
    Replies: 12
    Last Post: 2 Jun 2010, 11:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg