Zen Cart Logo
Forums / All Other Contributions/Addons / Cross Sell Advanced

Cross Sell Advanced

Locked

Views: 3,481

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
27 May 2007, 17:20
#2
stevenb avatar

stevenb

New Zenner

Join Date:
Mar 2007
Posts:
57
Plugin Contributions:
0

Re: Cross Sell Advanced

Hi Voltage,

:thumbsup: Just wanted to say thank you for this great mod. I'm using it and loving it!

Steve

28 May 2007, 15:49
#3
voltage avatar

voltage

Totally Zenned

Join Date:
Apr 2005
Location:
Houston, TX
Posts:
1,356
Plugin Contributions:
1

Re: Cross Sell Advanced

Most of the thanks goes to Absolute. He did the hard coding. I just came up with idea and the $$$ to pay him to do it. ;)

Before this mod, I could not stand setting up the cross sell items. It would take way too long searching for the right item in the list. Now, you can just use the catalog side to decide what to cross sell, and then simply type in the model #'s.

StevenB:

Hi Voltage,

:thumbsup: Just wanted to say thank you for this great mod. I'm using it and loving it!

Steve

15 Jun 2007, 16:03
#4
mircose avatar

mircose

New Zenner

Join Date:
Nov 2005
Location:
www.carouseltoyshop.co.uk
Posts:
20
Plugin Contributions:
0

Re: Cross Sell Advanced

It says that is required cross sell to be installed but i cant find the cross sale..

:(

14 Jul 2007, 10:01
#5
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Cross Sell Advanced

Thanks a lot, nice idea :thumbsup:

I did a quick hack which allows to copy existing cross sells quickly. The zip is attached to this post (includes a short readme and screenshot).

01 Aug 2007, 18:39
#6
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: Cross Sell Advanced

When a customer places more than 12 items in their shopping cart the "Also Purchased" box at the bottom disappears and a very long sql error messages appears. This only occurs if there are more than 12 items in the box.

I have removed all cross sell items, but it still appears.

04 Aug 2007, 15:33
#7
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Cross Sell Advanced

"Also Purchased" is not the same as "Cross Sell". Sounds like a wierd error though.

a very long sql error messages appears"very long" is not clear enough. You should post the exact message here.

04 Aug 2007, 15:45
#8
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: Cross Sell Advanced

Here's the complete error text. I associated it with cross sell because of some of the text.

1064 You have an error in your SQL syntax; check the manual that corresponds 
to your MySQL server version for the right syntax to use near '-1)' at line 1
in:

[(select p.products_id, p.products_image from products_xsell xp, products p, 
products_description pd where xp.products_id = '265' and xp.xsell_id = 
p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and 
p.products_status = '1' order by xp.products_id asc limit 2) UNION (select 
p.products_id, p.products_image from products_xsell xp, products p, 
products_description pd where xp.products_id = '268' and xp.xsell_id = 
p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and 
p.products_status = '1' order by xp.products_id asc limit 2) UNION (select 
p.products_id, p.products_image from products_xsell xp, products p, 
products_description pd where xp.products_id = '270' and xp.xsell_id = 
p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and 
p.products_status = '1' order by xp.products_id asc limit 2) UNION (select 
p.products_id, p.products_image from products_xsell xp, products p, 
products_description pd where xp.products_id = '283' and xp.xsell_id = 
p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and 
p.products_status = '1' order by xp.products_id asc limit 2) UNION (select 
p.products_id, p.products_image from products_xsell xp, products p, 
products_description pd where xp.products_id = '292' and xp.xsell_id = 
p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and 
p.products_status = '1' order by xp.products_id asc limit 2) UNION (select 
p.products_id, p.products_image from products_xsell xp, products p, 
products_description pd where xp.products_id = '521' and xp.xsell_id = 
p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and 
p.products_status = '1' order by xp.products_id asc limit 2) UNION (select 
p.products_id, p.products_image from products_xsell xp, products p, 
products_description pd where xp.products_id = '307' and xp.xsell_id = 
p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and 
p.products_status = '1' order by xp.products_id asc limit 2) UNION (select 
p.products_id, p.products_image from products_xsell xp, products p, 
products_description pd where xp.products_id = '314' and xp.xsell_id = 
p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and 
p.products_status = '1' order by xp.products_id asc limit 2) UNION (select 
p.products_id, p.products_image from products_xsell xp, products p, 
products_description pd where xp.products_id = '363' and xp.xsell_id = 
p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and 
p.products_status = '1' order by xp.products_id asc limit 2) UNION (select 
p.products_id, p.products_image from products_xsell xp, products p, 
products_description pd where xp.products_id = '367' and xp.xsell_id = 
p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and 
p.products_status = '1' order by xp.products_id asc limit 2) UNION (select 
p.products_id, p.products_image from products_xsell xp, products p, 
products_description pd where xp.products_id = '365' and xp.xsell_id = 
p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and 
p.products_status = '1' order by xp.products_id asc limit 2) UNION (select 
p.products_id, p.products_image from products_xsell xp, products p, 
products_description pd where xp.products_id = '344' and xp.xsell_id = 
p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and 
p.products_status = '1' order by xp.products_id asc limit 2) UNION (select 
p.products_id, p.products_image from products_xsell xp, products p, 
products_description pd where xp.products_id = '1229' and xp.xsell_id = 
p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and 
p.products_status = '1' order by xp.products_id asc limit -1)]

I am using ZC 1.3.7

jacque

07 Aug 2007, 20:04
#9
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Cross Sell Advanced

The last part:

limit -1
could be the problem. I tried to reproduce the issue but I did not encounter the same error (not using the newest MySQL version though).

14 Aug 2007, 13:37
#10
lismith avatar

lismith

New Zenner

Join Date:
May 2007
Posts:
78
Plugin Contributions:
0

Re: Cross Sell Advanced

I have some products with the same model number. Cross Sell Advanced doesn't seem to do anything when I enter cross sells for those products. Is this normal, or should it add them for the first product with that model number, or all products with that model number?