Home Forums WoodMart support forum Menu for product categories not showing on shop page

Menu for product categories not showing on shop page

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #532707

    silkoutlet
    Participant

    Hi there, I asked about this but someone closed the case thinking that it was resolved, however I am having issues (not on mobile) with the desktop version where it is not displaying the categories side menu on desktop/iPad, could you take a look please?

    #532971

    Hello,

    Which Categories side menu are not showing on desktop, can you please share some screenshots, Also share the wp logins details so i will check and give you a possible solution.

    Best Regards.

    #533609

    silkoutlet
    Participant

    Hi there, please see the attached screenshot, there is no categories at all on the shop page.
    Thanks

    #533611

    silkoutlet
    Participant

    Please find the screenshot in acceptable size attached.

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

    Hello,

    Navigate to Theme Settings > Product Archive > Page title > enable the option shop page title and enable the option categories in page title.

    You can enable the option from Appearance > Customize > WooCommerce > Product Catalog > Shop page display > Choose categories & products.

    Best Regards.

    #533840

    silkoutlet
    Participant

    Hi there, thanks for this. I have enabled this on the theme settings but its not showing, I then enable it on the Appearance > Customize > WooCommerce > Product Catalog > Shop page display > Choose categories & products method and the problem is that it essentially is showing the categories as products, is there not a like a floating side menu similar to mobile that you would generally see on websites?

    #533920

    Hello,

    Try to use a sticky navigation feature. Navigate to Theme Settings > General > Sticky Navigation > add the categories menu.
    https://xtemos.com/docs-topic/sticky-navigation/

    Best Regards.

    #534660

    silkoutlet
    Participant

    Thanks, the sticky navigation is for the entire site and doesnt sort the shop page. I am looking to have the option to filter the products on my shop page so that you can choose the categories to be displayed etc
    https://www.silkwormstore.co.uk/livefood1/

    #534883

    Hello,

    If you want to keep the sticky navigation only on the shop page. Try to use a theme preset to feature our theme.
    Here is our documentation on how to use theme presets: https://xtemos.com/docs-topic/theme-settings-presets/

    OR, you can add the product categories in the sidebar. Check this manual:
    https://xtemos.com/docs-topic/widgets-and-sidebars/

    Best Regards.

    #534937

    silkoutlet
    Participant

    Hi thanks, on mobile I see that on the shop page, it says show sidebar with a burger menu button, but when you click it, the page is blank? How do I fix that?

    #534983

    silkoutlet
    Participant

    The issues im having is the sidebar is blank on mobile, as above (you can check that on our shop page) https://www.silkwormstore.co.uk/livefood1/
    Also I have added to the menu/header and it is showing on my admin account when logged in (I updated this 24 hours ago) but not when in a private browser or on mobile.
    I have purged all caches a lot over the last 24 hours, but still nothing is showing

    Thanks

    #534996

    silkoutlet
    Participant

    Update, I managed to resolve the sidebar issue.
    The problem I have is that when not logged in as admin, having purged the cache and checked many times over many hours, on both mobile and desktop (using private browsing also) the updates to show the sidebar and update to the header are not showing.
    I hope you can help, Thanks.

    #535085

    Hello,

    Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site and then check the issue. I am sure your issue will be solved. Then Activate the 3rd party plugins one by one and check which plugin is creating the issue for you.

    Otherwise, if the issue still exists then keep the 3rd party plugins deactivated and let me know I will check and give you a possible solution.

    Best Regards.

    #535186

    silkoutlet
    Participant

    Hi there,

    How do I move all out of stock items to the bottom of any product page/list and also to show that there is no stock?
    I have some items not in stock and its showing that they can add to cart, only when adding to cart does it show “You cannot add that amount of “Exo Terra NANO Daylight Basking Spot 25w,” to the cart because there is not enough stock (0 remaining)”.
    I do have manage stock active for these products.
    As per this example: https://www.silkwormstore.co.uk/product/exo-terra-nano-daylight-basking-spot-25w/

    In addition, thanks for your above reply. I can see that it is working (the header) for some pages, for example if you add any product to cart, then when in the cart you’ll see the correct header, but some pages are not. Where would I find how the header is selected for certain pages?

    Thanks.

    #535199

    silkoutlet
    Participant

    Update, the headers I have fixed..

    But the out of stock part I need help with as in my last post, thank you.

    #535343

    Hello,

    Please add below Custom Code to the functions.php file in your child theme. This code shows your out-of-stock product at the end of the archive pages.

    if (in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins')))) {
        add_filter('posts_clauses', 'order_by_stock_status', 2000);
    }
    
    function order_by_stock_status($posts_clauses) {
        global $wpdb;
    
        if (is_woocommerce() && (is_shop() || is_product_category() || is_product_tag())) {
            $posts_clauses['join'] .= " INNER JOIN $wpdb->postmeta AS istockstatus ON ($wpdb->posts.ID = istockstatus.post_id)";
            $posts_clauses['orderby'] = "istockstatus.meta_value ASC, " . $posts_clauses['orderby'];
            $posts_clauses['where'] .= " AND istockstatus.meta_key = '_stock_status' AND istockstatus.meta_value <> '' ";
        }
    
        return $posts_clauses;
    }

    Best Regards.

    #535443

    silkoutlet
    Participant

    Hi there,

    I just added that code and it doesn’t appear to have worked, if you can please check the link below.
    https://www.silkwormstore.co.uk/product-category/reptile-hardware/basking-spot-bulbs/

    There is an item (Zoo Med Nano Basking Spot Lamp 40W, SL-40NE) which is showing no stock levels but its not showing out of stock?

    #535561

    Hello,

    Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site and then check the issue. I am sure your issue will be solved. Then Activate the 3rd party plugins one by one and check which plugin is creating the issue for you.

    Otherwise, if the issue still exists then keep the 3rd party plugins deactivated and let me know i will check and give you a possible solution.

    Best Regards

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