Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

drillsar

Pioneers
  • Posts

    467
  • Joined

  • Last visited

Everything posted by drillsar

  1. Jim, this is a updated mvs.sql I did does this look correct? TYPE=MYISAM is not needed and deprecated as I read so I replaced it with ) CHARACTER SET utf8 COLLATE utf8_unicode_ci; # # mvs.sql # For MVS V1.2 2009/02/28 JCK/CWG # osCommerce, Open Source E-Commerce Solutions # # # Add data for table `configuration` # INSERT INTO `configuration` VALUES (NULL, 'Enable Vendor Shipping', 'SELECT_VENDOR_SHIPPING', 'false', 'Enable Multi-Vendor shipping-(true/false)', 7, 6, '2004-09-07 13:19:40', '2004-05-04 14:43:03', NULL, 'tep_cfg_select_option(array(''true'', ''false''),'); INSERT INTO `configuration` VALUES (NULL, 'Use Optional Confirmation Email', 'SELECT_VENDOR_EMAIL_OPTION', 'false', 'Use the email showing a seperated list of Vendor''s group of products-(true/false)', '7', '10', '2005-03-16 08:10:45', '2004-05-04 14:43:03', NULL , 'tep_cfg_select_option(array(''true'', ''false''),'); INSERT INTO `configuration` VALUES (NULL, 'When to send the Vendor Email', 'SELECT_VENDOR_EMAIL_WHEN', 'Admin', 'Select when in the checkout process to send the email to the Vendors. You can also disable automatic email. See the readme.txt file for details on these options.', '7', '11', NULL , '2005-04-25 11:00:43', NULL , 'tep_cfg_select_option(array(''Catalog'', ''Admin'', ''Both'', ''Not at all''),'); INSERT INTO `configuration` VALUES (NULL, 'Use Zones', 'SHIP_ESTIMATOR_USE_ZONES', 'true', 'Shipping modules use zones restriction - Used in Shipping Estimator', 7, 44, '2008-03-04 00:00:00', '2008-03-04 00:00:00', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),'); INSERT INTO `configuration` VALUES (NULL, 'Products ship estimator', 'SHIP_ESTIMATOR_BUTTON_PRODUCTS_INFO', 'true', 'Show the Shipping Estimator button on the Products Info page', 7, 45, '2009-02-28 00:00:00', '2009-02-28 00:00:00', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),'); INSERT INTO `configuration` VALUES (NULL, 'Cart ship estimator', 'SHIP_ESTIMATOR_BUTTON_SHOPPING_CART', 'true', 'Show the Shipping Estimator button on the Shopping Cart page', 7, 46, '2009-02-28 00:00:00', '2009-02-28 00:00:00', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),'); INSERT INTO `configuration` VALUES (NULL, 'Cart box ship estimator', 'SHIP_ESTIMATOR_BUTTON_CART_BOX', 'true', 'Show the Shipping Estimator button in the Shopping Cart box', 7, 46, '2009-02-28 00:00:00', '2009-02-28 00:00:00', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),'); # # Table structure for new table `orders_shipping` # CREATE TABLE `orders_shipping` ( `orders_shipping_id` int(11) NOT NULL auto_increment, `orders_id` int(11) NOT NULL default '0', `vendors_id` int(11) NOT NULL default '1', `shipping_module` varchar(16) NOT NULL default '', `shipping_method` varchar(128) NOT NULL default '', `shipping_cost` decimal(15,4) NOT NULL default '0.000', `shipping_tax` decimal(15,4) NOT NULL default '0.000', `vendors_name` varchar(64) NOT NULL default '', `vendor_order_sent` varchar(3) NOT NULL default 'no', PRIMARY KEY (`orders_shipping_id`) ) CHARACTER SET utf8 COLLATE utf8_unicode_ci; # # Modify Table structure for table `orders_products` # ALTER TABLE `orders_products` ADD `vendors_id` int(11) NOT NULL default '1'; # # Modify Table structure for table `products` # ALTER TABLE `products` ADD `vendors_id` int(11) default '1', ADD `vendors_product_price` decimal(15,4) NOT NULL default '0.0000', ADD `vendors_prod_id` varchar(24) NOT NULL default '', ADD `vendors_prod_comments` text, ADD `products_length` DECIMAL(6,2) DEFAULT '12' NOT NULL, ADD `products_width` DECIMAL(6,2) DEFAULT '12' NOT NULL, ADD `products_height` DECIMAL(6,2) DEFAULT '12' NOT NULL, ADD `products_ready_to_ship` INT(1) DEFAULT '0' NOT NULL, ADD `products_ship_price` decimal(15,2) NOT NULL default '0.00'; # # Table structure for new table `vendor_configuration` # CREATE TABLE `vendor_configuration` ( `vendor_configuration_id` int(11) NOT NULL auto_increment, `configuration_title` varchar(64) NOT NULL default '', `configuration_key` varchar(64) NOT NULL default '', `configuration_value` text, `configuration_description` varchar(255) NOT NULL default '', `configuration_group_id` int(11) NOT NULL default '0', `sort_order` int(5) default NULL, `last_modified` datetime default NULL, `date_added` datetime NOT NULL default '0000-00-00 00:00:00', `use_function` varchar(255) default NULL, `set_function` text, `vendors_id` int(11) NOT NULL default '0', PRIMARY KEY (`vendor_configuration_id`) ) CHARACTER SET utf8 COLLATE utf8_unicode_ci; # # Table structure for new table `vendors` # CREATE TABLE `vendors` ( `vendors_id` int(11) NOT NULL auto_increment, `vendors_contact` varchar(32) NOT NULL default '', `vendors_name` varchar(32) NOT NULL default '', `vendors_phone1` varchar(20) NOT NULL default '', `vendors_phone2` varchar(20) NOT NULL default '', `vendors_fax` varchar(20) NOT NULL default '', `vendors_email` varchar(64) NOT NULL default '', `vendors_url` varchar(64) NOT NULL default '', `vendors_comments` text, `date_added` datetime default NULL, `last_modified` datetime default NULL, `vendors_image` varchar(32) default NULL, `vendors_send_email` tinyint(1) default '0', `vendors_status_send` int(11) NOT NULL default '2', `vendors_zipcode` varchar(11) NOT NULL default '', `vendor_street` varchar(32) default NULL, `vendor_add2` varchar(32) default NULL, `vendor_city` varchar(32) NOT NULL default '', `vendor_state` varchar(32) default NULL, `vendor_country` varchar(32) default NULL, `vendor_add_info` text, `account_number` varchar(32) default NULL, `handling_charge` decimal(5,2) NOT NULL default '0.00', `handling_per_box` decimal(5,3) NOT NULL default '0.000', `tare_weight` decimal(5,2) NOT NULL default '0.00', `max_box_weight` decimal(15,3) unsigned NOT NULL default '0.000', `percent_tare_weight` int(3) NOT NULL default '0', `zones` int(3) NOT NULL default '1', PRIMARY KEY (`vendors_id`) ) CHARACTER SET utf8 COLLATE utf8_unicode_ci; # # Add data for table `vendors` # INSERT INTO `vendors` VALUES (1, 'Store Owner', 'My Store', '555-543-9988', '', '', '[email protected]', 'www.mvs.com', '', '2005-03-09 19:51:22', '2005-03-09 19:51:22', NULL, 1, 2, 'change', '889977 Astreet', 'Address line 2', 'Somewhere', 'MV', '223', '', '9999999', 0.00, 0.000, 0.00, 40.000, 0, 3); # # Table structure for table `vendors_info` # CREATE TABLE `vendors_info` ( `vendors_id` int(16) NOT NULL default '0', `languages_id` int(11) NOT NULL default '0', `vendors_url` varchar(255) NOT NULL default '', `url_clicked` int(5) NOT NULL default '0', `date_last_click` datetime default NULL, PRIMARY KEY (`vendors_id`,`languages_id`) ) CHARACTER SET utf8 COLLATE utf8_unicode_ci; # # Table structure for table `packaging` # DROP TABLE IF EXISTS packaging; CREATE TABLE packaging ( package_id int NOT NULL auto_increment, package_name varchar(64) NOT NULL, package_description varchar(255) NOT NULL, package_length DECIMAL(6,2) default '5' NOT NULL, package_width DECIMAL(6,2) default '5' NOT NULL, package_height DECIMAL(6,2) default '5' NOT NULL, package_empty_weight DECIMAL(6,2) DEFAULT '0' NOT NULL, package_max_weight DECIMAL(6,2) DEFAULT '50' NOT NULL, package_cost int(5) NOT NULL, PRIMARY KEY (package_id) ) CHARACTER SET utf8 COLLATE utf8_unicode_ci;
  2. THe first one from 2.2 to 2.3 a lot is missing the upgrade read me file so I used winmerge to see differences. I commented on the upgrade to see changes this way I can go back if neccessary.
  3. I am saying that to download oscommerce 2.2 install it on the server and upgrade it that way. Or you suggest just to go through the upgrades one by one than install 2.3.4?
  4. Jim, Yeah I think that's what I am going to do. I first have to though make oscommerce 2.2 compatible with php 5 correct? The thing is I hate to go to a whole new cart system. I am familiar with the scheme of oscommerce. It's just been awhile since I coded and still learning.
  5. I don't know can't figure why the buttons aren't being drawn. I think may have to go with opencart instead. I will still try and get this to work. The checkout_payment is really the one I really need fixed that is bothersome. Thanks Jim for all your help. I was wondering something if I downloaded the old version and work my way up will there be a security issue doing it that way?
  6. here is another question. How do I change the button's in product_ship_estimator? I perhaps want to add button's as well here I like to change the buttons to correspond with oscommerce look. I see the following code on the buttons I want to change but no clue on how this is done.. for example this don't show change_address as a button <div width="100%" align="center"> <?php echo tep_draw_button(IMAGE_BUTTON_CHANGE_ADDRESS, 'triangle-1-e', tep_href_link(FILENAME_PRODUCTS_SHIP_ESTIMATOR, 'action=reset&pid=' . $products_id, 'SSL')); ?>
  7. I am moving to another hosting company. I will do more of this tnt. I hope to fix that payment error tnt and done with it lol. Thanks Jim.
  8. yeah I have this in application_top.php // set the level of error reporting error_reporting(E_ALL); but no errors are being printed..
  9. I added this and now I get a blank page, I commented it //this i added // MVS Start if (SELECT_VENDOR_SHIPPING == 'true') { $total_shipping_cost = 0; $shipping_title = MULTIPLE_SHIP_METHODS_TITLE; $vendor_shipping = $cart->vendor_shipping; $shipping = array(); foreach ($vendor_shipping as $vendor_id => $vendor_data) { $products_shipped = $_POST['products_' . $vendor_id]; $products_array = explode ("_", $products_shipped); $shipping_data = $_POST['shipping_' . $vendor_id]; $shipping_array = explode ("_", $shipping_data); $module = $shipping_array[0]; $method = $shipping_array[1]; $ship_tax = $shipping_array[2]; if ( is_object($$module) || ($module == 'free') ) { if ($module == 'free') { $quote[0]['methods'][0]['title'] = FREE_SHIPPING_TITLE; $quote[0]['methods'][0]['cost'] = '0'; } else { $total_weight = $vendor_shipping[$vendor_id]['weight']; $shipping_weight = $total_weight; $cost = $vendor_shipping[$vendor_id]['cost']; $total_count = $vendor_shipping[$vendor_id]['qty']; $quote = $shipping_modules->quote($method, $module, $vendor_id); } if (isset($quote['error'])) { tep_session_unregister('shipping'); } else { if ( (isset($quote[0]['methods'][0]['title'])) && (isset($quote[0]['methods'][0]['cost'])) ) { $output[$vendor_id] = array('id' => $module . '_' . $method, 'title' => $quote[0]['methods'][0]['title'], 'ship_tax' => $ship_tax, 'products' => $products_array, 'cost' => $quote[0]['methods'][0]['cost'] ); $total_ship_tax += $ship_tax; $total_shipping_cost += $quote[0]['methods'][0]['cost']; }//if isset }//if isset }//if is_object }//foreach if ($free_shipping == true) { $shipping_title = $quote[0]['module']; } elseif (count($output) <2) { $shipping_title = $quote[0]['methods'][0]['title']; } $shipping = array('id' => $shipping, 'title' => $shipping_title, 'cost' => $total_shipping_cost, 'shipping_tax_total' => $total_ship_tax, 'vendor' => $output ); tep_redirect (tep_href_link (FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL') ); } else { // MVS End if ( (tep_count_shipping_modules() > 0) || ($free_shipping == true) ) { if ( (isset($HTTP_POST_VARS['shipping'])) && (strpos($HTTP_POST_VARS['shipping'], '_')) ) { $shipping = $HTTP_POST_VARS['shipping']; list($module, $method) = explode('_', $shipping); if ( is_object($$module) || ($shipping == 'free_free') ) { if ($shipping == 'free_free') { $quote[0]['methods'][0]['title'] = FREE_SHIPPING_TITLE; $quote[0]['methods'][0]['cost'] = '0'; } else { $quote = $shipping_modules->quote($method, $module); } if (isset ($quote['error']) ) { tep_session_unregister('shipping'); } else { if ( (isset($quote[0]['methods'][0]['title']) ) && (isset($quote[0]['methods'][0]['cost'])) ) { $shipping = array('id' => $shipping, 'title' => ( ($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'), 'cost' => $quote[0]['methods'][0]['cost']); tep_redirect (tep_href_link (FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL') ); } } // This I added } else { tep_session_unregister('shipping'); } } } else { if ( defined('SHIPPING_ALLOW_UNDEFINED_ZONES') && (SHIPPING_ALLOW_UNDEFINED_ZONES == 'False') ) { tep_session_unregister('shipping'); } else { $shipping = false; // MVS } tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } }
  10. it has to be here in checkout_shipping.php I believe because that error showed up and that was the only file I uploaded at the time.
  11. Jim, when I changed the code tep_redirect (tep_href_link (FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL') ); to tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); the error is indeed gone
  12. I think that was it.. No error on my side. since where on this file my question is are we supposed to take out on checkout_shipping.php } else { if ( defined('SHIPPING_ALLOW_UNDEFINED_ZONES') && (SHIPPING_ALLOW_UNDEFINED_ZONES == 'False') ) { tep_session_unregister('shipping'); There is 2 refrences on this in checkout_shipping.php where the MVS code is at it's taken out so I was wondering if that needs to be out. Here is the MVS code: // MVS Start if (SELECT_VENDOR_SHIPPING == 'true') { $total_shipping_cost = 0; $shipping_title = MULTIPLE_SHIP_METHODS_TITLE; $vendor_shipping = $cart->vendor_shipping; $shipping = array(); foreach ($vendor_shipping as $vendor_id => $vendor_data) { $products_shipped = $_POST['products_' . $vendor_id]; $products_array = explode ("_", $products_shipped); $shipping_data = $_POST['shipping_' . $vendor_id]; $shipping_array = explode ("_", $shipping_data); $module = $shipping_array[0]; $method = $shipping_array[1]; $ship_tax = $shipping_array[2]; if ( is_object($$module) || ($module == 'free') ) { if ($module == 'free') { $quote[0]['methods'][0]['title'] = FREE_SHIPPING_TITLE; $quote[0]['methods'][0]['cost'] = '0'; } else { $total_weight = $vendor_shipping[$vendor_id]['weight']; $shipping_weight = $total_weight; $cost = $vendor_shipping[$vendor_id]['cost']; $total_count = $vendor_shipping[$vendor_id]['qty']; $quote = $shipping_modules->quote($method, $module, $vendor_id); } if (isset($quote['error'])) { tep_session_unregister('shipping'); } else { if ( (isset($quote[0]['methods'][0]['title'])) && (isset($quote[0]['methods'][0]['cost'])) ) { $output[$vendor_id] = array('id' => $module . '_' . $method, 'title' => $quote[0]['methods'][0]['title'], 'ship_tax' => $ship_tax, 'products' => $products_array, 'cost' => $quote[0]['methods'][0]['cost'] ); $total_ship_tax += $ship_tax; $total_shipping_cost += $quote[0]['methods'][0]['cost']; }//if isset }//if isset }//if is_object }//foreach if ($free_shipping == true) { $shipping_title = $quote[0]['module']; } elseif (count($output) <2) { $shipping_title = $quote[0]['methods'][0]['title']; } $shipping = array('id' => $shipping, 'title' => $shipping_title, 'cost' => $total_shipping_cost, 'shipping_tax_total' => $total_ship_tax, 'vendor' => $output ); tep_redirect (tep_href_link (FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL') ); } else { // MVS End if ( (tep_count_shipping_modules() > 0) || ($free_shipping == true) ) { if ( (isset($HTTP_POST_VARS['shipping'])) && (strpos($HTTP_POST_VARS['shipping'], '_')) ) { $shipping = $HTTP_POST_VARS['shipping']; list($module, $method) = explode('_', $shipping); if ( is_object($$module) || ($shipping == 'free_free') ) { if ($shipping == 'free_free') { $quote[0]['methods'][0]['title'] = FREE_SHIPPING_TITLE; $quote[0]['methods'][0]['cost'] = '0'; } else { $quote = $shipping_modules->quote($method, $module); } if (isset ($quote['error']) ) { tep_session_unregister('shipping'); } else { if ( (isset($quote[0]['methods'][0]['title']) ) && (isset($quote[0]['methods'][0]['cost'])) ) { $shipping = array('id' => $shipping, 'title' => ( ($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'), 'cost' => $quote[0]['methods'][0]['cost']); tep_redirect (tep_href_link (FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL') ); } } } else { tep_session_unregister ('shipping'); } } else { tep_session_unregister('shipping'); } } else { $shipping = false; // MVS } //tep_redirect (tep_href_link (FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL') ); } here is what in question if this needs to be indeed out } } else { if ( defined('SHIPPING_ALLOW_UNDEFINED_ZONES') && (SHIPPING_ALLOW_UNDEFINED_ZONES == 'False') ) { tep_session_unregister('shipping'); There is also another reference of this in the new checkout_shipping.php if ( defined('SHIPPING_ALLOW_UNDEFINED_ZONES') && (SHIPPING_ALLOW_UNDEFINED_ZONES == 'False') && !tep_session_is_registered('shipping') && ($shipping == false) ) { $messageStack->add_session('checkout_address', ERROR_NO_SHIPPING_AVAILABLE_TO_SHIPPING_ADDRESS); tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL')); }
  13. I am wondering if this is correct? in checkout_shipping.php if ( (isset($quote[0]['methods'][0]['title']) ) && (isset($quote[0]['methods'][0]['cost'])) ) { $shipping = array('id' => $shipping, 'title' => ( ($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'), 'cost' => $quote[0]['methods'][0]['cost']); tep_redirect (tep_href_link (FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL') ); } shouldn't that be tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
  14. Ok I just uploaded one file to the catalog directory. It seems the checkout_shipping.php is the problem file. I will look at the code and see if I can figure it out.
  15. Ok without MVS mod their is no error so it has to be the MVS code that is releasing the error. I will look more into this tnt. is their away to debug it like print to the screen on the process? Or maybe it be better if I upload each section one at a time to see where the error is coming from.
  16. Is it a possible bug in oscommerce itself? I looked in payment.php and uses javascript to check fields. I am wondering maybe that is the problem. Still investigating this issue; I look into this further tnt. Thanks for all your help
  17. Thanks Jim, that is fixed. Most people will want the MVS though so no big deal. I am looking into this stupid error on checkout_payment screen. This line I believe is the problem: in checkout_confirmation.php this line looks ok I think: if ( ($payment_modules->selected_module != $payment) || ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) ) || (is_object($$payment) && ($$payment->enabled == false)) ) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(ERROR_NO_PAYMENT_MODULE_SELECTED), 'SSL')); } if (is_array($payment_modules->modules)) { $payment_modules->pre_confirmation_check(); }
  18. Here is one issue that I just seen if you enable vendor shipping to false you get this error: Warning: Invalid argument supplied for foreach() in /home/giftboun/public_html/checkout_process.php on line 153 I am thinking that you need to add if vendor_shipping is true or something. I am looking into this issue //MVS start // Insert data into new orders_shipping table $shipping_array = $shipping['vendor']; foreach ($shipping_array as $vendors_id => $shipping_data) { $vendors_query = tep_db_query ("select vendors_name from " . TABLE_VENDORS . " where vendors_id = '" . (int)$vendors_id . "'" );
  19. Ok I think I have it almost complete to 2.3.4. The only problem is when I go to checkout it complains that of this error before I even select anything during the payment screen: Please select a payment method for your order. It's minor but annoying, lol. my site is located at http://giftbound.6srv.com
  20. When Enable Vendor Shipping is True: This is what error I get Warning: strpos() expects parameter 1 to be string, array given in vendor_shipping.php on line 46 Warning: strpos() expects parameter 1 to be string, array given in includes/modules/order_total/ot_shipping.php on line 48 Warning: substr() expects parameter 1 to be string, array given in includes/modules/order_total/ot_shipping.php on line 48 Ok let me try and look at all the coding again.. one by one
  21. Ok that did the trick thanks.. Now I am trying to solve this error: Warning: Invalid argument supplied for foreach() in checkout_process.php on line 153 This happen when Enable Vendor Shipping is false... hmmm //MVS start // Insert data into new orders_shipping table $shipping_array = $shipping['vendor']; foreach ($shipping_array as $vendors_id => $shipping_data) { $vendors_query = tep_db_query ("select vendors_name from " . TABLE_VENDORS . " where vendors_id = '" . (int)$vendors_id . "'" ); $vendors_name = 'Unknown'; if ($vendors = tep_db_fetch_array($vendors_query)) { $vendors_name = $vendors['vendors_name']; } $shipping_method_array = explode ('_', $shipping_data['id']); // Fix the shipper name where needed switch ($shipping_method_array[0]) { case 'fedex1': $shipping_method = 'Federal Express'; case 'upsxml': case 'UPSXML': case 'ups': $shipping_method = 'UPS'; case 'usps': $shipping_method = 'USPS'; default: $shipping_method = $shipping_method_array[0]; } //switch $sql_data_array = array ('orders_id' => $orders_id, 'vendors_id' => $vendors_id, 'shipping_module' => $shipping_method, 'shipping_method' => $shipping_data['title'], 'shipping_cost' => $shipping_data['cost'], 'shipping_tax' => $shipping_data['ship_tax'], 'vendors_name' => $vendors_name, 'vendor_order_sent' => 'no' ); tep_db_perform (TABLE_ORDERS_SHIPPING, $sql_data_array); } //foreach ($shipping_array //MVS End
  22. Ok one thing at a time, lol in vendor_modules.php Line 27 I replaced $value = ereg_replace (", --none--", "", $value); with: $value = preg_replace (", --none--", "", $value); Also Line 229 replaced if (ereg('->', $use_function)) { with: if (preg('{->}', $use_function)) { still getting this error: Fatal error: Call to undefined function preg() in vendor_modules.php on line 229
  23. ok I am getting there I think lol: I getting this error now Warning: Invalid argument supplied for foreach() in /home/giftboun/public_html/checkout_process.php on line 153 Warning: Cannot modify header information - headers already sent by (output started at /home/giftboun/public_html/checkout_process.php:153) in /home/giftboun/public_html/includes/functions/general.php on line 49 Also when I go to checkout payment it reads Please select a payment method for your order. In Red before even I click on anything
  24. Thanks Jim, yeah I have been working out some of the old code like ereg stuff like that. I am new to Php and this has been a challenge. I looked in other carts and oscommerce is the only one that has this feature without spending a ton of money like cs-cart. Opencart has vendor capability but a ton of money to add modules to it. I like the idea of opencart using modules instead of changing the core of the cart as it should be. ereg gets replaced with preg correct? this line: if (ereg('->', $use_function)) { be if (preg('->', $use_function)) {
×
×
  • Create New...