Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

bubbasplitshot

Pioneers
  • Posts

    139
  • Joined

  • Last visited

Everything posted by bubbasplitshot

  1. Sorry if the answer was posted elsewhere but a quick search didn't show it. I have froogle.php posting my content to Froogle but the images are not being displayed. Can someone give me a tip or link which deals with this problem? Thanks!!
  2. I successfully installed the USPS shipping module. Looks good. I also have the option set for Free shipping (for orders over $100). Is there a way to have the Express rate available for those who would otherwise have free shipping? In case their >$100 order is wanted in a rush? Seems like I can't do both but was hoping for a tip along these lines.
  3. I went through the installation again, loaded all the files again, no joy. When I select a poll option, then "Vote", I get a error screen: Fatal error: Cannot redeclare tep_db_connect() (previously declared in /www/i/islandwest/htdocs/includes/functions/database.php:13) in /www/i/islandwest/htdocs/includes/functions/database.php on line 13 which is this snippet: function tep_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME, $password = DB_SERVER_PASSWORD, $database = DB_DATABASE, $link = 'db_link') { global $$link; if (USE_PCONNECT == 'true') { $$link = mysql_pconnect($server, $username, $password); } else { $$link = mysql_connect($server, $username, $password); } if ($$link) mysql_select_db($database); return $$link; } The routine being run is /catalog/pollcollect.php. This requires '/includes/application_top.php', which (on my version) on line 61 has: // make a connection to the database... now tep_db_connect() or die('Unable to connect to database server!'); I only have tep_db_connect() declared in two places, one admin, one catalog: /admin/includes/functions/database.php /includes/functions/database.php Any tips for solving this would be appreciated.
  4. I guess no one knows Rik, or they're keeping very mum about it :(
  5. Hi, I'm having a problem with the banner link is OSC-Affiliate. The below example, which comes from the Build Link tool, is grabbing the full sized image for the link: <a href="http://purelyalpaca.com/product_info.php?ref=5&products_id=68&affiliate_banner_id=1" target="_blank"><img src="http://purelyalpaca.com/affiliate_show_banner.php?ref=5&affiliate_pbanner_id=68" border="0" alt="Alpaca Copper Key Chain"></a> How can I fix this so my affiliates get the correct size when they run the tool? >_< Thanks in advance for any help!! -Brian
  6. Nope, it's there. Looks like this: <?php /* $Id: form_check.js.php,v 1.9 2003/05/19 19:50:14 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <script language="javascript"><!-- var form = ""; var submitted = false; var error = false; var error_message = ""; function check_input(field_name, field_size, message) { if (form.elements[field_name] && (form.elements[field_name].type != "hidden")) { var field_value = form.elements[field_name].value; if (field_value == '' || field_value.length < field_size) { error_message = error_message + "* " + message + "\n"; error = true; } } } function check_radio(field_name, message) { var isChecked = false; if (form.elements[field_name] && (form.elements[field_name].type != "hidden")) { var radio = form.elements[field_name]; for (var i=0; i<radio.length; i++) { if (radio.checked == true) { isChecked = true; break; } } if (isChecked == false) { error_message = error_message + "* " + message + "\n"; error = true; } } } function check_select(field_name, field_default, message) { if (form.elements[field_name] && (form.elements[field_name].type != "hidden")) { var field_value = form.elements[field_name].value; if (field_value == field_default) { error_message = error_message + "* " + message + "\n"; error = true; } } } function check_password(field_name_1, field_name_2, field_size, message_1, message_2) { if (form.elements[field_name_1] && (form.elements[field_name_1].type != "hidden")) { var password = form.elements[field_name_1].value; var confirmation = form.elements[field_name_2].value; if (password == '' || password.length < field_size) { error_message = error_message + "* " + message_1 + "\n"; error = true; } else if (password != confirmation) { error_message = error_message + "* " + message_2 + "\n"; error = true; } } } function check_password_new(field_name_1, field_name_2, field_name_3, field_size, message_1, message_2, message_3) { if (form.elements[field_name_1] && (form.elements[field_name_1].type != "hidden")) { var password_current = form.elements[field_name_1].value; var password_new = form.elements[field_name_2].value; var password_confirmation = form.elements[field_name_3].value; if (password_current == '' || password_current.length < field_size) { error_message = error_message + "* " + message_1 + "\n"; error = true; } else if (password_new == '' || password_new.length < field_size) { error_message = error_message + "* " + message_2 + "\n"; error = true; } else if (password_new != password_confirmation) { error_message = error_message + "* " + message_3 + "\n"; error = true; } } } function check_form(form_name) { if (submitted == true) { alert("<?php echo JS_ERROR_SUBMITTED; ?>"); return false; } error = false; form = form_name; error_message = "<?php echo JS_ERROR; ?>"; <?php if (ACCOUNT_GENDER == 'true') echo ' check_radio("gender", "' . ENTRY_GENDER_ERROR . '");' . "\n"; ?> check_input("firstname", <?php echo ENTRY_FIRST_NAME_MIN_LENGTH; ?>, "<?php echo ENTRY_FIRST_NAME_ERROR; ?>"); check_input("lastname", <?php echo ENTRY_LAST_NAME_MIN_LENGTH; ?>, "<?php echo ENTRY_LAST_NAME_ERROR; ?>"); <?php if (ACCOUNT_DOB == 'true') echo ' check_input("dob", ' . ENTRY_DOB_MIN_LENGTH . ', "' . ENTRY_DATE_OF_BIRTH_ERROR . '");' . "\n"; ?> check_input("email_address", <?php echo ENTRY_EMAIL_ADDRESS_MIN_LENGTH; ?>, "<?php echo ENTRY_EMAIL_ADDRESS_ERROR; ?>"); check_input("street_address", <?php echo ENTRY_STREET_ADDRESS_MIN_LENGTH; ?>, "<?php echo ENTRY_STREET_ADDRESS_ERROR; ?>"); check_input("postcode", <?php echo ENTRY_POSTCODE_MIN_LENGTH; ?>, "<?php echo ENTRY_POST_CODE_ERROR; ?>"); check_input("city", <?php echo ENTRY_CITY_MIN_LENGTH; ?>, "<?php echo ENTRY_CITY_ERROR; ?>"); <?php if (ACCOUNT_STATE == 'true') echo ' check_input("state", ' . ENTRY_STATE_MIN_LENGTH . ', "' . ENTRY_STATE_ERROR . '");' . "\n"; ?> check_select("country", "", "<?php echo ENTRY_COUNTRY_ERROR; ?>"); check_input("telephone", <?php echo ENTRY_TELEPHONE_MIN_LENGTH; ?>, "<?php echo ENTRY_TELEPHONE_NUMBER_ERROR; ?>"); check_password("password", "confirmation", <?php echo ENTRY_PASSWORD_MIN_LENGTH; ?>, "<?php echo ENTRY_PASSWORD_ERROR; ?>", "<?php echo ENTRY_PASSWORD_ERROR_NOT_MATCHING; ?>"); check_password_new("password_current", "password_new", "password_confirmation", <?php echo ENTRY_PASSWORD_MIN_LENGTH; ?>, "<?php echo ENTRY_PASSWORD_ERROR; ?>", "<?php echo ENTRY_PASSWORD_NEW_ERROR; ?>", "<?php echo ENTRY_PASSWORD_NEW_ERROR_NOT_MATCHING; ?>"); if (error == true) { alert(error_message); return false; } else { submitted = true; return true; } } //--></script>
  7. Has anyone been seeing an error like this?: Warning: main(includes/form_check.js.php): failed to open stream: No such file or directory in /www/i/islandwest/htdocs/admin/pollbooth.php on line 15 Fatal error: main(): Failed opening required 'includes/form_check.js.php' (include_path='.:/usr/local/php4/lib/php') in /www/i/islandwest/htdocs/admin/pollbooth.php on line 15 I'm on the latest release.
  8. I just installed and am getting the same redeclare error. A search on the forum found http://www.oscommerce.info/kb/osCommerce/Common_Problems/198 Though I double checked and I don't think I have this problem.
  9. After messing with this contrib for far too long I just said screw it and installed an outside package. I'm using DadaMail. It's free and nice! Example: http://purelyalpaca.com/cgi-bin/dada/mail.cgi :D
  10. :-" off topic and I appologize but has anyone successfully generated inventory reports using the stocks settings of QTPro? I want to get a report of the count of each attribute for an item, and all items, in a inventory report. For example, I want to know how many size "9-11 black socks" (currently I use just one attribute, which combines size and color) and how many "10-13 black socks" I have, etc. for my entire store. I have the Printable Catalog module (catalog_products_with_images.php) installed which prints a nice listing but doesn't do the detailed reporting of count per attributed item I need.. Thanks!
  11. I'd like to be able to produce a printout of our stock including the number of items in size M, size L, size XL... you get the picture. How could I do that? Thanks!
  12. I have OSC Affiliate working on my new site and have a few people signed up. The site can also be accessed directly. I'm wondering...what might other people offer their affiliates that they can offer customers as an incentive to shop through the affiliate rather than the main site? :huh:
  13. Is there a way I can get a report of the number of each attribute for an item? For example, I want to know how many size 9-11 black socks and how many 10-13 black socks, etc. for my entire store. I have the Printable Catalog module (catalog_products_with_images.php) installed which prints a nice listing but doesn't do the detailed reporting I need.. could probably modify that but I thought there might already be a solution available. Thanks! :P
  14. It's a small new site. Would take me about an hour to reenter the items. :-" Probably a lot longer, and a lot less assured to mess with this code.
  15. Tim, GREAT sluthing! I tried your mod. Works better but what I'm seeing is that if any color is missing for a given size, the interface says the whole color is out of stock. For example, I sell socks in color red, sizes 9-11,10-13,13-15. If size 9-11 is set to 0, all red socks say Out of Stock. I think I'm going to have to change my interface to list: Red, Size 9-11 Red, Size 10-13 Red, Size 13-15 I want the decrimental counter feature and don't have a lot of faith in it working with multiple attributes. :(
  16. :blink: Can anyone tell me what is missing that gives me this result for a category banner: <a href="http://mytestsite.com/FILENAME_CATEGORIES_INFO?ref=5&cPath=34&affiliate_banner_id=1" target="_blank">Artist Crafted</a> I'm obviously missing the definition for FILENAME_CATEGORIES_INFO. At least I think :-" it's obvious! Where is this supposed to be defined and what is it set to? Thanks!!
  17. sinryder, I don't see the two attributes (size, color) on the test site. My site is showing "Out of Stock" for all items with 2 attributes.
  18. As it stands, my problem is that if I use more than one attribute (e.g., Size, Color), everything lists on the site as "Out of Stock". :'(
  19. sinryder, are you saying you're getting the mulitple attributes to work?! :) So that you're not seeing the "Out of Stock -" message? If so, could you explain in more detail what solved it? I'd really like to get this fixed. Thanks!
  20. Was there ever a solution to this question posted? I'm seeing the same thing.
  21. I was sure I read in the QTpro description that it did indeed handle 2 attributes?!? :-"
  22. Thanks for the reply. That's bad news. Does anyone else know of a solution? I guess I could combine: Red -small Red -medium Red -large.... ARGH!!
×
×
  • Create New...