Alright. I checked it, found the bracket and fixed it.
What should I look for for this other error? Warning: Invalid argument supplied for foreach() in /home/content/b/j/a/bjancewicz/html/ZenPhoto/zp-core/template-functions.php on line 177
And where is the Google Checkout option actually supposed to show up? I don't see it.
There must be something else wrong in your theme. Probably another bracket.
You have to add the google checkup function to your theme manually as with all additional functions. Of course It won't show up automatically. Please see the documentation (the svn one) for info.
Any idea where I could start to look? I'm pretty lost...
And where do I find svn documentation (not sure what that is)...
You can't really overlook it here..:-): http://www.zenphoto.org/category/User-Guide/
Here the direct link to the google checkup doc: http://www.zenphoto.org/documentation/zenphoto/_plugins---GoogleCheckout.php.html
To your error problem: How should I know? You could post the code of that page, then I could take a look.
Ok. I'll create another post for the error.
Back to installing the Google Checkout, though... I found the doc you're referring to; but I don't understand how to install the code on my page. The document makes no sense to me.
I tried to read this too for help, (http://www.zenphoto.org/2008/04/how-to-read-the-zenphoto-functions-guide/) but I don't know what to include from the void line of code.
Is there anyone that has this on their gallery already that I could copy the code from, or can you help me understand the document?
Alrighty.
I've got it installed. I have a Google Merchant account, and have put in all my information correctly.
It doesn't seem to be working, though; when I try to hit the Checkout button on an image, an error comes up from Google.
http://zerflin.com/ZenPhoto/index.php?album=artwork%2FVector+Things&image=A+CHILD+OF+5.jpg
What can I check?
We need somehow to find out what Google does not like in the posting. I don't have a Google Merchant Account and don't know what kind of debugging aids they have. (That is why this plugin is marked experimental--I could not check it out, only provided what I thought Google wanted in the form.)
Do you have other WEB applications that use Google Checkout? We might be able to tell something by looking at them.
sbillard - I was setting up a gallery for a friend whose wife is a photographer and they really wanted this feature, so I have built a working plugin. Please let me know where/how/when to post it so that you can take a look at it. I used the new Google checkout shopping carts script/API, so it tracks all items added to the cart and allows you to view the cart from a dropdown javascript element over the site. I thinks it's a great solution and am really excited to help out by sharing back the work I've done.
Thanks,
-Jeremy
Done. Ticket Number 563. http://www.zenphoto.org/trac/ticket/563
Just wanted to update everyone and let you know that the initial changes were released here:
http://www.zenphoto.org/trac/changeset/1687
I think that means you should see them in the nightly..? I also just added some changes that allow the Cart Widget to be placed either in the top left corner or inline in your theme. You can follow changes on Trac here:
http://www.zenphoto.org/trac/ticket/563
To set the location of the widget to the top left go into plugin options and set the Cart Location to "TopLeft" without quotes. To drop the widget into your theme instead of snapped to the browser use the new function printGoogleCartWidget() wherever you'd like it to show up. In order for the new widget options to work you will need to download the new CSS files along with the updated GoogleCheckout.php
Also you can see the changes in action at my test gallery. http://www.jeremydcoleman.com/zentest
Don't go all the way through the checkout unless you want to accidentally make a donation
Thanks aitf311, glad you like it. Please post here or on my personal site http://www.jeremydcoleman.com if you have any issues or suggestions.
It's working!
I talked to Mammlouk, and the problem was that you have to have Google Merchant accept unsigned carts. Now it works like a charm.
In addition, there is a panel (which I hadn't seen before) on Google Merchant under "Tools" called "Integration Console" which shows any errors.