Remove “Action” from Thank you order confirmation page
-
Hi.
Is there any way to remove the Order actions from the Thank you page after an order is placed?
See: https://prnt.sc/BWy0JHQGJdPY
I found the code inside template-tags.php but i wouldn’t want to hard code it as it will be replace in future updates.
Thanks!
Hello,
Can you please share the site URL so I can further check on your site and give you a possible solution?
Best Regards,
Hi!
Please see private content!
Hello,
Please try the following CSS in Theme Settings > Custom CSS:
.woocommerce-order-details th.order-actions--heading,
.woocommerce-order-details td.order-actions,
.woocommerce-order-details .order-actions,
.woocommerce-order-details .order-actions-button,
.woocommerce-order-details a.button.view {
display: none !important;
}
Best Regards,
Hi.
Thanks for the quick answer. It works well, but there is this line that should be removed: https://prnt.sc/5S6E2ouymvrv
Hello,
Please try the following CSS in Theme Settings > Custom CSS:
/* Remove border only from the Actions column cell */
.woocommerce-order-details table.shop_table td:has(.order-actions-button) {
border-bottom: none !important;
}
Best Regards,