Before update 3.x to 4.03
-
After the update the page / cart no longer appears to me as before. Change? how do I solve it.
Attachments:
You must be
logged in to view attached files.
Could it be that when I upgrade to version 3.7 of woocommerce? Because the “cart-empty” class adds another one that says “woocommerce-info”. There is the problem.
Attachments:
You must be
logged in to view attached files.
Hello,
Try to add the following PHP code snippet to the child theme functions.php file to do this
function woodmart_remove_cart_msg() {
/**
* Remove default empty cart text
*/
remove_action( 'woocommerce_cart_is_empty', 'wc_empty_cart_message', 10 );
}
add_action( 'wp', 'woodmart_remove_cart_msg', 10 );
if ( ! function_exists( 'woodmart_wc_empty_cart_message' ) ) {
/**
* Show notice if cart is empty.
*
* @since 1.0.0
*/
function woodmart_wc_empty_cart_message() {
?>
<p class="cart-empty">
<?php echo wp_kses_post( apply_filters( 'wc_empty_cart_message', __( 'Your cart is currently empty.', 'woocommerce' ) ) ); ?>
</p>
<?php
}
add_action( 'woocommerce_cart_is_empty', 'woodmart_wc_empty_cart_message', 10 );
}
Kind Regards
XTemos Studio
Thankx!!! I have new bug. Look at this.
Attachments:
You must be
logged in to view attached files.
Hello,
These errors do not apply to our theme we do not use function get_used_coupons
in our code.
Kind Regards
XTemos Studio
Ok thanks for all! Its a pleasure talk with you.
If you have any questions please feel free to contact us.
Best Regards