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.
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
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
<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
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
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
Thanks, John!
Offline
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
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
Nick said he would take care of that.
Offline
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
Why don't I see a Payment Option include? Will someone please tell me exactly what it's called? Thank you!
Offline
Yeah, I saw that. I want to use payment images and lay that section out horizontally.
Offline
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
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
<p class="<?php print $legstyle; ?>"><?php print $name; if ($required) {print '*';} ?></p>
John
Offline
Thanks! Hm. What about its heading? I need to add some space above it.
Offline
The header is placed by this code line (same location as the first)
<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
Perfect. What about the master header over it all? (It says Payment Method Selection twice...)
Offline