Cross sell sidebox

Started by ctcentralinfo on 25 Apr 2008, 1:37 AM · Views: 3,580

Results 1 to 18 of 18
25 Apr 2008, 1:37 AM
#1
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Cross sell sidebox

Is their a sidebox for the cross sell mod?

Rich People scream, Wealthy people whisper

https://www.cooltechcentral.com

25 Apr 2008, 4:15 AM
#2
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Cross sell sidebox

Not aware of one only one I know of is the below product description etc on the product page

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

25 Apr 2008, 4:38 AM
#3
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Cross sell sidebox

None. You can of course code 1 using the existing code of the xsell module.

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 May 2008, 11:03 PM
#4
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Cross sell sidebox

A sidebox for cross sell would be a welcome mod. There used to be one but I am not sure that it still exists in the download section.

9 Jul 2008, 2:59 PM
#5
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Cross sell sidebox

SO if I add this bit of code:

<?php require($template->get_template_dir('tpl_modules_xsell_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_xsell_products.php'); ?>

to the edible sidebox mod will it generate the recommended effect or is it much more to it?

Rich People scream, Wealthy people whisper

https://www.cooltechcentral.com

29 Oct 2008, 12:34 AM
#6
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

Re: Cross sell sidebox

There is one. It was done by Ryk a long time ago. Back on 1.2.7 i believe.
I did edit it to work on 1.3.x
I'll see if i can find it and post it in downloads

Zen Cart developer since 2009 — Zen Cart Solutions
Ecommerce development, integrations & automation — Junction Solutions

3 Nov 2008, 2:33 PM
#7
mikebackhouse avatar

mikebackhouse

New Zenner

Join Date:
Jan 2008
Posts:
37
Plugin Contributions:
0

Re: Cross sell sidebox

Anymore news on this? This iss exactly what I'm looking for (I personally find that the cross sell info gets a bit lost beneath the description)

Cheers!

13 Nov 2008, 3:41 PM
#8
ben_harry avatar

ben_harry

Zen Follower

Join Date:
Mar 2007
Location:
Cornwall - uk
Posts:
462
Plugin Contributions:
0

Re: Cross sell sidebox

any updates on this

14 Nov 2008, 2:18 PM
#9
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

Re: Cross sell sidebox

I've uploaded the mod to the downloads section. Hopefully the team will make it available soon.

Regards
Steve

Zen Cart developer since 2009 — Zen Cart Solutions
Ecommerce development, integrations & automation — Junction Solutions

9 Dec 2008, 2:47 PM
#10
teva avatar

teva

Zen Follower

Join Date:
Sep 2004
Posts:
101
Plugin Contributions:
0

Re: Cross sell sidebox

Is it possible to show images of xsell products also?

tnx

19 Dec 2008, 1:47 AM
#11
mattstuible avatar

mattstuible

New Zenner

Join Date:
Jan 2006
Location:
Montreal, QC, Canada
Posts:
39
Plugin Contributions:
0

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

19 Dec 2008, 6:21 AM
#12
mattstuible avatar

mattstuible

New Zenner

Join Date:
Jan 2006
Location:
Montreal, QC, Canada
Posts:
39
Plugin Contributions:
0

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

14 Aug 2009, 9:28 AM
#13
mikebackhouse avatar

mikebackhouse

New Zenner

Join Date:
Jan 2008
Posts:
37
Plugin Contributions:
0

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!! :D:D:D

12 Dec 2009, 7:59 AM
#14
damiendlskinsolution avatar

damiendlskinsolution

Zen Follower

Join Date:
Sep 2008
Posts:
97
Plugin Contributions:
0

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

12 Dec 2009, 6:25 PM
#16
damiendlskinsolution avatar

damiendlskinsolution

Zen Follower

Join Date:
Sep 2008
Posts:
97
Plugin Contributions:
0

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

10 Aug 2010, 8:13 AM
#17
tracstev avatar

tracstev

New Zenner

Join Date:
Apr 2008
Posts:
61
Plugin Contributions:
0

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

2 Jan 2011, 6:01 PM
#18
mattstuible avatar

mattstuible

New Zenner

Join Date:
Jan 2006
Location:
Montreal, QC, Canada
Posts:
39
Plugin Contributions:
0

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?main_page=product_contrib_info&products_id=76

Then, install the xsell sidebox mod from here: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_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