Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Checkout Area Payment Card Area Rate Topic   - - - - -

 
  • mskitti
  • Member
  • Members
  • Join Date: 15-Feb 14
  • 38 posts

Posted 25 February 2018 - 11:23 PM #1

Can someone please tell me how to move the cvv info to just above card holders name? I have attached a pdf to explain more.

 

Thanks for your help,

MsKitti

Attached Files



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11325 posts

Posted 26 February 2018 - 01:24 AM #2

Depends on what template is being used. Edit the template specified in the configure tab of the payment method. They are usually in design/themes/[your theme]/templates/views/orders/components/payments directory.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3356 posts

Posted 26 February 2018 - 05:27 AM #3

Can someone please tell me how to move the cvv info to just above card holders name? I have attached a pdf to explain more.

 

Thanks for your help,

MsKitti

 

Hello!

 

You can see the template name in payment settings: http://joxi.ru/krDqXbwF07qNDm

 

For example, if it is default cc.tpl template, you need to edit the design/themes/YOUR_THEME/templates/views/orders/components/payments/cc.tpl file. There you will find the block that displays CVV field:

<div class="ty-control-group ty-credit-card__cvv-field cvv-field">
    <label for="credit_card_cvv2_{$id_suffix}" class="ty-control-group__title cm-required cm-cc-cvv2  cc-cvv2_{$id_suffix} cm-autocomplete-off">{__("cvv2")}</label>
    <input type="text" id="credit_card_cvv2_{$id_suffix}" name="payment_info[cvv2]" value="" size="4" maxlength="4" class="ty-credit-card__cvv-field-input" />

    <div class="ty-cvv2-about">
        <span class="ty-cvv2-about__title">{__("what_is_cvv2")}</span>
        <div class="ty-cvv2-about__note">

            <div class="ty-cvv2-about__info mb30 clearfix">
                <div class="ty-cvv2-about__image">
                    <img src="{$images_dir}/visa_cvv.png" alt="" />
                </div>
                <div class="ty-cvv2-about__description">
                    <h5 class="ty-cvv2-about__description-title">{__("visa_card_discover")}</h5>
                    <p>{__("credit_card_info")}</p>
                </div>
            </div>
            <div class="ty-cvv2-about__info clearfix">
                <div class="ty-cvv2-about__image">
                    <img src="{$images_dir}/express_cvv.png" alt="" />
                </div>
                <div class="ty-cvv2-about__description">
                    <h5 class="ty-cvv2-about__description-title">{__("american_express")}</h5>
                    <p>{__("american_express_info")}</p>
                </div>
            </div>

        </div>
    </div>
</div>

Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics