Page 1 of 2 12 LastLast
Results 1 to 10 of 240

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Location
    Osprey, Florida
    Posts
    151
    Plugin Contributions
    14

    Default Re: Ultimate Cross Sell for Zen Cart

    Quote Originally Posted by johnnyq View Post
    I found the issue. Buddy, why did you program this using short open tags? ...
    Could you kindly expand on the issue? If I don't know what is wrong, I can't fix it.

    Incidentally, normally when the footer and the right sidebar are missing more often than not, it is because the required file, in this case "tpl_modules_also_purchased.php", has not been uploaded to the proper directory.

  2. #2
    Join Date
    Mar 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: Ultimate Cross Sell for Zen Cart

    Very easy. One of the two files required (the first I believe) that I posted earlier starts with <? instead of <?php. <? is called a short open tag. Using these must be allowed in php.ini. That flag wasn't set in mine per default. Changing <? to <?php fixed the problem.

    The reason why I'm bringing this up is that some people don't have access to their php.ini like on shared hosting programs. I don't see any reason why anybody would ever use <? instead of <?php because of exactly that reason.

    Quote Originally Posted by ultimate_zc View Post
    Could you kindly expand on the issue? If I don't know what is wrong, I can't fix it.

    Incidentally, normally when the footer and the right sidebar are missing more often than not, it is because the required file, in this case "tpl_modules_also_purchased.php", has not been uploaded to the proper directory.

  3. #3
    Join Date
    May 2008
    Location
    United States
    Posts
    491
    Plugin Contributions
    1

    help question Re: Ultimate Cross Sell for Zen Cart

    Tabbed Lite supports one of the other version of cross sell and it has an admin setting to display cross sells on a tab instead of in the description area.

    I changed where it calls for tpl_modules_xsell_products.php to tpl_modules_ultimate_cross_sells.php however there is an additional section in the file that needs to be converted, the code is below does it make any sense to anyone?

    PHP Code:
    // ===> Check if Cross Sell should be a tab or not (tabstrip)
    if ($bCrossSell_Tab != false) {
      
    $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();
      if (
    $num_products_xsell != 0) {
        echo 
    '<li><a href="javascript:void(0)" onclick="expandcontent(\'sc'.$g.'\', this)"><span>'.$cross_sell_tab_name.'</span></a></li>' "\n";
        
    $g++;
      }


  4. #4
    Join Date
    Jun 2008
    Location
    Osprey, Florida
    Posts
    151
    Plugin Contributions
    14

    Default Re: Ultimate Cross Sell for Zen Cart

    Quote Originally Posted by johnnyq View Post
    Very easy. One of the two files required (the first I believe) that I posted earlier starts with <? instead of <?php. <? is called a short open tag. Using these must be allowed in php.ini. That flag wasn't set in mine per default. Changing <? to <?php fixed the problem.

    The reason why I'm bringing this up is that some people don't have access to their php.ini like on shared hosting programs. I don't see any reason why anybody would ever use <? instead of <?php because of exactly that reason.
    The reason I asked is because I wanted to know which file had the short open tag so that I could fix it and submit it when I update the contribution.

  5. #5
    Join Date
    Mar 2011
    Posts
    76
    Plugin Contributions
    0

    Default Re: Ultimate Cross Sell for Zen Cart

    Quote Originally Posted by johnnyq View Post
    Very easy. One of the two files required (the first I believe) that I posted earlier starts with <? instead of <?php. <? is called a short open tag. Using these must be allowed in php.ini. That flag wasn't set in mine per default. Changing <? to <?php fixed the problem.
    this fix doesn't work for me, any other ideas ?

  6. #6
    Join Date
    May 2010
    Posts
    222
    Plugin Contributions
    0

    Default Re: Ultimate Cross Sell for Zen Cart

    Random products are being shown on the checkout page and no items are being shown on the product pages now. Is there any fix for this?

  7. #7
    Join Date
    Dec 2009
    Posts
    206
    Plugin Contributions
    2

    Default Re: Ultimate Cross Sell for Zen Cart

    Just wanted to say thanks for such a wonderful mod! This is by far the easiest cross sell mod to configure and I love the way I can enter the cross sells once and have them show up on both my sidebox and shopping cart.

    Thanks again,
    Crystal

  8. #8
    Join Date
    Oct 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Ultimate Cross Sell for Zen Cart

    works fine now
    Last edited by abiku; 18 Apr 2011 at 04:54 PM.

  9. #9
    Join Date
    Dec 2009
    Posts
    37
    Plugin Contributions
    0

    Default Re: Ultimate Cross Sell for Zen Cart

    Is there a way to reorder the display of ultimate cross sell on the product info page, e.g. related products, then cross sell and upsell. The way it's displayed currently, cross sell is displayed first but I'd prefer having related products displayed first and then cross sell.

    Any ideas or suggestions on which files to modify would be great.

  10. #10
    Join Date
    May 2010
    Posts
    222
    Plugin Contributions
    0

    Default Re: Ultimate Cross Sell for Zen Cart

    Quote Originally Posted by commdiver View Post
    Random products are being shown on the checkout page and no items are being shown on the product pages now. Is there any fix for this?
    Sorry to ask again, but is there a solution for this?

 

 
Page 1 of 2 12 LastLast

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. Which one? Multi Cross Sell vs Ultimate Cross Sell?
    By Renz in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 3 Jul 2013, 08:30 AM
  4. Just another Cross-Sell mod (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 702
    Last Post: 3 Nov 2012, 04:30 AM
  5. v139h Ultimate Cross Sell Scalability
    By chuckd in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 1 May 2012, 10:41 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