Home › Forums › WoodMart support forum › Categories in the header disappear when update new version
Categories in the header disappear when update new version
- This topic has 21 replies, 2 voices, and was last updated 6 years, 9 months ago by Artem Temos.
-
AuthorPosts
-
February 9, 2018 at 9:15 am #38554
huyenhtParticipantHi! 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.February 9, 2018 at 9:17 am #38557
huyenhtParticipantimage
February 9, 2018 at 9:19 am #38559
huyenhtParticipantimage before update new version same it :'(
Attachments:
You must be logged in to view attached files.February 9, 2018 at 10:01 am #38568
Artem TemosKeymasterHi,
Could you please provide us an access to your website so we can check it?
February 9, 2018 at 10:06 am #38571
huyenhtParticipantHi
February 9, 2018 at 10:08 am #38573
Artem TemosKeymasterWe need this password also https://gyazo.com/4f7c6833ad2923366ad6ae30b4b291f9
February 9, 2018 at 10:12 am #38574
huyenhtParticipantPass is
February 9, 2018 at 10:16 am #38575
Artem TemosKeymasterAs 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; }
February 9, 2018 at 10:19 am #38576
huyenhtParticipantAs 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/
February 9, 2018 at 10:24 am #38578
Artem TemosKeymasterBut as we can see it works for categories also https://gyazo.com/5638b9362ea91dfe91cd7566d33ed57c
February 9, 2018 at 10:42 am #38585
huyenhtParticipantI want bellow ” <- Đồ bếp tiện dụng” show some other categories (as breadcrumb)
February 9, 2018 at 10:52 am #38586
huyenhtParticipantWhen click all categories at menu breadcrumb as shop page 🙁
February 9, 2018 at 10:54 am #38588
huyenhtParticipantBecause i design more icon beautiful of categories, i need show it on header.
February 9, 2018 at 11:00 am #38590
Artem TemosKeymasterCould you please send us a direct link where you don’t have this image?
February 9, 2018 at 11:04 am #38593
huyenhtParticipanthttps://gyazo.com/5638b9362ea91dfe91cd7566d33ed57c
This page dont have another categories in header same shop page
February 9, 2018 at 11:13 am #38595
huyenhtParticipantAnd the check out page dont chosse any radio button
Attachments:
You must be logged in to view attached files.February 9, 2018 at 11:57 am #38600
huyenhtParticipanthttp://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.February 9, 2018 at 1:22 pm #38631
Artem TemosKeymasterSorry, 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>'; }
February 9, 2018 at 3:10 pm #38673
huyenhtParticipantGreat! 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.February 9, 2018 at 9:00 pm #38712
Artem TemosKeymasterHi,
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; }
February 10, 2018 at 1:39 am #38748
huyenhtParticipantThank so much! before i ask you i try more time, i dont think it have simple ^^
February 10, 2018 at 10:32 am #38783
Artem TemosKeymasterYou are welcome! 🙂
-
AuthorPosts
The topic ‘Categories in the header disappear when update new version’ is closed to new replies.
- You must be logged in to create new topics. Login / Register