Results 1 to 10 of 703

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Posts
    6
    Plugin Contributions
    0

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

    Quote Originally Posted by dcrosbie View Post
    I was having this same problem. I couldn't figure out what the probem was, and I didn't want to spend time on it, so here is how I fixed my problem.

    1. Uninstall Module Manager (just remove the files and the module_version_tracker table it created)
    2. Install Cross sell mod as per instructions
    3. manually run the SQL files for cross sell to install the tables and config entries into the DB. The SQL files to run are located in the cross sell mod at admin\includes\module_installation\ri_jaxs\db. I ran 0.sql and 1.sql because 2.sql contained SQL that was already in 1.sql

    So this seems to have fixed my problems. I can now to cross sell as expected.
    I found the solution:

    in your zen-cart root directory:

    substitute the file:
    "<zen-cart-root>/admin/includes/init_includes/init_yclass.php"

    with the version from:
    <zen-cart-root>/includes/init_includes/

    <DONE>

    (i.e. copy "init_yclass.php"
    from "<zen-cart-root>/includes/init_includes/"
    to "<zen-cart-root>/admin/includes/init_includes/")

  2. #2
    Join Date
    Jul 2008
    Posts
    6
    Plugin Contributions
    0

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

    OK, I discovered that the module manager has the proper "init_yclass.php" file down in "admin/includes/init_includes/" initially,

    but when you install the Cross Sell module, that version of the file gets overwritten with some old version.

    So, apply the fix I just posted above *AFTER* installing the Cross Sell module rev185.


  3. #3
    Join Date
    Apr 2008
    Posts
    133
    Plugin Contributions
    1

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

    Quote Originally Posted by Dantes View Post
    I found the solution:

    (i.e. copy "init_yclass.php"
    from "<zen-cart-root>/includes/init_includes/"
    to "<zen-cart-root>/admin/includes/init_includes/")
    Thanks! I finally got around to trying this, and it seems to have fixed "something", in that I can now access the Tools > Module Manager, which showed nothing installed, so I clicked on "Install new modules", and it apparently installed the cross-sell stuff again, after which it shows:

    ID module_code Patch_level Version_name Update
    1 ri_jaxs 1 Revision 185 update


    ...so this part seems OK.

    Can you tell me, though:

    Under Catalog, I have two new items at the end:
    - Advanced Cross-Sell
    - Cross-Sell Products

    Selecting the second one gives me a "404 page not found error", as it is trying to load '/store/admin/xsell.php', which is a file that does not exist, at least on my installation. Is that correct?

    Other than that, I have been able to configure some cross-sells on the Catalog > Advanced Cross-Sell page...

  4. #4
    Join Date
    May 2008
    Posts
    50
    Plugin Contributions
    0

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

    Hi,
    I'm about to install this mod, but before I do I have a question. I have 1.3.8 ZC installed with no particular cross-sell mods. 1.3.8 appears to have some native cross-sell support, as it shows "Customers who bought this product also purchased..." which was automatically generated from previous sales.

    e.g. http://www.delightfuldaisy.com//inde...roducts_id=253

    I just want to make sure I don't lose all of the data, can someone confirm that won't be lost? Will this just be something that shows up above or below that "also purchased" box?


    Thanks,
    TJ
    www.delightfuldaisy.com

  5. #5
    Join Date
    Apr 2008
    Posts
    133
    Plugin Contributions
    1

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

    Hi foteek,

    I can confirm that if you actually get it installed and working, it does not conflict with the "Customers who bought this product also purchased..." - you can put the cross-sell above it, or below it, or wherever you want - the other one will still appear. I'd post you an example but I've been implementing this on an experimental store, so I don't really have a link for you.

    But installation can be somewhat buggy as the previous posts show. Once you get it installed, however, it really does work nicely. I'm disappointed that the author of this mod hasn't shown up in many months to answer some of these issues, but that's the way it goes. Good luck!

  6. #6
    Join Date
    Jun 2008
    Location
    Albuquerque, New Mexico
    Posts
    5
    Plugin Contributions
    0

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

    I seem to have everything installed correctly ... As I am able to define my cross sell items ...
    MY problem:
    Form shows that I have 62 total products, Page displayed is Products 1-20 ... when I try and advance to either page 3,4 or 5 ONLY Page 1 will display. No matter how I try to advance to the next page only page one displays.
    Any suggestions?
    Thanks

  7. #7
    Join Date
    Oct 2008
    Posts
    85
    Plugin Contributions
    0

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

    hi, i got an error in admin init_yclass.php , acturally i dont know how to modify or substitute this file
    \admin\includes\init_includes\init_yclass.php

    1, when i installed the module manage, i have already uploaded one file init_yclass.php to admin
    PHP Code:
    <?php
    require_once(DIR_FS_CATALOG.'includes/init_includes/init_yclass.php');
    ?>
    2, now i want to install cross sell, it's also need to upload a file init_yclass.php to admin
    PHP Code:
    <?php
        
    // y stands for yellow1912 :p. I simply add this to store all the functions frequently used in my mods
        
        // PHP4 always pass object by value (default) while PHP5 pass by reference
        
    if (version_compare(phpversion(), '5.0') < 0) {
            eval(
    '
            function clone($object) {
              return $object;
            }
            '
    );
        }
        
        class 
    yclass{
            function 
    db_result_to_string($glue$db_result){
                
    $temp_array = array();
                if(
    $this->is_obj($db_result,'queryFactoryResult')){
                    
    // We need to clone, because we don't want to touch the real object
                    
    while(!$db_result->EOF){
                        
    $temp_array[] = $db_result->fields['products_'.XSELL_FORM_INPUT_TYPE];
                        
    $db_result->MoveNext();
                    }
                    
    $db_result->Move(0);
                    
    $db_result->MoveNext();
                }
                
                return 
    implode($glue,$temp_array);
            }
            
            
    // This function does not work for all languages! BEWARE
            
    function array_to_upper(&$entries){
                foreach(
    $entries as $entry){
                    
    $entry strtoupper($entry);
                }
            }
            
            
    // http://us3.php.net/manual/en/function.is-object.php#66370
            
    function is_obj( &$object$check=null$strict=true ){
                if (
    is_object($object)) {
                    if (
    $check == null) {
                        return 
    true;
                      } else {
                        
    $object_name get_class($object);
                        return (
    $strict === true)?( $object_name == $check ):( strtolower($object_name) == strtolower($check) );
                      }   
                  } else {
                    return 
    false;
                  }
            }
        }
    ?>
    then i'm not sure what do i make this file correctly ?

  8. #8
    Join Date
    Mar 2006
    Location
    Sacramento, CA
    Posts
    93
    Plugin Contributions
    0

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

    Quote Originally Posted by Dantes View Post
    I found the solution:

    in your zen-cart root directory:

    substitute the file:
    "<zen-cart-root>/admin/includes/init_includes/init_yclass.php"

    with the version from:
    <zen-cart-root>/includes/init_includes/

    <DONE>

    (i.e. copy "init_yclass.php"
    from "<zen-cart-root>/includes/init_includes/"
    to "<zen-cart-root>/admin/includes/init_includes/")
    I just installed module_manager because I want to use the cross sell mod and am getting a similar error. I tried to use this solution, but I don't even have a file called init_yclass.php. I could not find the shared_classes separately that the readme said to install, but one of the updates said it was now included in the mod (the entire site http://svn.rubikintegration.com seems to be gone). I had assumed the latest download from the zen-cart add-ons section would have the most recent version, but maybe I need to go to that Google link... My version says Alpha 3.3. Apparently, I am still missing files. I'll try the Google link, but any other suggestions would be appreciated. Also, if the add-ons section is not up-to-date, is there anything that can be done about it? Is the support site really gone, or just down temporarily?

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

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

    The one on google is newest.

    Still have a problem? You can pm me for help (free, so dont worry)

    You can also pm me your ftp and admin temporary login info so I can set that module up for you.

    Regards

    Quote Originally Posted by k4satin View Post
    I just installed module_manager because I want to use the cross sell mod and am getting a similar error. I tried to use this solution, but I don't even have a file called init_yclass.php. I could not find the shared_classes separately that the readme said to install, but one of the updates said it was now included in the mod (the entire site http://svn.rubikintegration.com seems to be gone). I had assumed the latest download from the zen-cart add-ons section would have the most recent version, but maybe I need to go to that Google link... My version says Alpha 3.3. Apparently, I am still missing files. I'll try the Google link, but any other suggestions would be appreciated. Also, if the add-ons section is not up-to-date, is there anything that can be done about it? Is the support site really gone, or just down temporarily?
    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

 

 

Similar Threads

  1. Cross Sell Advanced [Support Thread]
    By DivaVocals in forum Addon Admin Tools
    Replies: 168
    Last Post: 20 Jun 2026, 02:08 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

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