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

There is a conversation here about it:
https://forums.cubecart.com/topic/49334-resolved-v6-single-gateway-payment-method-shows/

One solution is to rephrase the heading text from "Choose Payment Method" to "You will be paying by:", and in the payment module, change the Description field to a list of card names you will take.

 

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

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.


×
×
  • Create New...