VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Development Projects, Modifications, Hacks & Tweaks. VM1.1 => Shipping Modules => Topic started by: solidtech on September 05, 2007, 21:27:48 PM

Title: Editing Cart Page for google checkout
Post by: solidtech on September 05, 2007, 21:27:48 PM
Hello,

I have installed the google checkout module version 1. The only option i want for the customer is to use google. if they hit the checkout button then it doesnt work (i know there is a verison 2 which fixes this).

The question i have is how can i remove the checkout button and just have the google checkout button in its place. also around the google button i have text saying:
[Information about
Google Checkout]

[Information about PayPal
Express Checkout]

how can these be removed?

Many Thanks
James
Title: Re: Editing Cart Page for google checkout
Post by: psunite on September 08, 2007, 05:27:33 AM
To remove the checkout button you can remove the below code from shop.cart.php

    <span class="componentheading"><a href="<?php $sess->purl$mm_action_url "index.php?page=checkout.index&ssl_redirect=1"); ?>">
      <img src="<?php echo IMAGEURL ?>ps_image/forward.png" align="absmiddle" width="22" height="22" alt="Forward" border="0" />
      <?php echo $VM_LANG->_PHPSHOP_CHECKOUT_TITLE ?>
      </a>
    </span>


What is the domain for your site so I can see examples of the text saying
[Information about
Google Checkout]

[Information about PayPal
Express Checkout]
Title: Re: Editing Cart Page for google checkout
Post by: solidtech on September 08, 2007, 08:26:23 AM
hi,

i mananged to find it now thanks.

it was in the shop_ex.php

thanks
James
Title: Re: Editing Cart Page for google checkout
Post by: nish on September 11, 2008, 23:12:02 PM
I am looking for this as well, could u please tell me the folder where shop_ex.php file is located, I am unable to find it?

Thanks
Nish