Home › Forums › WoodMart support forum › Menu for product categories not showing on shop page
Menu for product categories not showing on shop page
- This topic has 17 replies, 2 voices, and was last updated 1 year, 1 month ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
January 23, 2024 at 3:59 pm #532707
silkoutletParticipantHi 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?
January 24, 2024 at 10:20 am #532971
Aizaz Imtiaz AwanKeymasterHello,
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.
January 25, 2024 at 4:35 pm #533609
silkoutletParticipantHi there, please see the attached screenshot, there is no categories at all on the shop page.
ThanksJanuary 25, 2024 at 4:38 pm #533611
silkoutletParticipantPlease find the screenshot in acceptable size attached.
Attachments:
You must be logged in to view attached files.January 26, 2024 at 10:09 am #533771
Aizaz Imtiaz AwanKeymasterHello,
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.
January 26, 2024 at 1:40 pm #533840
silkoutletParticipantHi 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?
January 26, 2024 at 5:01 pm #533920
Aizaz Imtiaz AwanKeymasterHello,
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.
January 29, 2024 at 6:41 pm #534660
silkoutletParticipantThanks, 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/January 30, 2024 at 11:26 am #534883
Aizaz Imtiaz AwanKeymasterHello,
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.
January 30, 2024 at 12:27 pm #534937
silkoutletParticipantHi 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?
January 30, 2024 at 1:35 pm #534983
silkoutletParticipantThe 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 showingThanks
January 30, 2024 at 2:15 pm #534996
silkoutletParticipantUpdate, 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.January 30, 2024 at 4:10 pm #535085
Aizaz Imtiaz AwanKeymasterHello,
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.
January 30, 2024 at 6:10 pm #535186
silkoutletParticipantHi 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.
January 30, 2024 at 6:41 pm #535199
silkoutletParticipantUpdate, the headers I have fixed..
But the out of stock part I need help with as in my last post, thank you.
January 31, 2024 at 10:58 am #535343
Aizaz Imtiaz AwanKeymasterHello,
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.
January 31, 2024 at 1:30 pm #535443
silkoutletParticipantHi 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?
January 31, 2024 at 5:02 pm #535561
Aizaz Imtiaz AwanKeymasterHello,
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
-
AuthorPosts
- You must be logged in to create new topics. Login / Register