Re: Google Checkout module for Zen Cart (beta)
Regards identifying products which cannot be checked out with Google Checkout. For temporary purposes, until the Google Checkout for Zen Cart mod supports downloads, I added this to tpl_product_info_display.php
Code:
<!-- bof Google Checkout -->
<?php
if ($products_virtual = 1) {
echo '<div class="no_checkout">This download product is available through regular checkout. However currently it is not available via Google Checkout.</<br /><br /></div>';
}
?>
<!-- eof Google Checkout -->
Anyone know if Google provides a special image/icon to display for such items?
I still need to add the logic to test if the virtual downloads support checkbox in the Google Checkout payment module has been checked or not and also create a language define.
Woody
Re: Google Checkout module for Zen Cart (beta)
This is a little smarter. No define yet as first need to find out if Google provides an image to indicate when an item s not available through Google Checkout.
Code:
<!-- bof Google Checkout -->
<?php
if ($products_virtual = 1) {
if(MODULE_PAYMENT_GOOGLECHECKOUT_VIRTUAL_GOODS == 'True') {
echo '<div class="warning">This download product is available through regular checkout. However it currently is not available via Google Checkout.<br /><br /></div>';
}
}
?>
<!-- eof Google Checkout -->
Woody
Re: Google Checkout module for Zen Cart (beta)
If you have split-login enabled in Zen Cart 1.37 and wish to add a Google Checkout "panel" to the login page, then follows is a simple code snippet you can insert into tpl_login_default.php which comes with v.1.3RC2 mod.
Appx Line 57 in tpl_login_default.php
AFTER:
Code:
</form>
</fieldset>
<br class="clearBoth" />
BUT BEFORE:
Code:
<!--EOF PPEC split login- DO NOT REMOVE-->
<?php } else { ?>
<!--BOF normal login-->
INSERT:
Code:
<br />
<?php // ** BOF GOOGLE CHECKOUT ** ?>
<br />
<fieldset>
<legend><?php echo 'OR USE GOOGLE CHECKOUT'; ?></legend>
<table><tr><td>
<div class="information">Or if you prefer you can checkout with <b>Google Checkout</b>. If you have an item in your shopping cart (not a download product) the Google Checkout button displays in full color indicating Google Checkout is available for your order. If it appears gray then Google Checkout is not available (either you have a download product in your shopping cart or you have yet to add any items to your shopping cart).</div>
</td>
<td>
<?php
// ** GOOGLE CHECKOUT **
include(DIR_WS_MODULES . 'show_google_components.php');
// ** END GOOGLE CHECKOUT **
?>
</td></tr></table>
</fieldset>
<br class="clearBoth" />
<?php // ** EOF GOOGLE CHECKOUT ** ?>
Note this is a quick and dirty (not elegant) solution...
(1) Includes some (wordy) text for those whom want to provide instructions regarding the unavailability of Google Checkout for download items. Edit as you desire.
(2) It has NOT been tested with PayPal EXPRESS enabled. If you use PayPal EXPRESS do not use. Later when I get around to testing PayPal Express I will update and post fresh code.
(3) A heading is hard coded in. Later I will make a languages define.
(4) For purists please note the code uses a table. Later I will properly apply CSS.
(5) The code is not yet smart enough to know if you have the Google Checkout payment module disabled or uninstalled. So if you disable or uninstall the mod then you will want to remove the code from the template. Later I will add some simple testing to check if the mod is disabled or installed.
If anyone beats me to it please do post improvements ;-)
-Woody
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
Code:
<!-- bof Google Checkout -->
<?php
if ($products_virtual = 1) {
if(MODULE_PAYMENT_GOOGLECHECKOUT_VIRTUAL_GOODS == 'True') {
echo '<div class="warning">This download product is available through regular checkout. However it currently is not available via Google Checkout.<br /><br /></div>';
}
}
?>
<!-- eof Google Checkout -->
Well it appeared this was working last eve, but now it appears not. If anyone has suggestions to repair my noob logic above, please do suggest.
Thanks,
Woody
Re: Google Checkout module for Zen Cart (beta)
This question has probably already been addressed - I apologize that I just can not find it. I installed GC in Zen 1.3.7 - everything works great. EXCEPT, that in GC the customer sees all the shipping options are shown - just they all say "0". It would not take to many $0.00 shipping costs to put me out of business. I tried the
googlecheckout/shipping_generator , but it only seems to compute 'freeshipper' and 'store pickup' (which both happen to be set to $0.00) . I have USPS and UPS shipping modules enabled, however, the above file does not seem to find them. In the admin/modules I left all the GC shipping options at 0. If
googlecheckout/shipping_generator is supposed to generate a new file - could someone just send it to me so I don't mess my store up. Thanks in advance.
Re: Google Checkout module for Zen Cart (beta)
Hello Guys, can i have a little help with google checkout? I followed the installation directions to a tee, and It seems to be properly integrated, but when I test it and go through the checkout process I get an error message. I place an item into my shopping cart, click google checkout and see this message: Oops! Asgard Electronics has sent Google a shopping cart with errors in it. We'll contact them to ask that they fix this problem. As this could be a temporary issue, you can go back in your browser to try checking out again.
I am running V1.3.7, with a few add-ons like easy populate, and a customized template. Any suggestions?
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
2004g35
I tried the googlecheckout/shipping_generator , but it only seems to compute 'freeshipper' and 'store pickup' (which both happen to be set to $0.00) . I have USPS and UPS shipping modules enabled, however, the above file does not seem to find them.
Assuming you have the latest 1.3RC2_beta mod installed?
Post the full list of modules you observe in Zen cart admin: config > modules > shipping (just copy and paste the entire list like below):
Code:
Flat Rate flat
Free Shipping Options freeoptions
FREE SHIPPING! freeshipper 2
Per Item item
Per Item International iteminternational 1
Per Item National itemnational 0
Per Unit perweightunit
Store Pickup storepickup
Table Rate table
United Parcel Service ups
United States Postal Service usps
Zone Rates zones
Be sure to include the sort order numerals as above.
And also post the entire output of the shipping generator, that is, the two arrays generated after you click the 'generate' button.
- Woody
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
DarkAzrael
Oops! [/I][/SIZE] Asgard Electronics has sent Google a shopping cart with errors in it. We'll contact them to ask that they fix this problem. As this could be a temporary issue, you can go back in your browser to try checking out again.
I am running V1.3.7, with a few add-ons like easy populate, and a customized template. Any suggestions?
Assuming you have the latest version of 1.3RC2_beta google Checkout mod installed?
Do any errors show up in either your response_error.log file or in your Google checkout account at Google? Settings tab then click on "integration" in left column. Then look at bottom of page under "Integration Issues".
Woody
Re: Google Checkout module for Zen Cart (beta)
Woodymon - sorry for being so dense. I see the list, I am just not understanding where I am supposed to paste it at. http://www.bobkatgifts.net/googleche...ing_generator/ Thanks again for your patience.
Re: Google Checkout module for Zen Cart (beta)
Thanks for the help! I looked at my google account under integration and I see this: "Duplicate shipping name Per Unit found". Any suggestions?