variable product will not show if not saved as a simple product first
-
We have encountered a very strange error with Variable products in the latest version of WooCommerce.
Basically, before we can create a new variable product, the product has to first be saved as a “Simple” product. Otherwise the product does not appear in the shop.
We have tried deactivating all of the plugins – the error still persists. We have also tried switching to the Twenty Fifteen theme, with no success.
Any ideas what could be causing this, and how we can resolve it?
-
May be obvious, but when adding variations, are you setting them to in stock and giving them prices?
Thanks Mike,
Yes, they have stock and prices in the variations. And if I change a product that is not showing to simple, save it, and then change it back to variable, it appears in the shop.
Question; (I think I know whats causing this, this will confirm it), if you make a new variable product with several variations and see the issue, does it appear if you change one of the variations inside to outofstock and save? Don’t change type.
Hi again Mike,
Yes, as predicted, this does seem to work.
Awaiting your advice on this.
I’ve logged here to look in the morning https://github.com/woothemes/woocommerce/issues/8950
We’re seeing the same (or very similar) issue on https://www.artpapersonline.com
Last week products were working.
Now, some (I haven’t checked to see if it’s all or not, since we have 5000 SKUs) products with variations are showing as out of stock – even though the manage stock field is NO and all the variations are marked as In Stock.
Product export verifies the settings we expected to see.
Sample of the behavior is at:
https://artpapersonline.com/product/perfect-pigment-fluid-acrylic-paint/
Please advise.
Thanks!
Joe### WordPress Environment ###
Home URL: https://artpapersonline.com
Site URL: https://artpapersonline.com
WC Version: 2.4.4
Log Directory Writable: ? /home/apo/public_html/wp-content/uploads/wc-logs/
WP Version: 4.3
WP Multisite: –
WP Memory Limit: 400 MB
WP Debug Mode: –
Language: en_US### Server Environment ###
Server Info: Apache
PHP Version: 5.5.28
PHP Post Max Size: 128 MB
PHP Time Limit: 120
PHP Max Input Vars: 4840
SUHOSIN Installed: –
MySQL Version: 5.5.44
Max Upload Size: 128 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 2.4.4
:
woocommerce_api_keys: ?
woocommerce_attribute_taxonomies: ?
woocommerce_termmeta: ?
woocommerce_downloadable_product_permissions: ?
woocommerce_order_items: ?
woocommerce_order_itemmeta: ?
woocommerce_tax_rates: ?
woocommerce_tax_rate_locations: ?### Active Plugins (43) ###
Gravity Forms: by rocketgenius – 1.9.10.2
LayerSlider WP: by Kreatura Media – 5.3.2
Admin Menu Manager: by required+ – 1.0.3
Advanced Custom Fields: by Elliot Condon – 4.4.2
Akismet: by Automattic – 3.1.3
All In One WP Security: by Tips and Tricks HQ
Peter
Ruhul
Ivy – 3.9.8Block Bad Queries (BBQ): by Jeff Starr – 20150808
BM Custom Login: by Ben Gillbanks – 1.8.2
CMS Tree Page View: by P?r Thernstr?m – 1.2.32
Admin Columns: by AdminColumns.com – 2.4.6
Convert Post Types: by Stephanie Leary – 1.4
Display Categories Widget: by Suresh Baskaran – 1.1
WordPress Editorial Calendar: by Colin Vernon
Justin Evans
Joachim Kudish
Mary Vogt
and Zack Grossbart – 3.5Enable Media Replace: by M?ns Jonasson – 3.0.3
Expire Users: by Ben Huson – 1.0
Fusion Core: by ThemeFusion – 1.7.3
Gravity Forms MailChimp Add-On: by rocketgenius – 3.6
Gravity Forms PayPal Standard Add-On: by rocketgenius – 2.4
Gravity Forms User Registration Add-On: by rocketgenius – 2.3
Limit Login Attempts: by Johan Eenfeldt – 1.7.1
Media Library Assistant: by David Lingren
Fair Trade Judaica – 2.14Mini Loops: by Kailey Lampert – 1.2
PHP Code Widget: by Otto – 2.3
Pods – Custom Content Types and Fields: by Pods Framework Team – 2.5.4
Post Expirator: by Aaron Axelsen – 2.1.4
Regenerate Thumbnails: by Viper007Bond – 2.2.4
Relevanssi Premium: by Mikko Saari – 1.13.5
Revolution Slider: by ThemePunch – 4.6.92
SG CachePress: by SiteGround – 2.2.9
TinyMCE Advanced: by Andrew Ozz – 4.2.3
WooCommerce – APG Weight and Postcode/State/Country Shipping: by Art Project Group – 1.8.0.2
WooCommerce Print Invoice & Delivery Note: by Triggvy Gunderson – 4.1.5
WooCommerce PayPal Pro (Classic and PayFlow Editions) Gateway: by WooThemes – 4.3.3 – 4.3.7 is available
WooCommerce Product CSV Import Suite: by Mike Jolley / WooThemes – 1.9.19 – 1.10.2 is available
WooCommerce – WP E-Commerce -> WooCommerce Converter: by WooThemes – 1.1.7
WooCommerce: by WooThemes – 2.4.4
WooThemes Helper: by WooThemes – 1.5.7
WordPress HTTPS: by Mike Ems – 3.3.6
Yoast SEO: by Team Yoast – 2.3.4
WP Related Items (WRI) by WebshopLogic: by WebshopLogic – 1.1.6
WPFront User Role Editor: by Syam Mohan – 2.10
Yoast WooCommerce SEO: by Team Yoast – 1.1.6
Yet Another Related Posts Plugin: by Adknowledge – 4.2.5### Settings ###
Force SSL: ?
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2### API ###
API Enabled: ?
API Version: 3.0.0### WC Pages ###
Shop Base: #136 – /shop/
Cart: #13281 – /cart-2/
Checkout: #13282 – /checkout/
My Account: #13283 – /my-account/### Taxonomies ###
Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)### Theme ###
Name: Avada Child
Version:
Author URL:
Child Theme: ?
Parent Theme Name: Avada
Parent Theme Version: 3.8.4
Parent Theme Author URL: https://themeforest.net/user/ThemeFusion
WooCommerce Support: ?### Templates ###
Overrides: Avada/woocommerce/cart/cart.php
Avada/woocommerce/cart/shipping-calculator.php
Avada/woocommerce/checkout/form-checkout.php
Avada/woocommerce/checkout/form-pay.php
Avada/woocommerce/checkout/review-order.php
Avada/woocommerce/checkout/thankyou.php
Avada/woocommerce/content-product.php version 1.6.4 is out of date. The core version is 2.4.0
Avada/woocommerce/loop/loop-start.php
Avada/woocommerce/loop/pagination.php
Avada/woocommerce/myaccount/form-edit-address.php
Avada/woocommerce/single-product/add-to-cart/variable.php version 2.3.0 is out of date. The core version is 2.4.0
Avada/woocommerce/single-product/product-image.php
Avada/woocommerce/single-product/product-thumbnails.php
Avada/woocommerce/single-product/short-description.php
Avada/woocommerce/single-product/tabs/description.php
Avada/woocommerce/single-product/title.php: Learn how to update outdated templates
I had the same issue – all my variable products with over 20 variations showed up as “out of stock” on the detail page. The error is theme dependent and had my IT support change the following and all is in order….
https://www.8theme.com/topic/problem-with-variations-didnt-allow-to-have-over-20-variations/ – the second paragraph gives a sample of how it should be changed.
This explain the interface:
https://woocommerce.wordpress.com/2015/07/13/improving-the-variations-interface-in-2-4/I see you have 5000 SKU’s with the same issue and wanted to help. Good Luck!!
We have updated to the latest version of WooCommerce and this issue has still not been resolved. Can you please advise as what might be causing this that we could change on our side?
You’re all posting similar but not same issues here.. don’t post in other user’s threads. Post your own. And don’t ignore the sticky post since it explains what some of you are saying.
- The topic ‘variable product will not show if not saved as a simple product first’ is closed to new replies.