Product Attribute Archives page is empty
-
I added an product attribute of “Gender” and configured it with “Men”, “Women” and “Unisex”. I ticked on the “Enable Archives?”. I have set up some products under the attribute.
I can narrow down the products with the attribute on the shop page. However, the page that is supposed to show a list of products under the attribute shows nothing.
I want to set the attribute link to my menu and enable to visitors to view the products only under that attribute. How can I do that?
The link to Attribute Archives page: https://jbeautygoods.com/gender/unisex/
The narrowed down Shop page: https://jbeautygoods.com/shop/?filter_gender=unisex&query_type_gender=or
The blog I need help with is: (visible only to logged in users)
-
It seems like you’ve successfully added the “Gender” attribute to your products and configured it with the options “Men”, “Women”, and “Unisex”. However, you’re facing issues with displaying the list of products under the attribute on the attribute archives page.
To troubleshoot this issue and set up the attribute link in your menu, follow these steps:
- Check Attribute Archives Template: Ensure that your theme has a template to display attribute archives. Sometimes, themes might not have specific templates for custom attributes, resulting in blank pages. If needed, you may need to create a custom template or modify existing ones.
- Permalink Settings: Make sure your WordPress permalink settings are set correctly. Navigate to Settings > Permalinks and ensure that your permalink structure is set to something other than Plain. A common choice is “Post name”.
- Menu Configuration:
- Go to Appearance > Menus in your WordPress dashboard.
- Add a custom link to your menu.
- For the URL, use the link to your attribute archives page:
https://jbeautygoods.com/gender/unisex/ - Set the link text as “Unisex” or whatever label you prefer.
- Add this link to your desired menu location and save the menu.
- Attribute Archives Page Display: If the attribute archives page is still not displaying products, ensure that products are properly assigned to the “Unisex” attribute. Check each product and verify that they are associated with the “Unisex” attribute.
- Plugin/Theme Conflict: Sometimes, conflicts with other plugins or the theme can cause issues with WooCommerce functionality. Temporarily deactivate other plugins one by one and switch to a default WordPress theme like Twenty Twenty-One to see if the issue persists. This can help identify if there’s a conflict causing the problem.
- WooCommerce Settings: Double-check your WooCommerce settings to ensure that product visibility and attribute configurations are set correctly.
By following these steps, you should be able to set up the attribute link in your menu and enable visitors to view the products under that attribute. If the issue persists, consider reaching out to WooCommerce support or your theme/plugin developer for further assistance.
- The topic ‘Product Attribute Archives page is empty’ is closed to new replies.