Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Jan 2006
    Location
    Montreal, QC, Canada
    Posts
    39
    Plugin Contributions
    0

    Default Re: Cross sell sidebox

    Hi guys:

    Thanks for your efforts Steve. I've been trying to get the xsell products displaying in a sidebox for ages (http://www.zen-cart.com/forum/showthread.php?t=58146)!!!

    I installed the recently updated mod but there are 2 serious problems. The cross-sell mod itself is working fine.

    First, on pages that do not have cross-sell products, I get the following error showing up in the side column: "Fatal error: Cannot use string offset as an array in /home/mysite/public_html/includes/templates/mysite/sideboxes/tpl_xsell_sidebox.php on line 57".

    Second...as mentioned previously, for products with cross-sell products, the sidebox shows up with a text link but no image.

    I'm running Zen 1.3.7. I'm not a programmer so any advice is appreciated.

    Cheers,

    Matt

  2. #12
    Join Date
    Jan 2006
    Location
    Montreal, QC, Canada
    Posts
    39
    Plugin Contributions
    0

    Default Re: Cross sell sidebox

    OK...after many hours of fiddling I think I have a version of this that works...

    I made two changes to Steve's version (see attached files):

    First, I modified the "IF" statement in xsell_sidebox.php so that the sidebox is displayed only on pages with xsell data.

    Second, I deleted the first "IF" statements in tpl_xsell_sidebox.php. I have no idea why this code was present, but removing it allows images of the products to be displayed properly.

    If there is a "real" programmer out there that could check over these for us?

    Matt
    Attached Files Attached Files

  3. #13
    Join Date
    Jan 2008
    Posts
    40
    Plugin Contributions
    0

    Default Re: Cross sell sidebox

    Nicely done mattstuible!!! I know we're almost 8 months down the line, but I've only just come across your post. I was having the same problems..

    Seriously, you should put an updated version of this mod on the downloads section.. works perfectly!!

  4. #14
    Join Date
    Sep 2008
    Posts
    97
    Plugin Contributions
    0

    Default Re: Cross sell sidebox

    mikebackhouse is totally right. It works like a charm.

    Quick question though: Is there a way to display the cross sell products on 2 columns instead of 1 ?

    Thanks!

    Damien

  5. #15
    Join Date
    Jan 2006
    Location
    Montreal, QC, Canada
    Posts
    39
    Plugin Contributions
    0

    Default Re: Cross sell sidebox

    By two column, do you mean you want to display the cross sell products in the center column?

    The original cross sell mod (http://www.zen-cart.com/index.php?ma...products_id=76) does this...

  6. #16
    Join Date
    Sep 2008
    Posts
    97
    Plugin Contributions
    0

    Default Re: Cross sell sidebox

    mattstuible,

    Actually i was looking at 2 columns within the sidebox.

    In the original version, you can set the "Cross-Sell Products Columns per Row". But it seems it has no effect on the Sidebox version.
    So i guess it's in tpl_xsell_sidebox.php... but i can't see what needs to be modified to get 2 columns within the sidebox.

    Thanks,

    Damien

  7. #17

    Default Re: Cross sell sidebox

    Hi

    Has anyone else got this working with 1.3.8a with images? I think this is a crucial mod which everyone should use as people tend not to scroll down past the fold. I can only get this working with the original script without images, the files attached do not work for me and the page only half loads until the script is processed.

    Any ideas?

    Regards
    Tracey

  8. #18
    Join Date
    Jan 2006
    Location
    Montreal, QC, Canada
    Posts
    39
    Plugin Contributions
    0

    Default Re: Cross sell sidebox

    I haven't checked this thread in a while! ...but if you're still interested, yes, it does work in 1.3.8a.

    You need to install the old cross sell mod (1.3.0) from here: http://www.zen-cart.com/index.php?ma...products_id=76

    Then, install the xsell sidebox mod from here: http://www.zen-cart.com/index.php?ma...oducts_id=1182, but make sure to replace tpl_xsell_sidebox.php and xsell_sidebox.php with the files I attached in my previous post.

    Cheers,

    Matt

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. 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
  2. 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
  3. Product price in cross sell sidebox
    By mattstuible in forum Basic Configuration
    Replies: 0
    Last Post: 24 Sep 2006, 07:46 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