Jump to content

stClem

Members
  • Content count

    83
  • Joined

  • Last visited

  1. stClem

    Header Tags SEO

    hi, im looking for a solution to add description in subcategories. Not in the actualy subcategory, but under the subcategory name when i see all the subcategories in a main category. Is this posible whit Header SEO?
  2. stClem

    Printer Ink & Toner Filter

    Cool. Hope it wil be released soon.
  3. stClem

    NEW! Complete Order Editing Tool!

    Someone who has added this to 2.3.1? Cant find the correct places in admin/orders.php to change.
  4. stClem

    Printer Ink & Toner Filter

    now i can search and add products, but cat remove products :) :( <?php /* Printer Ink & Toner Filter V1.7 for Oscommerce v2.2 RC2a September 2010 osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); $printer_category_id = $_REQUEST['printer_category_id']; $parent_id = $_REQUEST['parent_id']; if(isset($_REQUEST['printer_category_id'])&&($_REQUEST['printer_category_id']!='')) { $vehcat_query = tep_db_query("SELECT * FROM ".TABLE_PRINTER_CATEGORY." WHERE printer_category_id = '".$_REQUEST['printer_category_id']."'"); $vehcat_row = tep_db_fetch_array($vehcat_query); } $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); // Ultimate SEO URLs v2.1 // If the action will affect the cache entries if ( eregi("(insert|update|setflag)", $action) ) include_once('includes/reset_seo_cache.php'); if (tep_not_null($action)) { switch ($action) { case 'assign_products': $productids = ""; $selvalarray = array(); $pagearray = array(); $remproductarray = array(); /** page product ids **/ $products_query_raw = 'select p.products_id from '.TABLE_PRODUCTS.' p, '.TABLE_PRODUCTS_DESCRIPTION.' pd where p.products_id = pd.products_id and pd.language_id = "'.(int)$languages_id.'" order by pd.products_name asc'; $products_query = tep_db_query($products_query_raw); $products_split = new splitPageResults($_REQUEST['page'], MAX_DISPLAY_SEARCH_RESULTS, $products_query_raw, $products_query_numrows); $products_query = tep_db_query($products_query_raw); while ($products = tep_db_fetch_array($products_query)) { array_push($pagearray,$products['products_id']); } if(isset($HTTP_POST_VARS['productids'])) { foreach($HTTP_POST_VARS['productids'] as $val) { if($val!='') { array_push($selvalarray,$val); $productids .= $val.","; } } } foreach($pagearray as $val) { if(!in_array($val,$selvalarray)) { array_push($remproductarray,$val); } } $olderdata = $vehcat_row['productids']; $finaldata = ""; if($olderdata!='') { $oldprodarray = explode(",",$olderdata); foreach($oldprodarray as $val) { if(!in_array($val,$remproductarray)) { if(!in_array($val,$selvalarray)) { array_push($selvalarray,$val); } } } $productids = ""; foreach($selvalarray as $val) { $productids .= $val.","; } $finaldata = substr($productids,0,-1); } else { $finaldata = substr($productids,0,-1); } $update_sql_data = array('productids' => $finaldata); tep_db_perform(TABLE_PRINTER_CATEGORY, $update_sql_data, 'update', "printer_category_id = '" . (int)$printer_category_id . "'"); tep_redirect(tep_href_link(FILENAME_PRINTER_PRODUCTS, 'parent_id=' . $parent_id.'&printer_category_id='.$printer_category_id.'&page='.$_REQUEST['page'] )); break; } } // 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'); } ?> <!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 //--> <script language="Javascript1.2"> function cOn(td) { if(document.getElementById||(document.all && !(document.getElementById))) { td.style.backgroundColor="#CCCCCC"; } } function cOnA(td) { if(document.getElementById||(document.all && !(document.getElementById))) { td.style.backgroundColor="#CCFFFF"; } } function cOut(td) { if(document.getElementById||(document.all && !(document.getElementById))) { td.style.backgroundColor="DFE4F4"; } } </script> <?php $vehcat_query = tep_db_query("SELECT * FROM ".TABLE_PRINTER_CATEGORY." WHERE printer_category_id = '".$_REQUEST['printer_category_id']."'"); $vehcat_row = tep_db_fetch_array($vehcat_query); $prodidsarr = explode(",",$vehcat_row['productids']); if(isset($_POST['send'])) { $searchfield = "%" . $_POST[prodmod] . "%"; } else { $searchfield="%";} ?> <table border="0" align="center" width="90%" cellspacing="2" cellpadding="2"> <tr> <!-- body_text //--> <td width="100%" valign="top"> </td></tr><tr><td><form action="<? echo "$PHP_SELF?printer_category_id=$printer_category_id&parent_id=$parent_id"; ?>" method="post"> <table border="0" width="300" cellspacing="0" cellpadding="0"><tr> <td class="dataTableContent" width="70"><?php echo TEXT_SEARCH_HEAD; ?></td> </tr><tr> <td class="dataTableContent" width="70"><input type="text" name="prodmod" value="" /></td> </tr></table> <tr><td><input name="send" type="submit" value="<?php echo TEXT_SEARCH_SEND; ?>"><br><br> </form> <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." ".$vehcat_row['category_name']; ?></td> <td class="pageHeading" align="right"><?php echo '<a href="' . tep_href_link(FILENAME_PRINTER_CATEGORY, 'printer_category_id='.$printer_category_id.'&parent_id=' . $parent_id ) . '">Back To Category List</a>';?> </td> <td align="right"></td> </tr> </table></td> </tr> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td valign="top"> <?php echo tep_draw_form('printerfilter', FILENAME_PRINTER_PRODUCTS, 'action=assign_products&parent_id='.$parent_id.'&printer_category_id='.$printer_category_id.'&page='.$_REQUEST['page'], 'post'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent" ><?php echo TABLE_HEADING_PRODUCT_ID; ?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCT_IMAGE;?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCT_NAME;?></td> <td class="dataTableHeadingContent" ><?php echo tep_image_submit('button_save.gif', IMAGE_SAVE); ?></td> </tr> <?php $products_query_raw = 'select p.products_id, p.products_model, pd.products_name, p.products_image, p.products_price, p.products_tax_class_id, p.products_id from '.TABLE_PRODUCTS.' p, '.TABLE_PRODUCTS_DESCRIPTION.' pd where p.products_id = pd.products_id and pd.language_id = "'.(int)$languages_id.'" and (p.products_id like "'.$searchfield.'" or pd.products_name like "'.$searchfield.'" or pd.products_description like "'.$searchfield.'") order by pd.products_name asc'; $products_split = new splitPageResults($_REQUEST['page'], MAX_DISPLAY_SEARCH_RESULTS, $products_query_raw, $products_query_numrows); $products_query = tep_db_query($products_query_raw); while ($products = tep_db_fetch_array($products_query)) { ?> <tr onmouseover="cOn(this); this.style.cursor='pointer'; " onmouseout="cOut(this);" bgcolor='#DFE4F4' > <td class="dataTableContent" valign="top"> <?php echo $products['products_id'];?> </td> <td class="dataTableContent" valign="top"> <?php echo tep_image(DIR_WS_CATALOG_IMAGES .$products['products_image'], $products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);?> </td> <td class="dataTableContent" valign="top"> <?php echo $products['products_name'];?> </td> <td class="dataTableContent" valign="top" style="padding-left:25px;"><input type="checkbox" name="productids[]" value="<?php echo $products['products_id'];?>" <?php if(in_array($products['products_id'],$prodidsarr)) echo 'checked';?> /></td> </tr> <?php } // End of while ?> </table></form></td> </tr> <tr> <td ><table border="0" width="100%" cellspacing="0" cellpadding="2" class="infoBoxContent"> <tr> <td class="smallText" valign="top"><?php echo $products_split->display_count($products_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, $_REQUEST['page'], TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td> <td class="smallText" align="right"><?php echo $products_split->display_links($products_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $_REQUEST['page'], tep_get_all_get_params(array('page', 'info', 'x', 'y', 'cID', 'action'))); ?></td> </tr> </table></td> </tr> </table> </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'); ?>
  5. stClem

    Printer Ink & Toner Filter

    SORRY, hadnt tested enough. This dos not work. The search add makes it imposible to add products. Just wont do it. Im keep trying to find the problem and post back if i do.
  6. stClem

    Printer Ink & Toner Filter

    Nice addon, but with over 9000 items in the shop i needed a search function in the admin. Have made it posible to search. Cant get it to show all result, only the 'max search number' and when i go to next page it shows all items again. But my smal change make it posible to find a item easy an add it. i post the code here if someone want to use it or make it bether. admin/filter_printer_products.php <?php /* Printer Ink & Toner Filter V1.7 for Oscommerce v2.2 RC2a September 2010 osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); $printer_category_id = $_REQUEST['printer_category_id']; $parent_id = $_REQUEST['parent_id']; if(isset($_REQUEST['printer_category_id'])&&($_REQUEST['printer_category_id']!='')) { $vehcat_query = tep_db_query("SELECT * FROM ".TABLE_PRINTER_CATEGORY." WHERE printer_category_id = '".$_REQUEST['printer_category_id']."'"); $vehcat_row = tep_db_fetch_array($vehcat_query); } $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); // Ultimate SEO URLs v2.1 // If the action will affect the cache entries if ( eregi("(insert|update|setflag)", $action) ) include_once('includes/reset_seo_cache.php'); if (tep_not_null($action)) { switch ($action) { case 'assign_products': $productids = ""; $selvalarray = array(); $pagearray = array(); $remproductarray = array(); /** page product ids **/ $products_query_raw = 'select p.products_id from '.TABLE_PRODUCTS.' p, '.TABLE_PRODUCTS_DESCRIPTION.' pd where p.products_id = pd.products_id and pd.language_id = "'.(int)$languages_id.'" order by pd.products_name asc'; $products_query = tep_db_query($products_query_raw); $products_split = new splitPageResults($_REQUEST['page'], MAX_DISPLAY_SEARCH_RESULTS, $products_query_raw, $products_query_numrows); $products_query = tep_db_query($products_query_raw); while ($products = tep_db_fetch_array($products_query)) { array_push($pagearray,$products['products_id']); } if(isset($HTTP_POST_VARS['productids'])) { foreach($HTTP_POST_VARS['productids'] as $val) { if($val!='') { array_push($selvalarray,$val); $productids .= $val.","; } } } foreach($pagearray as $val) { if(!in_array($val,$selvalarray)) { array_push($remproductarray,$val); } } $olderdata = $vehcat_row['productids']; $finaldata = ""; if($olderdata!='') { $oldprodarray = explode(",",$olderdata); foreach($oldprodarray as $val) { if(!in_array($val,$remproductarray)) { if(!in_array($val,$selvalarray)) { array_push($selvalarray,$val); } } } $productids = ""; foreach($selvalarray as $val) { $productids .= $val.","; } $finaldata = substr($productids,0,-1); } else { $finaldata = substr($productids,0,-1); } $update_sql_data = array('productids' => $finaldata); tep_db_perform(TABLE_PRINTER_CATEGORY, $update_sql_data, 'update', "printer_category_id = '" . (int)$printer_category_id . "'"); tep_redirect(tep_href_link(FILENAME_PRINTER_PRODUCTS, 'parent_id=' . $parent_id.'&printer_category_id='.$printer_category_id.'&page='.$_REQUEST['page'] )); break; } } // 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'); } ?> <!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 //--> <script language="JavaScript1.2"> function cOn(td) { if(document.getElementById||(document.all && !(document.getElementById))) { td.style.backgroundColor="#CCCCCC"; } } function cOnA(td) { if(document.getElementById||(document.all && !(document.getElementById))) { td.style.backgroundColor="#CCFFFF"; } } function cOut(td) { if(document.getElementById||(document.all && !(document.getElementById))) { td.style.backgroundColor="DFE4F4"; } } </script> <?php $vehcat_query = tep_db_query("SELECT * FROM ".TABLE_PRINTER_CATEGORY." WHERE printer_category_id = '".$_REQUEST['printer_category_id']."'"); $vehcat_row = tep_db_fetch_array($vehcat_query); $prodidsarr = explode(",",$vehcat_row['productids']); if(isset($_POST['send'])) { $searchfield = "%" . $_POST[prodmod] . "%"; } else { $searchfield="%";} ?> <table border="0" align="center" width="90%" cellspacing="2" cellpadding="2"> <tr> <!-- body_text //--> <td width="100%" valign="top"> </td></tr><tr><td><form action="<? echo $PHP_SELF; ?>" method="post"> <table border="0" width="300" cellspacing="0" cellpadding="0"><tr> <td class="dataTableContent" width="70"><?php echo TEXT_SEARCH_HEAD; ?></td> </tr><tr> <td class="dataTableContent" width="70"><input type="text" name="prodmod" value="" /></td> </tr></table> <tr><td><input name="send" type="submit" value="<?php echo TEXT_SEARCH_SEND; ?>"><br><br> <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." ".$vehcat_row['category_name']; ?></td> <td class="pageHeading" align="right"><?php echo '<a href="' . tep_href_link(FILENAME_PRINTER_CATEGORY, 'printer_category_id='.$printer_category_id.'&parent_id=' . $parent_id ) . '">Back To Category List</a>';?> </td> <td align="right"></td> </tr> </table></td> </tr> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td valign="top"> <?php echo tep_draw_form('printerfilter', FILENAME_PRINTER_PRODUCTS, 'action=assign_products&parent_id='.$parent_id.'&printer_category_id='.$printer_category_id.'&page='.$_REQUEST['page'], 'post'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent" ><?php echo TABLE_HEADING_PRODUCT_ID; ?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCT_IMAGE;?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCT_NAME;?></td> <td class="dataTableHeadingContent" ><?php echo tep_image_submit('button_save.gif', IMAGE_SAVE); ?></td> </tr> <?php $products_query_raw = 'select p.products_id, p.products_model, pd.products_name, p.products_image, p.products_price, p.products_tax_class_id, p.products_id from '.TABLE_PRODUCTS.' p, '.TABLE_PRODUCTS_DESCRIPTION.' pd where p.products_id = pd.products_id and pd.language_id = "'.(int)$languages_id.'" and (p.products_id like "'.$searchfield.'" or pd.products_name like "'.$searchfield.'" or pd.products_description like "'.$searchfield.'") order by pd.products_name asc'; $products_split = new splitPageResults($_REQUEST['page'], MAX_DISPLAY_SEARCH_RESULTS, $products_query_raw, $products_query_numrows); $products_query = tep_db_query($products_query_raw); while ($products = tep_db_fetch_array($products_query)) { ?> <tr onMouseOver="cOn(this); this.style.cursor='pointer'; " onMouseOut="cOut(this);" bgcolor='#DFE4F4' > <td class="dataTableContent" valign="top"> <?php echo $products['products_id'];?> </td> <td class="dataTableContent" valign="top"> <?php echo tep_image(DIR_WS_CATALOG_IMAGES .$products['products_image'], $products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);?> </td> <td class="dataTableContent" valign="top"> <?php echo $products['products_name'];?> </td> <td class="dataTableContent" valign="top" style="padding-left:25px;"><input type="checkbox" name="productids[]" value="<?php echo $products['products_id'];?>" <?php if(in_array($products['products_id'],$prodidsarr)) echo 'checked';?> /></td> </tr> <?php } // End of while ?> </table></form></td> </tr> <tr> <td ><table border="0" width="100%" cellspacing="0" cellpadding="2" class="infoBoxContent"> <tr> <td class="smallText" valign="top"><?php echo $products_split->display_count($products_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, $_REQUEST['page'], TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td> <td class="smallText" align="right"><?php echo $products_split->display_links($products_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $_REQUEST['page'], tep_get_all_get_params(array('page', 'info', 'x', 'y', 'cID', 'action'))); ?></td> </tr> </table></td> </tr> </table> </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'); ?> in admin/includes/languages/your language/filter_printer_products.php yust add before ?> define('TEXT_SEARCH_HEAD', 'Search model mumber, name or description:'); define('TEXT_SEARCH_SEND', 'Send');
  7. stClem

    Margin Report v2.10

    Have read this post three times now, and was only when i was thinking about the one page checkout i got the solution. Had to fix the missing p.products_cost, in priceformatter.php $sql = "select pd.products_name, p.products_model, p.products_image, p.products_id," . " p.manufacturers_id, p.products_price, p.products_cost, p.products_weight, p.products_quantity," . " p.products_qty_blocks as qtyBlocks, p.products_min_order_qty, p.products_tax_class_id," . " NULL as specials_new_products_price," . But also had to add 'products_cost' => $order->products[$i]['cost'], to the checkout_process.php. $sql_data_array = array('orders_id' => $insert_id, 'products_id' => tep_get_prid($order->products[$i]['id']), 'products_model' => $order->products[$i]['model'], 'products_name' => $order->products[$i]['name'], 'products_price' => $order->products[$i]['price'], 'products_cost' => $order->products[$i]['cost'], 'final_price' => $order->products[$i]['final_price'], 'products_tax' => $order->products[$i]['tax'], 'products_quantity' => $order->products[$i]['qty']); tep_db_perform(TABLE_ORDERS_PRODUCTS, $sql_data_array); $order_products_id = tep_db_insert_id();
  8. stClem

    Margin Report v2.10

    Hi, trying to install this, but cant get the most important part for me to work. In the table orders_products the products_cost is always 0.000. I need this to get updated. Installed Margin Report 3.00b but with SPPC installed i had to do something diferent. The only big problem i had is this ind: while (list($products_id, ) = each($this->contents)) { $products_query = tep_db_query("select p.products_id, pd.products_name, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_tax_class_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$products_id . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); Replace With: while (list($products_id, ) = each($this->contents)) { $products_query = tep_db_query("select p.products_id, pd.products_name, p.products_model, p.products_image, p.products_price, p.products_cost, p.products_weight, p.products_tax_class_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$products_id . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); Cant find it, but this seems to be where it was before: $products_array = array(); reset($this->contents); while (list($products_id, ) = each($this->contents)) { // BOF QPBPP for SPPC $pf->loadProduct($products_id, $languages_id); // does query if necessary and adds to // PriceFormatterStore or gets info from it next if ($products = $pfs->getPriceFormatterData($products_id)) { if (tep_not_null($this->contents[$products_id]['discount_categories_id'])) { $nof_items_in_cart_same_cat = $discount_category_quantity[$this->contents[$products_id]['discount_categories_id']]; $nof_other_items_in_cart_same_cat = $nof_items_in_cart_same_cat - $this->contents[$products_id]['qty']; } else { $nof_other_items_in_cart_same_cat = 0; } $products_price = $pf->computePrice($this->contents[$products_id]['qty'], $nof_other_items_in_cart_same_cat); // EOF QPBPP for SPPC Dos this have anything about the update to orders_products products_cost? Can anyone point me in the right direction to get the product_cost to update in orders_products when someone make a order?
  9. Hi, have installed Administration Access Level Accounts 2.3.3 (and 2.3.4). Its working find after installed Register Globals Patch. Only thing who is not working are the menus in the admin panel, or the new addons who is installed is not there anymore. They were there before insalled this addon. One of them is Easy Populate. Have added all codes to language file and to filenames.php, but stil not show. Remember, it works before installed Access Lever Accounts. Added this to catalog.php tep_admin_files_boxes(FILENAME_EASY_POPULATE, BOX_CATALOG_EASY_POPLULATE) . But not helping. Can manualy give access to these files in group admin and can open them if i write the concrete adress in the adressfield like this admin/easypopulate.php But still no link in the left menu. Please help.
  10. dont think it had saved me a lot of time, used notepad++ and replace, so was very easy done and worked on first try. Thanks for answer anyway, now i know what to do if i need to change some more fields.
  11. was easy, onlye replace all products_weight with products_field1 in easypopulate.php and easypopulate_functions.php.
  12. Have been using this fore som time now, but have to change it a little. Need to add two fields. field1 and field2. Have added them to products tabel in mysql. Have a lot of fields i never use, as products_weight and products_quantity. Can i in a easy way change them to field1 and field2 ? thanks.
  13. stClem

    SPPC Group List

    seems like you have a ' to mutch. here: '</a>' <a href="' . tep_href_link(FILENAME_SPPC_GROUP_LIST) . '?Customer='. $cInfo->customers_id .'" target="_blank">' . tep_image_button('button_sppcgl.gif') . '</a>'); try change this line: $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'action')) . 'cID=' . $cInfo->customers_id . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'action')) . 'cID=' . $cInfo->customers_id . '&action=confirm') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS, 'cID=' . $cInfo->customers_id) . '">' . tep_image_button('button_orders.gif', IMAGE_ORDERS) . '</a> <a href="' . tep_href_link(FILENAME_MAIL, 'selected_box=tools&customer=' . $cInfo->customers_email_address) . '">' . tep_image_button('button_email.gif', IMAGE_EMAIL) . '</a>' <a href="' . tep_href_link(FILENAME_SPPC_GROUP_LIST) . '?Customer='. $cInfo->customers_id .'" target="_blank">' . tep_image_button('button_sppcgl.gif') . '</a>'); to: $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'action')) . 'cID=' . $cInfo->customers_id . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'action')) . 'cID=' . $cInfo->customers_id . '&action=confirm') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS, 'cID=' . $cInfo->customers_id) . '">' . tep_image_button('button_orders.gif', IMAGE_ORDERS) . '</a> <a href="' . tep_href_link(FILENAME_MAIL, 'selected_box=tools&customer=' . $cInfo->customers_email_address) . '">' . tep_image_button('button_email.gif', IMAGE_EMAIL) . '</a> <a href="' . tep_href_link(FILENAME_SPPC_GROUP_LIST) . '?Customer='. $cInfo->customers_id .'" target="_blank">' . tep_image_button('button_sppcgl.gif') . '</a>');
  14. stClem

    One Page Checkout Support

    Havent added any code to 'one page checkout'. But want to. dont now where to add it. Where is the qty update code in 'one page checkout' script?
  15. stClem

    One Page Checkout Support

    Dont get it. Look for what in the code?
×