Post by talaly » Wed Jul 02, 2008 4:17 am

I trayed to change the checkout button and i did theat but when i click it do not go to the log in page

NEW
" onclick="location=''" src="../image/chechout.png" width="88" height="25" />

The old button is working fine but the new one is not

OLD
" onclick="location=''" />

How can i use my button with the same action

Newbie

Posts

Joined
Fri Jun 20, 2008 9:49 pm

Post by bruce » Wed Jul 02, 2008 9:53 am

Try the following, based on your posted information

Code: Select all

<a href="<?php echo $checkout; ?>" <img src="catalog/template/default/image/chechout.png" width="88" height="25" /></a> 

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by talaly » Wed Jul 02, 2008 3:02 pm

No It didnt work the buttont dosent show now
Ireplaced this code

" onclick="location=''" src="../image/chechout.png" width="88" height="25" name="" />

with

" onclick="location=''" />

is that corect

Newbie

Posts

Joined
Fri Jun 20, 2008 9:49 pm

Post by bruce » Wed Jul 02, 2008 3:22 pm

I tried the exact code that I posted for you and it worked perfectly.

The button will not show for one of several reasons.
  • you are not using the "default" template. Note that the template name "default" is in the image url
  • you have not copied the image file chechout.png to the images directory in your catalog\template\default\image folder
  • you have copied the image but the name does not match the misspelling that I copied from your post.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by talaly » Wed Jul 02, 2008 4:01 pm

when i put this link i can see the image thats mean that the image location is corect



but when i put the hole link it dosent work or the image dosnt show

"

if you want to c the page:
http://www.fishagift.com/cart/index.php

Newbie

Posts

Joined
Fri Jun 20, 2008 9:49 pm

Post by fido-x » Wed Jul 02, 2008 5:41 pm

You've missed a closing angle bracket on the opening anchor tag. The line should read -

Code: Select all

<a href="<?php echo $checkout; ?>"><img src="catalog/template/default/image/chechout.png" width="88" height="25" /></a>
Hope this helps.
Fido-X

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by talaly » Wed Jul 02, 2008 8:11 pm

Yes it did
thank you man

Newbie

Posts

Joined
Fri Jun 20, 2008 9:49 pm
Who is online

Users browsing this forum: No registered users and 2 guests