Missing Credit card icons on checkout page
-
Hi there,
For some reason the Credit Card icons are missing on my checkout page even if i enabled them on the setting page.
Any help is greatly appreciated.
-
Could you go to Downloads > Tools > System Info and post the info here?
Thank you for your reply Pippin. here it is:
### Begin System Info ###
— Site Info
Site URL: https://www.reussitepersonnelle.com
Home URL: https://www.reussitepersonnelle.com
Multisite: No— User Browser
Platform: Apple
Browser Name: Chrome
Browser Version: 37.0.2062.120
User Agent String: Mozilla/5.0 (Macintosh; Intel Ma
c OS X 10_9_2) AppleWebKit/537.3
6 (KHTML, like Gecko) Chrome/37.
0.2062.120 Safari/537.36— WordPress Configuration
Version: 4.0
Language: fr_FR
Permalink Structure: /%postname%/
Active Theme: Focus Child Theme 2.0.1
Show On Front: posts
Remote Post: wp_remote_post() works
Table Prefix: Length: 3 Status: Acceptable
WP_DEBUG: Disabled
Memory Limit: 40M
Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, refunded, failed, revoked, abandoned, active, inactive, preapproval, cancelled— EDD Configuration
Version: 2.1.3
Upgraded From: None
Test Mode: Disabled
Ajax: Enabled
Guest Checkout: Enabled
Symlinks: Disabled
Download Method: Direct
Currency Code: EUR
Currency Position: after
Decimal Separator: .
Thousands Separator: ,— EDD Page Configuration
Checkout: Valid
Checkout Page: https://www.reussitepersonnelle.com/commander/
Success Page: https://www.reussitepersonnelle.com/commander/confirmation-dachat/
Failure Page: https://www.reussitepersonnelle.com/commander/la-transaction-a-echoue/
Downloads Slug: /downloads— EDD Gateway Configuration
Enabled Gateways: PayPal standard, Stripe
Default Gateway: Stripe— EDD Tax Configuration
Taxes: Disabled
Tax Rate: 0
Display On Checkout: Not Displayed
Prices Include Tax: No— WordPress Active Plugins
Akismet: 3.0.2
Better Delete Revision: 1.5
Broken Link Checker: 1.9.4.2
Comment Redirect by Yoast: 1.1.1
Easy Digital Downloads: 2.1.3
Easy Digital Downloads – Dropbox File Store: 1.2.1
Easy Digital Downloads – Stripe Payment Gateway: 1.8.9
Google Analytics by Yoast: 5.0.6
Gravity Forms: 1.8.16
NIX Gravatar Cache: 0.0.6
Revive Old Post (Former Tweet Old Post): 6.8.3
W3 Total Cache: 0.9.4
WordPress SEO: 1.6.1
WP Smush.it: 1.6.5.4
Yet Another Related Posts Plugin: 4.2.2— WordPress Inactive Plugins
Extended Notifications: 0.1
— Webserver Configuration
PHP Version: 5.3.28
MySQL Version: 5.5.37
Webserver Info: Apache— PHP Configuration
Safe Mode: Disabled
Memory Limit: 256M
Upload Max Size: 2M
Post Max Size: 8M
Upload Max Filesize: 2M
Time Limit: 30
Max Input Vars: 1000
Display Errors: On (1)— PHP Extensions
cURL: Supported
fsockopen: Supported
SOAP Client: Installed
Suhosin: Not Installed— Session Configuration
EDD Use Sessions: Enabled
Session: Enabled
Session Name: PHPSESSID
Cookie Path: /
Save Path: /tmp
Use Cookies: On
Use Only Cookies: On### End System Info ###
If you clear your cache from within W3 Total Cache, do they then appear?
No they don’t.
Can you try temporarily deactivating all other plugins except for EDD and test again?
Yes, of course! I did, and I started to activate one by one, until I found that when I enable wordpress seo by Yoast, the icons disappear…
So the problem occurs when I enable wordpress seo.
I’ve got the same versions of EDD and WordPress SEO and mine are still appearing fine when SEO is activated.
Can you make sure you only have those 2 plugins active so we’re absolutely sure it’s the SEO plugin causing it? I’ll keep testing.
I disable all other plugins except EDD and WordPress SEO. The icons are still not displayed. But when I disables WordPress SEO the icons appear.
Certainly, WordPress SEO is the responsable !
In reality, this is what is causing the problem … A function that I had put in the theme’s functions.php
function improved_trim_excerpt($text) {
global $post;
if ( ” == $text ) {
$text = get_the_content(”);
$text = apply_filters(‘the_content’, $text);
$text = str_replace(‘\]\]\>’, ‘]]>’, $text);
$text = preg_replace(‘@<script[^>]*?>.*?</script>@si’, ”, $text);
$text = strip_tags($text, ‘<p>‘);
$excerpt_length = 100;
$words = explode(‘ ‘, $text, $excerpt_length + 1);
if (count($words)> $excerpt_length) {
array_pop($words);
// array_push($words, ‘<p>Cliquez Pour lire la suite …</p>’);
$text = implode(‘ ‘, $words);
}
}
return $text;
}
remove_filter(‘get_the_excerpt’, ‘wp_trim_excerpt’);
add_filter(‘get_the_excerpt’, ‘improved_trim_excerpt’);I removed this line of code : $text = apply_filters(‘the_content’, $text);
Now the icons appear without any problem.
Thank you very much for your help.
Glad you found the issue and got it working.
- The topic ‘Missing Credit card icons on checkout page’ is closed to new replies.