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
  #1  
Old 07-18-2017, 05:54 AM
 
mgwashburn mgwashburn is offline
 

Advanced Member
  
Join Date: Sep 2013
Posts: 82
 

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

the title says it all,

with the 5.3.3.1 upgrade there is now a list of credit card icons that shows on the top of the checkout page.

the only problem is that now we are getting repeated phone calls and chat requests that wonder why 'nothing happens when I click on the 'visa' icon. I am trying to checkout with credit card type ##### and when I click on the icon nothing happens.

please help, we need to remove that image file pronto to stop all the crazy calls and chat requests...

is there a switch to remove it in the admin menu?

thanks in advance,

Marc
__________________
Marc Washburn
www.EverythingGraphic.com
Running four successful X-cart 5.3.x installations and one 5.4.x
Reply With Quote
  #2  
Old 07-18-2017, 06:03 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

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

Nope. You will need custom module to remove this.
You can quickly hide it with custom css block in admin but this will only hide it from the page not take it out from the html code.
It is a quick dirty solution though.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 07-18-2017, 06:23 AM
 
mgwashburn mgwashburn is offline
 

Advanced Member
  
Join Date: Sep 2013
Posts: 82
 

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

why would they do this?

Ebay? We don't sell on Ebay...and if you do NOT accept the American Express and display their logo, you could get a nasty letter from their legal department...

that graphic is a huge legal liabilty! Why would it become a standard thing?
__________________
Marc Washburn
www.EverythingGraphic.com
Running four successful X-cart 5.3.x installations and one 5.4.x
Reply With Quote
  #4  
Old 07-18-2017, 06:32 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

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

Because XC is build by engineers and they don't rely much on merchants expertise at time of coding. Only when It becomes a problem later on with real world use.

FYI
https://forum.x-cart.com/showthread.php?t=75498
https://forum.x-cart.com/showthread.php?t=75479
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
Triple A Racing (07-19-2017)
  #5  
Old 07-18-2017, 06:45 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

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

Here are your choices
1. Use CSS
.header-checkout_logos {display: none !important}

2. Upload new image to - keep the name the same
/skins/customer/images/checkout_logos.png

3. In your custom module in Main.php add
PHP Code:
/**
     * Move templates in lists
     *
     * @return array
     */
    
protected static function moveTemplatesInLists()
    {
        
$templates = [
            
'layout/header/header.bar.checkout.logos.twig' => [
                static::
TO_DELETE => [
                    [
'layout.header', \XLite\Model\ViewList::INTERFACE_CUSTOMER],
                ],
            ],
        ];
        return 
$templates;
    } 

Hope that helps.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #6  
Old 07-18-2017, 07:44 PM
 
mgwashburn mgwashburn is offline
 

Advanced Member
  
Join Date: Sep 2013
Posts: 82
 

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

Awesome Steve,

thank you.
__________________
Marc Washburn
www.EverythingGraphic.com
Running four successful X-cart 5.3.x installations and one 5.4.x
Reply With Quote
  #7  
Old 07-19-2017, 06:46 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?

The specific offending code is in this file that was added in XC 5.3.3.1: /skins/customer/layout/header/header.bar.checkout.logos.twig
__________________
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
  #8  
Old 07-20-2017, 02:43 AM
 
kevinrm kevinrm is offline
 

X-Wizard
  
Join Date: Aug 2003
Posts: 1,003
 

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

Yes, I had to actually put in a ticket for that and the tech coded it out with CSS.
__________________
X-Cart 5.4.1.39 Live
PHP 7.4.33
5.5.5-10.3.38-MariaDB MariaDB
Apache 2.4
CENTOS 7.8 64Bit Single Quad-Core E3-1241v3 3.4Ghz 8M 1600 w/ HT
32GB RAM 2x 512GB Samsung 850 Pro SSD RAID 1
Reply With Quote
  #9  
Old 07-20-2017, 05:40 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

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

Quote:
Originally Posted by kevinrm
Yes, I had to actually put in a ticket for that and the tech coded it out with CSS.
This is not a good solution. It works but should be used as a temporary solution only.
Hiding it with css only makes it invisible to the end user. It is still in the html code.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #10  
Old 07-20-2017, 12:16 PM
  CenturyPerf's Avatar 
CenturyPerf CenturyPerf is offline
 

eXpert
  
Join Date: Jun 2003
Location: Reno, Nevada
Posts: 396
 

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

At first I was not sure what this thread was talking about --- until today.

Seriously, who the f*** decided to add this to the store. I don't use all of these methods. Is it a goal of XCart to confuse customers, versus accuracy? is someone intentionally trying to make it more difficult for all of us?

ISSUE A PATCH !!!!
Attached Thumbnails
Click image for larger version

Name:	checkout_new_customer.jpg
Views:	171
Size:	81.7 KB
ID:	4965  
__________________
Best Regards,

Sam Solace - Pres/CEO
Century Performance Center, Inc.
http://www.centuryperformance.com

(3) sites using X-Cart 5.3.5.5
X-Payments Enterprise 3.1.4
Reply With Quote

The following user thanks CenturyPerf for this useful post:
cherie (07-24-2017)
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:38 AM.

   

 
X-Cart forums © 2001-2020