Home Forums WoodMart support forum Before update 3.x to 4.03

Before update 3.x to 4.03

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #138455

    mandarinacyd
    Participant

    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.
    #138457

    mandarinacyd
    Participant

    Sorry AFTER update!

    #138492

    mandarinacyd
    Participant

    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.
    #138548

    Eric Watson
    Participant

    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

    #138715

    mandarinacyd
    Participant

    Thankx!!! I have new bug. Look at this.

    Attachments:
    You must be logged in to view attached files.
    #138720

    Eric Watson
    Participant

    Hello,

    These errors do not apply to our theme we do not use function get_used_coupons in our code.

    Kind Regards
    XTemos Studio

    #138725

    mandarinacyd
    Participant

    Ok thanks for all! Its a pleasure talk with you.

    #138728

    Eric Watson
    Participant

    If you have any questions please feel free to contact us.

    Best Regards

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