Remove prefooter from WC "order-pay" endpoint
-
Hi there,
I would like to remove the prefooter form the “order-pay” endpoint. As this is not a page, I do not know how to disable this with CSS. Do you know how I can select the order-pay page with CSS? I thought the following would work but it doesn’t:
.woocommerce-order-pay .woodmart-prefooter{
display: none;
}
Hello,
Please, try this code, add it to the Theme Settings > Custom CSS > Global:
body .woocommerce-order-pay .woodmart-prefooter{
display: none;
}
Best Regards
Thank for your reply. Unfortunately that does not work. Shall I give you admin access?
Hello,
Yes, provide your site admin and provide steps and necessary information for the testing order to get to this page.
Best Regards
Hi there,
I have just seen that the footer and prefooter only appear on the secondary language pages of our site (which have translated checkout endings). On the English side of the website there is not an issue as these footers do not appear in the “order-pay” (thank you page).
I’ve given access to my site below. It looks like standard footers are not normally loaded on the “thank you” page, but for some reason they appear on the secondary language pages.
Hello,
Please add this code to the Theme Settings > Custom CSS > Global:
body.woocommerce-order-received .woodmart-prefooter{
display:none;
}
body.woocommerce-order-received footer{
display:none;
}
Please check the screen https://gyazo.com/9095fa6f853a5df3fd446f1265ccc36c you need to enter each page in all the languages and disable footer/pre-footer.
Best Regards
Many thanks 🙂 That’s perfect.
You are welcome! If you have any questions please feel free to contact us.
Best Regards
The topic ‘Remove prefooter from WC "order-pay" endpoint’ is closed to new replies.