Hi Scott. I really appreciate this well written contribution and it works great!
The 'checkout' button is correctly disabled when store is closed, however underneath the 'checkout' button, i also have 'googlecheckout' button which needs to be disabled or redirected also. Google checkout is not listed in checkout_shipping.php like all the other payment methods. Please may i put in a request for you to look into this.....
In catalog/shopping_cart.php, i have the following code:
<?php
// *** BEGIN GOOGLE CHECKOUT ***
if (defined('MODULE_PAYMENT_GOOGLECHECKOUT_STATUS') && MODULE_PAYMENT_GOOGLECHECKOUT_STATUS == 'True') { include_once('googlecheckout/gcheckout.php');
}
// *** END GOOGLE CHECKOUT ***?>
<form></td>
</tr>
I am using Google Checkout v1.5 rc1 (taken from google website) Please let me know if you need any other information
Many thanks
May