Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

askvideo

Pioneers
  • Posts

    18
  • Joined

  • Last visited

Everything posted by askvideo

  1. I'm using the latest CCGV and it works great! However I've added 21000 coupons and an bunch of them have been redeemed. So in the coupon_admin.php page you would simply use the pull down menu and select "Redeemed Coupons". Since I have 21000 coupons it still shows " <<< page 1 of 1051 >>> ". If I want to see the 10 that have been redeemed (and lest say they are the last 10) I need to jump to the page where they are. That's 1051 pages to jump through. The redeem query seems to look good: $redeem_query = tep_db_query("select redeem_date from " . TABLE_COUPON_REDEEM_TRACK . " where coupon_id = '" . $cc_list['coupon_id'] . "'"); But I need to kill the pages display and only display the number of Redeemed Coupons. Not the number of Redeemed Coupons plus the Un-Redeemed. Can anyone help with this work around? Thanks,
  2. It should already do this in application_top.php: // set the language if (!tep_session_is_registered('language') || isset($HTTP_GET_VARS['language'])) { if (!tep_session_is_registered('language')) { tep_session_register('language'); tep_session_register('languages_id'); } include(DIR_WS_CLASSES . 'language.php'); $lng = new language(); if (isset($HTTP_GET_VARS['language']) && tep_not_null($HTTP_GET_VARS['language'])) { $lng->set_language($HTTP_GET_VARS['language']); } else { $lng->get_browser_language(); } $language = $lng->language['directory']; $languages_id = $lng->language['id']; } Right here: $lng->get_browser_language();
  3. Just uploaded Version 1.2 Error check added incase http://www.wipmania.com/ is down or incase you have other mods based on currency. * All I changed in this version was step 5. Added if statement to see if $location was empty under: $location = getUserCountry(); This is what I did in Step 5: if ($location == ''){ // $location is blank, use default method so we don't get $0 prices or in some cases no product listed. $currency = (USE_DEFAULT_LANGUAGE_CURRENCY == 'true') ? LANGUAGE_CURRENCY : DEFAULT_CURRENCY; }else{ //since it has not been determined, find the currency it needs to be changed to $currency_id_result=tep_db_query("SELECT countries_currencyid FROM countries WHERE countries_iso_code_2='".$location."'"); while($currency_row=tep_db_fetch_array($currency_id_result)) { $currency_id=$currency_row['countries_currencyid']; }; //create session variable to show that it has now been determined $currency=$currency_id; $_SESSION['locationset']=$location; $_SESSION['currency']=$currency; } Hope it helps everyone! Also, changing $timeout to 10 is worth it as Jack_mcs mentioned works for me quite well!
  4. askvideo

    First Data

    Did you find anything for FirstData? I could use it too.
  5. I would love help added this. I'm using the Quantity Discount module (order total module) and it's not sending to PayPal. I have no problem getting down and dirty in code but I just can't figure out where it should go? (How to manually install the code to make sure the discount gets sent to PayPal. Any help would be much appreciated... also I'm looking for a good programmer to do a few simple things like this for me (a paying gig!) Thanks, Steve steve [at] askmedia [dot] net
  6. I re-checked all the code just now. No spaces. Exactly like in the instructions. The error comes from edit_orders.php (which I haven't touched) and general.php. Just wondering why the headers are being called again. And why the order totals arn't being updated. All the information in the order IS being updated except the total. When I click "Update" the error comes up but if I hit the back button in my browser and refresh the page all my NEW changes are there... so I don't think it would be a "space" at the very last ?> that would casue this...? I think the error is right "Wrong datatype for second argument in /admin/edit_orders.php on line 423" Is anyone else receiving this error? Thanks, :-(
  7. Oh and I discovered that my order total was not updating... So maybe that is the reason that I get those errors.... Any ideas?
  8. Hello, RE: Order Editor 5.0.61 Thanks for the great mod! It looks like it could be very usefull! When I press edit I get the Order Editor window but then when I press "Update" or add a new product I get this: Warning: in_array() [function.in-array]: Wrong datatype for second argument in /admin/edit_orders.php on line 423 Warning: in_array() [function.in-array]: Wrong datatype for second argument in /admin/edit_orders.php on line 423 Warning: Cannot modify header information - headers already sent by (output started at /admin/edit_orders.php:423) in /admin/includes/functions/general.php on line 22 Any ideas? Great work though... very nice. I can't wait for it to work!!!! :-)
  9. Sorry this should be in: http://www.oscommerce.com/forums/index.php?showtopic=54032 I've moved it but I don't know how to delete it here. :-( Hello, RE: Order Editor 5.0.61 Thanks for the great mod! It looks like it could be very usefull! When I press edit I get the Order Editor window but then when I press "Update" or add a new product I get this: Warning: in_array() [function.in-array]: Wrong datatype for second argument in /admin/edit_orders.php on line 423 Warning: in_array() [function.in-array]: Wrong datatype for second argument in /admin/edit_orders.php on line 423 Warning: Cannot modify header information - headers already sent by (output started at /admin/edit_orders.php:423) in /admin/includes/functions/general.php on line 22 Any ideas? Great work though... very nice. I can't wait for it to work!!!! :-)
  10. Pressing hte "Match" button gives me this error: Warning: Division by zero in /admin/includes/classes/qbi_classes.php on line 103 Warning: Division by zero in /admin/includes/classes/qbi_classes.php on line 103 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 SELECT *, p.products_id AS pproducts_id FROM products AS p LEFT JOIN products_attributes AS pa ON p.products_id=pa.products_id ORDER BY products_model, options_values_id LIMIT 0, [TEP STOP] Any ideas?
  11. I set everything up but when I press the go to configuration page after the SQL - it goes forever and times out the browser. I can't get the contribution to do anything after this. Maybe you've heard of this - or it's because I have a lot of orders and customers, being the first time... Any ideas? Thanks!
×
×
  • Create New...