Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

greree

Archived
  • Posts

    315
  • Joined

  • Last visited

Everything posted by greree

  1. I never thought of that. Thanks for the heads up. You might want to send a PM to Linda and ask her about it. Please let me know what you come up with.
  2. Could you explain this in a little more detail? I'm working on a site thet sells downloads and I've never heard of this problem. You also might want to talk to Linda McGrath a.k.a Ajeh. She's the resident expert on downloads.
  3. Something like that would be useful for my cart, too. I'll write it tomorrow (Sunday) and post it to this thread.
  4. Total downloads per customer or the number of downloads per product? I haven't seen a contribution that does this but it wouldn't be hard to write one.
  5. According to the author of Poll Booth, he started on the "add comments" functionality, but never finished it. So comments doesn't work.
  6. Oh, one more thing. The download doesn't kick in. You have to click on the link at the bottom of the page (checkout_success.php, I think) to start the download. Click on the product name.
  7. Make sure the Order Status is set properly.
  8. Account Signup Management was written 8 months ago using a snapshot from over a year ago. The code has changed so much that it won't work anymore. And I don't think it worked even when it was current. Some people have managed to tweak it enough to get rid of the errors, but it doesn't store information correctly. For instance, if you make it so Gender is optional rather than required, and the customer doesn't chose a gender, it'll fill in "Female" on everything. Go to Contributions and download "United States Format". It doesn't do exactly what you want but it'll steer you in the right direction.
  9. Downloads Controller does several things. One, osCommerce will allow you to download the file without paying for it. DC stops this from happening. DC will also allow you to reset the number of downloads. If a customer uses up all his downloads but wasn't successful in downloading the file, you can set it back to 5 downloads without reentering the sale. You can also have free downloads. osCommerce makes you charge $0.00 for the download and takes you through the payment process. It also does a couple of other things that I don't use.
  10. It's kinda slow this time of night. On the East Coast of U.S. it's 3:45 am. Be patient waiting for an answer.
  11. Oh, yeah. You told me that on Thursday. I guess lack of sleep is starting to affect me.
  12. I installed Downloads Controller. I went to Admin.....Localization.....Orders Status. I changed "Delivered" to "Available For Download". I added a fourth order status, "Shipped", and a fifth, "Updated". I went to the database and looked at Order Status. They were appropriately numbered, 1 to 5. Then I went to Admin.....Configuration.....Download. I changed Downloads Controller Update Status Value from 4 to 5, and Downloads Controller Order Status Value from 2 to 3. What I need to do now is assign a default value for each payment method. If someone pays by check or money order, their order status is set to 1, or Pending. When I receive the check, I set it to 2, or Processing. When the check clears, I set it to 3, or Available For Download. If it's a mailed package, I set it to 4, or Shipped. If someone pays by any of the gateways, the default value should be 3, and their product should immediately be available for download. This was easy to do in earlier versions of Downloads Controller. All I need to do was make a few changes in two files. I can't figure out how to do it with the later versions. Any ideas?
  13. I want to change the DEFAULT_ORDERS_STATUS_ID for some of the payment methods. For instance, the DEFAULT_ORDERS_STATUS_ID for pm2checkout is "2". I want to change that to "3". With v5.0 and before all I had to do is edit /catalog/includes/languages/english/downloads_controller.php. In v5.3 that file isn't there, and I can't see any other way to change it. Any ideas?
  14. OK, I figured it out. I deleted this from the code I posted above: echo '<tr class="upcomingProducts-even">' . "n"; } else { Now it works in both MSIE and Netscape. I don't know why that did it. Now I have to figure out how to keep a Coming Soon!!! product from showing up in New Products For [month] section.
  15. The code I used normally writes two lines of text at the bottom of the page. One line is the headers, something like "Product Name" and "Date Expected". The next line is the product name and the date expected. I got that to fit in the box with no problem. I then eliminated the headers and put a picture in, with help from Raj20 in this thread: http://www.oscommerce.com/forums/viewtopic.php?t=35082 That's when the problems started. I've tried to change some things around, but I can't make it look like I want AND keep it from screwing up the rest of the page. I just don't know enough about php. I'll do some more experimenting, I guess. Thanks for the help.
  16. I changed this: new infoBox($info_box_contents); ?> </td> </tr> <!-- upcoming_products_eof //--> <?php } ?> to this: new infoBox($info_box_contents); } ?> </td> </tr> <!-- upcoming_products_eof //--> It didn't make any difference. I'm not really sure what I'm doing. I don't know PHP at all. I just looked at some other boxes and changed the original upcoming_products.php to make it look like the other boxes. Apparently I did something wrong.
  17. I'm trying to change Upcoming Products from a line of text at the bottom of the default page to a box in either column right or left with a picture of the product. I took upcoming_products.php from /catalog/includes/modules, changed it around some, and put it in /boxes. The box itself looks and works ok in MSIE. It's pretty screwed up in Netscape and Mozilla. In MSIE the box works fine and everything before it works fine. Everthing after it is screwed up. If I put it as the last box in column left, everything in column left is ok, but the middle appears below column left and stretches all the way across the page. Column right appears below that and is on the left side of the page. You can look at it at http://www.blazondesign.com. No matter where I put it, everything below it screws up. This is the code for upcoming_products.php: <?php /* $Id: specials.php,v 1.30 2003/02/10 22:31:07 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ $expected_query = tep_db_query("select p.products_id, p.products_image, pd.products_name, products_date_available as date_expected from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where to_days(products_date_available) >= to_days(now()) and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' order by " . EXPECTED_PRODUCTS_FIELD . " " . EXPECTED_PRODUCTS_SORT . " limit " . MAX_DISPLAY_UPCOMING_PRODUCTS); if (tep_db_num_rows($expected_query) > 0) { ?> <!-- upcoming_products //--> <tr> <td> <?php $row = 0; while ($expected = tep_db_fetch_array($expected_query)) { $row++; if (($row / 2) == floor($row / 2)) { echo '<tr class="upcomingProducts-even">' . "n"; } else { echo '<tr class="upcomingProducts-odd">' . "n"; } $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_UPCOMING_PRODUCTS); new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_UPCOMING_PRODUCTS)); $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $expected['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $expected['products_image'], $expected['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $expected['products_id']) . '">' . $expected['products_name'] . '<br>' . tep_date_short($expected['date_expected']) . '</a>'); } new infoBox($info_box_contents); ?> </td> </tr> <!-- upcoming_products_eof //--> <?php } ?> Anyone see anything obvious? Thanks
  18. What is the output_html spider detector?
  19. Actually, the problem is with my web host, but I know they're not going to change for me. The URL to my site is http://www.mysite.com, but my secure server is https://server.securesite.com/mysite/. So when someone goes to my site at http://www.mysite.com, and then either logs in or creates an account, they're taken to another URL, the secure URL. After they login, they're still on the secure site. Then, if they click on anything that isn't secure, which is just about everything, including product descriptions, they're logged out. If they put something in their cart and try to buy it, they're taken to the login page. If they go to the default page, they see "Welcome, Guest" with an invitation to log in again. I know it's Sid Killer that's doing it, because I did a clean install, then added only Sid Killer. Anyone got any ideas? I'd like to use Sid Killer, but I also need a secure connection.
  20. Thanks for the update, Ajeh. I miss the Download button, though. Unless there's some major reason not to have it I'm going to put it back.
  21. I'll see what I can do. If it's possible, I'll figure it out. Think of it as payment for your downloads contribution. Give me a day or two.
  22. Trusten, OK, what exactly is the problem? I'm not an expert in PHP or MySQL. I work things out by .... well, I'm not exactly sure how I work things out. Sometimes I just do.
  23. I fixed the product id bug, too. If Trusten doesn't post in a while I'll post it. I should have posted an update on the contributions page, as well as one for my own contribution. I've been lazy. Sorry.
×
×
  • Create New...