what if any part have you got working?
what Warning are you geting?
may need to unistall all files and start a fresh?
simon
what if any part have you got working?
what Warning are you geting?
may need to unistall all files and start a fresh?
simon
also are you on a test shop?
or
a LIVE SHOP?
CAN YOU LOOK IN TO UPGRADING TO v1.3.0.2 AS THIS MAY BE WHY IT WORKS FOR ME AND NOT YOU.
SIMON
this is the warning i get on each product page:
Warning: main(includes/modules/xsell_products.php): failed to open stream: No such file or directory in /var/www/html/store/includes/templates/Nasheeds/templates/tpl_modules_xsell_products.php on line 17
Warning: main(includes/modules/xsell_products.php): failed to open stream: No such file or directory in /var/www/html/store/includes/templates/Nasheeds/templates/tpl_modules_xsell_products.php on line 17
Warning: main(): Failed opening 'includes/modules/xsell_products.php' for inclusion (include_path='.:/php/includes:/usr/share/php:/usr/share/pear') in /var/www/html/store/includes/templates/Nasheeds/templates/tpl_modules_xsell_products.php on line 17
Admin side i can configure how many X-sell products i want + select them
Originally Posted by simon-m
Originally Posted by meemster
it is now to look all of the incuded files in the mod inside for xsell.php to xsell_products.php or
i will look at it tonight and post it then.
simon
did you upload the following:Originally Posted by meemster
/includes/templates/YOUR_TEMPLATE/templates/SAMPLE_ADDITION_TO_tpl_product_info_display_TEMPLATE_FILE.php
/includes/languages/english/YOUR_TEMPLATE/SAMPLE_ADDITIONS_TO_product_info_LANGUAGE_FILE.php
if so remove them. this may do it?
if not uninstall all of xsell by removing all files and undoing all modified lines by follwing the install.txt step by step.
then do the following:
1) admin - xsell.pp to xsell_products.php
2) admin > extra_datafiles - xsell_definitions.php open and find and change this: define('FILENAME_XSELL_PRODUCTS', 'xsell.php'); to define('FILENAME_XSELL_PRODUCTS', 'xsell_PRODUCTS.php');
3) admin > languages > english - xsell.pp to xsell_products.php
4) then follow the install.txt
5) EXCEPT for the following:
/includes/templates/YOUR_TEMPLATE/templates/SAMPLE_ADDITION_TO_tpl_product_info_display_TEMPLATE_FILE.php
/includes/languages/english/YOUR_TEMPLATE/SAMPLE_ADDITIONS_TO_product_info_LANGUAGE_FILE.php
If you upload these example files, you may encounter template error messages due to the way overrides grab files.
now need to do anythink with D/B that should be ok.
simon
Hello,
i have succesfully installed this mod and it's ok, but i would like to have it displayed as a side box with at least 3 rows/products.
Does anyone know show to set it up like a side box which would only be show on product info page if there was any cross sell products active.
Thanks for you help?
There is a link in the stick thread named "Contribution Key" that goes to a cross sell sidebox mod. However, I was unable to get it work on my 1.3., but others have been successful.
Installing CrossSell posted in Downloads area on fresh 1.3.0.2 shop (PHP 4.4.2 and MySQL 4.1.19-standard)
Besides the three required repairs:
1. RENAME /admin/xsell.php
TO
/admin/xsell_products.php
2. RENAME /admin/includes/languages/english/xsell.php
TO
/admin/includes/languages/english/xsell_products.php
3. EDIT /admin/includes/extra_datafiles/xsell_definitions.php
change this: define('FILENAME_XSELL_PRODUCTS', 'xsell.php');
TO
define('FILENAME_XSELL_PRODUCTS', 'xsell_products.php');
I'm also observing error when running the last sql statement in products_xsell.sql
Error report is: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());
I'm staring cross-eyed and cannot locate the issue.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());]
OK I tried this below and it works....
Unsure of the author whom uploaded the latest version CrossSell. Could someone be kind enough to apply the above fixes to the CrossSell package in the Zen Cart download area? Again these fixes were only tested on v.1.3.0.2. Thanks.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());
Woody
Last edited by Woodymon; 28 Jul 2006 at 11:55 AM.
Woody can you explain me why this rename ?Originally Posted by Woodymon
i cannot see a good reason beside the fact to better name the file ....
have this mode on my site and never do this change
everything is working great
Last edited by Zapisto; 28 Jul 2006 at 01:14 PM.
I have not treaded through the code so I am unable to tell you why. The call to the admin page filename was not working before the define change. When I changed it worked fine.Originally Posted by Zapisto
Bookmarks