![]() |
|
Please help with Google Checkout! - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Please help with Google Checkout! (/thread-3987.html) |
Please help with Google Checkout! - timfl - 2008-10-30 I am trying to implement individual pricing in Google Checkout. Here is what I put in the [b]image.php[/b] page: Quote: I entered default values for [b]$pricelist[/b] in the [b]GoogleCheckout.php Thanks very much, Please help with Google Checkout! - sbillard - 2008-10-30 You should pass the pricelist to the googleCheckout() function. Changing the option defaults will do nothing after the first execution of the script. Review the documentation of the plugin for details. Please help with Google Checkout! - timfl - 2008-10-30 Thanks, sbillard, this is an amazing piece of software, you should be very proud. Can you explain a bit more how to pass the pricelist to the function? I read the docs, but I'm still learning when it comes to scripting. Which file should I be working in? Please help with Google Checkout! - sbillard - 2008-10-30 Pricelists are arrays of pricing elements. The Since you say you are storing the custom price information in the customdata field, you will have to convert it to an array before passing. To do this use the |