Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Searching orders issue.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-12-2011, 08:00 PM
 
2gcorey 2gcorey is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 60
 

Default Searching orders issue.

Does anyone know that if you have the google module enabled and then go to search orders with the "more search options" that the google payment method is default instead of the blank option there? So you always have to reset that field to search?

has anyone found a fix for this? A way to make the default selection for "payment method" be blank again?
__________________
2gcorey
xcart version 4.4.1 bugged out!
Reply With Quote
  #2  
Old 01-13-2011, 05:19 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Searching orders issue.

You should alter "include/orders.php" script.

Find and replace this code:
PHP Code:
if (!empty($payment_methods) && !empty($active_modules['Google_Checkout']))
    
array_unshift($payment_methods, array('payment_method'=>"Google Checkout"'paymentid' => 0)); 

with this one:
PHP Code:
if (!empty($payment_methods) && !empty($active_modules['Google_Checkout']))
    
array_unshift($payment_methods, array('payment_method'=>"Google Checkout"'paymentid' => '0')); 
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote

The following user thanks qualiteam for this useful post:
2gcorey (01-13-2011)
  #3  
Old 01-13-2011, 07:09 AM
 
2gcorey 2gcorey is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 60
 

Default Re: Searching orders issue.

thank you so much Now this is service!
__________________
2gcorey
xcart version 4.4.1 bugged out!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:20 AM.

   

 
X-Cart forums © 2001-2020