Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by ecartz

  1. Hmm. The presumption is that all uploads are going to be related to the same item. If you want to add multiple items at the same time, I would suggest looking to see if anyone ever finished the Master Products with Attributes module. Hth, Matt
  2. ecartz

    CC Merchant question

    Yes, osCommerce can email you the credit card number. It is recommended that you split the number between an email and the database for security reasons. Hth, Matt
  3. I still don't understand what you mean by this. Cheers, Matt
  4. The email is created in checkout_process.php The other relevant file would be includes/classes/shopping_cart.php Hth, Matt
  5. This kind of issue is generally caused by not having the TEXT attribute set up properly or missing some of the file changes. Hth, Matt
  6. Multiple uploads should work as is. Just make multiple FILE attributes. Hth, Matt
  7. You have to move the code relating to class TableBoxMessageStack above that declaring MessageStack. Note: this may generate a new error which you can fix the same way (by moving the code defining that code above the code that you just moved). Repeat until it stops giving errors. Hth, Matt P.S. Backup first! I haven't actually tried to install this on a BTS store.
  8. You are missing define('TABLE_FILES_UPLOADED', 'files_uploaded'); from includes/database_tables.php. Hint: in osC, whenever you see ALL_CAPS_AND_UNDERSCORES, it means that you are missing a define somewhere. Language files are more typical but includes/database_tables.php and includes/filenames.php are also possible (missing entries in the configuration table could also cause this). Hth, Matt
  9. I would try changing the second line to $attributes_exist = ((isset($products[$i]['attributes']) && (count($products[$i]['attributes']) > 0) ? 1 : 0); Hth, Matt
  10. The correct code snippet would be: $items[$i] = str_replace('\"\"',""",$items[$i]); if ($replace_quotes){ $items[$i] = str_replace('\"',""",$items[$i]); $items[$i] = str_replace("\'","'",$items[$i]); } Something apparently converted the "s to ". Hth, Matt
  11. It is a feature. The original contribution did not maintain all the links. At some point in the future, I might hide the text values, but it does not affect store operation at all. Hth, Matt
  12. That's what the Virtual Mall contribution does if you define the employee as a store. Hth, Matt
  13. I generally look for a field that does something similar and shadow it with the new field. For example, if I was adding store_id from the Virtual Mall contribution, I would search for manufacturers_id and manufacturers_name. For products attributes, I would look for categories (also a separate table). With new file layouts (or any module), I start with the existing ones and change them appropriately. I usually do a search and replace for the old module name with the new module name while retaining case (i.e FULL becomes FROOGLE and Full becomes Froogle). I still haven't figured out how I want to do imports. Right now, it's just a matter of adding new columns (just like with Easy Populate; very few changes have been made with importing). I would like to find a way to automate this more, but I'm not entirely sure which direction I want to go. Hth, Matt
  14. I'm just using the osCommerce code with a few modifications to work with a flexible number of images. For what you want to do, you may want to look at admin/categories.php instead, as that just loads one image per name. It should be closer to what you need. You also may want to ditch the separate table for uploads. You can rename to the userid (which must be unique) instead. Hth, Matt
  15. ecartz

    BTSv1.2 Support

    You need define('FILENAME_DEFINE_MAINPAGE', 'define_mainpage.php'); define('FILENAME_DEFAULT_SPECIALS', 'specials.php'); or something similar in includes/filenames.php (or includes/application_top.php if there is no includes/filenames.php). I'm not sure of the exact filenames that go in the second pair of quotes in each line. Hth, Matt
  16. ecartz

    Master Password???

    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Master Password', 'MASTER_PASS', 'yourpassword', 'This password will allow you to login to any customers account.', 1, 23, '2004-06-15 07:10:52', '2004-06-15 07:10:52', NULL, NULL); might work better for you. No need to declare the configuration_id. The database should handle that for you. Hth, Matt
  17. Master Products and QT Pro both do something similar to this. Hth, Matt
  18. You're missing the language file. I'm not sure what the upload problem is. It's allowing you to pick the file from the drop down under Import File from /temp when you try that? Can the webserver read the file? Hth, Matt
  19. It might be easier just to use an old version of Easy Populate. There were versions written to work with MS1. Hth, Matt
  20. Easy Populate will do this. Just put the product in multiple times (apparently in separate files, although I don't see what creates this limitation): once for each category path. If you don't want to repeat all the info, just put in the products_model and category name fields. Hth, Matt
  21. I would just make a separate file that only contains the products_model and price columns and always import that after importing anything else. Then you just need to make price changes in one place. It would be possible to reprogram EP to use multiple category paths, but there is no simple configuration change to do it. Hth, Matt
  22. ecartz

    How did you hear about us

    Log in to phpMyAdmin; select the store database; click on the SQL tab; click Browse; select the file (from wherever it is stored on your computer); click Go or OK or whatever it says. Hth, Matt
  23. IMPORT_EXPORT_TEMP_DIR should be set in the configuration table. It's part of what the .sql file does. Note: the .sql file may only be compatible with newer versions of MySQL. The other error is a result of this one. Sorry about the delay, I had thought that I had posted this already. Hth, Matt
  24. You could try replacing lines 124-5 of includes/modules/file_layouts/froogle.php pd.language_id = '1' "; with pd.language_id = '1' GROUP BY p.products_id ORDER BY p.products_id "; Hth, Matt
  25. This is usually a problem with the database settings. Make sure that you ran all three .sql files (the relevant one here is the one that has the inserts). It may also mean that code didn't get merged into one of the shopping_cart files. Hth, Matt