Jump to content


  • Content count

  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
  1. vrant

    Guest Account

    After a customer uses Guest Account to buy one time they can not use it again. I get this error: Your E-Mail Address already exists in our records - please log in with the e-mail address or create an account with a different address. Is there a way around this? How is this module suppossed to work? Thanks, vrant
  2. Can someone tell me if this code is correct for checkout_success.php using PWA? The customer accounts are not gettingdeleted and therefore you can only purchase once. Im not too skilled in php so I need a little help. Thanks <?php /* $Id: checkout_success.php,v 1.49 2003/06/09 23:03:53 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); // if the customer is not logged on, redirect them to the shopping cart page if (!tep_session_is_registered('customer_id')) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); } if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'update')) { $notify_string = 'action=notify&'; $notify = $HTTP_POST_VARS['notify']; if (!is_array($notify)) $notify = array($notify); for ($i=0, $n=sizeof($notify); $i<$n; $i++) { $notify_string .= 'notify[]=' . $notify[$i] . '&'; } if (strlen($notify_string) > 0) $notify_string = substr($notify_string, 0, -1); tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string)); // Added a check for a Guest checkout and cleared the session - 030411 /*if (tep_session_is_registered('noaccount')) { tep_session_destroy(); tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL')); } else { tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, 'SSL')); } */ } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_SUCCESS); $breadcrumb->add(NAVBAR_TITLE_1); $breadcrumb->add(NAVBAR_TITLE_2); $global_query = tep_db_query("select global_product_notifications from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "'"); $global = tep_db_fetch_array($global_query); if ($global['global_product_notifications'] != '1') { $orders_query = tep_db_query("select orders_id from " . TABLE_ORDERS . " where customers_id = '" . (int)$customer_id . "' order by date_purchased desc limit 1"); $orders = tep_db_fetch_array($orders_query); $products_array = array(); $products_query = tep_db_query("select products_id, products_name from " . TABLE_ORDERS_PRODUCTS . " where orders_id = '" . (int)$orders['orders_id'] . "' order by products_name"); while ($products = tep_db_fetch_array($products_query)) { $products_array[] = array('id' => $products['products_id'], 'text' => $products['products_name']); } } // Added a check for a Guest checkout and cleared the session - 030411 /* if (tep_session_is_registered('noaccount')) { tep_db_query("delete from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . tep_db_input($customer_id) . "'"); tep_db_query("delete from " . TABLE_CUSTOMERS . " where customers_id = '" . tep_db_input($customer_id) . "'"); tep_db_query("delete from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . tep_db_input($customer_id) . "'"); tep_db_query("delete from " . TABLE_CUSTOMERS_BASKET . " where customers_id = '" . tep_db_input($customer_id) . "'"); tep_db_query("delete from " . TABLE_CUSTOMERS_BASKET_ATTRIBUTES . " where customers_id = '" . tep_db_input($customer_id) . "'"); tep_db_query("delete from " . TABLE_WHOS_ONLINE . " where customer_id = '" . tep_db_input($customer_id) . "'"); tep_session_destroy(); }*/ ?> vrant
  3. vrant


    I think this is the right place to post my problem: I have installed the Purchase Without Account contribution on my cart along with a few other (shipping contributions, attribute contirbutions, etc) and now no users can check out. When you get to login.php there is only one choice: Purchase Without Account. Then after clicking the continue button to go forward you enter your info on order_info.php. When I submit this form it does not submit. It goes right back to login.php. Some facts: I disabled SSL so there is no problem there. I use Windows XP Home edition and am fully updated with security patches and I can not check out. I tried it on a fresh install of Windows 2000 and I was able to check out with no problem. I tried it on a Windows 98SE PC and it did not work. (not sure how up to date with patches that one was). I have treid many others Windows XP machines and 90% of them are unable to check out. I cant think of anything that would cause this but really need to fix this ASAP. I have heard of the atest Microsoft patch causing info form SSL pages to not be posted but I have SSL disabled. Thanks for any help.
  4. has anyone else experienced this problem? It only seems to happen on some random PC's. It seems to work on Windows 2000 but not on some XP machines and 98SE machines.
  5. Can anyone tell me why my Purchase Without Account is not working. When i get to order_info.php and fill out the form then submit, i go right back to order_info.php. I cant get any further than that. I have SSL turned off because I thought it was a SSL issue at first. But now i can see i stil in http:// and i cant go any further than order_info.php. Has anyone else had this problem or know how i should begin to go about fixing it? Thanks
  6. I need a shipping contribution that will make my shipping price $25 (or whatever I choose) for all orders no matter what. I will be selling products that i can purchase from local dstores and then dlevering them in my car to local customers. I want to charge a fee for this shipping/deleivery for about $25 OR a set fee plus a percentage of the total order. So if they order $500 worth of goods I could charge $25 plus 5% of $500. Is there a current contribution that would allow either of these shipping calculations. Does anyone do anything like this now? or have any advice? Thanks vrant
  7. Is there any way to have separate image used for thumbnails in the Options As Images contributions? I currently use a contribution that allows me to have different thumbnail and large images for each product I upload but i can not do this with the Options As Images contribution. I have adjusted the size of thumbnails for this contribution but it does not help. If anyone has any ideas that would be great!!! :) thanks
  8. vrant

    Linkpoint Configuration

    I use the linkpoint central payment processor. i had to login to my account and change it from test to live mode. this is in the linkpoint admin section. then i changed in the Osc admin section my linkpoint module to run i live mode and everything is fine. SO, if your OsC linkpoint is in test mode, then so must be your linkpoint payment processor. Same thing for Live mode as well. i hope that helps.
  9. vrant


    this was supposed to be a reply. my mistake..OOOOPS!!! sry
  10. vrant

    coupon codes

    Hi, I am in need of a feature and am not sure if the current coupon contribution can do this. I would like to give out a coupon code to users and have them use the coupon code to recieve multiple discounts on multiple items. For example, this one coupon code can be used for 10% off of select hats, $5 off of select shirts, and $15 off of select shoes.....etc. Can the current coupon contribution do this? Any advier if the current contribution does not support this would be very appreciated. I am using a 2.2 snpashot from 4/03. Thanks
  11. vrant

    Feature Product V1.3 Not Working!

    thanks olby that worked perfect!
  12. vrant

    Feature Product V1.3 Not Working!

    * Add the following line into /catalog/includes/application_top.php, define('FILENAME_FEATURED', 'featured.php'); define('FILENAME_FEATURED_PRODUCTS', 'featured_products.php'); // This is the featured products page define('TABLE_FEATURED', 'featured'); Same thing with this one...can anyone help me find where to put this... I am using MS2.
  13. vrant

    Feature Product V1.3 Not Working!

    * Add the following lines into /admin/includes/application_top.php, each line at the appropriate place in the file, TABLE_* going with the other TABLE_* define lines, etc. define('FILENAME_FEATURED', 'featured.php'); define('TABLE_FEATURED', 'featured'); Where does this go? I lost all my hair trying to find where to put this....can someone give me an approximate line number or some code to look for so i can insert this? Thanks :shock: ant
  14. I am need of the correct verison of this contribution for a 2.2 CVS shop. I cant upgrade to MS2 beacuse i have too many contributions added now and will have to wait a whil before i can do this. Is there a version I can use for 2.2 CVS shop that will allow me to define the display type for my options? Thanks, ant
  15. vrant

    buy it now

    Can someonegive the link to download the buy it now contribution for MS2? I cant find it anywhere...maybe its called something different?? It adds the Buy it Now button for all products... Thanks