X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Searching orders issue. (https://forum.x-cart.com/showthread.php?t=57498)

2gcorey 01-12-2011 08:00 PM

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?

qualiteam 01-13-2011 05:19 AM

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')); 


2gcorey 01-13-2011 07:09 AM

Re: Searching orders issue.
 
thank you so much :) Now this is service!


All times are GMT -8. The time now is 04:13 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.