Variable product option won’t save
-
I have a variable product with 4 options. 3 of them will save, one will not.
Whenever I choose that option in the list and hit save, it changes back to “Any choose your option.”
That variation isn’t available on the store.
Any ideas?
-
Sorry page is there. THere is a variation missing that won’t display.
Hi there!
Could you 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, paste it here in your response.Along with that, can you please share a screenshot of the product edit page, where you’re attempting to edit the variation?
If you don’t already have a screenshot service installed, you can try https://snipboard.io or https://skitch.com/.
You can share the direct link to the image as a response to this topic.[Please redact any private details, including address, name, email address, transaction details, API Keys, Passwords, etc]
Are you seeing any errors in the browser console while attempting to save?
### WordPress Environment ### WordPress address (URL): https://gothamcentralcomics.com Site address (URL): https://gothamcentralcomics.com WC Version: 4.6.0 REST API Version: ? 4.6.0 WC Blocks Version: ? 3.4.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.6.1 Log Directory Writable: ? WP Version: 5.5.1 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.9 PHP Post Max Size: 256 MB PHP Time Limit: 300 PHP Max Input Vars: 5000 cURL Version: 7.72.0 OpenSSL/1.1.1g SUHOSIN Installed: – MySQL Version: 5.5.5-10.2.33-MariaDB-log Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.6.0 WC Database Prefix: wpa0_ Total Database Size: 29.58MB Database Data Size: 26.70MB Database Index Size: 2.88MB wpa0_woocommerce_sessions: Data: 9.95MB + Index: 0.27MB + Engine MyISAM wpa0_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_woocommerce_order_items: Data: 0.03MB + Index: 0.02MB + Engine MyISAM wpa0_woocommerce_order_itemmeta: Data: 0.21MB + Index: 0.15MB + Engine MyISAM wpa0_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpa0_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_actionscheduler_actions: Data: 0.03MB + Index: 0.03MB + Engine MyISAM wpa0_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpa0_actionscheduler_logs: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wpa0_cartflows_ca_cart_abandonment: Data: 0.21MB + Index: 0.02MB + Engine MyISAM wpa0_cartflows_ca_email_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_cartflows_ca_email_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_cartflows_ca_email_templates_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpa0_comments: Data: 0.22MB + Index: 0.10MB + Engine MyISAM wpa0_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_options: Data: 5.00MB + Index: 0.31MB + Engine MyISAM wpa0_postmeta: Data: 9.09MB + Index: 1.34MB + Engine MyISAM wpa0_posts: Data: 0.56MB + Index: 0.18MB + Engine MyISAM wpa0_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM wpa0_revslider_css_bkp: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpa0_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_revslider_layer_animations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_revslider_navigations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wpa0_revslider_sliders_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_revslider_slides: Data: 0.08MB + Index: 0.00MB + Engine MyISAM wpa0_revslider_slides_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_revslider_static_slides_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_termmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpa0_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpa0_term_relationships: Data: 0.02MB + Index: 0.03MB + Engine MyISAM wpa0_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpa0_tm_taskmeta: Data: 0.11MB + Index: 0.03MB + Engine MyISAM wpa0_tm_tasks: Data: 0.08MB + Index: 0.02MB + Engine MyISAM wpa0_usermeta: Data: 0.05MB + Index: 0.04MB + Engine MyISAM wpa0_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpa0_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_wc_customer_lookup: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wpa0_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_wc_order_product_lookup: Data: 0.03MB + Index: 0.03MB + Engine MyISAM wpa0_wc_order_stats: Data: 0.03MB + Index: 0.03MB + Engine MyISAM wpa0_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpa0_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpa0_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_wpforms_lite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpa0_yith_wcwl: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpa0_yith_wcwl_lists: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpa0_yoast_indexable: Data: 0.77MB + Index: 0.10MB + Engine MyISAM wpa0_yoast_indexable_hierarchy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpa0_yoast_primary_term: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpa0_yoast_seo_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpa0_yoast_seo_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ### Post Type Counts ### attachment: 845 la_block: 2 la_team_member: 4 la_testimonial: 6 nav_menu_item: 23 page: 32 post: 54 post_grid: 1 post_grid_layout: 6 product: 134 product_variation: 17 revision: 6 shop_order: 448 shop_order_refund: 17 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (19) ### Total Upkeep Premium: by BoldGrid – 1.3.0 Classic Editor: by WordPress Contributors – 1.6 Cloudflare: by Cloudflare Inc. – 3.8.4 Coming Soon Page, Under Construction & Maintenance Mode by SeedProd: by SeedProd – 5.1.3 Envato Market: by Envato – 2.0.5 Heartbeat Control by WP Rocket: by WP Rocket – 2.0 WPBakery Page Builder: by Michael M - WPBakery.com – 6.1 LA Studio Core: by LA Studio – 3.1.3 Post Grid by PickPlugins: by PickPlugins – 2.0.73 Slider Revolution: by ThemePunch – 6.1.8 Simple Lightbox: by Archetyped – 2.8.1 The Events Calendar: by Modern Tribe Inc. – 5.2.0 WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.2.8 – Installed version not tested with active version of WooCommerce 4.6.0 WOOCS - WooCommerce Currency Switcher: by realmag777 – 1.3.2 – Installed version not tested with active version of WooCommerce 4.6.0 WooCommerce: by Automattic – 4.6.0 Nested Pages: by Kyle Phillips – 3.1.11 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.1.4 YITH WooCommerce Compare: by YITH – 2.4.1 – Installed version not tested with active version of WooCommerce 4.6.0 YITH WooCommerce Wishlist: by YITH – 3.0.14 – Installed version not tested with active version of WooCommerce 4.6.0 ### Inactive Plugins (5) ### Add Expires Headers: by Passionate Brains – 2.1 Feed Them Social - for Twitter feed, Youtube, Pinterest and more: by SlickRemix – 2.8.9 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.3 W3 Total Cache: by BoldGrid – 0.15.1 Yoast SEO: by Team Yoast – 15.1 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### 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: #4861 - /shop/ Cart: #7 - /cart/ Checkout: #4862 - /checkout/ My account: #9 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Vayne Child Version: 1.0 Author URL: https://themeforest.net/user/LA-Studio?ref=LA-Studio Child Theme: ? Parent Theme Name: Vayne Parent Theme Version: 1.1.0 Parent Theme Author URL: https://themeforest.net/user/LA-Studio?ref=LA-Studio WooCommerce Support: ? ### Templates ### Overrides: vayne/woocommerce/archive-product.php vayne/woocommerce/cart/cart-empty.php vayne/woocommerce/cart/cross-sells.php version 3.0.0 is out of date. The core version is 4.4.0 vayne/woocommerce/content-product.php vayne/woocommerce/content-single-product.php vayne/woocommerce/global/quantity-input.php version 3.6.0 is out of date. The core version is 4.0.0 vayne/woocommerce/loop/add-to-cart.php vayne/woocommerce/loop/loop-end.php vayne/woocommerce/loop/loop-start.php vayne/woocommerce/loop/pagination.php vayne/woocommerce/loop/sale-flash.php vayne/woocommerce/myaccount/form-login.php version 3.6.0 is out of date. The core version is 4.1.0 vayne/woocommerce/product-searchform.php vayne/woocommerce/single-product/price.php vayne/woocommerce/single-product/product-image.php vayne/woocommerce/single-product/product-thumbnails.php vayne/woocommerce/single-product/related.php vayne/woocommerce/single-product/tabs/tabs.php vayne/woocommerce/single-product/up-sells.php Outdated Templates: ? Learn how to update ### Action Scheduler ### Complete: 81 Oldest: 2020-09-14 21:01:37 +0000 Newest: 2020-10-15 03:28:01 +0000
Screenshot:
https://gothamcentralcomics.com/wp-content/uploads/2020/10/gotham.jpgSee that last option I am selecting? It will not save. When I hit save, it reverts back to no choice.
Thank you for the System Status Report and Screenshot. I’m not seeing anything obvious here that could be causing this behavior though.
Are you seeing any errors in the browser console while attempting to save?
This is all I see.
[DOM] Found 4 elements with non-unique id #product_length: (More info: https://goo.gl/9p2vKq) <input id=?”product_length” placeholder=?”Length” class=?”input-text wc_input_decimal” size=?”6″ type=?”text” name=?”variable_length[0]?” value>? <input id=?”product_length” placeholder=?”Length” class=?”input-text wc_input_decimal” size=?”6″ type=?”text” name=?”variable_length[1]?” value>? <input id=?”product_length” placeholder=?”Length” class=?”input-text wc_input_decimal” size=?”6″ type=?”text” name=?”variable_length[2]?” value>? <input id=?”product_length” placeholder=?”Length” class=?”input-text wc_input_decimal” size=?”6″ type=?”text” name=?”variable_length[3]?” value>?
Interesting. This kind of problem is usually caused by either a conflict with your theme or with another plugin.
?
The best way to determine this is to:- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
Hi @pushthepixel. We haven’t heard from you in a while so I’m going to go ahead and mark this thread as resolved. If you still need help with this issue or have any other questions about the WooCommerce plugin, please start a new thread.
- The topic ‘Variable product option won’t save’ is closed to new replies.