-
AuthorPosts
-
October 24, 2017 at 10:58 am #868078
Hi My child theme have all of a sudden lost its woocommerce checkout button. If I reset all options it comes back again, but I cant see what should be doing the damage, Please help
CSS:
/*
Theme Name: Turbostarter
Theme URI: http://turbostarter.dk/wp-content/themes/enfold/
Description: Turbostarter – Bertel Bolt Kommunikation
Author: Bertel Bolt-Jørgensen
Author URI: http://bertelbolt.dk
Template: enfold
Version: 1.0.0
*/h1, h2, h3, h4, h5, h6{ font-family: ‘HelveticaNeue’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif;!important;
}h1, h2, h3, h4, h5, h6{ font-weight: normal!important; }
@media only screen and (max-width: 480px) {
h3 { font-size: 15px!important; }}.av-main-nav > li > a { font-weight: 400 !important; }
.main_color .avia-content-slider .slide-image { background: transparent; }
.woocommerce-cart .wc-proceed-to-checkout {
display: block!important;
}PHP
<?php
/*
* Enfold Child theme functions file
*/add_filter( ‘woocommerce_currencies’, ‘add_my_currency’ );
function add_my_currency( $currencies ) {
$currencies[‘DKK’] = __( ‘Currency name’, ‘woocommerce’ );
return $currencies;
}add_filter(‘woocommerce_currency_symbol’, ‘add_my_currency_symbol’, 10, 2);
function add_my_currency_symbol( $currency_symbol, $currency ) {
switch( $currency ) {
case ‘DKK’: $currency_symbol = ‘DKK ‘; break;
}
return $currency_symbol;
}add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘PT Sans Narrow’] = ‘PT Sans Narrow:400,700’;
$fonts[‘Questrial’] = ‘Questrial:400,700,400italic,700italic’;
return $fonts;
}add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{$fonts[‘PT Sans’] = ‘PT Sans:400,700,400italic,700italic’;
$fonts[‘Questrial’] = ‘Questrial:400,700’;
return $fonts;
}//set builder mode to debug
add_action(‘avia_builder_mode’, “builder_set_debug”);
function builder_set_debug()
{
return “debug”;
}remove_action(‘wp_head’, ‘rel_canonical’);
add_filter( ‘wpseo_canonical’, ‘__return_false’ );add_filter(“gform_address_display_format”,
“address_format”);function address_format($format){
return “zip_before_city”;}
/*———————————————————————————–*/
/* End Theme Load Functions – You can add custom functions below */
/*———————————————————————————–*/October 24, 2017 at 11:20 am #868095Hey bertel,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaOctober 24, 2017 at 12:25 pm #868145Here you go
October 24, 2017 at 4:23 pm #868258If it is any help the error happens when I define a frontpage and blogpage. If I don’t assign any frontpage everything is fine.
- This reply was modified 7 years ago by bertel.
October 25, 2017 at 7:11 am #868565Hi,
I’m not sure which one of your functions could be causing that, did you try to remove them one by one to see which one is the problem?
Best regards,
RikardOctober 25, 2017 at 12:28 pm #868684Hi I have tried
Disabling all plugins – No effect – Button not working
Tried using default theme – Button is back
Tried using Enfold standard – Button is back
Tried using Enfold using imports from child theme – Button not working
Tried deleting all settings from child theme – Button not workingSeem like all of a sudden using an enfold child theme has “killed” woocommerce.
October 25, 2017 at 1:57 pm #868722Hi,
Can you give us ftp access? so we can check further. And also permission to switch themes as it might be needed to test what you have described.
Best regards,
NikkoOctober 25, 2017 at 2:11 pm #868729Sure just switch themes if you need. I backed the site up 5 minutes ago.
October 28, 2017 at 12:40 pm #869866Hi,
The checkout button is there but it is disabled. Is it ok if we deactivate the plugins while working on the site?
Best regards,
IsmaelOctober 28, 2017 at 2:18 pm #869899Yes of course
- This reply was modified 7 years ago by bertel.
October 30, 2017 at 6:26 am #870336Hi,
I thought that the “update” button is the “checkout” button. The checkout button is actually displaying properly. It is located at the very bottom of the checkout page content.
Screenshot: https://imgur.com/a/y8lQ6
Best regards,
IsmaelOctober 30, 2017 at 6:40 am #870348But the payment button next is gone :-)
http://turbostarter.dk/wp-content/uploads/2017/10/Sk%C3%A6rmbillede-2017-10-30-kl.-05.35.51.jpg
November 1, 2017 at 10:52 pm #871416Are we finished or would you mind just checking quickly why my payment button is missing?
See screenshot in previous mail please- This reply was modified 7 years ago by bertel.
November 2, 2017 at 3:43 am #871491Hi,
I’m sorry for the late response. I would like to check this again but there is an internal server error.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.Please contactthe server administrator, (Email address hidden if logged out) and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 Server at turbostarter.dk Port 80
Please contact your hosting provider.
Best regards,
IsmaelNovember 2, 2017 at 7:03 am #871549Hmm… Its fine now again.
November 3, 2017 at 5:22 am #871979Hi,
It’s still the same.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, (Email address hidden if logged out) and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 Server at turbostarter.dk Port 80
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.