Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Credit Card Logos


glomedequip

Recommended Posts

How do I add the logos of the credit cards I accept for payment and where should I add these?

 

you can either modify the module to add to selection the cc logos or you can modify your design and integrate cc logos to your design.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

How do I add the logos of the credit cards I accept for payment and where should I add these?

 

I added the logo to the check out payment page: 'http://www.myshop.com/checkout_payment.php'

 

I did that by modifying this file:

 

/includes/languages/english/checkout_payment.php

 

the appropriate define this way :

 

define('TEXT_SELECT_PAYMENT_METHOD', '<p> </p>
<!-- PayPal Logo -->
<p>
<table style="TEXT-ALIGN: left" border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td align="center">
Please select the preferred payment method to use on this order.<br>Personal checks are not accepted.
</td></tr>
<tr><td align="center">To pay by check or debit card at the PayPal site, chose the PAY BY CREDIT CARD option located on the PayPal page.</td></tr>
<tr><td align="center"><a><img src="/images/PayPalLogo.jpg" border="0"/></a></td></tr>
</tbody>
</table>
</p>
<p><!-- PayPal Logo --></p>

 

with PayPalLogo.jpg being stored in the /images/ folder.

 

Which reminds me, I need to put that logo on my index page...thanks for the reminder. :)

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Link to comment
Share on other sites

Thank you for the reply! Please excuse my ignorance but would you please give me a few detailed steps. I'm new to using oscommerce & what I know so far has been self taught. Thank you for your patience!

 

Pretty much self taught here, with a lot of help from the expert professionals here on osC. You'll need a fundamental understanding of where the php files reside and how to correctly modify them. Incorrectly modify them and you'll likely break the store somehow. So be careful and backup your files, always.

 

Locate this file: /includes/languages/english/checkout_payment.php

 

That's the one I modified.

 

I FTPed it from my site to my locale computer, made a backup, then modified it, then uploaded it back to my store.

 

What I modified was this part:

 

define('TEXT_SELECT_PAYMENT_METHOD'

 

Find that line, and compare what I have:

 

define('TEXT_SELECT_PAYMENT_METHOD', '<p> </p>
<!-- PayPal Logo -->
<p>
<table style="TEXT-ALIGN: left" border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td align="center">
Please select the preferred payment method to use on this order.<br>Personal checks are not accepted.
</td></tr>
<tr><td align="center">To pay by check or debit card at the PayPal site, chose the PAY BY CREDIT CARD option located on the PayPal page.</td></tr>
<tr><td align="center"><a><img src="/images/PayPalLogo.jpg" border="0"/></a></td></tr>
</tbody>
</table>
</p>
<p><!-- PayPal Logo --></p>
<p> </p>');

 

vs what you have.

 

Assuming you have uploaded your CC image to the /images folder, you now need to do some basic html work to get the site to say what you want, and show the image you want.

 

But you have to follow the php syntax exactly, parenthesis, periods, semicolons all have a purpose. It's very exacting.

 

I understand the being new part. I still am. What I had to do what buckle down, get a good fundamental idea of the osC file structure is laid out, how to correctly modify the files and how to do some basic html. Take time to learn/study, it will definitely pay off. I have a long way to go, still learning. I spent several hours today researching how to do a nice java type image popup for my sites. I finally have it now...I think I do. So now my images will be looking a lot better when popped up.

 

There are threads here on osC that will help with understanding osC. Here's one.

 

Also, use this query in google to look stuff up:

site:http://www.oscommerce.com/forums "whatever you want to find"

 

Good luck

Edited by altoid

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...