• Resolved the1515

    (@the1515)


    Hello,

    I can’t find how to add a section on my menu.
    I would like people on the HOME page able to clic and see on a new page the different categorie of my product.
    I would like : HOME < categorie/catalog < product of this categorie

    Actually I can only propose :
    HOME < All product (not even categorize)

    I’m French so I hope my question is clear !

    Thank you

    • This topic was modified 6 years, 6 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi There
    I am not 100% sure if I have understood correctly, but if you are running WooCommerce and like to be able to add categories to your menu
    1) Go to Appearance >> Menus
    2) On top of the page click Screen Options
    3) Tick box called Product Categories

    Hi @the1515,

    @net9 is correct, if you would like to add Categories to your menu follow the steps and it should work. If it does not let us know!

    Thread Starter the1515

    (@the1515)

    Thanks for your answer. That’s not exactly what I’m looking for.

    I would like on the principal page, a link in the menu, saying for exemple all categorie

    New page open, with the different product, for exemple, a picture/link for shirt, a picture link for shoes, a picture/link for sunglasses.

    And when people click on them they finally saw all the product only according to the categori choose.

    I’m french so it’s Hard to explain, maybe if you can sent me a mail at [email protected], I can make a photoshop montage of what I want to do and send it to you.

    Thank you very much !

    I found this in my stuff somewhere. I used this to display all the products in a page i created and used its shortcode to bring all the products under all categories. Maybe that is what you want.
    In my child theme in finctions.php I placed
    /* Add Show All Products to Woocommerce Shortcode */

    
    function woocommerce_shortcode_display_all_products($args)
    {
     if(strtolower(@$args['post__in'][0])=='all')
     {
      global $wpdb;
      $args['post__in'] = array();
      $products = $wpdb->get_results("SELECT ID FROM ".$wpdb->posts." WHERE <code>post_type</code>='product'",ARRAY_A);
      foreach($products as $k => $v) { $args['post__in'][] = $products[$k]['ID']; }
     }
     return $args;
    }
    add_filter('woocommerce_shortcode_products_query', 'woocommerce_shortcode_display_all_products');
    

    Then I placed this in the page I created testpage as shortcode
    [products ids=”all”]

    I just searched and found the article
    https://www.gallagherwebsitedesign.com/blog/woocommerce-shortcode-to-display-all-products/
    I hope this helps and does what you want, if it did advance it and let me know.

    Hi @the1515,

    See if the above works – if it does not we have sent you a ticket response so you can send the photoshop file to us. We look forward to hearing back from you!

    Thread Starter the1515

    (@the1515)

    Hi,

    Thanks for your answers, to be honest I don’t know enough to know how to use the thing you sent me … I think my problem is really a simple thing cause with other demo test paying theme I was able to do it very easily. And I don’t know where to find this ticket to send photoshop file …

    THank you very much,

    Sincerely,

    Hi @the1515,

    We have not seen a ticket come through – you can go to https://woocommerce.com and either create an account or log in and then go to Tickets to enter a ticket. The reason we ask to go to WooCommerce.com is because Storefront is a WooCommerce theme, and it goes to the same place ?? We will look for your response!

    Job a11n

    (@jobthomas)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘ADD a catalog categorie on the MENU’ is closed to new replies.