I’m having an issue when using the stock status toggle switch on product archive pages
| just want viewers to hide or show sold stock (out of stock products)
I have set “in stock + out of stock” as the default view
it kind of works but the initial load of the page only shows a few products, when the show sold items
switch is toggled is then displays the correct amount
would love some help with this if anyone can help me?
best, Peter
]]>` WordPress Environment</p>
<p>WordPress address (URL): https://happbeeacres.com<br>Site address (URL): https://happbeeacres.com<br>WC Version: 9.6.0<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: 3.9.0<br>Log Directory Writable:
<br>WP Version: 6.7.1<br>WP Multisite: –<br>WP Memory Limit: 512 MB<br>WP Debug Mode: –<br>WP Cron:
<br>Language: en_US<br>External object cache:
Server Environment</p>
<p>Server Info: Apache<br>PHP Version: 8.1.31<br>PHP Post Max Size: 512 MB<br>PHP Time Limit: -1<br>PHP Max Input Vars: 3000<br>cURL Version: 7.81.0<br>OpenSSL/3.0.2</p>
<p>SUHOSIN Installed: –<br>MySQL Version: 8.0.28-0ubuntu0.20.04.3<br>Max Upload Size: 512 MB<br>Default Timezone is UTC:
<br>fsockopen/cURL:
<br>SoapClient:
<br>DOMDocument:
<br>GZip:
<br>Multibyte String:
<br>Remote Post:
<br>Remote Get:
Database</p>
<p>WC Database Version: 9.6.0<br>WC Database Prefix: wp_k6ipzw_<br>Total Database Size: 587.38MB<br>Database Data Size: 519.35MB<br>Database Index Size: 68.03MB<br>wp_k6ipzw_woocommerce_sessions: Data: 8.02MB + Index: 1.02MB + Engine InnoDB<br>wp_k6ipzw_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_k6ipzw_woocommerce_order_items: Data: 0.34MB + Index: 0.13MB + Engine InnoDB<br>wp_k6ipzw_woocommerce_order_itemmeta: Data: 4.52MB + Index: 5.03MB + Engine InnoDB<br>wp_k6ipzw_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_k6ipzw_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_k6ipzw_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_actionscheduler_actions: Data: 4.06MB + Index: 3.59MB + Engine InnoDB<br>wp_k6ipzw_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_actionscheduler_logs: Data: 3.06MB + Index: 1.53MB + Engine InnoDB<br>wp_k6ipzw_aioseo_blc_cache: Data: 0.11MB + Index: 0.13MB + Engine InnoDB<br>wp_k6ipzw_aioseo_blc_link_status: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_aioseo_blc_links: Data: 1.52MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_aioseo_blc_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_k6ipzw_aioseo_blc_posts: Data: 0.09MB + Index: 0.05MB + Engine InnoDB<br>wp_k6ipzw_aioseo_cache: Data: 0.11MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_aioseo_crawl_cleanup_blocked_args: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_aioseo_crawl_cleanup_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_aioseo_notifications: Data: 0.39MB + Index: 0.06MB + Engine InnoDB<br>wp_k6ipzw_aioseo_posts: Data: 3.52MB + Index: 0.13MB + Engine InnoDB<br>wp_k6ipzw_aioseo_writing_assistant_keywords: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_aioseo_writing_assistant_posts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_brizy_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_comments: Data: 2.52MB + Index: 1.22MB + Engine InnoDB<br>wp_k6ipzw_ewwwio_images: Data: 6.52MB + Index: 8.06MB + Engine InnoDB<br>wp_k6ipzw_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_k6ipzw_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_mclean_refs: Data: 0.11MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_mclean_scan: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_nextend2_section_storage: Data: 0.05MB + Index: 0.06MB + Engine InnoDB<br>wp_k6ipzw_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_nextend2_smartslider3_sliders: Data: 0.08MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_nextend2_smartslider3_slides: Data: 0.05MB + Index: 0.11MB + Engine InnoDB<br>wp_k6ipzw_omnisend_contact_cache: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_omnisend_logs: Data: 1.52MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_options: Data: 13.31MB + Index: 5.06MB + Engine InnoDB<br>wp_k6ipzw_pos_warehouse: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_postmeta: Data: 115.56MB + Index: 17.06MB + Engine InnoDB<br>wp_k6ipzw_posts: Data: 5.52MB + Index: 1.38MB + Engine InnoDB<br>wp_k6ipzw_term_relationships: Data: 0.28MB + Index: 0.25MB + Engine InnoDB<br>wp_k6ipzw_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_termmeta: Data: 0.06MB + Index: 0.06MB + Engine InnoDB<br>wp_k6ipzw_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_usermeta: Data: 2.52MB + Index: 3.03MB + Engine InnoDB<br>wp_k6ipzw_users: Data: 0.09MB + Index: 0.05MB + Engine InnoDB<br>wp_k6ipzw_wc_admin_note_actions: Data: 0.09MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_wc_admin_notes: Data: 0.13MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_wc_customer_lookup: Data: 0.14MB + Index: 0.13MB + Engine InnoDB<br>wp_k6ipzw_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_k6ipzw_wc_order_bundle_lookup: Data: 0.11MB + Index: 0.09MB + Engine InnoDB<br>wp_k6ipzw_wc_order_composite_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB<br>wp_k6ipzw_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_wc_order_product_lookup: Data: 0.41MB + Index: 0.42MB + Engine InnoDB<br>wp_k6ipzw_wc_order_stats: Data: 0.19MB + Index: 0.22MB + Engine InnoDB<br>wp_k6ipzw_wc_order_tax_lookup: Data: 0.11MB + Index: 0.16MB + Engine InnoDB<br>wp_k6ipzw_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_k6ipzw_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_wc_product_meta_lookup: Data: 0.36MB + Index: 0.81MB + Engine InnoDB<br>wp_k6ipzw_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_wdp_order_items: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_k6ipzw_wdp_orders: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_k6ipzw_wdp_persistent_rules_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_wdp_rules: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_woocommerce_bundled_itemmeta: Data: 1.52MB + Index: 1.91MB + Engine InnoDB<br>wp_k6ipzw_woocommerce_bundled_items: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_wp_phpmyadmin_extension__errors_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_wpc_accesslocks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_wpc_login_fails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_wpforms_logs: Data: 0.31MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_k6ipzw_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB<br>wp_k6ipzw_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_wpmailsmtp_debug_events: Data: 0.17MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_wpml_mails: Data: 124.52MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_yith_wcwl: Data: 0.17MB + Index: 0.08MB + Engine InnoDB<br>wp_k6ipzw_yith_wcwl_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_k6ipzw_yith_wcwl_lists: Data: 0.20MB + Index: 0.22MB + Engine InnoDB<br>wp_k6ipzw_zettle_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_k6ipzw_zettle_woocommerce_id_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_k6ipzw_zp_locations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpstg0_actionscheduler_actions: Data: 0.27MB + Index: 0.33MB + Engine InnoDB<br>wpstg0_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_actionscheduler_logs: Data: 0.20MB + Index: 0.14MB + Engine InnoDB<br>wpstg0_aioseo_cache: Data: 0.25MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_aioseo_notifications: Data: 0.19MB + Index: 0.06MB + Engine InnoDB<br>wpstg0_aioseo_posts: Data: 3.52MB + Index: 0.08MB + Engine InnoDB<br>wpstg0_brizy_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpstg0_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_comments: Data: 1.52MB + Index: 0.55MB + Engine InnoDB<br>wpstg0_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_mclean_refs: Data: 0.11MB + Index: 0.00MB + Engine InnoDB<br>wpstg0_mclean_scan: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_nextend2_section_storage: Data: 0.05MB + Index: 0.06MB + Engine InnoDB<br>wpstg0_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpstg0_nextend2_smartslider3_sliders: Data: 0.08MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_nextend2_smartslider3_slides: Data: 0.05MB + Index: 0.11MB + Engine InnoDB<br>wpstg0_options: Data: 8.52MB + Index: 0.28MB + Engine InnoDB<br>wpstg0_postmeta: Data: 127.55MB + Index: 6.03MB + Engine InnoDB<br>wpstg0_posts: Data: 5.52MB + Index: 0.73MB + Engine InnoDB<br>wpstg0_term_relationships: Data: 0.19MB + Index: 0.11MB + Engine InnoDB<br>wpstg0_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_usermeta: Data: 1.52MB + Index: 0.55MB + Engine InnoDB<br>wpstg0_users: Data: 0.06MB + Index: 0.05MB + Engine InnoDB<br>wpstg0_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_wc_admin_notes: Data: 0.11MB + Index: 0.00MB + Engine InnoDB<br>wpstg0_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpstg0_wc_customer_lookup: Data: 0.08MB + Index: 0.06MB + Engine InnoDB<br>wpstg0_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wpstg0_wc_order_bundle_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB<br>wpstg0_wc_order_composite_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wpstg0_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_wc_order_product_lookup: Data: 0.22MB + Index: 0.23MB + Engine InnoDB<br>wpstg0_wc_order_stats: Data: 0.11MB + Index: 0.08MB + Engine InnoDB<br>wpstg0_wc_order_tax_lookup: Data: 0.08MB + Index: 0.06MB + Engine InnoDB<br>wpstg0_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wpstg0_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_wc_product_meta_lookup: Data: 0.30MB + Index: 0.45MB + Engine InnoDB<br>wpstg0_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpstg0_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_woocommerce_bundled_itemmeta: Data: 0.52MB + Index: 0.47MB + Engine InnoDB<br>wpstg0_woocommerce_bundled_items: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wpstg0_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_woocommerce_order_itemmeta: Data: 2.52MB + Index: 2.00MB + Engine InnoDB<br>wpstg0_woocommerce_order_items: Data: 0.17MB + Index: 0.08MB + Engine InnoDB<br>wpstg0_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_woocommerce_sessions: Data: 2.52MB + Index: 0.05MB + Engine InnoDB<br>wpstg0_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpstg0_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpstg0_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wpstg0_wp_phpmyadmin_extension__errors_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpstg0_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wpstg0_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB<br>wpstg0_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpstg0_wpmailsmtp_debug_events: Data: 0.09MB + Index: 0.00MB + Engine InnoDB<br>wpstg0_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpstg0_wpml_mails: Data: 57.52MB + Index: 0.00MB + Engine InnoDB<br>wpstg0_wps_cleaner: Data: 0.09MB + Index: 0.00MB + Engine InnoDB<br>wpstg0_wps_cleaner_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpstg0_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpstg0_zettle_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpstg0_zettle_woocommerce_id_map: Data: 0.30MB + Index: 0.00MB + Engine InnoDB Post Type Counts</p>
<p>attachment: 2236<br>brizy_template: 9<br>brizy-global-block: 2<br>brizy-layout: 5<br>brizy-project: 1<br>brizy-saved-block: 3<br>custom_css: 1<br>customize_changeset: 3<br>feedback: 784<br>nav_menu_item: 207<br>oembed_cache: 3<br>order_status: 2<br>page: 39<br>post: 1<br>product: 1156<br>product_variation: 1094<br>revision: 354<br>shop_coupon: 21<br>shop_order: 1442<br>shop_order_refund: 74<br>wcs_ruleset: 5<br>wp_global_styles: 1<br>wpforms: 4 Security</p>
<p>Secure connection (HTTPS):
<br>Hide errors from visitors:
Active Plugins (31)</p>
<p>Advanced Google reCAPTCHA: by WebFactory Ltd – 1.26<br>All in One SEO: by All in One SEO Team – 4.7.8<br>Blocksy Companion: by CreativeThemes – 2.0.84<br>BoldGrid Gallery: by BoldGrid.com – 1.5.1<br>Custom Order Status Manager for WooCommerce: by Bright Plugins – 1.1.5<br>Conditional Shipping for WooCommerce: by Lauri Karisola / WP Trio – 3.3.0<br>DreamHost Panel Login: by DreamHost<br>danielbachhuber – 1.0.0</p>
<p>Email Verification for WooCommerce: by WPFactory – 2.9.3<br>Jetpack: by Automattic – 14.2.1<br>Omnisend for WooCommerce: by Omnisend – 1.15.28<br>Post and Page Builder Premium: by BoldGrid – 1.2.6<br>Post and Page Builder: by BoldGrid – 1.27.6<br>Smart Slider 3: by Nextend – 3.5.1.26<br>W3 Total Cache: by BoldGrid – 2.8.3<br>Multi-Carrier Shippo Shipping Rates & Address Validation for WooCommerce: by OneTeamSoftware – 1.5.16<br>Converter for Media: by matt plugins – Optimize images by convert WebP & AVIF – 6.2.0<br>WooCommerce Zettle Integration: by BjornTech AB – 7.9.5<br>WooCommerce.com Update Manager: by Automattic – 1.0.3<br>WooCommerce Composite Products: by Woo – 10.3.1<br>WooCommerce Stripe Gateway: by Stripe – 9.1.1<br>WooPayments: by WooCommerce – 8.8.0<br>WooCommerce PayPal Payments: by WooCommerce – 2.9.6<br>WooCommerce Product Bundles: by Woo – 8.3.2<br>WooCommerce Shipping & Tax: by WooCommerce – 2.8.6<br>WooCommerce: by Automattic – 9.6.0<br>WP Extended Search: by 5um17 – 2.2<br>WP Mail Logging: by WP Mail Logging Team – 1.14.0<br>WP Mail SMTP: by WP Mail SMTP – 4.3.0<br>WP STAGING WordPress Backup Plugin – Backup Duplicator & Migration: by WP-STAGING<br>WPStagingBackup – 3.10.0</p>
<p>WPForms Lite: by WPForms – 1.9.3.1<br>YITH WooCommerce Wishlist: by YITH – 4.1.0 Inactive Plugins (0) Dropin Plugins ()</p>
<p>advanced-cache.php: advanced-cache.php<br>object-cache.php: object-cache.php Must Use Plugins (1)</p>
<p>WP STAGING Optimizer: by WP STAGING – 1.5.6 Settings</p>
<p>Legacy API Enabled: –<br>Force SSL: –<br>Currency: USD ($)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: bundle (bundle)<br>composite (composite)<br>external (external)<br>grouped (grouped)<br>simple (simple)<br>subscription (subscription)<br>variable (variable)<br>variable subscription (variable-subscription)<br>woosb (woosb)</p>
<p>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)</p>
<p>Connected to WooCommerce.com:
<br>Enforce Approved Product Download Directories: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – Logging</p>
<p>Enabled:
<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 26 MB WC Pages</p>
<p>Shop base: #19011 – /<br>Cart: #19118 – /cart-2/ – Contains the [woocommerce_cart] shortcode<br>Checkout: #19119 – /checkout-2/ – Contains the [woocommerce_checkout] shortcode<br>My account: #18547 – /my-account/<br>Terms and conditions: #33894 – /refund_returns/ Theme</p>
<p>Name: Blocksy<br>Version: 2.0.84<br>Author URL: https://creativethemes.com<br>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<br>Theme type: Classic theme<br>WooCommerce Support:
Templates</p>
<p>Overrides: blocksy/woocommerce/cart/cart.php<br>blocksy/woocommerce/cart/mini-cart.php<br>blocksy/woocommerce/content-widget-product.php<br>blocksy/woocommerce/content-widget-reviews.php<br>blocksy/woocommerce/myaccount/my-account.php<br>blocksy/woocommerce/product-searchform.php<br>blocksy/woocommerce/single-product/tabs/tabs.php version 3.8.0 is out of date. The core version is 9.6.0</p>
<p>Outdated Templates:
</p>
<pre class=”wp-block-code”><code> Learn how to update |
Clear system status theme info cache</code></pre>
<p>WooPayments</p>
<p>Version: 8.8.0<br>Connected to WPCOM: Yes<br>WPCOM Blog ID: 187507555<br>Account ID: acct_1I4zpH2E9jNKWX5p<br>Payment Gateway: Enabled<br>Test Mode: Disabled<br>Enabled APMs: card<br>WooPay: Enabled (no locations enabled)<br>WooPay Incompatible Extensions: No<br>Apple Pay / Google Pay: Enabled (checkout)<br>Fraud Protection Level: basic<br>Multi-currency: Disabled<br>Auth and Capture: Disabled<br>Documents: Disabled<br>Logging: Enabled Composite Products</p>
<p>Database Version: 10.3.1<br>Loopback Test:
<br>Template Overrides: – Product Bundles</p>
<p>Database Version: 8.3.2<br>Loopback Test:
<br>Template Overrides: – WooCommerce PayPal Payments</p>
<p>Onboarded:
<br>Shop country code: US<br>WooCommerce currency supported:
<br>Advanced Card Processing available in country:
<br>Pay Later messaging available in country:
<br>Webhook status:
<br>PayPal Vault enabled: –<br>ACDC Vault enabled: –<br>Logging enabled: –<br>Reference Transactions: –<br>Used PayPal Checkout plugin: –<br>Subscriptions Mode: Disabled<br>PayPal Shipping Callback: –<br>Apple Pay: –<br>Google Pay: –<br>Fastlane: – Admin</p>
<p>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store</p>
<p>Disabled Features: product-data-views<br>experimental-blocks<br>coming-soon-newsletter-template<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>blueprint<br>reactify-classic-payments-settings<br>use-wp-horizon<br>add-to-cart-with-options-stepper-layout<br>blockified-add-to-cart</p>
<p>Daily Cron:
Next scheduled: 2025-01-23 20:23:43 -05:00<br>Options:
<br>Notes: 213<br>Onboarding: completed Action Scheduler</p>
<p>Canceled: 21<br>Oldest: 2024-12-26 15:47:30 -0500<br>Newest: 2025-01-17 18:18:30 -0500</p>
<p>Complete: 7,003<br>Oldest: 2024-12-22 22:25:38 -0500<br>Newest: 2025-01-22 21:47:33 -0500</p>
<p>Failed: 126<br>Oldest: 2021-11-30 13:42:35 -0500<br>Newest: 2025-01-22 18:47:40 -0500</p>
<p>Pending: 15<br>Oldest: 2025-01-22 22:02:33 -0500<br>Newest: 2025-02-13 17:09:41 -0500 Status report information</p>
<p>Generated at: 2025-01-22 21:53:35 -05:00<br>`
`
I would appreciate some feedback on these observations and what could be the cause. Thanks.
]]>If I allow backorders on that product, the status changes to “on backorder” (which seems to be correct).
Generally speaking, there seems to be no way to get the stock status to display as “Out of Stock” even when that would seem to be the correct status.
Am I correct that the status should be “Out of Stock” when stock = 0 and backorders are disallowed?
If so, what could be the reasons why I am not seeing this? I have tried clearing transients, regenerating product lookup tables and recounting terms but these have made no difference. I have also tried deactivating a custom stock status plugin I am using but to no avail.
I am running the latest version of WooCommerce (9.4.3) and the Kadence theme.
Any suggestions would be appreciated.
Thanks.
]]>I can’t upload pictures or else i’d show an example. TLDR: If a product sells out and the pre-order date ends, the product still shows in the catalog.
]]>I have selected availability as STOCK STATUS while creating feed, but it is not picking up the availability status, while on product page it falls under the category of inventory> stock Status. I can’t find any other option to select it. Because of this it is not approving in merchant center
]]>I read this topic – Major bug in product inventory status and there is one thing I would like to clarify.?
Shameem (woo-hc) (@shameemreza) wrote:
If a parent product is marked as in stock, but all its variations are out of stock, it should still appear in the catalogue.
The exact conditions to recreate this case:
I can confirm that such a product will be displayed in the catalog. What is the practical justification for showing such a product in the catalog? I’m writing it from the perspective of a developer that develops a filtering plugin.?
Arguments against displaying such products in the catalog:
As a matter of common sense, such a product should be removed from the catalog. If all variations manage stock independently and are out of stock, the whole product should be all of stock. I would like to understand better why such a product is displayed in the catalog. Maybe there is something I missed.
In the FiboFilters plugin, we’re developing, we decided not to display such products in the catalog while WooCommerce displays them.?I would like to determine which path is more reasonable.
Best
Damian Góra
https://fibofilters.com
Is this not an option with the S2W plugin?
Thank you
]]>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 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 <> '' " . $posts_clauses['where'];
}
return $posts_clauses;
}
i am using the above code to display out of stock products at the bottom of the page on my website, this code works perfectly on my shop page however does not work on pages where i use this shortcode to display products: [products limit=”8″ columns=”4″ orderby=”date” category=”zara men perfumes” cat_operator=”IN”].
I would like to modify this shortcode to also show instock products first, or only show instock products. Thanks.
]]>