Jump to content

ecartz

♥Ambassador
  • Content count

    3,312
  • Joined

  • Last visited

  • Days Won

    47

Everything posted by ecartz

  1. This is the support thread for the 1.2 version of http://www.oscommerce.com/community/contributions,577
  2. Posting a support thread for the Import/Export Module System so that I can put the URL in the contribution description. Matt
  3. ecartz

    Easy Populate Version 3

    I continue to think that the way to go with Easy Populate is to make it modular, so that instead of integrating it with every contribution under the sun, the contributions can integrate with it. The Import/Export Module System was a first stab at this. The goal was to make import and export modules work like payment, shipping, and order total modules work. If you want one that works with QT pro or reads XML, then write it. Almost everything that I see here could be implemented as a module: 1. QT Pro data. 2. Download Controller data. 3. XML 4. A delete action (i.e. upload a list of products to delete) 5. Customized formats (each format would have to be custom coded, but...) Rather than put the weight of supporting five different formats into one monolithic file, why not separate it out into about five files for the framework, another eight or so files for the base import/export methods (of which most people will only use one or two), and a potentially unlimited number of alternate methods. Btw, it also included an admin system for the settings, so that people didn't have to comb through the code for them. My $.02, Matt
  4. It looks like you commented out the MessageStack line without introducing it elsewhere. The contribution needs to move // infobox require(DIR_WS_CLASSES . 'boxes.php'); // initialize the message stack for output messages require(DIR_WS_CLASSES . 'message_stack.php'); $messageStack = new messageStack; from after the shopping cart actions to before in the includes/application_top.php file. Hth, Matt
  5. ecartz

    SMTP Alias

    I would try $send_params['from'] = '"My Shop <shop@myshop.com>"'; Hth, Matt
  6. You are missing a line in admin/includes/database_tables.php : define('TABLE_PRODUCTS_OPTIONS_TYPES', 'products_options_types'); Hth, Matt
  7. ecartz

    BASIC PAYPAL QUESTION NOT ANSWERED

    http://forums.oscommerce.com/index.php?showtopic=60540&st=20 has simpler code to make the products show up in the PayPal email if that's all that you want to do. Cheers, Matt
  8. ecartz

    Uploading files to a folder on a sever

    That would be what the File Upload contribution does. Hth, Matt
  9. Andre, if I had to guess, I would say that something changed names. I.e. one of $cart, [$HTTP_GET_VARS['products_id'], or $HTTP_GET_VARS['products_id'] has changed in some way that it is not recognizing the value. I would look higher in the file and see if you can see other places where those names are used. You might also have to check includes/classes/shopping_cart.php for changes. Hth, Matt
  10. 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
  11. 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
  12. I still don't understand what you mean by this. Cheers, Matt
  13. The email is created in checkout_process.php The other relevant file would be includes/classes/shopping_cart.php Hth, Matt
  14. 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
  15. Multiple uploads should work as is. Just make multiple FILE attributes. Hth, Matt
  16. 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.
  17. 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
  18. I would try changing the second line to $attributes_exist = ((isset($products[$i]['attributes']) && (count($products[$i]['attributes']) > 0) ? 1 : 0); Hth, Matt
  19. 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
  20. 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
  21. That's what the Virtual Mall contribution does if you define the employee as a store. Hth, Matt
  22. 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
  23. 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
  24. 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
  25. 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
×