Page 5 of 71 FirstFirst ... 345671555 ... LastLast
Results 41 to 50 of 703
  1. #41
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Just another Cross-Sell mod (support thread)

    I believe in the original CrossSell mod you need to add certain files into "includes", and edit some other files. Check to make sure that you have it set correctly.

    Then in you admin->configuration->cross-sell check this:
    You will see that you have 2 settings with the same name "Display Cross-Sell Products" (I should have changed those names, in fact I will do in the next version)
    The first "Display Cross-Sell Products" is the minimum number of products required to display cross-sell, make sure you set this to 1

    The second is the maximum number, set it to whatever you want (i.e: 8)
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  2. #42
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    1,410
    Plugin Contributions
    1

    Default Re: Just another Cross-Sell mod (support thread)

    I know others have had this question before, but I couldn't find the answer. Lets say I have a max display of 6 xsell items, but I actually assign a larger number, 10 for example. It appears that it xsell will only show the first 6 and not randomly show the 10. Has anyone came up with a solution for this? Or am I doing something wrong.

    Thanks

  3. #43
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Just another Cross-Sell mod (support thread)

    I don't have access to my server now, but it should be something like this:

    Edit includes/modules/your_template/xsell_products.php

    Replace:
    PHP Code:
    $xsell_query $db->Execute("select distinct p.products_id, p.products_image, pd.products_name
                                     from " 
    TABLE_PRODUCTS_XSELL " xp, " TABLE_PRODUCTS " p, " TABLE_PRODUCTS_DESCRIPTION " pd
                                     where xp.products_id = '" 
    $_GET['products_id'] . "'
                                      and xp.xsell_id = p.products_id
                                      and p.products_id = pd.products_id
                                      and pd.language_id = '" 
    $_SESSION['languages_id'] . "'
                                      and p.products_status = 1
                                     order by xp.sort_order asc limit " 
    MAX_DISPLAY_XSELL);
      
    $num_products_xsell $xsell_query->RecordCount(); 
    By:
    PHP Code:
    $xsell_query $db->Execute("select distinct p.products_id, p.products_image, pd.products_name
                                     from " 
    TABLE_PRODUCTS_XSELL " xp, " TABLE_PRODUCTS " p, " TABLE_PRODUCTS_DESCRIPTION " pd
                                     where xp.products_id = '" 
    $_GET['products_id'] . "'
                                      and xp.xsell_id = p.products_id
                                      and p.products_id = pd.products_id
                                      and pd.language_id = '" 
    $_SESSION['languages_id'] . "'
                                      and p.products_status = 1
                                     order by RANDOM(), xp.sort_order asc limit " 
    MAX_DISPLAY_XSELL);
      
    $num_products_xsell $xsell_query->RecordCount(); 
    What I did is that I added the order by random() into the sql query.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  4. #44
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Just another Cross-Sell mod (support thread)

    Oops, huge mistake, should be rand() instead of random(). Sorryyyy
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  5. #45
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    1,410
    Plugin Contributions
    1

    Default Re: Just another Cross-Sell mod (support thread)

    ...........................

  6. #46
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Just another Cross-Sell mod (support thread)

    Ok, my site is back up so I have the chance to test the query. It works. So you should see the effect you expected.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  7. #47
    Join Date
    Sep 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: Just another Cross-Sell mod (support thread)

    Hi!
    I get some error when i use, Add Product Field Button. I get "error on the site" in the status field. And when I use the new funksion "Cross sell 1 way only" i get the message "Please input main product's model" what have gone wrong.

    Regards
    Kjetil

  8. #48
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Just another Cross-Sell mod (support thread)

    It'd be great if you can provide a screenshot.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  9. #49
    Join Date
    Jul 2007
    Posts
    30
    Plugin Contributions
    0

    Default Re: Just another Cross-Sell mod (support thread)

    10 statements processed. ERROR: Can not insert configuration_key "", it already existsNote: 1 statements ignored. See "upgrade_exceptions" table for additional details.

    ..it doesnt work to me....I have cross sell and advanced too. What I did wrong. It happend when I insert your sql script

    SET @t4=0;
    SELECT (@t4:=configuration_group_id) as t4
    FROM configuration_group
    WHERE configuration_group_title= 'Cross Sell';
    DELETE FROM configuration WHERE configuration_group_id = @t4;
    DELETE FROM configuration_group WHERE configuration_group_id = @t4;

    INSERT INTO configuration_group VALUES ('', 'Cross Sell', 'Set Cross Sell Options', '1', '1');
    UPDATE configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();

    SET @t4=0;
    SELECT (@t4:=configuration_group_id) as t4
    FROM configuration_group
    WHERE configuration_group_title= 'Cross Sell';


    UPDATE configuration SET configuration_group_id = @t4 WHERE configuration_key IN ('MIN_DISPLAY_XSELL','MAX_DISPLAY_XSELL','SHOW_PRODUCT_INFO_COLUMNS_XSELL_PRODUC TS','XSELL_DISPLAY_PRICE');

    INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
    ('', 'Input type to be used in form', 'XSELL_FORM_INPUT_TYPE', 'model', 'Choose to use product ID or MODEL as your input type. Check readme file for more info', @t4, 1, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''id'', ''model''),');

  10. #50
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Just another Cross-Sell mod (support thread)

    If you host your image on your localhost then there is no way I can access it.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

 

 
Page 5 of 71 FirstFirst ... 345671555 ... LastLast

Similar Threads

  1. Cross Sell Advanced [Support Thread]
    By DivaVocals in forum Addon Admin Tools
    Replies: 153
    Last Post: 19 Mar 2024, 08:22 PM
  2. Multi Cross Sell mod [Support thread]
    By gilby in forum All Other Contributions/Addons
    Replies: 475
    Last Post: 11 Apr 2020, 10:44 PM
  3. Trying to fully uninstall Cross Sell Just Another Mod
    By 1105designs in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 18 Oct 2011, 04:03 AM
  4. Fatal Error After installing Cross Sell - Just Another Cross Sell Mod
    By kconklin in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 9 Jul 2010, 02:38 PM
  5. "cross sell - just another cross sell mod"
    By australican in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 28 Apr 2010, 05:17 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR