Jump to content

nyderrn

Members
  • Content count

    136
  • Joined

  • Last visited

Everything posted by nyderrn

  1. If hemprest_osc1 is the name of your database, you have to be missing a table. In phpmyadmin or whatever you use to access your database, run this sql. -- -- Table structure for table `coupon_gv_queue` -- CREATE TABLE IF NOT EXISTS `coupon_gv_queue` ( `unique_id` int(5) NOT NULL auto_increment, `customer_id` int(5) NOT NULL default '0', `order_id` int(5) NOT NULL default '0', `amount` decimal(8,4) NOT NULL default '0.0000', `date_created` datetime NOT NULL default '0000-00-00 00:00:00', `ipaddr` varchar(32) NOT NULL default '', `release_flag` char(1) NOT NULL default 'N', PRIMARY KEY (`unique_id`), KEY `uid` (`unique_id`,`customer_id`,`order_id`) ) TYPE=MyISAM AUTO_INCREMENT=17; Check for whitespace at the beginning and end of both of those files. It could be that application_top.php contains a function that is already in general.php. You can try to put those in either side of Beyond Compare and see if anything matches, but sometimes that doesn't work at all ;) Hope that helps, Tim
  2. nyderrn

    NewsDesk v1.48 Support

    Hi, This is the first contribution I've modified that's been big enough to add it to the contribution section. Forgive me for not following proper protocol and it was not inteaded to confuse anyone. If there is a way to remove that contribution from the list, I will resubmit it with a different filename and description. Or, just remove it from the newsdesk contribution list and just leave it on multi-stores list. But, I did label it as just having multi-stores added functionality. So, at least I'm not a total DA :blink: Sorry, Tim
  3. nyderrn

    NewsDesk v1.48 Support

    Hi, I recently installed newsdesk and love it. My store is running M-S multi stores by Ryan Hobbs and I needed to modify this contribution to separate articles between different stores from one admin and database. I have it functioning and doing what I need it to do, but there are still a few bugs. I uploaded the package here with modified install instructions, .sql file, and version changes. If you have M-S multi stores installed and want a great way to serve up news, give it a try. Have fun, Tim
  4. nyderrn

    [contribution] Total B2B

    Hi, I'm using the original Customer Discount contribution and thought this would be the best place to ask my question since the other forum died. I was wondering if anyone has this working with credit class/gift vouchers, so that it won't apply a discount to gift voucher when purchased. Like maybe excluding certain products from the discount rate (or maybe it does this already I don't know). Not sure if this would do what I wanted with out installing it and I don't really need the rest of the code just the customer discount part. Thanks, Tim
  5. nyderrn

    [Contribution]Paypal IPN - Devosc

    Ok, I think I have it figured out (guess I should read a bit better in the future :huh: ). Just want to make sure everything is how it should be. When I successfully test the IPN, the order transaction activity changes to No PayPal Transaction Information Available (). Is this correct? Would there be transaction information during a real order? Thanks Tim
  6. nyderrn

    [Contribution]Paypal IPN - Devosc

    Oops, maybe I'm wrong. After making the changes above, I get a test complete, but no other information about the transaction. There is also no debug email being sent to the address I provided or a database entry. Any ideas? Thanks for your time and energy, Tim
  7. nyderrn

    [Contribution]Paypal IPN - Devosc

    Nevermind the correct class is Paypal_Debug.The correct modules are PAYPAL_DEBUG_MAIL and MODULE_PAYMENT_PAYPAL_DEBUG. Tim
  8. nyderrn

    [Contribution]Paypal IPN - Devosc

    Thanks for the reply. I got that part sorted out by changing a few of the defines to relate to my configure.php file setup. But, now I'm getting Fatal error: Cannot instantiate non-existent class: paypal_ipn_debug in c:\apache\htdocs\yopete\ipn.php on line 35 when I try to test ipn. Here's line 35 in catalog/ipn.php $debug = new PayPal_IPN_Debug(MODULE_PAYMENT_PAYPAL_IPN_DEBUG_EMAIL, MODULE_PAYMENT_PAYPAL_IPN_DEBUG); Any ideas? Thanks for your time, Tim
  9. nyderrn

    [Contribution]Paypal IPN - Devosc

    Hi, I'm having problems testing this module. I have turned error reporting on, so I don't get a blank page anymore. Now I get this error message Warning: main(payment/paypal/classes/Client/Connector.class.php): failed to open stream: No such file or directory in path_to_catalog\includes\modules\payment\paypal\classes\IPN\IPN.class.php on line 21 Fatal error: main(): Failed opening required 'payment/paypal/classes/Client/Connector.class.php' (include_path='.;c:\php4\pear') in path_to_catalog\includes\modules\payment\paypal\classes\IPN\IPN.class.php on line 21 Here's my ipn.txt file business = payments@hermitswonders.com receiver_email = payments@hermitswonders.com verify_sign = PAYPAL_SHOPPING_CART_IPN-TEST_TRANSACTION-00000000000000 payment_date = 00:00:42 Oct 20, 2004 Eastern Daylight Time digestKey = 12285046ca52bde6ff1432a509b43915 first_name = John last_name = Doe payer_business_name = ACME Inc. payer_email = root@localhost payer_id = PAYERID000000 payer_status = verified invoice = 1 address_name = John Doe address_street = 1 Way Street address_city = NeverNever address_state = CA address_zip = 12345 address_country = United States address_status = confirmed payment_type = instant txn_type = cart custom = 1 txn_id = PAYPAL00000000012 parent_txn_id = 1 num_cart_items = 1 notify_version = 1.6 memo = PAYPAL_SHOPPING_CART_IPN TEST mc_currency = USD mc_gross = 0.01 mc_fee = 0.01 settle_amount = 12.00 settle_currency = exchange_rate = 0.00 payment_status = Completed pending_reason = reason_code = submit = Test IPN Am I missing something? The file is there in the correct path, but it just isn't seeing it. Did a search for the error message within this topic to no avail. Thanks for any help you can provide, Tim
  10. nyderrn

    RMA Returns error for 2.2 MS2

    Glad to hear it ^_^ Tim
  11. nyderrn

    RMA Returns error for 2.2 MS2

    Your corresponding language file is not being included. You should see require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT_HISTORY_INFO); around line 30 of your account_history_info.php file. If you find that line, then your language file is missing. HTH Tim
  12. nyderrn

    Guest Accounts v. 2.0 for MS2

    login.php --> <?php /* $Id: login.php,v 1.2 2002/11/29 00:08:06 wilt Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); // redirect the customer to a friendly cookie-must-be-enabled page if cookies are disabled (or the session has not started) if ($session_started == false) { tep_redirect(tep_href_link(FILENAME_COOKIE_USAGE)); } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGIN); //$error = false; if (isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process')) { $email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']); $password = tep_db_prepare_input($HTTP_POST_VARS['password']); // Check if email exists $check_customer_query = tep_db_query("select customers_id, customers_firstname, customers_password, customers_email_address, customer_discount, customers_default_address_id from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'"); if (!tep_db_num_rows($check_customer_query)) { $HTTP_GET_VARS['login'] = 'fail'; //$error = true; } else { $check_customer = tep_db_fetch_array($check_customer_query); // Check that password is good if (!tep_validate_password($password, $check_customer['customers_password'])) { $HTTP_GET_VARS['login'] = 'inactive'; //$error = true; } else { if (SESSION_RECREATE == 'True') { // added from original login.php tep_session_recreate(); // added from original login.php } // added from original login.php $check_country_query = tep_db_query("select entry_country_id, entry_zone_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$check_customer['customers_id'] . "' and address_book_id = '" . (int)$check_customer['customers_default_address_id'] . "'"); $check_country = tep_db_fetch_array($check_country_query); $customer_id = $check_customer['customers_id']; $customer_default_address_id = $check_customer['customers_default_address_id']; $customer_first_name = $check_customer['customers_firstname']; $customer_country_id = $check_country['entry_country_id']; $customer_zone_id = $check_country['entry_zone_id']; $customer_discount = $check_customer['customer_discount']; tep_session_register('customer_id'); tep_session_register('customer_default_address_id'); tep_session_register('customer_first_name'); tep_session_register('customer_country_id'); tep_session_register('customer_zone_id'); tep_session_register('customer_discount'); // HMCS: Begin Autologon ********************************************************** $cookie_url_array = parse_url((ENABLE_SSL == true ? HTTPS_SERVER : HTTP_SERVER) . substr(DIR_WS_CATALOG, 0, -1)); $cookie_path = $cookie_url_array['path']; if ((ALLOW_AUTOLOGONLOGON == 'false') || ($HTTP_POST_VARS['remember_me'] == '')) { setcookie("email_address", "", time() - 3600, $cookie_path); // Delete email_address cookie setcookie("password", "", time() - 3600, $cookie_path); // Delete password cookie } else { setcookie('email_address', $email_address, time()+ (365 * 24 * 3600), $cookie_path, '', ((getenv('HTTPS') == 'on') ? 1 : 0)); setcookie('password', $check_customer['customers_password'], time()+ (365 * 24 * 3600), $cookie_path, '', ((getenv('HTTPS') == 'on') ? 1 : 0)); } // HMCS: End Autologon ********************************************************** tep_db_query("update " . TABLE_CUSTOMERS_INFO . " set customers_info_date_of_last_logon = now(), customers_info_number_of_logons = customers_info_number_of_logons+1 where customers_info_id = '" . (int)$customer_id . "'"); if ($b_ip != '127.0.0.1')//added by Emmett from hostingoscommerce.com { //Changes for visitor stats. Add the customer id if known $b_lang = getenv('HTTP_ACCEPT_LANGUAGE'); $b_ip = getenv('REMOTE_ADDR'); $visitor_query_string = "update visitors set customers_id = '" . $customer_id . "' where browser_ip = '" . $b_ip . "' AND browser_language = '" . $b_lang . "' AND to_days(now()) - to_days(date) < 1"; //print('<br>' . $visitor_query_string . '<br>'); tep_db_query($visitor_query_string); //end changes for visitor stats } // restore cart contents $cart->restore_contents(); if (sizeof($navigation->snapshot) > 0) { $origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']); $navigation->clear_snapshot(); tep_redirect($origin_href); } else { tep_redirect(tep_href_link(FILENAME_DEFAULT)); } } } } // if ($error == true) { // $messageStack->add('login', TEXT_LOGIN_ERROR); // } elseif ($HTTP_POST_VARS['action'] == 'new') { $email_address = 'email_address=' . tep_db_prepare_input($HTTP_POST_VARS['email_address']); tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT, $email_address, 'SSL')); } elseif ($HTTP_POST_VARS['action'] == 'guest') { $email_address = 'email_address=' . tep_db_prepare_input($HTTP_POST_VARS['email_address']); tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT, 'guest_account=true', 'SSL')); } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGIN); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_LOGIN, '', 'SSL')); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <?php // BOF: WebMakers.com Changed: Header Tag Controller v1.0 // Replaced by header_tags.php if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <title><?php echo TITLE ?></title> <?php } // EOF: WebMakers.com Changed: Header Tag Controller v1.0 ?> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> <script language="javascript"><!-- var submitted = false; function check_form() { var error = 0; var error_message = "Errors have occured!\n\n"; if(submitted){ alert( "Error"); return false; } var email_address = document.login.email_address.value; var password = document.login.password.value; if (document.login.action[1].checked == true) { if (password == '') { error_message = error_message + "Are you trying to create a new profile?\n - Please select the 'No, I want to create a new profile' option.\n\nDo you have an existing account?\n - Please enter your password to login.\n"; error = 1; } } if (error == 1) { alert(error_message); return false; } else { submitted = true; return true; } } //--></script> <?php // HMCS: Begin Autologon ********************************************************** ?> <script language="javascript"><!-- function win_autologon() { window.open("<?php echo FILENAME_INFO_AUTOLOGON; ?>","info_autologon","height=460,width=430,toolbar=no,statusbar=no,scrollbars=yes").focus(); } //--></script> <?php // HMCS: End Autologon ********************************************************** ?> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="5" cellpadding="0"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top" class="leftcolumn"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="smallText" colspan="2"><?php echo tep_draw_form('login', tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL')); ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="60%" valign="top" align="center"> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr> <td valign="top"> <table border="0" width="100%" height="100%" cellspacing="0" cellpadding="2"> <tr> <td class="heading" colspan="2" align="left"><b><?php echo HEADING_TITLE; ?></b></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '20'); ?></td> </tr> <tr> <td class="main" colspan="2" align="left"><b><?php echo TEXT_EMAIL_QUESTION; ?></b></td> </tr> <tr> <td colspan="2"> <table cellpadding="3" cellspacing="0" border="0"> <tr> <td class="main" align="left"><b><?php echo ENTRY_EMAIL_ADDRESS_LOGIN; ?></b></td> </tr> <tr> <td class="main" align="left"><?php echo ' ' . tep_draw_input_field('email_address'); ?></td> </tr> </table> </td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '15'); ?></td> </tr> <tr> <td class="main" colspan="2" align="left"><b><?php echo TEXT_PASSWORD_QUESTION; ?></b></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main" align="right"><?php echo tep_draw_radio_field('action', 'new') ?></td> <td class="main" align="left"><b><?php echo TEXT_NO_PASSWORD; ?></b></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '5'); ?></td> </tr> <tr> <td class="main" align="right"><?php echo tep_draw_radio_field('action', 'process', true) ?></td> <td class="main" align="left"><b><?php echo TEXT_HAS_PASSWORD; ?></b></td> </tr> <tr> <td class="main" colspan="1"><br></td> <td class="main"><?php echo tep_draw_password_field('password'); ?></td> </tr> <?php // HMCS: Begin Autologon ********************************************************** if(ALLOW_AUTOLOGON != 'false') { ?> <tr> <td> </td> <td align="left" class="smalltext"><?php echo tep_draw_checkbox_field('remember_me','on', (($password == '') ? false : true)) . ' ' . ENTRY_REMEMBER_ME; ?></td> </tr> <?php } // HMCS: End Autologon ********************************************************** ?> <tr> <td colspan="1"><br></td> <td class="smallText" align="left"><br><?php echo '<a href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php if (GUEST_ON == 'true') { ?> <tr> <td class="main" colspan="2" align="left"><b><?php echo HEADING_GUEST_CUSTOMER; ?></b></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main" align="right"><?php echo tep_draw_radio_field('action', 'guest') ?></td> <td class="main" align="left"><b><?php echo TEXT_GUEST_CUSTOMER; ?></b></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '20'); ?></td> </tr> <?php } ?> <tr> <td colspan="1"><br></td> <td align="left" valign="top"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td> </tr> </table> </td> </tr> <tr> <td width="100%" height="100%" valign="top"><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="1"> <tr> </table></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> </tr> </table> </td> </form> <td width="50%" valign="top" class="main"> <?php echo TEXT_SAFE_SHOPPING; ?> <p> <?php echo TEXT_SAFE_SHOPPING2; ?> <p> <?php echo TEXT_SAFE_SHOPPING3; ?> <p> <?php echo TEXT_SECURE; ?> </td> </tr> <?php if (isset($HTTP_GET_VARS['login']) && ($HTTP_GET_VARS['login'] == 'inactive')) { $info_message = TEXT_STATUS_ERROR; } if (isset($HTTP_GET_VARS['login']) && ($HTTP_GET_VARS['login'] == 'fail')) { $info_message = TEXT_LOGIN_ERROR; } elseif ($cart->count_contents()) { $info_message = TEXT_VISITORS_CART; } if (isset($info_message)) { ?> <?php echo $info_message; ?></td> </tr> <?php } ?> </table> </table> </td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> includes/languages/login.php --> <?php /* $Id: login.php,v 1.14 2003/06/09 22:46:46 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License new login from this thread: Modified to work for MS2 w/BTS http://forums.oscommerce.com/index.php?showtopic=31021&st=40 */ if ($HTTP_GET_VARS['origin'] == FILENAME_CHECKOUT_PAYMENT) { define('NAVBAR_TITLE', 'Order'); define('HEADING_TITLE', 'Ordering online is easy.'); define('TEXT_STEP_BY_STEP', 'We\'ll walk you through the process, step by step.'); } else { define('NAVBAR_TITLE', 'Login'); define('HEADING_TITLE', 'Sign in or create a profile'); define('TEXT_STEP_BY_STEP', ''); // should be empty } define('TEXT_EMAIL_QUESTION', ''); define('TEXT_NO_PASSWORD', 'No, I am a new customer.'); define('TEXT_HAS_PASSWORD', 'Yes, I am a returning customer<br>and I have a password:'); define('ENTRY_REMEMBER_ME', 'Remember me<br> <a href="javascript:win_autologon();"><b><u>Read this first!</u></b></a>'); define('ENTRY_EMAIL_ADDRESS_LOGIN', 'Email Address: '); define('TEXT_PASSWORD_QUESTION', 'Do you have a password?'); define('TEXT_SAFE_SHOPPING', 'SAFE SHOPPING GUARANTEE<br>We guarantee that every transaction you make at ' . STORE_NAME . ' will be safe.'); define('TEXT_SAFE_SHOPPING2', 'PRIVACY & SECURITY<br>All your information is safe and secure. The entire transaction will take place on a secure server using SSL technology.<br>Please review our <a href="' . tep_href_link(FILENAME_PRIVACY, '', 'NONSSL') . '">Privacy Notice</a> for more details.'); define('TEXT_SAFE_SHOPPING3', 'FEEDBACK/PROBLEMS?<br>Your comments will help us to improve our checkout process.<br><a href="' . tep_href_link(FILENAME_CONTACT_US, '', 'NONSSL') . '">Contact us</a>'); define('TEXT_PASSWORD_FORGOTTEN', 'Password forgotten? Click here.'); define('TEXT_LOGIN_ERROR', '<font color="#ff0000"><strong>ERROR:</strong></font> No match for \'E-Mail Address\' and/or \'Password\'.'); define('TEXT_VISITORS_CART', '<font size="1"><font color="#ff0000"><strong>NOTE:</strong></font> Your "Visitors Cart" contents will be merged with your "Members Cart" contents once you have logged on. <a href="javascript:session_win();">[More Info]</a></font>'); define('TEXT_SECURE', 'Your email address will <strong>never</strong> be sold.'); define('TEXT_STATUS_ERROR', '<font color="#ff0000"><b>ERROR:</b></font> This Member ID is not currently active.'); // guest_account start define('HEADING_GUEST_CUSTOMER', 'Proceed to Checkout'); define('TEXT_GUEST_CUSTOMER', 'Checkout without creating a Profile.'); define('TEXT_GUEST_CUSTOMER_INTRODUCTION', ''); // guest_account end ?> This just changes the layout of login.php to something more like Amazon. I just added a radial button to go directly to checkout. Hope it helps someone, Tim
  13. Hi, Thanks for the reply. I'm using table rate as stated and using price as the determining factor in the calculation. Is there a way around this or a fix that I can apply? Or, should I just inform the cusotmer that it would be in thier best interest to buy gift vouchers separately? Thanks for your time and patience, Tim
  14. nyderrn

    RMA Returns error for 2.2 MS2

    Ha, I totally misread your post. I thought you went to my website and tested it. DOH! Anyway I can't see anything thats wrong. It seems like if ($order->products[$i]['return'] == '1') { isn't being satisfied, but the value is in the database and it works perfectly on my other stores. The return link is showing up its just not changing after returning the product. If you have any ideas, I'm open at this point. Thanks Tim
  15. nyderrn

    Guest Accounts v. 2.0 for MS2

    I used the customer login contribution that makes the login look more like Amazon.com http://www.oscommerce.com/community/contributions,2341 and then modified it to include guest account. If anyone wants the code, I'll post it here just let me know. Tim
  16. So, is there anything I can do about this? I've looked through the code on table.php and I see no use of product count anywhere. Am I beating a dead horse with this one and shoud I just tell my customers not to buy gift vouchers with other products or could there be a fix for this? Thanks, great contribution btw I love it ;) Tim
  17. nyderrn

    Guest Accounts v. 2.0 for MS2

    Hi, Sure test it out here: Test Store Tim
  18. nyderrn

    RMA Returns error for 2.2 MS2

    Ok it's ready. Sorry it took so long I had a empty shopping cart issue that I had to take care of first. Test Store Test as much as you want ;) Thanks for helping Tim
  19. nyderrn

    RMA Returns error for 2.2 MS2

    Sorry, it's working on my live server, but I have other contribs that are conflicting with ccgv 5.10. So, I've decided to start over and this is the problem I'm having. I will upload my fresh install to my live server so you can see what I'm talking about. Thanks for the fast response I'll let you know when it's ready for a test Tim
  20. Hi Susan.... what I did was to enable the 'download' in the admin config section. Then you set the gift voucher weight to zero...... it worked for me.... :) I have a similar problem. I've enabled downloads and set the gv weights to 0 and when I purchase the gv alone it doesn't include shipping, but if I purchase together with another item it charges shipping on both items. I'm using table rate shipping method. Anyone have this problem that got it fixed and can help me out? ;) Thanks, Tim :D To make it include shipping you need to go in the admin area, modules, order total, select gift vouchers and then edit theres a radial button to select incldue shipping. I don't think I made myself clear on that question. It is true that when that radial button is set to true for include shipping the gift voucher will inlcude the shipping, but that's not what I was talking about I just used poor wording. When the customer purchases an item, the shipping is calculated correctly for that item and everything is great. But, when they also put a gift voucher in thier basket the shipping amount goes up even though I don't have to ship it to them. Hopefully that explains the problem better ;) Thanks for any help Tim
  21. nyderrn

    Master Products - MS2

    Thanks, I missed product_listing_sql = '1' in the $listing_sql query on index.php. Once again I owe you guys my sanity :P Tim
  22. nyderrn

    Master Products - MS2

    Hi, My slaves are showing in my product listing even when I have them set to hide. Where is the distinction made between reg products and slaves in product listing, so I can narrow down my problem? Or, If you could direct me to a post in this thread de grande that might solve my problem that would be alright also :rolleyes: Thanks, Tim
  23. nyderrn

    RMA Returns error for 2.2 MS2

    Sorry, I don't know what happened, but I don't have this problem anymore. Prob something with my database. But, still having the problem addressed in previous post. Thanks Tim
  24. nyderrn

    RMA Returns error for 2.2 MS2

    Here's my code that places the return link under the product in account_history_info.php //RMA returns 2.3 if ($order->products[$i]['return'] == '1') { $rma_query_one = tep_db_query("SELECT returns_id FROM " . TABLE_RETURNS_PRODUCTS_DATA . " where products_id = '" . $order->products[$i]['id'] . "' and order_id = '" . $HTTP_GET_VARS['order_id'] . "'"); $rma_query = tep_db_fetch_array($rma_query_one); $rma_number_query = tep_db_query("SELECT rma_value FROM " . TABLE_RETURNS . " where returns_id = '" . $rma_query['returns_id'] . "'"); $rma_result = tep_db_fetch_array($rma_number_query); $return_link = '<font color=cc0000><b>' . TEXT_RMA . ' # <a href="' . tep_href_link('returns_track.php', 'action=returns_show&rma=' . $rma_result['rma_value'], 'NONSSL') . '">' . $rma_result['rma_value'] . '</a>'; } else { $return_link = '<a href="' . tep_href_link(FILENAME_RETURN, 'order_id=' . $HTTP_GET_VARS['order_id'] . '&products_id=' . ($order->products[$i]['id']), 'NONSSL') . '"><font color=cc0000><b>' . TEXT_RETURN_PRODUCT .'</a></b></font>'; } echo ' <tr>' . "\n" . ' <td class="main" align="right" valign="top" width="30">' . $order->products[$i]['qty'] . ' x</td>' . "\n" . ' <td class="main" valign="top">' . $order->products[$i]['name'] . ' ' . $return_link .'<br><small><i>' . $desc['products_description'] . '</i></small>'; //RMA returns end The values called for are in the database. I don't understand why this doesn't work. The only other difference between your account_history_info.php and mine is: $customer_info_query = tep_db_query("select customers_id from " . TABLE_ORDERS . " where orders_id = '". (int)$HTTP_GET_VARS['order_id'] . "'"); has been changed to: //rmh M-S_multi-stores edited next line $customer_info_query = tep_db_query("select customers_id from " . TABLE_ORDERS . " where orders_id = '". (int)$HTTP_GET_VARS['order_id'] . "' and orders_stores_id = '" . STORES_ID . "'"); But, that just calls the customer_id number and really shouldn't affect RMA. Thanks for any help Tim
  25. nyderrn

    RMA Returns error for 2.2 MS2

    Hi, I have just installed v2.3 and have applied all this patches up to this point. Two questions: Whenever I send a refund via gift voucher and follow the link in the email, it says that the gv code is invalid or has already been redeemed. Why can I return the same product more than once? The earlier versions replaced the link to return a product with the RMA number sent, so this could not happen. Did I miss something?
×