“No Product Message”
-
Im trying to get a “There are no products currently displayed in this category” message to display on this page but cant seem to get it to work or find online how to get it to work
Thanks
The page I need help with: [log in to see the link]
-
Hi there,
Please share a copy of your site’s System Status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it here in your reply. Please note that since this is a public forum, you may want to remove any sensitive information that you don’t want shared publicly.
Also, is that just a regular Page on the site (opened from Pages > All Pages)? Checking the CSS classes in the page code, I do not see the usual info about it being a product category archive page.
Status Report:`
### WordPress Environment ###WordPress address (URL): https://limitedautosalesinc.com/las21
Site address (URL): https://limitedautosalesinc.com/las21
WC Version: 4.9.2
REST API Version: ✔ 4.9.2
WC Blocks Version: ✔ 4.0.0
Action Scheduler Version: ✔ 3.1.6
WC Admin Version: ✔ 1.8.3
Log Directory Writable: ✔
WP Version: 5.6.1
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
External object cache: –### Server Environment ###
Server Info: Apache
PHP Version: 7.1.33 – We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
PHP Post Max Size: 8 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.74.0
OpenSSL/1.1.1iSUHOSIN Installed: –
MySQL Version: 5.6.50
Max Upload Size: 8 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔### Database ###
WC Database Version: 4.9.2
WC Database Prefix: wptt_
Total Database Size: 2.08MB
Database Data Size: 1.88MB
Database Index Size: 0.20MB
wptt_woocommerce_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_actionscheduler_actions: Data: 0.00MB + Index: 0.02MB + Engine MyISAM
wptt_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wptt_actionscheduler_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_bwg_album: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_bwg_album_gallery: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_bwg_file_paths: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_bwg_gallery: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_bwg_image: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_bwg_image_comment: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_bwg_image_rate: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_bwg_image_tag: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_bwg_shortcode: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_bwg_theme: Data: 0.04MB + Index: 0.00MB + Engine MyISAM
wptt_ce4wp_abandoned_checkout: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wptt_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_mailchimp_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_options: Data: 1.18MB + Index: 0.04MB + Engine MyISAM
wptt_postmeta: Data: 0.08MB + Index: 0.03MB + Engine MyISAM
wptt_posts: Data: 0.56MB + Index: 0.03MB + Engine MyISAM
wptt_say_what_strings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wptt_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wptt_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_usermeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
wptt_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wptt_wc_admin_notes: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
wptt_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_wc_customer_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_wc_order_product_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_wc_order_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wptt_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wptt_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wptt_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM### Post Type Counts ###
attachment: 25
bwg_gallery: 1
customize_changeset: 4
nav_menu_item: 33
page: 27
pagelayer-template: 5
post: 2
product: 6
revision: 108### Security ###
Secure connection (HTTPS): ✔
Hide errors from visitors: ✔### Active Plugins (12) ###
Classic Editor: by WordPress Contributors – 1.6
Creative Mail by Constant Contact: by Constant Contact – 1.3.1
Facebook for WooCommerce: by Facebook – 2.2.0
Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.16.0
Google Ads & Marketing by Kliken: by Kliken – 1.0.7
Loco Translate: by Tim Whitlock – 2.5.0
Mailchimp for WooCommerce: by Mailchimp – 2.5.0
PageLayer: by Pagelayer Team – 1.4.5
PopularFX Website Templates: by Pagelayer Team – 1.1.6
Say What?: by Lee Willis – 1.9.7
WooCommerce: by Automattic – 4.9.2 (update to version 5.0.0 is available)
YITH WooCommerce Catalog Mode: by YITH – 2.0.10### Inactive Plugins (2) ###
Akismet Anti-Spam: by Automattic – 4.1.8
Hello Dolly: by Matt Mullenweg – 1.7.2### Settings ###
API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)Connected to WooCommerce.com: –
### WC Pages ###
Shop base: #43 – /shop/
Cart: #45 – /cart/
Checkout: ❌ Page visibility should be public
My account: #49 – /my-account/
Terms and conditions: ❌ Page not set### Theme ###
Name: PopularFX
Version: 1.2.0
Author URL: https://pagelayer.com
Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support: ✔### Templates ###
Overrides: –
### Action Scheduler ###
Complete: 7
Oldest: 2021-02-09 23:05:16 +0000
Newest: 2021-02-15 17:10:52 +0000These are just regular pages using the following short code:[product_category category=”others” per_page=”12″ columns=”2″ orderby=”default” order=”asc” operator=”in”]. i dont know how to find the category archive page0
I was able to figure it out.
next issue is how do i make it so those pages are 100% the broweser height event when there are no items listed?
Hi there,
Glad to hear you were able to figure it out.
next issue is how do i make it so those pages are 100% the broweser height event when there are no items listed?
You can set the height of elements on the page using CSS. Generally, it would be best to just let the page height increase/shrink based on the content, however you could use something like below to make sure the main-content area is at least 100% of the browser height (you can decrease it from 100 to make sure the footer is displayed as well):
.site-main { min-height: 100vh; }You can read more about those kinds of units here:
https://css-tricks.com/fun-viewport-units/Hi @jzutter,
We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, the above info was useful!
If you have further questions, please feel free to open a new topic.
Thanks.
The topic ‘“No Product Message”’ is closed to new replies.