Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

spooker8

Archived
  • Posts

    25
  • Joined

  • Last visited

Profile Information

  • Real Name
    johnny

spooker8's Achievements

  1. I have installed Print Catalog, any ideas on allowing user to see the prices without logging in to see the catalog page? and only keep logged in for the website . any ideas anyone ?
  2. Looking for a particular contribution where i could specify special shipping based on the product being sold for example , different shipping for stocked items and non stocked items any pointers ? i probably dont need a contribution , but im not sure , hope to hear from anyone,
  3. Hi there Awesome contribution, but one problem Everything seems to be working fine , when i try to add product, successfully chosen the product, chose quantity , clicked add to order i get a blank screen on add a product window, refreshed the browser on the order editor , i see the order there, anyway to auto close window and refresh browser ?
  4. Hi there, I'm looking for a particular contribution or similar which prompts the customer to buy also other products for example customer buys a pc sound card, upon adding to cart, displays at the bottom buy also 5.1 computer speakers 2.1 computer speakers anyone know any contribution for such feature? thanks people
  5. im getting this error in PHPMYADMIN , probably because im using the new msql 5 ? anyone can help ? Error There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem ERROR: Unclosed quote @ 186 STR: ' SQL: INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES (\'Agreement\', \'ACCOUNT_AGREEMENT_REQUIRED\', \'true\', \'Display agreement checkbox during account creation\', \'5\', \'7\', \'tep_cfg_select_option(array(\\\'true\\\', \\\'false\\\'), \', now()) SQL query: Documentation INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES (\'Agreement\', \'ACCOUNT_AGREEMENT_REQUIRED\', \'true\', \'Display agreement checkbox during account creation\', \'5\', \'7\', \'tep_cfg_select_option(array(\\\'true\\\', \\\'false\\\'), \', now()) MySQL said: Documentation #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 '\'Agreement\', \'ACCOUNT_AGREEMENT_REQUIRED\', \'true\', \'Display agreement che' at line 1
  6. hi there me too, im getting duplicate entries as well, i thought i elminated them by adding distinct to select distinct, unfortunately there are some other entries bugging it have a look , http://www.matomotosportas.com/shop/print_catalog.php is it because i have multiple language??
  7. Anyone knows how to integrate table rate in the shipping cost ?
  8. Just wondering if anyone knows how to integrate table rate in the shipping cost ?
  9. Can someone bundle the updated version of multi pickup and upload it somewhere probably can email me a copy ?? :( its an awesome MOD!! my email spooker8 at yahoo dot com
  10. Hi there, I'm trying to modify the Bank Transfer module to set up more then 1 bank for the bank transfer module. i have plan to set up about 5 different banks , i tried to duplicate the code and changing the variables and class name , almost succeeded but unable to see the zones or sort order. its all blank can someone help me out plsssss I have added "2" to all the names , so create a duplicate , no idea where i went wrong , hope to hear from soneone soon , thank youuuuuuuuuuuuuuuuuuuuu <?php /* $Id: TRANSFER.php,v 1.10 2003/01/29 19:57:14 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2003 osCommerce Released under the GNU General Public License */ class transfer2{ var $code, $title, $description, $enabled; // class constructor function transfer2() { global $order; $this->code = 'transfer2'; $this->title = MODULE_PAYMENT_TRANSFER_TEXT_TITLE2; $this->description = MODULE_PAYMENT_TRANSFER_TEXT_DESCRIPTION2; $this->sort_order = MODULE_PAYMENT_TRANSFER_SORT_ORDER2; $this->enabled = ((MODULE_PAYMENT_TRANSFER_STATUS2 == 'True') ? true : false); if ((int)MODULE_PAYMENT_TRANSFER_ORDER_STATUS_ID2 > 0) { $this->order_status = MODULE_PAYMENT_TRANSFER_ORDER_STATUS_ID2; } if (is_object($order)) $this->update_status(); $this->email_footer = MODULE_PAYMENT_TRANSFER_TEXT_EMAIL_FOOTER2; } // class methods function update_status() { global $order; if ( ($this->enabled == true) && ((int)MODULE_PAYMENT_TRANSFER_ZONE2 > 0) ) { $check_flag = false; $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_PAYMENT_TRANSFER_ZONE . "' and zone_country_id = '" . $order2->billing['country']['id'] . "' order by zone_id"); while ($check = tep_db_fetch_array($check_query)) { if ($check['zone_id'] < 1) { $check_flag = true; break; } elseif ($check['zone_id'] == $order->billing['zone_id']) { $check_flag = true; break; } } if ($check_flag == false) { $this->enabled = false; } } } function javascript_validation() { return false; } function selection() { return array('id' => $this->code, 'module' => $this->title); } function pre_confirmation_check() { return false; } function confirmation() { return array('title' => MODULE_PAYMENT_TRANSFER_TEXT_DESCRIPTION2); } function process_button() { return false; } function before_process() { return false; } function after_process() { return false; } function get_error() { return false; } function check() { if (!isset($this->_check)) { $check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_PAYMENT_TRANSFER_STATUS2'"); $this->_check = tep_db_num_rows($check_query); } return $this->_check; } function install() { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Bank Transfer Module', 'MODULE_PAYMENT_TRANSFER_STATUS2', 'True', 'Do you want to accept Bank Transfer or Deposits?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now());"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Payable to:', 'MODULE_PAYMENT_TRANSFER_PAYTO2', '', 'Who is the bank account owner?', '6', '1', now());"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Account #:', 'MODULE_PAYMENT_TRANSFER_ACCOUNT2', '', 'What is the account number to deposit to?', '6', '1', now());"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Bank:', 'MODULE_PAYMENT_TRANSFER_BANK2', '', 'Name of the bank', '6', '1', now());"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort order of display.', 'MODULE_PAYMENT_TRANSFER_SORT_ORDER2', '0', 'Sort order of display. Lowest is displayed first.', '6', '0', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Payment Zone', 'MODULE_PAYMENT_TRANSFER_ZONE', '0', 'If a zone is selected, only enable this payment method for that zone.', '6', '2', 'tep_get_zone_class_title', 'tep_cfg_pull_down_zone_classes(', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, use_function, date_added) values ('Set Order Status', 'MODULE_PAYMENT_TRANSFER_ORDER_STATUS_ID2', '0', 'Set the status of orders made with this payment module to this value', '6', '0', 'tep_cfg_pull_down_order_statuses(', 'tep_get_order_status_name', now())"); } function remove() { tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } function keys() { return array('MODULE_PAYMENT_TRANSFER_PAYTO2', 'MODULE_PAYMENT_TRANSFER_ACCOUNT2', 'MODULE_PAYMENT_TRANSFER_BANK2', 'MODULE_PAYMENT_TRANSFER_STATUS2', 'MODULE_PAYMENT_TRANSFER_ZONE2', 'MODULE_PAYMENT_TRANSFER_ORDER_STATUS_ID2', 'MODULE_PAYMENT_TRANSFER_SORT_ORDER2'); } } ?>
×
×
  • Create New...