Avium Posted March 30, 2003 Share Posted March 30, 2003 Hi guys, Am nearing the end of my teeter already. Just downloaded the MS1, did a clean install (i.e. no upgrades over previous store), applied a few module modifications (added, not modify existing ones) and now I've got some problems that I need solved. 1) Payment and shipping options are NOT showing up during the checkout process. I've enabled and activated them in admin, but they still don't appear. 2) The store icons/logos/buttons are all coming up screwy for the site. Don't mind the missing product images - I've yet to import them over. 3) Is there a way to prevent a category from being displayed so the customer cannot see it, but the admin will still retain the category and the products under it? 4) Am getting a SQL syntax error which can be referred to here: http://www.oscommerce.com/forums/viewtopic.php?p=138909 So I need it fixed up Store URL is: http://www.fansdome.com/catalog The first person to fix all 4 problems for me (yeah, you can tell me what I need to do by emailing me the detailed instructions) will get US$20 by Paypal. Provided that all 3 problems are solved, of course :D Thanks! Link to comment Share on other sites More sharing options...
Ajeh Posted March 30, 2003 Share Posted March 30, 2003 What module modifications did you add? Link to comment Share on other sites More sharing options...
Avium Posted March 30, 2003 Author Share Posted March 30, 2003 Using cod.php as the base, I created 2 payment modules called moneyorder.php and cash.php. I also used the zone shipping module as the base for a airmail.php module. I should mention that these 3 modules used to work *perfectly* on my older store, but for some reason ALL payment and shipping modules stopped working on my previous store, and since I didn't get much help in solving the problem, I did a clean install in hope of having the shipping and payment options appear again. Didn't work, so I'm back to square one :( Link to comment Share on other sites More sharing options...
Ajeh Posted March 30, 2003 Share Posted March 30, 2003 Turn off the two you made and make sure at least one or two others are on. Does shipping appear? If so, make sure the two you edited were done with case sensative replacements. Example: cod was replaced with moneyorder and COD was replaced with MONEYORDER and that you did not use numbers in the new settings like cod was not replaced with cod2 Then check that cash.php was done with cod replaced with cash and COD was replaced with CASH Link to comment Share on other sites More sharing options...
Ajeh Posted March 30, 2003 Share Posted March 30, 2003 Also, did you re-write your new shipping modules based on the new COD so that they work with the new shipping methods? Or, are you using old shipping modules with New shipping methods which most likely will not work and possibly break the shipping. Link to comment Share on other sites More sharing options...
Avium Posted March 30, 2003 Author Share Posted March 30, 2003 Hey Linda, When I turn on the modules that already came with the install, they do appear, but not the newer ones. Same for shipping. Does that help pin-point the problem? :) Link to comment Share on other sites More sharing options...
Avium Posted March 30, 2003 Author Share Posted March 30, 2003 Would emailing you a copy of moneyorder.php, airmail.php and cash.php help? Link to comment Share on other sites More sharing options...
Ajeh Posted March 30, 2003 Share Posted March 30, 2003 Yes. You need to re-write your custom ones again based on the new shipping modules styles. Start with cod.php and do what you did last time but to the new cod.php so that the new shipping.php class can see them. Link to comment Share on other sites More sharing options...
Avium Posted March 30, 2003 Author Share Posted March 30, 2003 I'll go ahead and give that a shot, and see if it works out - will post back to this thread then. Thanks for all your help so far, Linda! Link to comment Share on other sites More sharing options...
Avium Posted April 1, 2003 Author Share Posted April 1, 2003 Well, the shipping works now, but the cash/moneyorder.php doesn't seem to work at all. Can someone give me a pointer on this? If the sample here (moneyorder.php) can be made to work, I should have cash.php working as well since they are both based off the same codes: <?php class moneyorder { var $code, $title, $description, $enabled; // class constructor function moneyorder() { $this->code = 'moneyorder'; $this->title = MODULE_PAYMENT_MONEYORDER_TEXT_TITLE; $this->description = MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION; $this->email_footer = MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER; $this->enabled = MODULE_PAYMENT_MONEYORDER_STATUS; } // class methods function javascript_validation() { return false; } function selection() { return false; } function pre_confirmation_check() { return false; } function confirmation() { $confirmation_string = ' <tr>' . "n" . ' <td class="main"> ' . MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION . ' </td>' . "n" . ' </tr>' . "n"; return $confirmation_string; } function process_button() { return false; } function before_process() { return false; } function after_process() { return false; } function output_error() { return false; } function check() { $check = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_PAYMENT_MONEYORDER_STATUS'"); $check = tep_db_num_rows($check); return $check; } function install() { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Allow Personal Checks', 'MODULE_PAYMENT_MONEYORDER_STATUS', '1', 'Do you want to allow Personal Checks?', '6', '1', now());"); } function remove() { tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_PAYMENT_MONEYORDER_STATUS'"); } function keys() { $keys = array('MODULE_PAYMENT_MONEYORDER_STATUS'); return $keys; } } ?> Any help is appreciated! Link to comment Share on other sites More sharing options...
dreamscape Posted April 1, 2003 Share Posted April 1, 2003 Avium, OSC MS1 already has a moneyorder.php payment module. why not just use that and edit the language file so instead of saying "check/money order", it just says "money order"... The only thing necessary for evil to flourish is for good men to do nothing - Edmund Burke Link to comment Share on other sites More sharing options...
Avium Posted April 1, 2003 Author Share Posted April 1, 2003 ... You know, that actually completely went pass me ^_^;; I'll go give that a shot and see what happens then. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.