-
AuthorPosts
-
July 11, 2017 at 3:41 pm #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,
JaapJuly 11, 2017 at 11:46 pm #819713Hey 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,
YigitJuly 13, 2017 at 8:45 pm #820771Hi 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,
JaapJuly 13, 2017 at 9:30 pm #820784Hi 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,
NikkoJuly 13, 2017 at 9:36 pm #820793Hi 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,
JaapJuly 13, 2017 at 10:31 pm #820832Hi,
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,
NikkoJuly 14, 2017 at 8:55 am #821028This reply has been marked as private.July 14, 2017 at 7:26 pm #821385Hi,
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,
NikkoJuly 17, 2017 at 5:35 pm #822761Hi 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.
July 17, 2017 at 8:03 pm #822883Hi Nikko,
Found this thread: https://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,
JaapJuly 18, 2017 at 12:03 am #823027Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.