magicproshop
Archived-
Posts
118 -
Joined
-
Last visited
Profile Information
-
Real Name
Peter
-
Gender
Male
- Website
magicproshop's Achievements
-
Thanks for the code. :)
-
Yes, thank you for mentioning that. I am using excel to export and excel has a max of 1024 characters per cell. I am looking to get this fixed. Thanks for the direction.
-
Does anyone know why when I upload my descriptions (very little html) via Easy Populate it only uploads the first 1022 characters? I have done several tests and it always stops after 1022 characters. There are no \ or any other harmful characters at the stopping point. Any ideas?
-
looks like the order of fields is the problem... make sure they are in correct order. meaning in the file uploaded and in EP. as i read the order is important maybe i am mistaken... <_< HAKAPAT, Yes, that is preciesly the problem, I just don't know how to match everything up. Do you have any suggestions or would you be willing to help. You can PM me if you are interested in helping. Thanks
-
HAKAPAT, I have used that contribution to to install the new fields but I am having problems with the columns matching up. For example, the image field is being populated with the price field data. Anyone know how to fix it?
-
NEED Help to properly add "products_retail_price" & products_cost" fields to easy populate. I followed the instructions for this from http://www.oscommerce.com/community/contributions,1717 However when I upload my data the price is being uploaded under the images column and many other columns are messed up as well. Could someone please help me add these fields to easypopulate.php so that they import and export correctly. The columns are not matching up properly. Any help would be most appreciated. I will pay for work if need be. Thank you
-
I am recieving the follow error when trying to upload. I somewhat know what the problem is but I do not know how to fix it. Could anyone offer a hand? I added a retail price & cost field (two seperate fields). This is what has throw things off. Thank you
-
[Contribution] Fancy split_page_results
magicproshop replied to nrlatsha's topic in General Add-Ons Support
Here is the entire file. -
[Contribution] Fancy split_page_results
magicproshop replied to nrlatsha's topic in General Add-Ons Support
Well, here is 182-193 echo '<td class="smallText" valign="right" >'; if (($current_page_number < $num_pages) && ($num_pages != 1)) echo ' <a href="' . tep_href_link(basename($PHP_SELF), $parameters . 'page=' . ($current_page_number + 1) . '&numrows=' . $rows, 'NONSSL') . '">' . tep_image_button('button_next.gif', IMAGE_BUTTON_NEXT) . '</a>'; echo '</td>'; echo '</table>'; } } ?> Thanks again for your help. -
[Contribution] Fancy split_page_results
magicproshop replied to nrlatsha's topic in General Add-Ons Support
Noel, Here are lines 85-93 // check if number_of_pages > $max_page_links $cur_window_num = intval($this->current_page_number / $max_page_links); if ($this->current_page_number % $max_page_links) $cur_window_num++; $max_window_num = intval($this->number_of_pages / $max_page_links); if ($this->number_of_pages % $max_page_links) $max_window_num++; // previous window of pages if ($cur_window_num > 1) $display_links_string .= '<a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . (($cur_window_num - 1) * $max_page_links), $request_type) . '" class="pageResults" title=" ' . sprintf(PREVNEXT_TITLE_PREV_SET_OF_NO_PAGE, $max_page_links) . ' ">...</a>'; -
[Contribution] Fancy split_page_results
magicproshop replied to nrlatsha's topic in General Add-Ons Support
Noel, It is me again. I tried to install this but get the following parse error. Parse error: parse error, unexpected ';', expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/talk2mag/public_html/newstore2/includes/classes/split_page_results.php on line 192 Any idea? -
[Contribution] Credit Card Fraud Detection Service
magicproshop replied to nrlatsha's topic in General Add-Ons Support
Noel, It is working now! I have implemented the needed Authorize.net adjustments and I also needed to a change the Curl HTTPS settings in the maxmind.php file to O. I am setting up my site on a test domain in which I don't have a secure certificate installed (I do have the SSL version of CURL though). Once I switched the default setting from "1" to "0" it worked like a charm. Thanks so much for your help. Take care -
[Contribution] Credit Card Fraud Detection Service
magicproshop replied to nrlatsha's topic in General Add-Ons Support
Noel, Yes, I did add the custom code you gave for the checkout_process file and it still does not populate the database. -
[Contribution] Credit Card Fraud Detection Service
magicproshop replied to nrlatsha's topic in General Add-Ons Support
Noel, Sorry, I had to move on to other things temporarily. But now I am back trying to get his working with Authorize.net Consolidated v.1.0 for AIM ( http://www.oscommerce.com/community/contri...h,authorize.net ). The above Authorize.net contribution uses a rather modified checkout_process.php file, this may be the reason everything is screwing up. Right now I have everything installed as you have instructed. The problem right now is that the maximind table is not getting populated. Any ideas? -
Need help with Tracking in order history 1.0
magicproshop replied to hokage's topic in General Add-Ons Support
Does anyone have the tracking number showing up in the account history page? Mine is not showing up. Here is my account_history_info.php page. Any help would be apprecited. <?php /* $Id: account_history_info.php,v 1.100 2003/06/09 23:03:52 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } if (!isset($HTTP_GET_VARS['order_id']) || (isset($HTTP_GET_VARS['order_id']) && !is_numeric($HTTP_GET_VARS['order_id']))) { tep_redirect(tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL')); } $customer_info_query = tep_db_query("select customers_id from " . TABLE_ORDERS . " where orders_id = '". (int)$HTTP_GET_VARS['order_id'] . "'"); $customer_info = tep_db_fetch_array($customer_info_query); if ($customer_info['customers_id'] != $customer_id) { tep_redirect(tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL')); } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT_HISTORY_INFO); $breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_ACCOUNT, '', 'SSL')); $breadcrumb->add(NAVBAR_TITLE_2, tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL')); $breadcrumb->add(sprintf(NAVBAR_TITLE_3, $HTTP_GET_VARS['order_id']), tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $HTTP_GET_VARS['order_id'], 'SSL')); require(DIR_WS_CLASSES . 'order.php'); $order = new order($HTTP_GET_VARS['order_id']); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top" class="padded"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main" colspan="2"><b><?php echo sprintf(HEADING_ORDER_NUMBER, $HTTP_GET_VARS['order_id']) . ' <small>(' . $order->info['orders_status'] . ')</small>'; ?></b></td> </tr> <tr> <td class="smallText"><?php echo HEADING_ORDER_DATE . ' ' . tep_date_long($order->info['date_purchased']); ?></td> <td class="smallText" align="right"><?php echo HEADING_ORDER_TOTAL . ' ' . $order->info['total']; ?></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <?php if ($order->delivery != false) { ?> <td width="30%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo HEADING_DELIVERY_ADDRESS; ?></b></td> </tr> <tr> <td class="main"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, ' ', '<br>'); ?></td> </tr> <?php if (tep_not_null($order->info['shipping_method'])) { ?> <tr> <td class="main"><b><?php echo HEADING_SHIPPING_METHOD; ?></b></td> </tr> <tr> <td class="main"><?php echo $order->info['shipping_method']; ?></td> </tr> <?php } ?> </table></td> <?php } ?> <td width="<?php echo (($order->delivery != false) ? '70%' : '100%'); ?>" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php if (sizeof($order->info['tax_groups']) > 1) { ?> <tr> <td class="main" colspan="2"><b><?php echo HEADING_PRODUCTS; ?></b></td> <td class="smallText" align="right"><b><?php echo HEADING_TAX; ?></b></td> <td class="smallText" align="right"><b><?php echo HEADING_TOTAL; ?></b></td> </tr> <?php } else { ?> <tr> <td class="main" colspan="3"><b><?php echo HEADING_PRODUCTS; ?></b></td> </tr> <?php } for ($i=0, $n=sizeof($order->products); $i<$n; $i++) { echo ' <tr>' . "\n" . ' <td class="main" align="right" valign="top" width="30">' . $order->products[$i]['qty'] . ' x</td>' . "\n" . ' <td class="main" valign="top">' . $order->products[$i]['name']; if ( (isset($order->products[$i]['attributes'])) && (sizeof($order->products[$i]['attributes']) > 0) ) { for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) { echo '<br><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value'] . '</i></small></nobr>'; } } echo '</td>' . "\n"; if (sizeof($order->info['tax_groups']) > 1) { echo ' <td class="main" valign="top" align="right">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n"; } echo ' <td class="main" align="right" valign="top">' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><b><?php echo HEADING_BILLING_INFORMATION; ?></b></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td width="30%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo HEADING_BILLING_ADDRESS; ?></b></td> </tr> <tr> <td class="main"><?php echo tep_address_format($order->billing['format_id'], $order->billing, 1, ' ', '<br>'); ?></td> </tr> <tr> <td class="main"><b><?php echo HEADING_PAYMENT_METHOD; ?></b></td> </tr> <tr> <td class="main"><?php echo $order->info['payment_method']; ?></td> </tr> </table></td> <td width="70%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php for ($i=0, $n=sizeof($order->totals); $i<$n; $i++) { echo ' <tr>' . "\n" . ' <td class="main" align="right" width="100%">' . $order->totals[$i]['title'] . '</td>' . "\n" . ' <td class="main" align="right">' . $order->totals[$i]['text'] . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><b><?php echo HEADING_ORDER_HISTORY; ?></b></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php $statuses_query = tep_db_query("select os.orders_status_name, osh.date_added, osh.comments from " . TABLE_ORDERS_STATUS . " os, " . TABLE_ORDERS_STATUS_HISTORY . " osh where osh.orders_id = '" . (int)$HTTP_GET_VARS['order_id'] . "' and osh.orders_status_id = os.orders_status_id and os.language_id = '" . (int)$languages_id . "' order by osh.date_added"); // #CHAVEIRO3# TRACK ?> <tr> <td width="15%" class="main"><b><?php echo HEADING_STATUS_DATE; ?></b></td> <td width="23%" class="main"><b><?php echo HEADING_STATUS; ?></b></td> <td width="25%" class="main"><b><?php echo HEADING_COMMENT; ?></b></td> <td width="37%" class="main"><b><?php echo HEADING_TRACKING; ?></b></td> </tr> <?php // #CHAVEIRO3# TRACK end while ($statuses = tep_db_fetch_array($statuses_query)) { echo ' <tr>' . "\n" . ' <td class="main" valign="top" width="70">' . tep_date_short($statuses['date_added']) . '</td>' . "\n" . ' <td class="main" valign="top" width="70">' . $statuses['orders_status_name'] . '</td>' . "\n" . ' <td class="main" valign="top">' . (empty($statuses['comments']) ? ' ' : nl2br(tep_output_string_protected($statuses['comments']))) . '</td>' . "\n" . // #CHAVEIRO3# TRACK ' <td class="main" valign="top">' . (empty($statuses['track_num']) ? ' ' : '<a href="' . URL_TO_TRACK1 . nl2br(tep_output_string_protected($statuses['track_num'])) . '" target="_blank">' . nl2br(tep_output_string_protected($statuses['track_num'])) . '</a> ') . (empty($statuses['track_num2']) ? ' ' : '<a href="' . URL_TO_TRACK2 . nl2br(tep_output_string_protected($statuses['track_num2'])) . '" target="_blank">' . nl2br(tep_output_string_protected($statuses['track_num2'])) . '</a> ') . (empty($statuses['track_num3']) ? ' ' : '<a href="' . URL_TO_TRACK3 . nl2br(tep_output_string_protected($statuses['track_num3'])) . '" target="_blank">' . nl2br(tep_output_string_protected($statuses['track_num3'])) . '</a>') . '</td>' . "\n" . // #CHAVEIRO3# TRACK end ' </tr>' . "\n"; } ?> </table></td> </tr> </table></td> </tr> <?php if (DOWNLOAD_ENABLED == 'true') include(DIR_WS_MODULES . 'downloads.php'); ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, tep_get_all_get_params(array('order_id')), 'SSL') . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> <!-- body_text_eof //--> <td width="1" valign="top"><?php echo tep_draw_separator('pixel_trans.gif', '1', '50'); ?></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>