Home Forums WoodMart support forum Categories in the header disappear when update new version

Categories in the header disappear when update new version

Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #38554

    huyenht
    Participant

    Hi! I need your help

    1. Why categories disappear when i update new version? I need show it
    2. I want remove post in checkout page.
    3. How to remove dropshadow and change color of product box (i want only strock with color #efefef)

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

    huyenht
    Participant

    image

    #38559

    huyenht
    Participant

    image before update new version same it :'(

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

    Artem Temos
    Keymaster

    Hi,

    Could you please provide us an access to your website so we can check it?

    #38571

    huyenht
    Participant

    Hi

    #38573

    Artem Temos
    Keymaster
    #38574

    huyenht
    Participant

    Pass is

    #38575

    Artem Temos
    Keymaster

    As we can see, you have shop page image uploaded now https://gyazo.com/a9b032c59b9c0c391b4004f5c78ba270 What is wrong here?

    As for the checkout, you need to edit this page and disable the sidebar for it https://gyazo.com/23da53e9a9edf123a8ae8f8d5db678ab

    Use this CSS code to change the shadow with border instead

    div.woodmart-hover-tiled .product-wrapper {
        -webkit-box-shadow: 0 0 0 rgba(0,0,0,0);
        box-shadow: 0 0 0 rgba(0,0,0,0);
    	   border: 1px solid #efefef;
    }
    #38576

    huyenht
    Participant

    As we can see, you have shop page image uploaded now https://gyazo.com/a9b032c59b9c0c391b4004f5c78ba270 What is wrong here?

    Only shop has this, i want all categories show it, same your page: https://woodmart.xtemos.com/product-category/other/fashion-other/

    #38578

    Artem Temos
    Keymaster

    But as we can see it works for categories also https://gyazo.com/5638b9362ea91dfe91cd7566d33ed57c

    #38585

    huyenht
    Participant

    I want bellow ” <- Đồ bếp tiện dụng” show some other categories (as breadcrumb)

    #38586

    huyenht
    Participant

    When click all categories at menu breadcrumb as shop page 🙁

    #38588

    huyenht
    Participant

    Because i design more icon beautiful of categories, i need show it on header.

    #38590

    Artem Temos
    Keymaster

    Could you please send us a direct link where you don’t have this image?

    #38593

    huyenht
    Participant

    https://gyazo.com/5638b9362ea91dfe91cd7566d33ed57c

    This page dont have another categories in header same shop page

    #38595

    huyenht
    Participant

    And the check out page dont chosse any radio button

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

    huyenht
    Participant

    http://hungtt.fptdata.net/?product_cat=lo-nuong-may-say

    You can see this link, befor update new version has catelories same image below but now is not

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

    Artem Temos
    Keymaster

    Sorry, now we found the problem. It is a bug in our last version. Try to add the following PHP code snippet to the child theme functions.php file to fix this

    function woodmart_product_categories_nav() {
    		global $wp_query, $post;
    
    		$show_subcategories = woodmart_get_opt( 'shop_categories_ancestors' );
    		$show_categories_neighbors = woodmart_get_opt( 'show_categories_neighbors' );
    
    		$list_args = array(  
    			'taxonomy' => 'product_cat', 
    			'hide_empty' => false 
    		);
    
    		// Menu Order
    		$list_args['menu_order'] = false;
    		$list_args['menu_order'] = 'asc';
    
    		// Setup Current Category
    		$current_cat   = false;
    		$cat_ancestors = array();
    
    		if ( is_tax( 'product_cat' ) ) {
    
    			$current_cat   = $wp_query->queried_object;
    			$cat_ancestors = get_ancestors( $current_cat->term_id, 'product_cat' );
    
    		}
    
    		$list_args['depth']            = 5;
    		$list_args['child_of']         = 0;
    		$list_args['title_li']         = '';
    		$list_args['hierarchical']     = 1;
    		$list_args['show_count']       = woodmart_get_opt( 'shop_products_count' );
    		$list_args['walker'] = new WOODMART_Walker_Category();
    
    		$class = ( woodmart_get_opt( 'shop_products_count' ) ) ? 'has-product-count' : 'hasno-product-count';
    
    		$shop_link = get_post_type_archive_link( 'product' );
    
    		include_once( WC()->plugin_path() . '/includes/walkers/class-product-cat-list-walker.php' );
    		
    		if( is_object( $current_cat ) && !get_term_children( $current_cat->term_id, 'product_cat' ) && $show_subcategories && !$show_categories_neighbors ) return;
    		
    		echo '<div class="woodmart-show-categories"><a href="#">' . esc_html__('Categories', 'woodmart') . '</a></div>';
    
    		echo '<ul class="woodmart-product-categories ' . esc_attr( $class ). '">';
    		
    		echo '<li class="cat-link shop-all-link"><div class="category-nav-link"><a href="' . esc_url( $shop_link ) . '">
    				<span class="category-summary">
    					<span class="category-name">' . esc_html__('All', 'woodmart') . '</span>
    					<span class="category-products-count">
    						<span class="cat-count-label">' . esc_html__('products', 'woodmart') . '</span>
    					</span>
    				</span>
    		</a></div></li>';
    
    		if( $show_subcategories ) {
    			woodmart_show_category_ancestors();
    		} else {
    			wp_list_categories( $list_args );
    		}
    
    		echo '</ul>';
    	}
    #38673

    huyenht
    Participant

    Great! It same old, thank and love you so much ^^

    By the way can you help me fix this?

    1. I need modify box of blog post. Remove dropshadow to like with box of product(border: 1px solid #efefef). I try but not found ^^
    2. Can you help me fix box of product alway has 2 line for tittle? because now the tittle is random (some product 1 line, 2 line or 3 line ), my layout not beautiful because not blance, you can see the image bellow
    3. How to remove the text “MENU” at tablet? the design now not good, i think it should only 1 icon menu.

    Thank for support me too good!

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

    Artem Temos
    Keymaster

    Hi,

    Here is a code snippet for all questions

    .blog-design-masonry.blog-style-shadow .article-inner {
        box-shadow: none!important;
        border: 1px solid #efefef
    }
    
    .product-grid-item h3.product-title {
       height: 36px;
            line-height:18px;
       overflow: hidden;
    }
    
    .mobile-nav-icon .woodmart-burger-label {
       display: none;
    }
    #38748

    huyenht
    Participant

    Thank so much! before i ask you i try more time, i dont think it have simple ^^

    #38783

    Artem Temos
    Keymaster

    You are welcome! 🙂

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

The topic ‘Categories in the header disappear when update new version’ is closed to new replies.