Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 06-08-2010 19:38:53

daviat
Member
Registered: 11-18-2004
Posts: 1096

How do I edit the field Payment Method Selection ?

Hi . . .

How do I edit the  Payment Method Selection ?

There is a big redundancy there . . .

Payment Method Selection
Payment Method Selection*
Select your method of payment.
Purchase using your credit card

I want to remove some of that text below the title header.

thanks,
Daniel

Offline

 

#2 06-08-2010 20:08:55

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: How do I edit the field Payment Method Selection ?

In your private_dir/core/CORE/includes is  where you will find the form field type includes, you can also find them in the includes area at System Dashboard > System > Displays > Display Includes. There I have commented out the following lines

Code:

<legend class="strong"><label for="<?php print $id . '--1'; ?>"><?php print $name; if ($required) {print '*';} ?></label></legend>

<!-- <p class="<?php print $legstyle; ?>"><?php print $name; if ($required) {print '*';} ?></p> -->

<?php if ($description) {print $description;} ?>

which removes these second printings of the field name, you have to do this to all the field types you want it removed.

John

Offline

 

#3 06-09-2010 20:31:53

susan2go
Member
Registered: 04-19-2010
Posts: 81

Re: How do I edit the field Payment Method Selection ?

I would like to change the order of payment type choices to the inverse of how it defaults in printing out the options.  Any ideas?

Offline

 

#4 06-09-2010 21:49:17

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: How do I edit the field Payment Method Selection ?

Your payment choices have a field in them that control there placement on the page, you just have to edit the gateways and set them in the order you like.

John

Offline

 

#5 06-10-2010 11:08:56

susan2go
Member
Registered: 04-19-2010
Posts: 81

Re: How do I edit the field Payment Method Selection ?

Thanks, John!

Offline

 

#6 06-10-2010 17:58:06

daviat
Member
Registered: 11-18-2004
Posts: 1096

Re: How do I edit the field Payment Method Selection ?

I looked and I do not see which form field type include I need to alter to change the Payment Option include. Can you give me a hint? I need to edit the "Payment Method Selection" I want to edit the text that site there.

Last edited by daviat (06-10-2010 18:14:58)

Offline

 

#7 06-11-2010 02:07:16

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: How do I edit the field Payment Method Selection ?

daviat,

If we are  talking about the first post in this thread then you need to edit the Formfield: Radio Button include as payment selection is done with radio buttons, but all the field types have the same code in them.

John

Offline

 

#8 06-11-2010 14:16:01

daviat
Member
Registered: 11-18-2004
Posts: 1096

Re: How do I edit the field Payment Method Selection ?

Nick said he would take care of that. smile

Offline

 

#9 06-11-2010 14:17:28

susan2go
Member
Registered: 04-19-2010
Posts: 81

Re: How do I edit the field Payment Method Selection ?

daviat wrote:

I looked and I do not see which form field type include I need to alter to change the Payment Option include. Can you give me a hint? I need to edit the "Payment Method Selection" I want to edit the text that site there.

I don't know how anyone can get along without Windows Grep.  I can easily find all instances of anything in the cart code.  It's free at

http://www.wingrep.com/download.htm

You could also use the Unix grep on the server. 

I grepped "payment" in both the public and private directories and found about 30 instances.  The code that controls the payment form display is in [private-directory]/apps/ecom/ECOM/includes/olpform.php

Offline

 

#10 01-28-2011 16:39:40

jensme
Member
Registered: 04-29-2010
Posts: 392

Re: How do I edit the field Payment Method Selection ?

Why don't I see a Payment Option include?  Will someone please tell me exactly what it's called?  Thank you!

Offline

 

#11 01-28-2011 17:48:30

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: How do I edit the field Payment Method Selection ?

jensme,

What are you wanting to do? There is no include as they are fields so the whole payment section is built by the checkout script.

John

Offline

 

#12 01-28-2011 17:56:25

jensme
Member
Registered: 04-29-2010
Posts: 392

Re: How do I edit the field Payment Method Selection ?

Yeah, I saw that.  I want to use payment images and lay that section out horizontally.

Offline

 

#13 01-28-2011 18:02:46

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: How do I edit the field Payment Method Selection ?

Not going to be easy, you may want to contact kryptronic.

John

Offline

 

#14 02-17-2011 14:06:45

jensme
Member
Registered: 04-29-2010
Posts: 392

Re: How do I edit the field Payment Method Selection ?

Bag that, then.  But how do I edit the text in CC7?  I can't find it in the database or in the includes.

Payment Method Selection
Payment Method Selection*
Select your method of payment.
Purchase using your credit card

Offline

 

#15 02-17-2011 16:43:40

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: How do I edit the field Payment Method Selection ?

You will need to edit the include "Formfield: Radio Button" (you may want to edit the other includes form field types as well), look for this line

Code:

<p class="<?php print $legstyle; ?>"><?php print $name; if ($required) {print '*';} ?></p>

John

Offline

 

#16 02-17-2011 16:45:59

jensme
Member
Registered: 04-29-2010
Posts: 392

Re: How do I edit the field Payment Method Selection ?

Thanks!  Hm.  What about its heading?  I need to add some space above it.

Offline

 

#17 02-17-2011 18:00:43

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: How do I edit the field Payment Method Selection ?

The header is placed by this code line (same location as the first)

Code:

<legend class="strong"><label for="<?php print $id . '--1'; ?>"><?php print $name; if ($required) {print '*';} ?></label></legend>

You could get as much space befor or after that you want, just use standard xhtml coding to get what you want.

John

Offline

 

#18 02-18-2011 10:27:44

jensme
Member
Registered: 04-29-2010
Posts: 392

Re: How do I edit the field Payment Method Selection ?

Perfect.  What about the master header over it all?  (It says Payment Method Selection twice...)

Offline

 

Board footer