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 > Dev Questions (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-Wizard
  
Join Date: Jul 2008
Location: Manchester UK
Posts: 1,028
 

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
__________________
Dev Store & Live Store XC Business 5.4.1.35
Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian
Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (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 01:24 PM.

   

 
X-Cart forums © 2001-2020