Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

helen

Archived
  • Posts

    30
  • Joined

  • Last visited

Profile Information

  • Real Name
    Helen

helen's Achievements

  1. ModYourCar, I was having the same problem, and I came across this thread. Hope it helps!
  2. I was able to use the Login Box w/My Account/AutoLogon - Enhancement contribution to get Autologin 1.05 and this Loginbox working together. I just had to change catalog/includes/boxes/loginbox.php and catalog/includes/languages/english/loginbox.php. Thanks, Justin!
  3. Hi all, what a wonderful community around this contribution! I am looking for instructions on how to add new fields to Easy Populate 2.62. I see that back on page 7 of this thread, someone put a link to some instructions, but the link just takes me back to the beginning of this thread. Perhaps it got messed up when the forums were updated? I also found this thread, but the same changes to my easypopulate.php file don't work -- I can see the new fields in my .txt file, but the values for those fields won't download or update in the database. I'm running 2.2 MS2. Any help would be really appreciated, thanks!
  4. No, the file isn't saving at all. No C:\margin-report.csv.
  5. Here's the error with 'r+' instead of 'w': Thanks again, Chris!
  6. Thanks, Chris. It looks like in admin/margin_report.php you have FILENAME_MARGIN_REPORT instead of FILENAME_STATS_MARGIN_REPORT for all instances in this file. I'm also getting some errors: The file also isn't saving. Thanks!
  7. Thanks Chris, looks great. In order to upgrade, do I need to make any changes other than replacing admin/margin_report.php and admin/includes/languages/english/margin_report.php?
  8. Thanks, Proetorian! That fixed the "NaN" problem and the problem I was having with cost not updating, now it's working great! Thanks Chris and Proetorian! Helen
  9. Okay, I'm an idiot. Again, I have no idea what happened but I installed 3.3 from scratch and it worked. It's now working perfectly for me.
  10. Hey Chris, great mod! I am having a problem, however, with the Product's Cost -- I enter the cost of the product, but as soon as I preview and update, the cost goes to $0.00. I am trying to work around the WYSIWYG 1.7 and the Monthly Sales report mods. I noticed when I was changing the admin/categories.php file that I was missing or had already changed some of the pieces that I was supposed to replace, namely: } elseif ($HTTP_POST_VARS['copy_as'] == 'duplicate') { $product_query = tep_db_query("select products_quantity, products_model, products_image, products_price, products_date_available, products_weight, products_tax_class_id, manufacturers_id from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'"); $product = tep_db_fetch_array($product_query); tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model,products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . "', '" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "', now(), '" . tep_db_input($product['products_date_available']) . "', '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "')"); $dup_products_id = tep_db_insert_id(); and if ($action == 'new_product') { $parameters = array('products_name' => '', 'products_description' => '', 'products_url' => '', 'products_id' => '', 'products_quantity' => '', 'products_model' => '', 'products_image' => '', 'products_price' => '', and } elseif ($HTTP_POST_VARS['copy_as'] == 'duplicate') { $product_query = tep_db_query("select products_quantity, products_model, products_image, products_price, products_date_available, products_weight, products_tax_class_id, manufacturers_id from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'"); $product = tep_db_fetch_array($product_query); tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model,products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . "', '" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "', now(), '" . tep_db_input($product['products_date_available']) . "', '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "')"); $dup_products_id = tep_db_insert_id(); I'd be happy to send my categories.php file to you if that will help. Is this just too many mods to try to get to work together? I am also having trouble with "NaN" in the Products Price (Gross) field. Thanks again for this great mod, Chris!
  11. Chris, I changed the Family Header Format setting from "Family Text" to "Family Name" in the Admin Configuration and Families menus. I also removed any text from the Header Text field, but the heading is still showing up as "Family Products v3.0" instead of "Test Family". Thanks again for helping, Chris!
  12. I've tried to update this contribution so that I can use the Family Name instead of the default header text, but it's not working. I added the new stuff from the SQL file and I made the changes in all of the other files, but my families are still showing up with "Family Products v3.0" in the header. Chris, can you give me some idea of where I might be going wrong? Also, in response to your other post, my site is kind of a mess right now but I'll be happy to let you know when it's ready for public consumption! Thank you!
  13. Okay, nevermind. I fixed it -- the error was due to placement of some un-related code in application_top.php. I have no idea why Families was affected, because I didn't even touch that file, but anyway it's working beautifully now! Thanks so much for your help, Chris! This is a great mod and you're very kind to respond to questions here!
  14. Thanks, Chris. I went ahead and manually added that table. Now I'm getting some other errors. First, when I click on "Families" in the Admin section, the link is to "FILENAME_MODIFY_FAMILIES" instead of modify_families.php, and the same thing for assign_families.php, select_family_display.php, and view_families.php. Secondly, when I manually change the link to assign_families.php I get this error: When I look at my database, however, both tables, 'families' and 'products_families' are there. Help! Thanks!
×
×
  • Create New...