Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / How rearrange payment options?

How rearrange payment options?

Views: 1,131

Results 1 to 5 of 5
22 Jul 2011, 8:27 PM
#1
appa306 avatar

appa306

New Zenner

Join Date:
Jun 2011
Location:
Tennessee
Posts:
13
Plugin Contributions:
0

How rearrange payment options?

I am using ZC 1.3.9h. I have looked for two days in all the forums I can find, and I cannot find an answer to my question.

Currently on the Payment Information page (step 2 of 3), the discount code option and gift certificate option show before the credit card selection. I would like to have the credit card selection show up first. Since it is not officially a payment method, the sort order on the payment modules has no impact.

Is there an way to accomplish this? If so, I would be very grateful to know what it is.

Thanks.

my site url is www.appalachiastitches.com/zencart/ obviously without the ~.

22 Jul 2011, 8:42 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: How rearrange payment options?

You'd have to rearrange the content in your tpl_checkout_payment_default.php template file.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Jul 2011, 8:55 PM
#3
appa306 avatar

appa306

New Zenner

Join Date:
Jun 2011
Location:
Tennessee
Posts:
13
Plugin Contributions:
0

Re: How rearrange payment options?

DrByte:

You'd have to rearrange the content in your tpl_checkout_payment_default.php template file.

Thank you for your quick response. However, I am not a PhP expert, by any means. I have looked in the tpl_checkout_payment_default.php file, and I cannot see any reference to the discount or gift certificate options. Therefore, I am not sure what should be moved to accomplish the goal.

Can you give any more specific guidance?

Thanks, in advance.

22 Jul 2011, 9:12 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: How rearrange payment options?

I'm guessing that moving lines 68-94 to show between lines 199 and 200 would be a starting point.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Jul 2011, 9:39 PM
#5
appa306 avatar

appa306

New Zenner

Join Date:
Jun 2011
Location:
Tennessee
Posts:
13
Plugin Contributions:
0

Re: How rearrange payment options?

DrByte:

You'd have to rearrange the content in your tpl_checkout_payment_default.php template file.

DrByte:

I'm guessing that moving lines 68-94 to show between lines 199 and 200 would be a starting point.

That worked! Thank you so very much!