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

Multi Cross Sell mod [Support thread]

Views: 85,116

Results 341 to 360 of 476
21 Oct 2012, 8:53 PM
#341
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

Multi Cross Sell mod [Support thread]

Ajeh:

Are you running Zen Cart v1.5.0? :lookaroun

Yes, I am.

21 Oct 2012, 9:42 PM
#342
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Multi Cross Sell mod [Support thread]

Go to your Zen Cart Admin to the Tools ... Developers Tool Kit ... and do a search in the bottom input box on:

<form id="profileBoxes"

and select Admin from the dropdown and click SEARCH ...

Does anything come up?

30 Oct 2012, 6:09 AM
#343
amandavz avatar

amandavz

Zen Follower

Join Date:
Mar 2009
Location:
Crockett, Texas
Posts:
139
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

Hi...I installed a fresh install on my Zen cart and I am getting this error:

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 'TYPE=MyISAM' at line 7
in:
[CREATE TABLE IF NOT EXISTS zen_products_xsell1 ( ID int(10) NOT NULL auto_increment, products_id int(10) unsigned NOT NULL default '1', xsell_id int(10) unsigned NOT NULL default '1', sort_order int(10) unsigned NOT NULL default '1', PRIMARY KEY (ID), KEY idx_products_id_xsell (products_id) ) TYPE=MyISAM]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I did look for the configuration_key MAX_DISPLAY_SELLX suggested in post 31 but there in nothing in my database.

Any ideas? Thanks for your help!!! :)

30 Oct 2012, 9:25 PM
#344
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]

amandavz:

Hi...I installed a fresh install on my Zen cart and I am getting this error:

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 'TYPE=MyISAM' at line 7
in:
[CREATE TABLE IF NOT EXISTS zen_products_xsell1 ( ID int(10) NOT NULL auto_increment, products_id int(10) unsigned NOT NULL default '1', xsell_id int(10) unsigned NOT NULL default '1', sort_order int(10) unsigned NOT NULL default '1', PRIMARY KEY (ID), KEY idx_products_id_xsell (products_id) ) TYPE=MyISAM]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I did look for the configuration_key MAX_DISPLAY_SELLX suggested in post 31 but there in nothing in my database.

Any ideas? Thanks for your help!!! :)Bug.. You need to apply a bug fix shown in post 291

30 Oct 2012, 10:18 PM
#345
amandavz avatar

amandavz

Zen Follower

Join Date:
Mar 2009
Location:
Crockett, Texas
Posts:
139
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

BEAUTIFUL!!! Works like a dream. Thanks so much!!! :)

31 Oct 2012, 12:07 AM
#346
amandavz avatar

amandavz

Zen Follower

Join Date:
Mar 2009
Location:
Crockett, Texas
Posts:
139
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

Nope...I was wrong...I'm not seeing the tables for the cross sell in the admin panel? Nor do I have an Advanced Cross Sell. Am I missing something?

2 Nov 2012, 7:09 PM
#347
amandavz avatar

amandavz

Zen Follower

Join Date:
Mar 2009
Location:
Crockett, Texas
Posts:
139
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

Okay...I am sorry to be a pain, but I have searched the forum and am not seeing my problem being addressed. The install went well, I have the Admin>Configuration>Cross Sell Settings set, but when I go to Admin>Catalog>Multi Cross Sell it gives me a drop down box with my 1 cross sell a "Go" button and the "Remove" button, but no tables in which to enter data (product id's). This was a fresh install on 1.3.9h with no other previous cross sells installed.

Thanks so much for your help. :)

5 Nov 2012, 7:04 AM
#348
amandavz avatar

amandavz

Zen Follower

Join Date:
Mar 2009
Location:
Crockett, Texas
Posts:
139
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

Got it...I installed an older version and it worked just fine. Thanks for your help. :)

17 Nov 2012, 6:09 AM
#349
mcpisik avatar

mcpisik

Zen Follower

Join Date:
Jan 2007
Location:
Mount Maunganui, New Zealand
Posts:
417
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

Just read through all 348 posts and hope I didn't miss my problem.
All installed and working for Cross Sell 1, with heading etc.
Have then added 'Number of Cross Sellls' to 2, which worked.
However after choosing products to cross sell (appears to add them ok with confirmation), the "We also Suggest" heading doesn't show and neither do the products from that cross sell group. Though they are listed as cross sells in admin.

I do note that under Cross Sell Settings, the 'Selected Cross Sell to edit' only gives a 1 check box and can't be changed to 2 (missing the 2 box)

Any idea? Thanks and awesome mod. Well done on your hard work :)

17 Nov 2012, 8:27 PM
#350
rufusclc avatar

rufusclc

Zen Follower

Join Date:
Sep 2008
Location:
San Diego
Posts:
159
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

Hi -
using Zen-1.5.0 and the latest version of this program, installed -in catalog I see Multi Cross Sell Admin v1.03;
and in configuration I see the Cross Sell Settings on my site in2paper.com
However, when I add the merged codes into my products_info_display.php in my custom templates, the product page does not show and I get the following error:
[17-Nov-2012 18:48:57] PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/in2paper/public_html/i2padmin/includes/functions/extra_functions/reg_multi_xsell.php:41) in /home/in2paper/public_html/includes/functions/sessions.php on line 113
[17-Nov-2012 18:48:57] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/in2paper/public_html/i2padmin/includes/functions/extra_functions/reg_multi_xsell.php:41) in /home/in2paper/public_html/i2padmin/includes/init_includes/init_templates.php on line 28
BUT
when I use the sample product_info_display.php it works!! But I would like to use mine as I have made several changes to the display etc.
Any help interpreting the error code - I have NOT a clue what it means, to be honest.....
Kindest regards
Rufus

26 Nov 2012, 12:16 PM
#351
deziner76hd avatar

deziner76hd

New Zenner

Join Date:
Oct 2008
Location:
Lakewood Ny
Posts:
26
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

Hello,
I am using ZenCart 1.3.9h and version 1.00 cross sell I had to use an older version of cross sell as the newer version for 1.3.9 (Version: v1.02) just gave a blank screen with no tables in the admin. My question is Where can I change the wording in the header "Suggested Matching Items..."
By the way Thank you for this great mod. It does exactly what I needed it to do.

26 Nov 2012, 4:13 PM
#352
mcpisik avatar

mcpisik

Zen Follower

Join Date:
Jan 2007
Location:
Mount Maunganui, New Zealand
Posts:
417
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

deziner76hd:

Hello,
Where can I change the wording in the header "Suggested Matching Items..."
You can go to Tools in admin, then Developers Toolkit and type those words in "Look Up...." (or similar in 1.3.9)
That will give you the location of that text.
It is here though: /includes/languages/english/extra_definitions/YOUR THEME/multi_xsell_box_defines.php

26 Nov 2012, 5:07 PM
#353
deziner76hd avatar

deziner76hd

New Zenner

Join Date:
Oct 2008
Location:
Lakewood Ny
Posts:
26
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

mcpisik:

You can go to Tools in admin, then Developers Toolkit and type those words in "Look Up...." (or similar in 1.3.9)
That will give you the location of that text.
It is here though: /includes/languages/english/extra_definitions/YOUR THEME/multi_xsell_box_defines.php
Thank you for your quick response. I need to start using the tools more before asking questions

3 Dec 2012, 7:30 PM
#354
michaelchu avatar

michaelchu

Zen Follower

Join Date:
Nov 2011
Posts:
121
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

ZC v1.3.9.h

I must be an idiot, I downloaded the Multi Xsell v1.02 for ZC 1.3.9h and followed the install instructions line by line. There were no other versions installed before. When I click install from Admin>Catalog>Multi Cross Sell here is what I got.

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 'TYPE=MyISAM' at line 7
in:
[CREATE TABLE IF NOT EXISTS products_xsell1 ( ID int(10) NOT NULL auto_increment, products_id int(10) unsigned NOT NULL default '1', xsell_id int(10) unsigned NOT NULL default '1', sort_order int(10) unsigned NOT NULL default '1', PRIMARY KEY (ID), KEY idx_products_id_xsell (products_id) ) TYPE=MyISAM]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

After searching through this thread I do see similar type of errors but not the same syntax, any help is greatly appreciated.

Mike

3 Dec 2012, 10:52 PM
#355
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]

michaelchu:

ZC v1.3.9.h

I must be an idiot, I downloaded the Multi Xsell v1.02 for ZC 1.3.9h and followed the install instructions line by line. There were no other versions installed before. When I click install from Admin>Catalog>Multi Cross Sell here is what I got.

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 'TYPE=MyISAM' at line 7
in:
[CREATE TABLE IF NOT EXISTS products_xsell1 ( ID int(10) NOT NULL auto_increment, products_id int(10) unsigned NOT NULL default '1', xsell_id int(10) unsigned NOT NULL default '1', sort_order int(10) unsigned NOT NULL default '1', PRIMARY KEY (ID), KEY idx_products_id_xsell (products_id) ) TYPE=MyISAM]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

After searching through this thread I do see similar type of errors but not the same syntax, any help is greatly appreciated.

MikeBug.. You need to apply a bug fix shown in post 291

4 Dec 2012, 2:26 PM
#356
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

I am not able to install the Multi Cross Sell module properly. After I have uploaded all the files, and go to: Admin> Catalog> Multi Cross Sell> I see the install button. When I click install my admin page goes blank (no template) and this message shows:

WARNING: An Error occurred, please refresh the page and try again.

Also the Admin->Configuration->Cross Sell Settings tables have not been created. It's obvious to me that it is not installing the tables. When I went to my error logs I have this message:

[04-Dec-2012 08:07:49] PHP Fatal error:  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 'TYPE=MyISAM' at line 7 :: CREATE TABLE IF NOT EXISTS products_xsell1 (
    `ID` int(10) NOT NULL auto_increment,
    `products_id` int(10) unsigned NOT NULL default '1',
    `xsell_id` int(10) unsigned NOT NULL default '1',
    `sort_order` int(10) unsigned NOT NULL default '1',
    PRIMARY KEY  (`ID`), 
    KEY `idx_products_id_xsell` (`products_id`) ) TYPE=MyISAM in /MyRoot/store/includes/classes/db/mysql/query_factory.php on line 120

I do not believe I have installed any other cross sell module, but this store installation is the third migration. So it's possible I have some very old definitions in my database (if I had installed a cross sell many years back). And in my template file (tpl_product_info_display.php) I see this code:

<!--bof also purchased products module-->
<?php require($template->get_template_dir('tpl_modules_also_purchased_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_also_purchased_products.php');?>
<!--eof also purchased products module-->
``` so it's possible my template came with this (although I never installed it myself). I believe this template code should not affect installation to begin with. At least that is my best guess.

Last I have re-uploaded multiple times to make sure I have all the files in the correct place. I am fairly sure I did not miss any files being uploaded.

Suggestions?
4 Dec 2012, 9:36 PM
#357
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]

sports guy:

I am not able to install the Multi Cross Sell module properly. After I have uploaded all the files, and go to: Admin> Catalog> Multi Cross Sell> I see the install button. When I click install my admin page goes blank (no template) and this message shows:

WARNING: An Error occurred, please refresh the page and try again.

> 
> Also the Admin->Configuration->Cross Sell Settings tables have not been created. It's obvious to me that it is not installing the tables. When I went to my error logs I have this message:
> ```
[04-Dec-2012 08:07:49] PHP Fatal error:  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 'TYPE=MyISAM' at line 7 :: CREATE TABLE IF NOT EXISTS products_xsell1 (
    `ID` int(10) NOT NULL auto_increment,
    `products_id` int(10) unsigned NOT NULL default '1',
    `xsell_id` int(10) unsigned NOT NULL default '1',
    `sort_order` int(10) unsigned NOT NULL default '1',
    PRIMARY KEY  (`ID`), 
    KEY `idx_products_id_xsell` (`products_id`) ) TYPE=MyISAM in /MyRoot/store/includes/classes/db/mysql/query_factory.php on line 120

I do not believe I have installed any other cross sell module, but this store installation is the third migration. So it's possible I have some very old definitions in my database (if I had installed a cross sell many years back). And in my template file (tpl_product_info_display.php) I see this code:

<!--bof also purchased products module--> <?php require($template->get_template_dir('tpl_modules_also_purchased_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_also_purchased_products.php');?> <!--eof also purchased products module-->
> 
> Last I have re-uploaded multiple times to make sure I have all the files in the correct place. I am fairly sure I did not miss any files being uploaded.
> 
> Suggestions?Bug..  You need to apply a bug fix shown in post 291
4 Dec 2012, 10:00 PM
#358
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

Gilby, perfect! That was the issue and it installed properly now. FYI, I did search this thread but did not look at every page (after around page 10 and a few searches I glaze over). Also, I just downloaded and installed this version directly from the Plugins area, so I am guessing this plugin needs updated to include this change. Thank you for your help!

4 Dec 2012, 10:38 PM
#359
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]

sports guy:

Gilby, perfect! That was the issue and it installed properly now. FYI, I did search this thread but did not look at every page (after around page 10 and a few searches I glaze over). Also, I just downloaded and installed this version directly from the Plugins area, so I am guessing this plugin needs updated to include this change. Thank you for your help!
No Problems, glad its working.
Yes it does need updating to change this, and a couple of other small bugs that can appear with newer versions of mysql.
When I get some free time!

btw: It was also answered on the post directly before your original post.

13 Dec 2012, 5:38 AM
#360
nesum18 avatar

nesum18

New Zenner

Join Date:
Jun 2012
Posts:
50
Plugin Contributions:
0

Re: Multi Cross Sell mod [Support thread]

I go to the Catalog > Multi Cross Sell
When I click on 'Install' I get the following message: WARNING: An Error occurred, please refresh the page and try again.

Can anyone help me please :(