Zen Cart Logo
Forums / All Other Contributions/Addons / Just another Cross-Sell mod (support thread)

Just another Cross-Sell mod (support thread)

Views: 133,968

Results 141 to 160 of 704
26 Dec 2007, 7:58 PM
#141
themusician avatar

themusician

New Zenner

Join Date:
Jun 2007
Posts:
64
Plugin Contributions:
0

Just another Cross-Sell mod (support thread)

Hi,

The new version is looking real good. Nice work. I tried to upgrade my version on my live server, but got some errors on the sql update. I believe this is because I orginally installed the mod inside of a template I no longer use. Is the best course of action to do a fresh install using my current template folders?

Thank you,

26 Dec 2007, 8:29 PM
#142
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Just another Cross-Sell mod (support thread)

SQL patch should have nothing to do with template. Can you paste here the error you get?

TheMusician:

Hi,

The new version is looking real good. Nice work. I tried to upgrade my version on my live server, but got some errors on the sql update. I believe this is because I orginally installed the mod inside of a template I no longer use. Is the best course of action to do a fresh install using my current template folders?

Thank you,

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

27 Dec 2007, 5:44 PM
#143
themusician avatar

themusician

New Zenner

Join Date:
Jun 2007
Posts:
64
Plugin Contributions:
0

Re: Just another Cross-Sell mod (support thread)

1366 Incorrect integer value: '' for column 'configuration_id' at row 1
in:
[INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'XSell Product Input Separator', 'XSELL_PRODUCT_INPUT_SEPARATOR', ',', 'You will need to insert all product id/model you want to cross-sell in 1 field, so each product id/model needs to be separated by a separator. The default is comma, choose another if you want to', @t4, 1, NOW(), NOW(), NULL, NULL);]
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.

SQL alpha2_rev64.sql...

SET @t4=0;
SELECT (@t4:=configuration_group_id) as t4 
FROM configuration_group
WHERE configuration_group_title= 'Cross Sell';

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
('', 'XSell Product Input Separator', 'XSELL_PRODUCT_INPUT_SEPARATOR', ',', 'You will need to insert all product id/model you want to cross-sell in 1 field, so each product id/model needs to be separated by a separator. The default is comma, choose another if you want to', @t4, 1, NOW(), NOW(), NULL, NULL);

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
('', 'XSell Sort Order', 'XSELL_SORT_ORDER', 'sort_order', 'Sometimes you may want to display the xsell products randomly, especially if each product xsells with lots of others', @t4, 1, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(\'sort_order\', \'random\'),');

Thank you

27 Dec 2007, 7:02 PM
#144
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Just another Cross-Sell mod (support thread)

It looks like:

  1. You have not installed the original XSell.
  2. Or you have the Original XSell installed using a different name.

PM me your site info and I'll look into it for you.

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

22 Jan 2008, 4:42 AM
#145
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Just another Cross-Sell mod (support thread)

If you use free download tool such as FlashGet you can choose to download a whole "folder". Zip file is a good idea and will come later.

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

25 Jan 2008, 2:50 AM
#146
r_lo avatar

r_lo

New Zenner

Join Date:
Oct 2006
Posts:
29
Plugin Contributions:
0

Re: Just another Cross-Sell mod (support thread)

Hi there, I have just installed the latest version of this from your site.
Admin works fine, but nothing shows up on my site.
I am running 1.3.8 with installed modules 'slimbox', 'column grid', and using cherry_zen template
any idea's?

25 Jan 2008, 2:58 AM
#147
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Just another Cross-Sell mod (support thread)

Did you xsell any product on admin side?
Did you make the changes in the template file as instructed?

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

25 Jan 2008, 7:40 AM
#148
r_lo avatar

r_lo

New Zenner

Join Date:
Oct 2006
Posts:
29
Plugin Contributions:
0

Re: Just another Cross-Sell mod (support thread)

thanks, I forgot to add the code into tpl_product_info_display.php

all sorted, again great mod!

25 Jan 2008, 8:05 PM
#149
phil99 avatar

phil99

Zen Follower

Join Date:
Aug 2007
Posts:
113
Plugin Contributions:
0

Re: Just another Cross-Sell mod (support thread)

Ok i have installed cross sell and get the following error message when i upload the sql patch in admin:

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 'true','false'), ', now())' at line 1
in:
[INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Cross-Sell - Display prices?', 'XSELL_DISPLAY_PRICE', 'false', 'Cross-Sell -- Do you want to display the product prices too?
Default: false', 18, 72, 'zen_cfg_select_option(array('true','false'), ', now());]
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 have searched this thread and tried someones fix further back but it didnt work for me.

Everything works fine I just dont get the option in admin to dispay the prices.

Any ideas?

25 Jan 2008, 8:06 PM
#150
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Just another Cross-Sell mod (support thread)

Where did you download this mod?

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

25 Jan 2008, 8:19 PM
#152
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Just another Cross-Sell mod (support thread)

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

25 Jan 2008, 8:39 PM
#153
phil99 avatar

phil99

Zen Follower

Join Date:
Aug 2007
Posts:
113
Plugin Contributions:
0

Re: Just another Cross-Sell mod (support thread)

Thanks but it doesnt fix it... its a problem with the SQL file and my version on sql on the server?

Still get :

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 'true','false'), ', now())' at line 1
in:
[INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Cross-Sell - Display prices?', 'XSELL_DISPLAY_PRICE', 'false', 'Cross-Sell -- Do you want to display the product prices too?
Default: false', 18, 72, 'zen_cfg_select_option(array('true','false'), ', now());]
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.

when i try to run the sql patch in admin?

Rather frustrating!

25 Jan 2008, 8:41 PM
#154
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Just another Cross-Sell mod (support thread)

Are you sure you get the new sql file?

It should look like this:

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Cross-Sell Products', 'MIN_DISPLAY_XSELL', 1, 'This is the minimum number of configured Cross-Sell products required in order to cause the Cross Sell information to be displayed.<br />Default: 1', 2, 17, now());
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Cross-Sell Products', 'MAX_DISPLAY_XSELL', 6, 'This is the maximum number of configured Cross-Sell products to be displayed.<br />Default: 6', 3, 66, now());
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Cross-Sell Products Columns per Row', 'SHOW_PRODUCT_INFO_COLUMNS_XSELL_PRODUCTS', '3', 'Cross-Sell Products Columns to display per Row<br />0= off or set the sort order.<br />Default: 3', 18, 72, 'zen_cfg_select_option(array(0, 1, 2, 3, 4), ', now());
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Cross-Sell - Display prices?', 'XSELL_DISPLAY_PRICE', 'false', 'Cross-Sell -- Do you want to display the product prices too?<br />Default: false', 18, 72, 'zen_cfg_select_option(array(\'true\',\'false\'), ', now());

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

25 Jan 2008, 8:41 PM
#155
phil99 avatar

phil99

Zen Follower

Join Date:
Aug 2007
Posts:
113
Plugin Contributions:
0

Re: Just another Cross-Sell mod (support thread)

Im running :

MySQL 4.1.22-standard if that helps?

25 Jan 2008, 8:49 PM
#156
phil99 avatar

phil99

Zen Follower

Join Date:
Aug 2007
Posts:
113
Plugin Contributions:
0

Re: Just another Cross-Sell mod (support thread)

Yes I have that exact code in the sql patch and it throws that error...

thanks for your help by the way.

25 Jan 2008, 8:51 PM
#157
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Just another Cross-Sell mod (support thread)

Interesting, try to replace:

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Cross-Sell - Display prices?', 'XSELL_DISPLAY_PRICE', 'false', 'Cross-Sell -- Do you want to display the product prices too?<br />Default: false', 18, 72, 'zen_cfg_select_option(array(\'true\',\'false\'), ', now());

by

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Cross-Sell - Display prices?', 'XSELL_DISPLAY_PRICE', 'false', 'Cross-Sell -- Do you want to display the product prices too?<br />Default: false', 18, 72, 'zen_cfg_select_option(array(''true'',''false''), ', now());

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

25 Jan 2008, 8:58 PM
#158
phil99 avatar

phil99

Zen Follower

Join Date:
Aug 2007
Posts:
113
Plugin Contributions:
0

Re: Just another Cross-Sell mod (support thread)

Bingo! that fixed it many thanks.... now then what upgrades over what i have does your new version have?

Thanks so much for the help

25 Jan 2008, 8:59 PM
#159
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Just another Cross-Sell mod (support thread)

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

26 Jan 2008, 3:57 PM
#160
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Just another Cross-Sell mod (support thread)

Sorry, I dont support adding products using the original xsell. It's NOT my mod, and I dont use it as well.

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