Post by sanzy » Mon Sep 27, 2010 8:55 pm

Hello , should be a simple enough request. Just wondering where i can locate the file so i can change the colour of "checkout" to white so people do not click it but use google checkout. I am only want to change the colour as i will need it later on when i add paypal.
Image

Thanks
Last edited by i2Paq on Mon Sep 27, 2010 11:31 pm, edited 1 time in total.
Reason: Topic moved

Newbie

Posts

Joined
Mon Jul 26, 2010 5:20 am

Post by WhiteBirch » Tue Sep 28, 2010 2:25 am

In catalog/view/theme/yourtheme/template/checkout/cart.tpl

Go down to near the bottom and you will find

Code: Select all

<td align="right"><a onclick="location = '<?php echo str_replace('&', '&', $checkout); ?>'" class="button"><span><?php echo $button_checkout; ?></span></a></td>
So to add a style making it white you would change to

Code: Select all

<td align="right"><a style="color:#ffffff;" onclick="location = '<?php echo str_replace('&', '&', $checkout); ?>'" class="button"><span><?php echo $button_checkout; ?></span></a></td>
But a better thing to do would be to comment it out if you really don't want people clicking it for now. You can remove the comment tags when you then need it again.

Code: Select all

<td align="right"><!--<a onclick="location = '<?php echo str_replace('&', '&', $checkout); ?>'" class="button"><span><?php echo $button_checkout; ?></span></a>--></td>

WhiteBirch - Premium OpenCart Templates on ThemeForest
Skylight - Our first OpenCart 1.4.9.1 template!
Darkwood - Stylish new OpenCart 1.4.9.1 template!


User avatar
New member

Posts

Joined
Wed Sep 15, 2010 3:06 pm
Location - UK
Who is online

Users browsing this forum: No registered users and 10 guests