Jump to content

Payment Options Arrangement


xxkylexx

Recommended Posts

Currently, the payment options on step 4 of an order are listed out horizontally. I am wanting to edit the template so that each payment gateway is listed downward, vertically for one per each line.

 

The code in the template shows this:


[b]{$LANG.orderpaymentmethod}:[/b] {$gateway}</p>

 

I am unsure how I can add a

to this so that it will do what I want (since it only gives the one variable "{$gateway}" to display all gateways).

 

Any ideas?

 

 

Kyle

Link to comment
Share on other sites

Just so you know, you could even go the really dirty way and just hardcode the html in that part of the template. Its not like you switch gateways that often. All you have to do is view the source of the current html output, then just arrange it how you like. Then paste it in over the $gateway tag. I will still try to look into it later though.

Link to comment
Share on other sites

ewwwwwwww. Matt put markup in the php files!!!

 

Sorry, cant be done with normal templating because Matt hard coded that area of the form instead of doing a section loop.

 

The only ways to do it now is to do a really dirty str_replace on the output or just hardcode the html as i originally suggested. Thats what i would recommend.

 

{gatewaylist} is actually what you want to replace and its in order-stepthree.tpl

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
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated