Jump to content
webspinning

Simplified checkout

Recommended Posts

I am gradually removing unnecessary fields and details from the checkout process, one I cannot find is how to remove this bit - with only one payment gateway added I dont need this displayed in fron of the checkout button.  Unfortunately I cannot find it to remove, anyone know where this can be found please?

image.thumb.png.903464a00ea867088499cf86c8926c0a.png

Share this post


Link to post
Share on other sites

Hide the option with a default value, dont remove it. Css class "hide", or input type = hidden

Edited by Noodleman

Share this post


Link to post
Share on other sites

Thanks all.

Found the bit I needed in content.checlout.php and commented it out:

{*   {if $INCLUDE_CHECKOUT && !$DISABLE_GATEWAYS}
   <div id="payment_method">
      <h3>{$LANG.gateway.select}</h3>
      <hr> 
      <div class="row">
         <div class="small-12 columns">
            <ul class="no-bullet center" id="gateway_error">
               {foreach from=$GATEWAYS item=gateway}
               <li>
                  <input name="gateway" type="radio" value="{$gateway.folder}" id="{$gateway.folder}" required {$gateway.checked} rel="gateway_error"><label for="{$gateway.folder}">{$gateway.description}</label>
                  {if !empty($gateway.help)}
                  <a href="{$gateway.help}" class="info" title="{$LANG.common.information}"><i class="fa fa-info-circle"></i></a>
                  {/if}
               </li>
               {/foreach}
            </ul>
            <div class="hide" id="validate_gateway_required">{$LANG.gateway.choose_payment}</div>
         </div>
      </div>
   </div>  
   {/if}  *}

My preference is always to remove clutter from the checkout process, much simplified now but I am sure I can do better still, on selecting the secure checkout button you are taken to a page with the payment options supported by your chosen gateway so I don't think we need the option on the page.  It might confuse a few people and then you miss a sale.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×