Under Catalog > Manage Products > the individual product
The wording of the old option was “Not available for purchase with Google Checkout.” and the default setting was (NO)
Now...the option wording is: “Is product available for purchase with Google Checkout” and the default setting is (NO)
My problem is, all of the products that were available to use Google Checkout, are now the not available, and with several thousand products, I’m screwed...until I can go in a dig in the code, which I don’t have time to do right now.
Issue #10572 seems to be the problem here. Yes, it was resolved, unfortunately, I need some form of immediate resolution on this. I guess that is what I get for attempting to be an early adopter.
I’m having a similar problem on one of our development sites. When you try to add a product to the cart it says “Invalid attribute requested: enable_googlecheckout”
This is exactly what I’m concerned with. I’m not sure if it has any merit to upgrade for each version since each version introduces new bugs after upgrading. My site also uses Google Checkout as the only payment gateway. Fortunately, I’ve not upgraded to v.1.2.1.1 yet or I had to update every product for a few hundred of products. That’ll be a pain in the ass. It might be best for us to wait till a more stable version comes out.
As a temporary fix to this issue, comment out the body of the getIsDisabled() function found in the file
\app\code\core\Mage\GoogleCheckout\Block\Link.php:
public function getIsDisabled() { // $quote = Mage::getSingleton('checkout/session')->getQuote(); /* @var $quote Mage_Sales_Model_Quote */ // foreach ($quote->getAllVisibleItems() as $item) { /* @var $item Mage_Sales_Model_Quote_Item */ // if (!$item->getProduct()->getEnableGooglecheckout()) { // return true; // } // } return false; }
Note that this will enable all products for Google Checkout, and though it is dirty, it should hold you over until the next upgrade.
Thanks for the reply, but I don’t want to use google checkout. We are setting up a new build of one of our sites. We use authorize.net. After the update to 1.2.1.1 we started getting the message i posted b/f.
I simply clicked “select all” on the admin >> manage products, and selected “update attributes”. on that page you can change the google checkout settings.
I used the core hack that someone described to do this.and it worked but we still need a way to do it in the interface. I am not sure it matters though until google checkout becomes stable. This will most likely be your next problem when you get it enabled:
Okay, I’ve included a solution below that will help you edit the database to set all of your products/entities to Google Checkout enabled. This is necessary if you are having problems updating them all to enabled in the front end (I was having these problems) :
[1] Check the table eav_attribute to determine which attribute has the “attribute_code” = enable_googlecheckout (I believe it should be attribute_id 655).
[2] In the table catalog_product_entity_int, check to see if any entities are currently listed with attibute_id 655 (or whatever ID you identified to be the google checkout enabler in the previous step).
[3] If there are any records in the table with attribute_id 655, make sure they have ‘value’ = 1. If not, run an update to make them all 1.
[4] Get a list of all your entities (products) from the catalog_product_entity table, and remove any entities from the list that are already associated with attribute_id 655 in table catalog_product_entity_int.
[5] Determine the highest value_id assigned in the table catalog_product_entity_int and then create insert statements for every entity_id you came up with in step 4, associating them with attribute_id 655, and value = 1.
This will insert a record for every entity, enabling google checkout.