Guest Posted August 10, 2008 Posted August 10, 2008 Hello Everyone, Before posting this I have scroured the forum looking for answers. I am running OSCv2.2 RC2 and I am looking for a Googlecheckout contribution. In mrchains contribution from 31st JAN 2008 it asks you to change the following code:- ---------------------------------------------------------------------------- 6. /catalog/shopping_cart.php LINE 197 ============================================================================ REPLACE: <td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php } else { ?> But I don't have this code I have:- <td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php $initialize_checkout_methods = $payment_modules->checkout_initialization_method(); if (!empty($initialize_checkout_methods)) { ?> Can somebody please point me in the right direction. Many Thanks Darren Quote
Guest Posted August 11, 2008 Posted August 11, 2008 Hi all, Really simple one this. I've just downloaded the google cart contrib and want to install it, however in the install guide it tells me to copy files to the OSC directory and the OSC/Catalogue directory, which I don't have. My file structure is simply public_html/osshop/ and from here you can go into admin, download, ext, images, includes or pub so I don't understand where to put the first sets of files. Any help would be appreciated. Thanks Jon Quote
Eighteen48 Posted August 17, 2008 Posted August 17, 2008 Hi all,Really simple one this. I've just downloaded the google cart contrib and want to install it, however in the install guide it tells me to copy files to the OSC directory and the OSC/Catalogue directory, which I don't have. My file structure is simply public_html/osshop/ and from here you can go into admin, download, ext, images, includes or pub so I don't understand where to put the first sets of files. Any help would be appreciated. Thanks Jon Basically you are just coping the files to whatever directory you have your shop in. Quote Powered By osC 2.2RC2a STS 4.5.8 - HTC 2.6.3 - FP 1.5.9 - BCH 1.0.0
Eighteen48 Posted August 17, 2008 Posted August 17, 2008 I had the same problem and was able to get help figuring this out. try this out just replace the code with this <td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php // ** GOOGLE CHECKOUT ** // Checks if the Google Checkout payment module has been enabled and if so // includes gcheckout.php to add the Checkout button to the page if (defined('MODULE_PAYMENT_GOOGLECHECKOUT_STATUS') && MODULE_PAYMENT_GOOGLECHECKOUT_STATUS == 'True') { ?> <tr> <td> <?php include_once('googlecheckout/gcheckout.php'); ?> </td> </tr> <?php } // ** END GOOGLE CHECKOUT ** $initialize_checkout_methods = $payment_modules->checkout_initialization_method(); if (!empty($initialize_checkout_methods)) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td align="right" class="main" style="padding-right: 50px;"><?php echo TEXT_ALTERNATIVE_CHECKOUT_METHODS; ?></td> </tr> <?php reset($initialize_checkout_methods); while (list(, $value) = each($initialize_checkout_methods)) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td align="right" class="main"><?php echo $value; ?></td> </tr> <?php } } } else { ?> Quote Powered By osC 2.2RC2a STS 4.5.8 - HTC 2.6.3 - FP 1.5.9 - BCH 1.0.0
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.