Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

5.3.3.x how to removethe credit card icons on checkout page?
 
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)
 
Thread Tools Search this Thread
  #11  
Old 08-03-2017, 11:07 PM
 
Triple A Racing Triple A Racing is offline
 

X-Adept
  
Join Date: Jul 2008
Location: Manchester UK
Posts: 785
 

Default Re: 5.3.3.x how to removethe credit card icons on checkout page?

FWIW We fixed this within our own custom module. Since then XC 5.3.3.2 has been released at Merchant Level, so the official "fix" for this, is one of the many things that we're busy checking against our own custom module(s) setup, to see if/what changes we need to make to run this release live.

The Official 5.3.3.1 release used this setup:
Code:
{% if this.isCheckoutLayout() %} <div class="header-checkout_logos"> <img src="{{ asset('images/checkout_logos.png') }}" title="Safe & Secure checkout"> </div> {% endif %}
The Official 5.3.3.2 release uses this update:
Code:
{% if this.isCheckoutLayout() %} {#<div class="header-checkout_logos">#} {#<img src="{{ asset('images/checkout_logos.png') }}" title="Safe & Secure checkout">#} {#</div>#} {% endif %}
The power of commenting out

XC 5.3.3.2 is a release that's made at bug fix / improvement level and yes, the fix method above does comply with that requirement / intention.

Finger's crossed, XC 5.4.*.* will include removing ALL unused code (not just this example) and will be a real, 100% verified, compacted & very tidy, well thought out, well tested, true BUSINESS release of XC 5 including things that maybe posted in here: https://forum.x-cart.com/showthread.php?t=75539
__________________
Live Store & Dev Store / XC Business 5.4.0.6 / PHP 7.3.12
Ubuntu 18.04.3 LTS (HWE 5.0.0-37.40 Kernel) / Plesk Obsidian
Nginx 1.16.1 / Apache 2.4.29 (Ubuntu Backported) / MariaDB 10.3.20
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:35 AM.

   

 
X-Cart forums © 2001-2018