Forums / All Other Contributions/Addons / Multi Cross Sell mod [Support thread]

Multi Cross Sell mod [Support thread]

Views: 85,317

Results 121 to 140 of 476
6 May 2011, 11:33 AM
#121
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Multi Cross Sell mod [Support thread]

Cookiepus:

Thanks for taking the time and I totally get how this works.
What i cant understand about above is:
If the item numbers are all entered in one continuous cross sell as above, whats to stop items 22,23 showing up with items 12,13 etc

wouldn't this just look like : 1,2,3,4,5,6,7,8 etc
isn't there some sort of delimiter needed between each group of numbers.
I hope there will be a bolt of lightning hitting my think head soon!
Thank you

You are missing how this works....
The database tables are organised as pairs of ids
A main ID and a crossell ID

If you cross sell 12 with 13 one way you get one entry is the cross sell database
Main: CrossSell:
12.......13
So whenever the product displayed is 12, then 13 shows as cross sell

If you cross sell 12 with 13 multi ways you get two entries is the cross sell database
Main: CrossSell:
12.......13
13.......12
So whenever the product displayed is 12, then 13 shows as cross sell
and whenever the product displayed is 13, then 12 shows as cross sell

If you cross sell 12, 13 and 14 multi ways you get six entries is the cross sell database
Main: CrossSell:
12.......13
12.......14
13.......12
13.......14
14.......12
14.......13
So whenever any of these 3 products are displayed then the 2 others are shown as cross sells

Now if If you cross sell 22 with 23 multi ways you get two entries is the cross sell database
Main: CrossSell:
22.......23
23.......22

These two entries have no relationship with 12, 13 or 14
So none of these other cross sells will show with these.

6 May 2011, 1:20 PM
#122
cookiepus avatar

cookiepus

Zen Follower

Join Date:
Jan 2010
Posts:
131
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

ive followed your instructions best i could:

i have range A i would like to cross sell whose IDs are:
1061,1062,1067,1063,1066,1069,1068,1064,1065

i have range B i would like to cross sell whose IDs are:
983,984,985,986,987,988,989,990,991,992,993

so i set up anew cross ell and entered
1061,1062,1067,1063,1066,1069,1068,1064,1065,983,984,985,986,987,988,989,990,991,992,993

As i expected, the 2 different ranges are now linked and mixed up in each others cross sell.

"If you want you can keep entering your 80 product ranges of 6 items each here, all under the one cross sell"

But how do i keep the 2 ranges from getting mixed up with each other, while still under the one cross sell?

6 May 2011, 1:52 PM
#124
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

Cookiepus:

ive followed your instructions best i could:

i have range A i would like to cross sell whose IDs are:
1061,1062,1067,1063,1066,1069,1068,1064,1065

i have range B i would like to cross sell whose IDs are:
983,984,985,986,987,988,989,990,991,992,993

so i set up anew cross ell and entered
1061,1062,1067,1063,1066,1069,1068,1064,1065,983,984,985,986,987,988,989,990,991,992,993

As i expected, the 2 different ranges are now linked and mixed up in each others cross sell.

"If you want you can keep entering your 80 product ranges of 6 items each here, all under the one cross sell"

But how do i keep the 2 ranges from getting mixed up with each other, while still under the one cross sell?

If you want to cross sell these..
983,984,985,986,987,988,989,990,991,992,993
Then enter these as listed into the "New Cross Sells 1" and click insert

If you then want to cross sell these..
983,984,985,986,987,988,989,990,991,992,993
Then enter these as listed into the "New Cross Sells 1" and click insert

TWO separate operations!!!
This way there will not be any overlap


Don't combine them like this1061,1062,1067,1063,1066,1069,1068,1064,1065,983,984,985,986,987,988,989,990,991,992,993
As you will cross sell them all together this way

If you have done this then you will have a lot of deleting to do to clear them out....

6 May 2011, 2:21 PM
#125
cookiepus avatar

cookiepus

Zen Follower

Join Date:
Jan 2010
Posts:
131
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

:laugh: U R E K A :laugh:

That's the info ive been lookin for for 2 days!

Nice one Gilby!

15 May 2011, 7:44 PM
#126
ttmb33 avatar

ttmb33

Zen Follower

Join Date:
May 2009
Posts:
201
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

gilby:

I am assuming you had a previous cross sell installed??
Almost certainly some of the previous mods configuration values are still there.

Search the configuration table for configuration_key = "MAX_DISPLAY_XSELL"
And delete this entry.

While you at it see if "MIN_DISPLAY_XSELL" is also there and delete it as well

I deleted everything, and I got fresh installation. I don't know why only old products can be crossselled. Any new products added cannot be crossselled.

All my model numbers are unique, so I don't have any problems with the model numbers.

Please give me advice regarding this issue. Thanks so much for your help and support.

15 May 2011, 10:37 PM
#127
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

ttmb33:

I deleted everything, and I got fresh installation. I don't know why only old products can be crossselled. Any new products added cannot be crossselled.

All my model numbers are unique, so I don't have any problems with the model numbers.

Please give me advice regarding this issue. Thanks so much for your help and support.

I assume by old products you mean products that were already in a previous cross sell that have copied over to this new cross sell?

What errors do you get when you try to add new cross sells?

Most likely you have NOT added the "admin" files correctly.
You did rename the "admin" directory to whatever your "renamed admin" directory is?

Check that have all been uploaded to their correct directories and that you don't have any bad uploads.

8 Jun 2011, 3:55 AM
#128
ebloger avatar

ebloger

New Zenner

Join Date:
Dec 2007
Posts:
35
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

Fatal error: Cannot redeclare install_multi_cross_sell() (previously declared in D:\xampp\htdocs\news\aaa\includes\functions\extra_functions\multi_xsell.php:218) in D:\xampp\htdocs\news\aaa\includes\functions\extra_functions\multi_xsell.php.bak on line 249

how to fix them?

8 Jun 2011, 5:12 AM
#129
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

ebloger:

Fatal error: Cannot redeclare install_multi_cross_sell() (previously declared in D:\xampp\htdocs\news\aaa\includes\functions\extra_functions\multi_xsell.php:218) in D:\xampp\htdocs\news\aaa\includes\functions\extra_functions\multi_xsell.php.bak on line 249

how to fix them?

Delete the duplicate copy of this file that you have put the .bak extension on> D:\xampp\htdocs\news\aaa\includes\functions\extra_functionsmulti_xsell.php.bak

or take the .php out of the its filename

8 Jun 2011, 5:39 AM
#130
ebloger avatar

ebloger

New Zenner

Join Date:
Dec 2007
Posts:
35
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

gilby:

Delete the duplicate copy of this file that you have put the .bak extension on

or take the .php out of the its filename

Now, it is ok, thanks for your help..

11 Jun 2011, 11:46 PM
#131
jasonh1234 avatar

jasonh1234

New Zenner

Join Date:
Apr 2011
Location:
Vancouver, BC
Posts:
42
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

Does this add-on work with v1.3.9h? Not sure if that makes a difference or not.

12 Jun 2011, 12:12 AM
#132
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

jasonh1234:

Does this add-on work with v1.3.9h? Not sure if that makes a difference or not.

Works fine except for...
The "add to cart/more info" button option doesn't work correctly with 1.3.9h

New update coming soon which fixes that.
and adds more functionality suggested by users in this thread

12 Jun 2011, 5:02 PM
#133
jasonh1234 avatar

jasonh1234

New Zenner

Join Date:
Apr 2011
Location:
Vancouver, BC
Posts:
42
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

gilby:

New update coming soon

Ballpark estimate? Hours? Days, Weeks? (Just so I know what to tell the store owner.)

13 Jun 2011, 1:16 AM
#134
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

jasonh1234:

Ballpark estimate? Hours? Days, Weeks? (Just so I know what to tell the store owner.)

approx 2 weeks, (plus approval from the admins)

4 Jul 2011, 11:59 PM
#136
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

Multi Cross Sell Updated version v1.02 now available for download:
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1677

Bug fixes and easier install in some cases:

  • Prevent left over configuration values from other cross sell mods causing problems.
  • Fix a few typos in the instructions.
  • Add the Cross Sell's Catalog heading to the admin display.
  • Increase the default number of cross sells to 15.
  • Fix the Products Buy Now / More Info Link for zen-cart v1.3.9h.

New Features, (suggested by users on this forum):

  • Add a link so you can install social media links.
    (The demo facebook code will not work without additional setup on the product pages.)
  • Add the ability to add multiple 1 way cross sells.
    You can now One Way Cross Sell a range of products to multiple main products.
  • Can now empty individual cross sell tables.
  • Summary details of all Cross Sells used.
5 Jul 2011, 12:06 AM
#137
jasonh1234 avatar

jasonh1234

New Zenner

Join Date:
Apr 2011
Location:
Vancouver, BC
Posts:
42
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

How ironic. I was just thinking/wondering about this not 15 min ago. Haha.

5 Jul 2011, 4:13 PM
#138
srhedd avatar

srhedd

New Zenner

Join Date:
Jun 2010
Posts:
55
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

Just installed this on "h" and it is working perfectly! THANKS!

One odd question... I'm using a template called bluecart, I've changed the text for the mod to read " Related Items" and in the template it is showing up as grey in a blue box... hard to read. Where can I specify the color of that text (to be white)?

Thanks!!

6 Jul 2011, 12:27 AM
#139
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

SRHEdD:

Just installed this on "h" and it is working perfectly! THANKS!

One odd question... I'm using a template called bluecart, I've changed the text for the mod to read " Related Items" and in the template it is showing up as grey in a blue box... hard to read. Where can I specify the color of that text (to be white)?

Thanks!!

It uses the same centre box headings as the rest of your site

class="centerBoxWrapper"...
class="centerBoxHeading"...

adding```
.centerBoxHeading {
color: #fffff;
}

6 Jul 2011, 1:12 PM
#140
srhedd avatar

srhedd

New Zenner

Join Date:
Jun 2010
Posts:
55
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

Well the text shows up now, but the color is still black. I added your string to the css for the template and default, still black... odd.