Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #819446

    Hi,
    On a customers webshop on the checkout the terms and conditions are visible (collapsed) and are shown twice. How is this possible?
    How can I change it back to default?

    Cheers,
    Jaap

    #819713

    Hey Jaap,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:

    .woocommerce-checkout #main > #av_section_1 {
        display: none;
    }
    

    Best regards,
    Yigit

    #820771

    Hi Yigit,

    The code took care of removing 1 of the collapsed terms & conditions. There’s still one there. How can I get it back to default? Just the line with link to terms & conditions. How did this even happen?

    Cheers,
    Jaap

    #820784

    Hi Jaap,

    The code Yigit gave doesn’t seem to reflect on your site? can you try to flush out the cache if you have caching plugin enabled, if not can you give temporary admin access? so we can check it, just place it in private content.

    Best regards,
    Nikko

    #820793

    Hi Nikko,
    Only for some part, it got rid of the second collapsed terms & conditions. If you check the checkout page you see the terms are still there, fully visible with blue background instead of the normal link.

    Cheers,
    Jaap

    #820832

    Hi,

    Yes, I can see it on my end too but I couldn’t see the Yigit’s code anywhere when inspecting the site. Can you give us temporary admin access? so we can check why it’s not reflecting.

    Best regards,
    Nikko

    #821028
    This reply has been marked as private.
    #821385

    Hi,

    Thanks for providing the access. It should be fixed now. The problem was

    >

    was changed to

    & g t ;

    without the spaces. If it’s still showing please try to clear the browser cache. Hope this helps :)

    Best regards,
    Nikko

    #822761

    Hi Nikko,

    No this isn’t working. The terms and conditions are still visible. I’ve noticed it happened on another webshop as well. What has been changed in Enfold the terms and conditions are collapsed? I just want it to be a single line with link to the terms.

    Please help.

    #822883

    Hi Nikko,

    Found this thread: http://www.kriesi.at/support/topic/woocommerce-terms-shown-twice/#post-822881
    So it’s seems to be a bug in Enfold.

    This solves the issue:

    add_filter(‘woocommerce_format_content’, ‘yanco_remove_inline_terms’, 10, 2);
    function yanco_remove_inline_terms( $apply_filters, $raw_string ) {
    if( is_checkout() ) {
    return ”;
    }
    return $apply_filters;
    }

    Anyway, can it be fixed in a new release?

    Cheers,
    Jaap

    #823027

    Hi,

    Glad that you found the solution. I think it will be fixed on the future release not sure if it’s on the next release since we can’t reproduce the same issue on our end.

    Best regards,
    Nikko

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.