Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

royalfunk

Archived
  • Posts

    289
  • Joined

  • Last visited

  • Days Won

    1

royalfunk last won the day on November 22 2010

royalfunk had the most liked content!

Profile Information

royalfunk's Achievements

  1. When customers place an order using Authorize.net, every once in a while when the order is being processed, the system passes back an error message saying that the process failed. The payment is not made, but osCommerce confirms the order and enters it into the system. As per Authorize Net, AND the customer, the order from the store passed back a 'failed' message. It did not send a payment confirmation. Yet, the order was created as if it did. What "identifier" does OS Commerce look for as a payment confirmation?
  2. Thanks for the great Contribution. I just installed it and it appears there are a couple of errors. The major thing is that the "products_cost" field in the "orders_products" never gets entered. They are all zeros. Also I get different results when using, today - yesterday - annual, etc. Sometimes certain orders show up, and other times they don't. Like, they may show up for yesterday, but not for this year! Anyone else run into this? -Aaron
  3. I just installed the latest version of this Contribution and it does not work for me at all. If I go into the Database and manually enter a value for the referrer and advertisement, then the correct values are pulled to the Ad Results page. As of now, though, when a user registers, the Database does not get populated with any info for referrer or advertisement. Any help?! -Aaron
  4. Where can we see examples of the CSS buttons in action before going through the entire installation? -Aaron
  5. When you set the price column to show in the product listing, it correctly shows the right pricing level. However I have set up my site with a lot of other contributions and custom code. I need a way to only show the pricing column if a user is logged in. Anyone have a solution? Aaron
  6. Currently the rewrite method changes a URL in the following way (general example): yoursite.com/product_info.php?products_id=123 -TO- yoursite.com/67345productname345786-p-123.html Is there a way to make the product name all caps for those of us that basically sell by model numbers rather than names? Thus the new url, for example, would be: yoursite.com/67345PRODUCTNAME345786-p-123.html Thanks, Aaron
  7. I just answered my own question, and I think this may have been what happened before. If you use the AutoLogon Contribution, it nullifies anything good that SEO URL's can do. As a matter fo fact, it will likely drastically hurt your Search Engine Campaign because it redirects users through the logoff page on their first visit to the site every time. Not good.
  8. I just re-installed this Contribution, as it seemed to not function properly before. Now it functions, but when I use a search engine spider simulator to try and test my pages, it shows that there is no indexable text or links, which should not be true. I also had this problem before and was never able to find a solution, thus making this Contribution useless (at least for me anyway :) Below is a link to the simulator I am using. Anyone know what is wrong? http://www.webconfs.com/search-engine-spider-simulator.php -Aaron
  9. Dennis is right as always. The problem you are experiencing is due to the fact that you are not using separate pricing levels. Sorry. I think there is info in the install file about this. -Aaron
  10. From what I could see no one has written the Wishlists into Admin yet, and I thought that would be a really nice feature. This is a simple add-on that will create a link in your Reports Box in Admin called "Customer Wishlists". From here you will be able to view all the contents of your customers' wishlists. http://www.oscommerce.com/community/contributions,1682 -Aaron
  11. Thanks again Richard, but that's not doing anything either. All the variables are still writing to the database but the upload does not successfully happen. -Aaron
  12. Thanks for the advice Richard! Unfortunately that didn't seem to make any difference. With your code change the page works in writing info to the database (as it did before), but images still don't upload. Any other ideas? Thanks again for your time...
  13. That's a good idea, but I'm not exactly sure how to code that in per se for an upload class. Forms I can write from the groun dup OK, but haven't messed much with uploads. Any suggestions? I know it doesn't have to do with the directory not existing or not having the proper permissions, though. Already checked that out. Thanks! -Aaron
  14. CORRECTION: I think the product addition/modification page does use the type of code block you were recommending. I tried adding it, but it doesn't seem to change anything at all. Everything still works in the same way - all data getting to the database, but no file being uploaded. <?php /* $Id: products_extra_images.php,v 1.0 2003/06/11 Mikel Williams Advancements made by Aaron Hiatt 2005 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'); // check if the catalog image directory exists if (is_dir(DIR_FS_CATALOG_IMAGES)) { if (!is_writeable(DIR_FS_CATALOG_IMAGES)) $messageStack->add(ERROR_CATALOG_IMAGE_DIRECTORY_NOT_WRITEABLE, 'error'); } else { $messageStack->add(ERROR_CATALOG_IMAGE_DIRECTORY_DOES_NOT_EXIST, 'error'); } //BOF - Custom Hack for Extra Product Images Admin Interface ////////////////////////////////////////////// if ($HTTP_GET_VARS['action']) { switch ($HTTP_GET_VARS['action']) { case 'update_extra_images': $sql_data_array = array('products_extra_images_id' => tep_db_prepare_input($HTTP_POST_VARS['products_extra_images_id']), 'products_extra_image' => tep_db_prepare_input($HTTP_POST_VARS['products_extra_image']), 'products_id' => tep_db_prepare_input($HTTP_POST_VARS['products_id'])); //if (isset($HTTP_POST_VARS['products_extra_image']) && tep_not_null($HTTP_POST_VARS['products_extra_image']) && ($HTTP_POST_VARS['products_extra_image'] != 'none')) { //$sql_data_array['products_extra_image'] = tep_db_prepare_input($HTTP_POST_VARS['products_extra_image']); //} tep_db_perform(TABLE_PRODUCTS_EXTRA_IMAGES, $sql_data_array, 'update', 'products_extra_images_id=' . tep_db_input($products_extra_images_id)); $products_extra_image = new upload('products_extra_image'); $products_extra_image->set_destination(DIR_FS_CATALOG_IMAGES); if ($products_extra_image->parse() && $products_extra_image->save()) { $products_extra_image_name = $products_extra_image->filename; } else { $products_extra_image_name = (isset($HTTP_POST_VARS['products_previous_image']) ? $HTTP_POST_VARS['products_previous_image'] : ''); } tep_redirect(tep_href_link(FILENAME_PRODUCTS_EXTRA_IMAGES)); break; case 'add_extra_images': $sql_data_array = array('products_extra_image' => tep_db_prepare_input($HTTP_POST_VARS['products_extra_image']), 'products_id' => tep_db_prepare_input($HTTP_POST_VARS['products_id'])); //if (isset($HTTP_POST_VARS['products_extra_image']) && tep_not_null($HTTP_POST_VARS['products_extra_image']) && ($HTTP_POST_VARS['products_extra_image'] != 'none')) { //$sql_data_array['products_extra_image'] = tep_db_prepare_input($HTTP_POST_VARS['products_extra_image']); //} tep_db_perform(TABLE_PRODUCTS_EXTRA_IMAGES, $sql_data_array, 'insert'); $products_extra_image = new upload('products_extra_image'); $products_extra_image->set_destination(DIR_FS_CATALOG_IMAGES); if ($products_extra_image->parse() && $products_extra_image->save()) { $products_extra_image_name = $products_extra_image->filename; } else { $products_extra_image_name = (isset($HTTP_POST_VARS['products_previous_image']) ? $HTTP_POST_VARS['products_previous_image'] : ''); } tep_redirect(tep_href_link(FILENAME_PRODUCTS_EXTRA_IMAGES)); break; case 'delete_extra_images': $sql_data_array = array('products_extra_images_id' => tep_db_prepare_input($HTTP_POST_VARS['products_extra_images_id'])); tep_db_query("DELETE FROM " . TABLE_PRODUCTS_EXTRA_IMAGES . " WHERE products_extra_images_id=" . tep_db_input($products_extra_images_id)); tep_redirect(tep_href_link(FILENAME_PRODUCTS_EXTRA_IMAGES)); break; } } $products_array = array(array('id' => '', 'text' => TEXT_NONE)); $products_query = tep_db_query("select p.products_id, p.products_model, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id order by products_model"); while ($products = tep_db_fetch_array($products_query)) { $products_array[] = array('id' => $products['products_id'], 'text' => $products['products_name']); } //EOF - Custom Hack for Extra Product Images Admin Interface ////////////////////////////////////////////// ?> <!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> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> <script language="javascript" src="includes/general.js"></script> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF" onload="SetFocus();"> <div id="spiffycalendar" class="text"></div> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="2" cellpadding="2"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="100%"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table> </td> </tr> <TR> <TD width="100%" valign="top"> <table width="100%" cellspacing="1" cellpadding="3"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_ID; ?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_IMAGE; ?></td> <td class="dataTableHeadingContent"> </td> </tr> <?php //BOF - Custom Hack for Extra Product Images Admin Interface ////////////////////////////////////////////// $products_extra_images_query = tep_db_query("SELECT pei.products_extra_image, pei.products_extra_images_id, pei.products_id, p.products_model FROM " . TABLE_PRODUCTS_EXTRA_IMAGES . " pei LEFT JOIN " . TABLE_PRODUCTS . " p ON pei.products_id = p.products_id order by p.products_model"); while ($extra_images = tep_db_fetch_array($products_extra_images_query)) { ?> <tr bgcolor=<?php echo $rowcolor; ?>> <?php echo tep_draw_form('extra_images_' . $extra_images['update_extra_images_id'], FILENAME_PRODUCTS_EXTRA_IMAGES, 'action=update_extra_images'); ?> <?php echo tep_draw_hidden_field('products_extra_images_id',$extra_images['products_extra_images_id']); ?> <td class="dataTableContent"><?php echo $extra_images['products_id'] ?></td> <td class="dataTableContent"><?php echo tep_draw_pull_down_menu('products_id', $products_array, $extra_images['products_id']); ?></td> <!-- <td class="dataTableContent"><?php echo tep_draw_input_field('products_extra_image',$extra_images['products_extra_image'],'size=50 value=' . $extra_images['products_extra_image']); ?></td> --> <td class="dataTableContent"> <?php echo tep_draw_file_field('products_extra_image') . '<br>Currently: ' . $extra_images['products_extra_image'] . tep_draw_hidden_field('products_previous_image', $extra_images['products_extra_image']); ?></td> <td class="dataTableContent"> <?php echo tep_image_submit('button_save.gif', IMAGE_SAVE); ?> </form> <?php echo tep_draw_form('extra_images_' . $extra_images['delete_extra_images_id'], FILENAME_PRODUCTS_EXTRA_IMAGES, 'action=delete_extra_images'); ?> <?php echo tep_draw_hidden_field('products_extra_images_id',$extra_images['products_extra_images_id']); ?> <?php echo tep_image_submit('button_delete.gif', IMAGE_DELETE); ?> </form> </td> </tr> <?php if ($rowcolor=='EEEEEE'){$rowcolor='FFFFFF';} else {$rowcolor='EEEEEE';} } ?> <tr bgcolor=<?php echo $rowcolor; ?>> <?php echo tep_draw_form('extra_images_' . $extra_images['add__extra_images'], FILENAME_PRODUCTS_EXTRA_IMAGES, 'action=add_extra_images'); ?> <td class="dataTableContent"> </td> <td class="dataTableContent"><?php echo tep_draw_pull_down_menu('products_id', $products_array, $pInfo->products_id); ?></td> <!-- <td class="dataTableContent"><?php echo tep_draw_input_field('products_extra_image',$extra_images['products_extra_image'],'size=50'); ?></td> --> <td class="dataTableContent"> <?php echo tep_draw_file_field('products_extra_image') . tep_draw_hidden_field('products_previous_image', $extra_images['products_extra_image']); ?></td> <td class="dataTableContent"><?php echo tep_image_submit('button_save.gif', IMAGE_SAVE); ?></td> </form> </tr> <tr> <td colspan="5"><br></td> </tr> </table> </td> <!-- body_text_eof //--> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <BR> </BODY> </HTML> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
×
×
  • Create New...