Tright Posted November 10, 2004 Posted November 10, 2004 Morning all, I've followed the directions on this contribution but do not see the results - nothing seems to have happened http://www.oscommerce.com/community/contri...ch,ship+in+cart Here is what was done per the directions: 1) Ran the included SQL into "configuration" using MySQL - the only probelm here is that I ran the 1st line of this SQL into "configuration" an not "configuration group" but when I went to run it into "configuration_group" My Sql said it was a duplicate INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES (19, 'Shopping Cart', 'Shopping Cart options', 19, 1); 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 (219, 'Shipping and Order Total Estimate', 'CARTSHIP_ONOFF', 'Enabled', 'Show shipping and order total estimate', 19, 1, '2004-06-29 07:10:52', '2004-06-29 07:10:52', NULL, 'tep_cfg_select_option(array(\'Enabled\', \'Disabled\'),'); 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 (220, 'Display order totals', 'CARTSHIP_SHOWOT', 'true', 'Display order totals', 19, 2, '2004-06-29 07:10:52', '2004-06-29 07:10:52', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),'); 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 (221, 'Display item count', 'CARTSHIP_SHOWIC', 'true', 'Display item count', 19, 2, '2004-06-29 07:10:52', '2004-06-29 07:10:52', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),'); 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 (222, 'Display shipping weight', 'CARTSHIP_SHOWWT', 'false', 'Display shipping weight', 19, 4, '2004-06-29 07:10:52', '2004-06-29 07:10:52', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),'); 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 (223, 'Shipping weight unit', 'CARTSHIP_WTUNIT', 'lbs', 'Shipping weight unit', 19, 5, '2004-06-29 07:10:52', '2004-06-29 07:10:52', 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 (224, 'Display Country drop-down menu', 'CARTSHIP_SHOWCDD', 'false', 'Display Country drop-down menu', 19, 6, '2004-06-29 07:10:52', '2004-06-29 07:10:52', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),'); 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 (225, 'Display State drop-down menu', 'CARTSHIP_SHOWSDD', 'false', 'Display State drop-down menu', 19, 7, '2004-06-29 07:10:52', '2004-06-29 07:10:52', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),'); 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 (226, 'Display Zip Code drop-down menu', 'CARTSHIP_SHOWZDD', 'false', 'Display Zip Code drop-down menu', 19, 8, '2004-06-29 07:10:52', '2004-06-29 07:10:52', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),'); 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 (227, 'Display Update button', 'CARTSHIP_SHOWUB', 'false', 'Display Update button', 19, 9, '2004-06-29 07:10:52', '2004-06-29 07:10:52', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),'); 2) catalog/images/icons/ (in included folder) Choose an icon which suits your site or create one of your own. Rename the one you choose to 'selected.gif' Delete the rest. Seletected the one I wanted, changed the name and uploaded it to images/icons 3) Copy all included new files to the appropriate directories. shipping_estimator.php loaded into includes/languages/english/modules via WSFTP shipping_estimator.php loaded into includes/modules 4) FIND: (dependant on osC version) <?php } else { ?> <tr> <td align="center" class="main"><?php new infoBox(array(array('text' => TEXT_CART_EMPTY))); ?></td> </tr> ADD ABOVE: </form><tr> <td><br><?php if (CARTSHIP_ONOFF == 'Enabled') { require(DIR_WS_MODULES . 'shipping_estimator.php'); } else {}; ?></td> </tr> Done - added above the find 5) /catalog/includes/filenames.php ADD: define('FILENAME_SHIPPING_ESTIMATOR', 'shipping_estimator.php'); Done - added at bottom pf php Am I asking in the correct location on these boards or is there a support thread for this contribution? I've tried doing searches but keep getting the "flood control" message. Thank you
Tright Posted November 10, 2004 Author Posted November 10, 2004 Actually it's SHIP In Cart Someone please helpm with this - trying to move the store to production today!!! Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.