woocommerce / woocommerce

A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
https://woocommerce.com
9.33k stars 10.75k forks source link

In stock status message on front-end missing for product variations #19978

Closed rocketeer76 closed 6 years ago

rocketeer76 commented 6 years ago

When using a product with variations, the "in stock" message on the front end vanishes upon selection of variants that are in stock (no stock management). The "in stock" message is visible on the parent before variants have been selected (the parent doesn't handle stock).

Stock related headers used when importing variants from the CSV Import Suite: stock -> blank stock_status -> instock meta:_manage_stock -> no meta:_backorders -> no

tax:product_visibility seems to have no function for individual variations that are in stock (no stock management).

WordPress Environment

Home URL: Site URL: WC Version: 3.3.5 Log Directory Writable: ✔ WP Version: 4.9.5 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: sv_SE

Server Environment

Server Info: Apache PHP Version: 7.2.5 PHP Post Max Size: 32 MB PHP Time Limit: 60 PHP Max Input Vars: 1000 cURL Version: 7.19.7 NSS/3.27.1

SUHOSIN Installed: – Max Upload Size: 32 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔

Database

WC Database Version: 3.3.5 WC Database Prefix: wp_ Total databasstorlek: 60.45MB Datastorlek för databas: 40.09MB Indexstorlek för databas: 20.36MB wp_woocommerce_sessions: Data: 0.02 MB + Index: 0.02 MB wp_woocommerce_api_keys: Data: 0.02 MB + Index: 0.03 MB wp_woocommerce_attribute_taxonomies: Data: 0.02 MB + Index: 0.02 MB wp_woocommerce_downloadable_product_permissions: Data: 0.02 MB + Index: 0.05 MB wp_woocommerce_order_items: Data: 0.02 MB + Index: 0.02 MB wp_woocommerce_order_itemmeta: Data: 0.02 MB + Index: 0.03 MB wp_woocommerce_tax_rates: Data: 0.02 MB + Index: 0.06 MB wp_woocommerce_tax_rate_locations: Data: 0.02 MB + Index: 0.03 MB wp_woocommerce_shipping_zones: Data: 0.02 MB + Index: 0.00 MB wp_woocommerce_shipping_zone_locations: Data: 0.02 MB + Index: 0.03 MB wp_woocommerce_shipping_zone_methods: Data: 0.02 MB + Index: 0.00 MB wp_woocommerce_payment_tokens: Data: 0.02 MB + Index: 0.02 MB wp_woocommerce_payment_tokenmeta: Data: 0.02 MB + Index: 0.03 MB wp_woocommerce_log: Data: 0.02 MB + Index: 0.02 MB wp_commentmeta: Data: 0.02 MB + Index: 0.03 MB wp_comments: Data: 0.02 MB + Index: 0.09 MB wp_links: Data: 0.02 MB + Index: 0.02 MB wp_options: Data: 2.06 MB + Index: 0.41 MB wp_postmeta: Data: 32.23 MB + Index: 15.59 MB wp_posts: Data: 3.52 MB + Index: 2.08 MB wp_termmeta: Data: 0.09 MB + Index: 0.11 MB wp_terms: Data: 0.11 MB + Index: 0.13 MB wp_term_relationships: Data: 1.19 MB + Index: 1.22 MB wp_term_taxonomy: Data: 0.14 MB + Index: 0.17 MB wp_usermeta: Data: 0.02 MB + Index: 0.03 MB wp_users: Data: 0.02 MB + Index: 0.05 MB wp_wc_download_log: Data: 0.02 MB + Index: 0.03 MB wp_wc_webhooks: Data: 0.02 MB + Index: 0.02 MB wp_yoast_seo_links: Data: 0.02 MB + Index: 0.02 MB wp_yoast_seo_meta: Data: 0.31 MB + Index: 0.00 MB

Post Type Counts

attachment: 3439 customize_changeset: 4 nav_menu_item: 8 page: 14 post: 2 product: 595 product_variation: 1943 revision: 14 shipping_package: 5 slider: 3 wpcf7_contact_form: 1

Security

Secure connection (HTTPS): ❌Din butik använder inte HTTPS. Lär dig mer om HTTPS och SSL-certifikat. Hide errors from visitors: ✔

Active Plugins (17)

Akismet Anti-Spam: av Automattic – 4.0.3 Contact Form 7: av Takayuki Miyoshi – 5.0.1 Kidz Theme Functionality: av ideapark.kz – 1.4.2 Kidz Theme Wishlist: av ideapark.kz – 1.2 Loco Translate: av Tim Whitlock – 2.1.3 Regenerate Thumbnails: av Alex Mills (Viper007Bond) – 3.0.2 SVG Support: av Benbodhi – 2.3.15 WooCommerce Advanced Shipping Packages: av WooCommerce – 1.1.4 – Inte testat med den aktiva versionen för WooCommerce WooCommerce Brands: av WooCommerce – 1.6.0 – 1.6.1 finns tillgänglig WooCommerce Breadcrumb Permalinks: av Captain Theme – 1.1.1 – Inte testat med den aktiva versionen för WooCommerce WooCommerce Stripe Gateway: av WooCommerce – 4.1.2 WooCommerce Measurement Price Calculator: av SkyVerge – 3.13.2 – 3.13.3 finns tillgänglig WooCommerce Product CSV Import Suite: av WooCommerce – 1.10.17 WooCommerce Sequential Order Numbers Pro: av SkyVerge – 1.12.0 WooCommerce: av Automattic – 3.3.5 Yoast SEO Premium: av Team Yoast – 6.3 Yoast SEO: WooCommerce: av Team Yoast – 6.3 – Inte testat med den aktiva versionen för WooCommerce

Settings

API Enabled: ✔ Force SSL: – Currency: SEK (kr) Currency Position: right_space 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) instock (instock) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5)

WC Pages

Butikbas: #4 - /sortiment/ Varukorg: #5 - /varukorg/ Kassan: #6 - /kassan/ Mitt konto: #7 - /mitt-konto/ Allmänna villkor: #14 - /kopvillkor/

Theme

Name: Kidz-Child Version: 1.1 Author URL: http://ideapark.kz Child Theme: ✔ Parent Theme Name: Kidz Parent Theme Version: 1.4.8 Parent Theme Author URL: http://ideapark.kz WooCommerce Support: ✔

Templates

Overrides: kidz/woocommerce/archive-product.php kidz/woocommerce/cart/cart-empty.php kidz/woocommerce/cart/cart-shipping.php kidz/woocommerce/cart/cart-totals.php kidz/woocommerce/cart/cart.php kidz/woocommerce/cart/proceed-to-checkout-button.php kidz/woocommerce/cart/shipping-calculator.php kidz/woocommerce/checkout/form-billing.php kidz/woocommerce/checkout/form-checkout.php kidz/woocommerce/checkout/form-coupon.php kidz/woocommerce/checkout/form-shipping.php kidz/woocommerce/checkout/payment-method.php kidz/woocommerce/checkout/payment.php kidz/woocommerce/checkout/review-order.php kidz/woocommerce/checkout/terms.php kidz/woocommerce/checkout/thankyou.php kidz/woocommerce/content-product.php kidz/woocommerce/content-product_cat.php kidz/woocommerce/content-single-product.php kidz/woocommerce/global/form-login.php kidz/woocommerce/global/sidebar.php kidz/woocommerce/global/wrapper-end.php kidz/woocommerce/global/wrapper-start.php kidz/woocommerce/loop/add-to-cart.php kidz/woocommerce/loop/loop-end.php kidz/woocommerce/loop/orderby.php kidz/woocommerce/loop/result-count.php kidz/woocommerce/loop/sale-flash.php kidz/woocommerce/myaccount/dashboard.php kidz/woocommerce/myaccount/downloads.php kidz/woocommerce/myaccount/form-login.php kidz/woocommerce/myaccount/my-account.php kidz/woocommerce/myaccount/my-address.php kidz/woocommerce/myaccount/navigation.php kidz/woocommerce/myaccount/orders.php kidz/woocommerce/order/order-details-customer.php kidz/woocommerce/product-searchform.php kidz/woocommerce/single-product/add-to-cart/grouped.php kidz/woocommerce/single-product/add-to-cart/variable.php kidz/woocommerce/single-product/product-image.php kidz/woocommerce/single-product/product-thumbnails.php kidz/woocommerce/single-product/sale-flash.php kidz/woocommerce/single-product/tabs/additional-information.php kidz/woocommerce/single-product/tabs/tabs.php kidz/woocommerce/single-product/title.php kidz/woocommerce/single-product.php

3rdEyeBall commented 6 years ago

Thanks for posting this. Been fighting this bug for weeks now. Changing inventory settings, even disabling inventory control altogether do nothing. Change product to simple product, then save and change back to variable product.. All I can do is get it working again and then maybe an hour later or less (sometimes minutes) and it's back to missing add-to-cart buttons again and items reported as 'out of stock' whether or not they are.

Im assuming it's a bug with the price meta key, as a couple months ago I was working with an import/export feature to add new products in bulk. The bug however, affects all products randomly.

Hopefully we get some insight. ``

WordPress Environment

Home URL: redacted Site URL: redacted WC Version: 3.3.5 Log Directory Writable: ✔ WP Version: 4.9.5 WP Multisite: – WP Memory Limit: 8 GB WP Debug Mode: – WP Cron: ✔ Language: en_US

Server Environment

Server Info: Apache/2.4.25 (Debian) PHP Version: 7.0.27-0+deb9u1 PHP Post Max Size: 64 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.52.1 OpenSSL/1.0.2l

SUHOSIN Installed: – MySQL Version: 5.6.38 Max Upload Size: 64 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔

Database

WC Database Version: 3.3.5 WC Database Prefix: cucjt_ MaxMind GeoIP Database: ✔ Total Database Size: 182.40MB Database Data Size: 129.04MB Database Index Size: 53.36MB cucjt_woocommerce_sessions: Data: 35.06MB + Index: 0.14MB cucjt_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB cucjt_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB cucjt_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB cucjt_woocommerce_order_items: Data: 0.36MB + Index: 0.15MB cucjt_woocommerce_order_itemmeta: Data: 3.19MB + Index: 1.26MB cucjt_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB cucjt_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB cucjt_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB cucjt_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB cucjt_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB cucjt_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB cucjt_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB cucjt_woocommerce_log: Data: 0.02MB + Index: 0.02MB cucjt_abj404_logsv2: Data: 0.05MB + Index: 0.04MB cucjt_abj404_redirects: Data: 0.00MB + Index: 0.02MB cucjt_affiliate_wp_affiliatemeta: Data: 0.02MB + Index: 0.03MB cucjt_affiliate_wp_affiliates: Data: 0.02MB + Index: 0.02MB cucjt_affiliate_wp_campaigns: Data: 0.00MB + Index: 0.00MB cucjt_affiliate_wp_creatives: Data: 0.02MB + Index: 0.02MB cucjt_affiliate_wp_payouts: Data: 0.02MB + Index: 0.02MB cucjt_affiliate_wp_referrals: Data: 0.06MB + Index: 0.02MB cucjt_affiliate_wp_rest_consumers: Data: 0.02MB + Index: 0.02MB cucjt_affiliate_wp_visits: Data: 1.52MB + Index: 0.13MB cucjt_apmm_custom_theme: Data: 0.02MB + Index: 0.00MB cucjt_ariadminer_connections: Data: 0.02MB + Index: 0.00MB cucjt_cart_notices: Data: 0.02MB + Index: 0.00MB cucjt_commentmeta: Data: 0.08MB + Index: 0.06MB cucjt_comments: Data: 2.52MB + Index: 1.84MB cucjt_cucjt_cucjt_cucjt_cucjt_cucjt_hook_list: Data: 0.02MB + Index: 0.00MB cucjt_gdbc_attempts: Data: 0.02MB + Index: 0.02MB cucjt_hook_list: Data: 0.02MB + Index: 0.00MB cucjt_image_compression_settings: Data: 0.02MB + Index: 0.00MB cucjt_links: Data: 0.02MB + Index: 0.02MB cucjt_options: Data: 11.45MB + Index: 5.80MB cucjt_pmxe_exports: Data: 0.13MB + Index: 0.00MB cucjt_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB cucjt_pmxe_posts: Data: 0.02MB + Index: 0.00MB cucjt_pmxe_templates: Data: 0.02MB + Index: 0.00MB cucjt_pmxi_files: Data: 0.02MB + Index: 0.00MB cucjt_pmxi_history: Data: 0.02MB + Index: 0.00MB cucjt_pmxi_imports: Data: 0.20MB + Index: 0.00MB cucjt_pmxi_posts: Data: 0.02MB + Index: 0.00MB cucjt_pmxi_templates: Data: 0.02MB + Index: 0.00MB cucjt_postmeta: Data: 25.56MB + Index: 21.05MB cucjt_posts: Data: 3.52MB + Index: 1.27MB cucjt_po_plugins: Data: 1.52MB + Index: 0.42MB cucjt_ps_exclude: Data: 0.02MB + Index: 0.02MB cucjt_ps_postmeta: Data: 0.02MB + Index: 0.03MB cucjt_ps_posts: Data: 0.08MB + Index: 0.02MB cucjt_ps_product_sku: Data: 0.08MB + Index: 0.02MB cucjt_relevanssi: Data: 4.50MB + Index: 8.00MB cucjt_relevanssi_log: Data: 0.02MB + Index: 0.02MB cucjt_relevanssi_stopwords: Data: 0.02MB + Index: 0.00MB cucjt_revslider_backup_slides: Data: 0.02MB + Index: 0.00MB cucjt_revslider_css: Data: 0.16MB + Index: 0.00MB cucjt_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB cucjt_revslider_navigations: Data: 0.02MB + Index: 0.00MB cucjt_revslider_sliders: Data: 0.25MB + Index: 0.00MB cucjt_revslider_slides: Data: 1.52MB + Index: 0.00MB cucjt_revslider_static_slides: Data: 0.05MB + Index: 0.00MB cucjt_rg_form: Data: 0.02MB + Index: 0.00MB cucjt_rg_form_meta: Data: 0.02MB + Index: 0.00MB cucjt_rg_form_view: Data: 0.02MB + Index: 0.03MB cucjt_rg_incomplete_submissions: Data: 0.02MB + Index: 0.02MB cucjt_rg_lead: Data: 0.02MB + Index: 0.03MB cucjt_rg_lead_detail: Data: 0.02MB + Index: 0.06MB cucjt_rg_lead_detail_long: Data: 0.02MB + Index: 0.00MB cucjt_rg_lead_meta: Data: 0.02MB + Index: 0.05MB cucjt_rg_lead_notes: Data: 0.02MB + Index: 0.03MB cucjt_termmeta: Data: 0.44MB + Index: 0.34MB cucjt_terms: Data: 0.13MB + Index: 0.22MB cucjt_term_relationships: Data: 0.25MB + Index: 0.25MB cucjt_term_taxonomy: Data: 0.14MB + Index: 0.17MB cucjt_um_conversations: Data: 0.02MB + Index: 0.00MB cucjt_um_messages: Data: 0.02MB + Index: 0.00MB cucjt_um_notifications: Data: 0.02MB + Index: 0.00MB cucjt_usermeta: Data: 9.52MB + Index: 6.03MB cucjt_users: Data: 0.19MB + Index: 0.17MB cucjt_wc_download_log: Data: 0.02MB + Index: 0.03MB cucjt_wc_gpf_render_cache: Data: 0.02MB + Index: 0.02MB cucjt_wc_point_of_sale_sale_reports: Data: 0.00MB + Index: 0.00MB cucjt_wc_poin_of_sale_grids: Data: 0.02MB + Index: 0.00MB cucjt_wc_poin_of_sale_outlets: Data: 0.02MB + Index: 0.00MB cucjt_wc_poin_of_sale_receipts: Data: 0.02MB + Index: 0.00MB cucjt_wc_poin_of_sale_registers: Data: 0.02MB + Index: 0.00MB cucjt_wc_poin_of_sale_tiles: Data: 0.02MB + Index: 0.00MB cucjt_wc_webhooks: Data: 0.02MB + Index: 0.02MB cucjt_wfBadLeechers: Data: 0.00MB + Index: 0.00MB cucjt_wfBlockedCommentLog: Data: 0.02MB + Index: 0.00MB cucjt_wfBlockedIPLog: Data: 0.24MB + Index: 0.15MB cucjt_wfBlocks: Data: 0.00MB + Index: 0.00MB cucjt_wfBlocks7: Data: 0.02MB + Index: 0.05MB cucjt_wfBlocksAdv: Data: 0.00MB + Index: 0.00MB cucjt_wfConfig: Data: 1.38MB + Index: 0.01MB cucjt_wfCrawlers: Data: 0.00MB + Index: 0.00MB cucjt_wfFileChanges: Data: 0.02MB + Index: 0.00MB cucjt_wfFileMods: Data: 8.46MB + Index: 1.80MB cucjt_wfHits: Data: 0.10MB + Index: 0.01MB cucjt_wfHoover: Data: 0.00MB + Index: 0.00MB cucjt_wfIssues: Data: 0.01MB + Index: 0.01MB cucjt_wfKnownFileList: Data: 5.52MB + Index: 0.00MB cucjt_wfLeechers: Data: 0.10MB + Index: 0.08MB cucjt_wfLiveTrafficHuman: Data: 0.02MB + Index: 0.02MB cucjt_wfLockedOut: Data: 0.00MB + Index: 0.00MB cucjt_wfLocs: Data: 0.00MB + Index: 0.00MB cucjt_wfLogins: Data: 0.04MB + Index: 0.01MB cucjt_wfNet404s: Data: 0.00MB + Index: 0.00MB cucjt_wfNotifications: Data: 0.05MB + Index: 0.00MB cucjt_wfPendingIssues: Data: 0.02MB + Index: 0.06MB cucjt_wfReverseCache: Data: 0.03MB + Index: 0.01MB cucjt_wfScanners: Data: 0.00MB + Index: 0.00MB cucjt_wfSNIPCache: Data: 0.02MB + Index: 0.05MB cucjt_wfStatus: Data: 0.39MB + Index: 0.15MB cucjt_wfThrottleLog: Data: 0.01MB + Index: 0.00MB cucjt_wfVulnScanners: Data: 0.00MB + Index: 0.00MB cucjt_woocommerce_gpf_google_taxonomy: Data: 2.02MB + Index: 0.00MB cucjt_woocommerce_per_product_shipping_rules: Data: 0.02MB + Index: 0.00MB cucjt_wp_optimisation_sizes_info: Data: 0.02MB + Index: 0.00MB cucjt_wsal_metadata: Data: 5.52MB + Index: 2.52MB cucjt_wsal_occurrences: Data: 0.14MB + Index: 0.13MB cucjt_wsal_options: Data: 0.02MB + Index: 0.00MB cucjt_wsmea_conditional_payment_methods: Data: 0.02MB + Index: 0.00MB cucjt_yith_wapo_groups: Data: 0.02MB + Index: 0.00MB cucjt_yith_wapo_types: Data: 0.06MB + Index: 0.00MB cucjt_yith_wccl_meta: Data: 0.02MB + Index: 0.00MB cucjt_yith_wcdn_desktop_notification: Data: 0.02MB + Index: 0.00MB cucjt_yith_wcps_shippings: Data: 0.02MB + Index: 0.00MB cucjt_yith_wcwl: Data: 0.02MB + Index: 0.02MB cucjt_yith_wcwl_lists: Data: 0.05MB + Index: 0.03MB cucjt_yoast_seo_links: Data: 0.36MB + Index: 0.17MB cucjt_yoast_seo_meta: Data: 0.22MB + Index: 0.00MB cucjt_ywrr_email_blocklist: Data: 0.02MB + Index: 0.00MB cucjt_ywrr_email_schedule: Data: 0.06MB + Index: 0.00MB

Post Type Counts

amn_smtp: 1 amn_wpforms-lite: 3 attachment: 1583 custom_css: 3 custom-css-js: 13 customize_changeset: 12 faqs: 18 flamingo_contact: 64 flamingo_inbound: 60 forum: 2 gift_card: 2 jetpack_migration: 2 nav_menu_item: 39 oembed_cache: 5 option-tree: 1 page: 38 paypal_ipn: 220 plugin_group: 2 portfolio: 1 pos_temp_register_or: 7 post: 8 product: 694 product_variation: 324 question_answer: 6 reply: 1 sa_invoice: 1 sa_item: 1 sa_notification: 20 sa_record: 4 shop_order: 2278 shop_order_refund: 39 spucpt: 1 team: 4 testimonials: 2 topic: 2 um_activity: 11 um_directory: 1 um_form: 4 um_role: 5 um_social_login: 1 wafs: 1 wc_stamps_label: 1 wpforms: 2 yith-wcbm-badge: 6 ywar_reviews: 23 ywdpd_discount: 2 ywrac_cart: 177

Security

Secure connection (HTTPS): ✔ Hide errors from visitors: ✔

Active Plugins (68)

Admin Custom Login: by Weblizar – 2.5.9 AffiliateWP: by AffiliateWP LLC – 2.1.17

AffiliateWP - Affiliate Area Tabs: by AffiliateWP – 1.2.4 AffiliateWP - Affiliate Info: by AffiliateWP LLC – 1.0.5

AffiliateWP - Leaderboard: by Pippin Williamson and Andrew Munro – 1.0.2 AffiliateWP - Order Details For Affiliates: by AffiliateWP – 1.1.5 Akismet Anti-Spam: by Automattic – 4.0.3 bbPress WP Tweaks: by veppa – 1.4.1 bbPress: by The bbPress Community – 2.5.14 Better Font Awesome: by Mickey Kay – 1.7.1 Breadcrumb NavXT: by John Havlik – 6.0.4 Breadcrumb NavXT Remove Current Item Extension: by John Havlik – 1.2.2 Clean Options: by Mittineague – 1.3.2 Webcraftic Clearfy – WordPress optimization plugin: by Webcraftic – 1.2.1 Crisp: by Crisp IM – 0.21 Simple Custom CSS and JS PRO: by SilkyPress.com – 4.5 Duo Two-Factor Authentication: by Duo Security – 2.5.4 Easy Theme and Plugin Upgrades: by Chris Jean – 2.0.0 Force Strong Hashing: by LittleBizzy – 1.0.5 GD bbPress Tools: by Milan Petrovic – 1.9.3 Inactive Logout: by Deepen Bajracharya – 1.7.2 Index Autoload: by LittleBizzy – 1.0.6 Jetpack by WordPress.com: by Automattic – 6.1 My Custom Functions: by Space X-Chimp – 4.15 Relevanssi: by Mikko Saari – 4.0.9 Remove Category Base: by LittleBizzy – 1.0.4 Slider Revolution 404 Page Add-On: by ThemePunch – 1.0.1 Slider Revolution Particles Effect: by ThemePunch – 1.0.6 Slider Revolution: by ThemePunch – 5.4.7.3 snapCX WooCommerce Order Tracking: by WooCommerce – 2.0.4 Ultimate Member: by Ultimate Member – 2.0.12 Ultimate Member - bbPress: by Ultimate Member – 2.0.1 Ultimate Member - Profile Completeness: by Ultimate Member – 2.0.1 Ultimate Member - Social Login: by Ultimate Member – 2.0.1 Ultimate Member - WooCommerce: by Ultimate Member – 2.0.1 – Not tested with the active version of WooCommerce UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 2.14.5.24

WooCommerce Dynamic Pricing & Discounts: by RightPress – 2.2.5 WooCommerce Advanced Free Shipping: by Jeroen Sormani – 1.1.3 – Not tested with the active version of WooCommerce WooCommerce Advanced Shipping: by Jeroen Sormani – 1.0.14 – Not tested with the active version of WooCommerce WooCommerce Customer/Order CSV Export: by SkyVerge – 4.4.4 WooCommerce First Data Payeezy Gateway: by SkyVerge – 4.3.1 WooCommerce Print Invoices/Packing Lists: by SkyVerge – 3.5.0 WooCommerce Point of Sale: by Actuality Extensions – 4.2.7 WooCommerce Google Product Feed: by Ademti Software Ltd. – 7.5.0 – 7.6.0 is available WooCommerce Sequential Order Numbers: by SkyVerge – 1.8.2 – Not tested with the active version of WooCommerce WooCommerce UPS Shipping: by WooCommerce – 3.2.9 WooCommerce USPS Shipping: by WooCommerce – 4.4.16 – 4.4.17 is available WooCommerce: by Automattic – 3.3.5 Wordfence Security: by Wordfence – 7.1.4 Yoast SEO Premium: by Team Yoast – 6.3.1 WP Instagram Widget: by Scott Evans – 2.0.3 WP Mail SMTP: by WPForms – 1.2.5 WP-Optimize: by David Anderson Ruhani Rabin Team Updraft – 2.2.3

WP Rocket: by WP Media – 3.0.4 WP Security Audit Log: by WP White Security – 3.1.7 WP SEO Structured Data Schema: by kcseopro – 2.4.1 WPForms Lite: by WPForms – 1.4.5.3 Yoast SEO: WooCommerce: by Team Yoast – 6.3 – Not tested with the active version of WooCommerce YITH Desktop Notifications for WooCommerce Premium: by YITHEMES – 1.1.5 – Not tested with the active version of WooCommerce YITH WooCommerce Product Add-ons Premium: by YITHEMES – 1.5.3 YITH WooCommerce Advanced Reviews Premium: by YITHEMES – 1.5.2 YITH WooCommerce Anti-Fraud Premium: by YITHEMES – 1.1.4 YITH WooCommerce Badge Management Premium: by YITHEMES – 1.3.11 YITH WooCommerce Brands Add-on Premium: by Yithemes – 1.2.1 YITH WooCommerce Category Accordion Premium: by YITHEMES – 1.0.19 YITH WooCommerce Gift Cards Premium: by YITHEMES – 1.8.4 YITH WooCommerce Questions and Answers Premium: by YITHEMES – 1.2.1 YITH WooCommerce Wishlist Premium: by YITHEMES – 2.2.1

Settings

API Enabled: ✔ Force SSL: ✔ Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) gift-card (gift-card) 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)

WC Pages

Shop base: #174 - /shop/ Cart: #6315 - /cart/ Checkout: #176 - /checkout/ My account: ❌ Page does not contain the shortcode. Terms and conditions: #2 - /terms/

Theme

Name: Neighborhood Theme Version: 3.4.76 Author URL: https://themeforest.net/item/neighborhood-responsive-multipurpose-shop-theme/5086341?s_rank=1 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: cncfabulous/woocommerce/archive-product.php cncfabulous/woocommerce/cart/cart-empty.php cncfabulous/woocommerce/cart/cart-totals.php cncfabulous/woocommerce/cart/cart.php cncfabulous/woocommerce/cart/cross-sells.php cncfabulous/woocommerce/checkout/form-billing.php cncfabulous/woocommerce/checkout/form-checkout.php cncfabulous/woocommerce/checkout/form-shipping.php cncfabulous/woocommerce/content-product.php cncfabulous/woocommerce/content-product_cat.php cncfabulous/woocommerce/content-single-product.php cncfabulous/woocommerce/global/quantity-input.php cncfabulous/woocommerce/loop/loop-end.php cncfabulous/woocommerce/loop/loop-start.php cncfabulous/woocommerce/loop/result-count.php cncfabulous/woocommerce/myaccount/form-login.php cncfabulous/woocommerce/single-product/meta.php cncfabulous/woocommerce/single-product/product-image.php cncfabulous/woocommerce/single-product/product-thumbnails.php /var/www/html/wp-content/plugins/yith-woocommerce-advanced-reviews-premium/templates/ywar-rating.php cncfabulous/woocommerce/single-product/related.php cncfabulous/woocommerce/single-product/tabs/description.php cncfabulous/woocommerce/single-product/tabs/tabs.php cncfabulous/woocommerce/single-product/up-sells.php cncfabulous/woocommerce/single-product.php cncfabulous/woocommerce/taxonomy-product_cat.php cncfabulous/woocommerce/taxonomy-product_tag.php

WooCommerce Google Product Feed fields

Availability: Defaults to "in stock". Bundle indicator (is_bundle): Availability date: Condition: Defaults to "new". Brand: Pre-populates from "yith_product_brand taxonomy". Manufacturer Part Number (MPN): Pre-populates from "sku taxonomy". Product Type: Pre-populates from "product_cat taxonomy". Google Product Category: Global Trade Item Number (GTIN): Gender: Defaults to "male". Age Group: Defaults to "adult". Colour: Pre-populates from "pa_powder-coating taxonomy". Size system: Defaults to "US". Delivery label: Pre-populates from "product_shipping_class taxonomy". Minimum handling time: Defaults to "1". Maximum handling time: Defaults to "2".

WooCommerce Google Product Feed options

Include variations in feed: Enabled Send item_group_id: Enabled

Payeezy Gateway Credit Card

Environment: Production Tokenization Enabled: ✔ Debug Mode: Off

Payeezy Gateway TeleCheck

Environment: Production Debug Mode: Off

Customer/Order CSV Export

Order Export Format: default Customer Export Format: default Automatically Export Orders: disabled Automatically Export Customers: disabled ``

rocketeer76 commented 6 years ago

I think something is wrong with the stock_status header. According to the documentation it can have two options: "instock" and "outofstock". Sometimes when I export products the stock_status header is onbackorder. When I import a product using "onbackorder" it looks OK in the back-end, but when I export it the stock_status header is changed to "instock" again. I've set the header backoder to "notify".

peterfabian commented 6 years ago

Hi,

Do you know when this problem started? Does this happen with the default theme (2017 or Storefront) and with all the plugins deactivated (only WooCommerce active)?

@rocketeer76 is the Add to cart button also disappearing for you (as reported by @3rdEyeBall) or is it only text In stock that disappears?

I'm afraid we need to

  1. rule out plugin/theme conflicts
  2. reproduce the problem on our side, thus anything more detailed would help us/give us clues what might be wrong.

Ad the stock_status: yes, onbackorder is a valid value for this one. There is some logic in function validate_props (https://github.com/woocommerce/woocommerce/blob/master/includes/abstracts/abstract-wc-product.php#L1302) that could cause the change you describe (judging by a quick look, not 100% sure about this particular product of yours).

rocketeer76 commented 6 years ago

@peterfabian I'm only experiencing the In stock text that disappears on the front-end when selecting a variation.

I experienced the problem a couple of weeks ago when I started building a new store. I have not tried with any other theme. Will elaborate and get back to you when I have more info.

rocketeer76 commented 6 years ago

@3rdEyeBall You might want to test with header: tax:product_visibility set to "instock" when importing the CSV on the parent products.

mikejolley commented 6 years ago

tax:product_visibility is something core sets to help filter products. This doesn't need to be imported afaik, but as we're talking about CSV Import Suite extension, not the core CSV importer.

Quickly browsing the source I see CSV import suite has:

'stock_status'  => array( 'instock', 'outofstock' ),
'backorders'    => array( 'yes', 'no', 'notify' ),

So it doesn't appear to handle onbackorder correctly which I think was a more recent change.

Please post to the helpdesk so this can be looked into in more depth, and so they can keep you posted on a fix.

cc'ing @laurendavissmith @bor0 @roykho so the extension devs are aware of a potential issue with these columns.

Closing this here as it's not part of core. The core CSV import/exporter is not affected.

Thanks

cc @peterfabian