I was recently asked for help on a Google Checkout problem where the Google Checkout Button on the Magento cart page was disabled with a message saying: “Not available with these items“.
I had a look at the Magento store in question and found a few clues to go on but a
Google search on the subject proved to be of little help unfortunately. The button looks like the one shown in the screenshot below:
The underlying URL for the button is:
<img src="https://checkout.google.com/buttons/checkout.gif?merchant_id=5677186919&w=180&h=46&style=white&variant=disabled&loc=en_US" alt="Fast checkout through Google" /> |
The big clue was the parameter on the Google Checkout button image URL on the problem store. It had variant=disabled
which is generated server side, and so had to be coming from somewhere within Magento. A big fat grep
over the code uncovered a variant='
string fragment in Link.php
.
Continue reading Google Checkout disabled – Not available with these items