Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #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 */
    /*———————————————————————————–*/

    #868095

    Hey 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,
    Victoria

    #868145

    Here you go

    #868258

    If 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.
    #868565

    Hi,

    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,
    Rikard

    #868684

    Hi 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 working

    Seem like all of a sudden using an enfold child theme has “killed” woocommerce.

    #868722

    Hi,

    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,
    Nikko

    #868729

    Sure just switch themes if you need. I backed the site up 5 minutes ago.

    #869866

    Hi,

    The checkout button is there but it is disabled. Is it ok if we deactivate the plugins while working on the site?

    Best regards,
    Ismael

    #869899

    Yes of course

    • This reply was modified 7 years ago by bertel.
    #870336

    Hi,

    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,
    Ismael

    #870348
    #871416

    Are 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.
    #871491

    Hi,

    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,
    Ismael

    #871549

    Hmm… Its fine now again.

    #871979

    Hi,

    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

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.