| User | Post |
|
1:46 pm March 19, 2010
| Market Admin
| | |
| Admin
| posts 4756 | |
|
|
Great help… Thanks for sharing.
|
|
|
4:07 pm March 31, 2010
| Risa
| | |
| Member | posts 20 | |
|
|
SP inc,
I see the place where you enter the General Store information, but it is on the Google Settings page.
Do I enter the page id? I don't have a page called "store". I have 2 catagories: "Ceramics" and "Lacquer".
Thanks!
-Risa
|
|
|
3:33 pm April 1, 2010
| Market Admin
| | |
| Admin
| posts 4756 | |
|
|
Risa, you might send him a Private Message, as he may not be still browsing this thread.
I think when he said "store" he meant his website. (Although he may have had it setup in a subfolder named "store".)
Just make sure your Google setting shows the exact URL of your store. (ie. http://kaisekikitchen.com/)
|
|
|
8:43 pm June 22, 2011
| Market Admin
| | |
| Admin
| posts 4756 | |
|
|
Post edited 5:44 pm – December 29, 2011 by Market Admin
UPDATE FOR VERSIONS 4.2 AND UP
=======================
This modification has changed from the previous format.
Here is the current method for adding Google Checkout" to your shopping cart option.
Open the file "ajCart/cart.php" for editing.
On or around line #19 change the line:
//$ACTION_URL = "https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/YOURMERCHANTIDHERE";
//Google Checkout (change merch ID) to this:
$ACTION_URL = "https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/YOURMERCHANTIDHERE";
//Google Checkout (change merch ID) (making sure to also replace "YOURMERCHANTIDHERE" with your actual Google merchant ID number.
Save the file.
Next, open the file "ajCart/cart_bottom.php" for editing.
1. On or around line #30 change this line:
if (($_SESSION["mkt_pk_paypal"] != null) OR ($_SESSION["mkt_pk_authorize_net"] != null) OR
($_SESSION["mkt_pk_offline_payment"] != null)){ to this:
//if (($_SESSION["mkt_pk_paypal"] != null) OR ($_SESSION["mkt_pk_authorize_net"] != null) OR
($_SESSION["mkt_pk_offline_payment"] != null)){
if (1==1) { 2. Next, locate on or around line #56 this line:
if (($_SESSION["mkt_pk_paypal"] == '1') AND ($_SESSION["mkt_paypal_id"] != '')){ 3. Immediately BEFORE this line, enter the following new code:
$content .='
<tr align="left" valign="middle">
<td width="33%"><img src="'.$_SESSION["TEMPLATEURL"].'/pg/google-checkout-logo.gif" /></td>
<td width="33%">Pay securely with Google Checkout</td>
<td width="33%"><input type="submit" value="'.mkt_SHOPCART_PK_CHECKOUT_BUTTON.'" style="font-weight: bold;"
onClick="document.forms.cart.name=\'cart\';document.forms.cart.action=\''.$ACTION_URL.'\';document.forms.cart.method=\'post\';
tb_remove();document.forms.cart.submit();" /></td>
</tr>
'; 4. Save the file.
That's it.
This ability will actually be included in upcoming versions of Market, so that it can be easily added through the Market Theme settings area.
|
|
|
2:54 am August 10, 2011
| StitchTek Services, LLC
| | New Hampshire | |
| Member | posts 141 |  
|
|
|
WHen you add this to the later versions will it allow all the options including google, authorize, paypal , and offline? I think I will wait until it is in a UI version I broke too many things trying to make this work and we want to offer BOTH google and paypal options to buyers.
|
|
|
|
|
7:05 pm August 10, 2011
| Market Admin
| | |
| Admin
| posts 4756 | |
|
|
Yes it will be integrated.
|
|
|
3:25 pm September 9, 2011
| StitchTek Services, LLC
| | New Hampshire | |
| Member | posts 141 |  
|
|
|
Perfect. I will wait for the integrtion so I can offer both. For Now PayPal will do but I want to offer the other option so integration is key to offer both. Thanks.
|
|
|
|
|
1:16 am January 28, 2012
| laurie390
| | |
| Member | posts 149 | |
|
|
Will the above method give the ability to offer paypal and google checkout?
|
|
|
8:56 pm January 30, 2012
| Market Admin
| | |
| Admin
| posts 4756 | |
|
|
Yes, it will display both.
|
|
|
5:32 pm February 2, 2012
| Banksy T-shirts!
| | London | |
| Member | posts 84 |  
|
|
|
I'm trying to install Google Checkout to work along side Paypal checkout (so I can offer both).
I've had this working on mkt4.1.
I've tried the installation instructions listed here as the cart has changed from before (i gather to include the coupon code mod) but it hasn't worked.
I get this error message:
Parse error: syntax error, unexpected T_IF in /home/content/84/5608184/html/boogaloodee/wp-content/themes/mk4/ajCart/cart.php on line 235
I can't really upgrade until this is working as 30% of my customers now use Google checkout.
Any ideas I can try?
|
|
|
7:23 pm February 2, 2012
| Market Admin
| | |
| Admin
| posts 4756 | |
|
|
In the line immediately before that one — there's a semicolon missing at the very end of the line.
Line #233 says this:
$new_value = mkt_calc_coupon($coupon,$ItemSubTotal) But should say this:
$new_value = mkt_calc_coupon($coupon,$ItemSubTotal); This error was changed already, and version 4.32 was put into the download center. (You must have 4.31)
That 1 character was the only difference in the two versions.
|
|
|
8:23 pm February 2, 2012
| Banksy T-shirts!
| | London | |
| Member | posts 84 |  
|
|
|
I knew I'd seen that error code before. Thanks.
Still can't get it to work though,
I get this message now when clicking on view cart (tried to work it out using firebug, not happening yet):
Parse error: syntax error, unexpected '}' in /home/content/84/5608184/html/boogaloodee/wp-content/themes/mk4/ajCart/cart_bottom.php on line 126
Is it possible you can send me the modified cart.php and cart_bottom.php files that will work using this mod, then I could just overwrite them?
I'm aware this is way beyond the support that is normally given for a product of this price, but i'm very grateful! Tell me to get lost if neccessary!
|
|
|
12:37 am February 7, 2012
| Market Admin
| | |
| Admin
| posts 4756 | |
|
|
If you post the contents of your modified "cart_bottom.php" code, I can tell you where the error is.
Maybe something as simple as a missing semi-colon at the end of a previous line.
|
|