Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

greytek

Archived
  • Posts

    43
  • Joined

  • Last visited

Profile Information

greytek's Achievements

  1. Very nice! Please post here so we will know.....
  2. I, too, am highly interested in the ability to have products belong to more than one family. One of my clients sells Motorola products. Some radio accessories fit more than one radio, so it would be super sweet to be able to have an accessory attached to more than one radio. :wink:
  3. Hello, Here is the answer to the TEXT_NO_PRODUCTS issue. in catalog - includes - languages - english find products_info.php this is what it should look like: //Family Products define('TEXT_FAMILY_PRODUCTS', 'Family Products:'); //Family products EOF define('TEXT_PRODUCT_NOT_FOUND', 'Product not found!'); define('TEXT_NO_PRODUCTS', 'No related items found!'); define('TEXT_CURRENT_REVIEWS', 'Current Reviews:'); Note. define('TEXT_PRODUCT_NOT_FOUND', 'Product not found!'); is in the file before the contrib, but there is no entry for 'TEXT_NO_PRODUCTS' so just create on here....problem fixed!
  4. I am getting the same problem. No matter what payment the customer chooses, it says either "..... you do not have an account" if the customer's credit is disabled, and ".....you do not have enough credit..." if the customers credit is enabled with no balance. This code, I think needs to be contained in an if....then type of statement that says: If (chosen payment option) is net30 / net60 then run the credit module code else checkout according to payment method chosen... Can someone help write this statement? I am no programmer.
  5. this was supposed to be a reply not a new topic. This is in regards to the net terms contribution
  6. I am getting the same problem. No matter what payment the customer chooses, it says either "..... you do not have an account" if the customer's credit is disabled, and ".....you do not have enough credit..." if the customers credit is enabled with no balance. This code, I think needs to be contained in an if....then type of statement that says: If (chosen payment option) is net30 / net60 then run the credit module code else checkout according to payment method chosen... Can someone help write this statement? I am no programmer.
  7. Great news. All my problems went away when I installed the right version!!!!! Imagine that! :oops: ANyway. I am wondering now if there is a way to make the ticket ID a sequential set of numbers that includes the date. Example: 200308260001 200308260002 200308260003 and so on. I am thinking that the code that generates the Ticket ID is: $ticket_link_id = ''; for ($x=3;$x<10;$x++) { $ticket_link_id .= substr($time,$x,1) . tep_create_random_value(1, $type = 'chars'); } Instead of create random value, can it be made to pull in tht date and then generate the next number in the sequence? I am sure there is a function that can be written to do this, but of course I am not a programmer. Thanks again for everything, this helps a lot!
  8. :oops: Jeez, If only I took the time to read stuff lol thanks!
  9. I have MS1 Can you direct me to the proper version?
  10. The file I got is OSC-SupportTicketSystem_VS1.1.zip Is this correct?
  11. Something strange is happening. when I go to view tickets and am logged in as a customer, it does not show any existing tickets. I was getting an error that reads: Only get this error in ticket_view.php when logged in as a customer. Code looks like this: <?php if (tep_session_is_registered('customer_id')) { $customers_tickets_raw = "select * from " . TABLE_TICKET_TICKET . " where ticket_customers_id = '" . tep_db_prepare_input($customer_id) . "' order by ticket_date_last_modified desc"; $customers_tickets_split = new splitPageResults($customers_tickets_raw, $customers_tickets_numrows); if ($customers_tickets_split->number_of_rows > 0 ) { ?> I changed the code to say this: <?php if (tep_session_is_registered('customer_id')) { $customers_tickets_raw = "select * from " . TABLE_TICKET_TICKET . " where ticket_customers_id = '" . tep_db_prepare_input($customer_id) . "' order by ticket_date_last_modified desc"; $customers_tickets_split = new splitPageResults($HTTP_GET_VARS['page'], MAX_DISPLAY_SEARCH_RESULTS, $customers_tickets_raw, $customers_tickets_numrows); if ($customers_tickets_split->number_of_rows > 0 ) { ?> and the error went away, but it does not show a listing of existing tickets for the logged in customer. Any ideas what I could be doing wrong? I am not so good with php so any help will be greatly appreciated! Otherwise, this is a great contrib, and I appreciate your hard work. Also, there are folders called CVS in all your directories. Am I supposed to upload these? I am using OSC 2.2 MS1
  12. well duh....thats not my path. hmmmmm
  13. I get the following message at the top of my page that is doing the domain search: Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/admin/domain-names-and-hosting.net/catalog/domain_search1.php on line 76 here is the code..... //>---------------------------------------------------------------------------< //> To use images other than gifs, you will need to modify the file extension < //> after the $showdig variable in the following loop. < //>---------------------------------------------------------------------------< for ($a=0;; $a++) { if ($a == $actdigits) { break; } else { $showdig = substr($newcount, $a, 1); $img[$digits - $actdigits + $a] = "$imagedirectory"; $img[$digits - $actdigits + $a] .= "$showdig.gif"; } } $displayblock = ""; for ($a=0; $a < $digits; $a++){ $displayblock .= "<td><img src=$img[$a]></td>"; } $opennewcount = @fopen($counterfile,"w"); @fwrite($opennewcount, $newcount); fclose ($opennewcount); ?> Can someone help? The fclose statement is the line in question. thanks
×
×
  • Create New...