-
Notifications
You must be signed in to change notification settings - Fork 69
Weird variations behavior: duplicates #430
Description
I have some products with variations. Among such variations, some are not "Enabled" at this moment. When I go to the edit page of a product in the second language (JP), I see that every one of the "disabled" variations appears quadruplicated. For example: I have S, M, L, XL sizes, and S and XL are not enabled. In the JP version, I see S, S, S, S, M, L, XL, XL, XL, XL.
notes: 1) if I click Update, even more extra variations appear;
2) I can remove the extras, as long as I don't Update;
3) This happens only with the disabled variations;
4) all the extras share the same SKU
5) the problem appears to somehow be similar to #418
6) I have tried fresh with new products and the problem persist
What product versions and settings are you using when this issue occurs?
- PHP: 7.1
- WordPress: 5.2.1
- WooCommerce: 3.6.4
- Polylang: 2.5.4
- Hyyan WooCommerce Polylang Integration: 1.3.0
- Browser: Google Chrome
Steps to Reproduce
- Create new product in primary language (EN) with variations, some of them not enabled
- Add the new page with secondary language
- Check variations and see that there are extras in there
What I Expected
That the variations appear like in the case with Enabled products, just one per original variation.
Also, that the Update button don't aggravate the problem
What Happened Instead
I am getting many extra variations
Copy and paste the system status report from WooCommerce > System Status in WordPress admin here.
WordPress environment
WordPress address (URL): https://tokyodirect.jp
Site address (URL): https://tokyodirect.jp
WooCommerce version: 3.6.4
Log directory writable: /home/v7dc1m2mjuf0/public_html/wp-content/uploads/wc-logs/
WordPress version: 5.2.1
WordPress multisite: –
WordPress memory limit: 256 MB
WordPress debug mode: –
WordPress cron:
Language: en
External object cache: –
Server environment
Server info: Apache
PHP version: 7.1.28 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
PHP post max size: 32 MB
PHP time limit: 30
PHP max input vars: 1000
cURL version: 7.62.0, OpenSSL/1.0.2k
SUHOSIN installed: –
MySQL version: 5.6.43-cll-lve
Max upload size: 32 MB
Default timezone is UTC:
fsockopen/cURL:
SoapClient:
DOMDocument:
GZip:
Multibyte string:
Remote post:
Remote get:
Database
WooCommerce database version: 3.6.4
Database prefix wp_
MaxMind GeoIP database: /home/v7dc1m2mjuf0/public_html/wp-content/uploads/GeoLite2-Country.mmdb
Total Database Size 8.24MB
Database Data Size 6.93MB
Database Index Size 1.31MB
wp_woocommerce_sessions Data: 0.89MB + Index: 0.06MB
wp_woocommerce_api_keys Data: 0.00MB + Index: 0.00MB
wp_woocommerce_attribute_taxonomies Data: 0.00MB + Index: 0.00MB
wp_woocommerce_downloadable_product_permissions Data: 0.00MB + Index: 0.00MB
wp_woocommerce_order_items Data: 0.00MB + Index: 0.00MB
wp_woocommerce_order_itemmeta Data: 0.01MB + Index: 0.01MB
wp_woocommerce_tax_rates Data: 0.00MB + Index: 0.00MB
wp_woocommerce_tax_rate_locations Data: 0.00MB + Index: 0.00MB
wp_woocommerce_shipping_zones Data: 0.00MB + Index: 0.00MB
wp_woocommerce_shipping_zone_locations Data: 0.00MB + Index: 0.00MB
wp_woocommerce_shipping_zone_methods Data: 0.00MB + Index: 0.00MB
wp_woocommerce_payment_tokens Data: 0.00MB + Index: 0.00MB
wp_woocommerce_payment_tokenmeta Data: 0.00MB + Index: 0.00MB
wp_woocommerce_log Data: 0.00MB + Index: 0.00MB
wp_commentmeta Data: 0.00MB + Index: 0.01MB
wp_comments Data: 0.02MB + Index: 0.02MB
wp_links Data: 0.00MB + Index: 0.00MB
wp_newsletter Data: 0.00MB + Index: 0.01MB
wp_newsletter_emails Data: 0.00MB + Index: 0.00MB
wp_newsletter_sent Data: 0.00MB + Index: 0.00MB
wp_newsletter_stats Data: 0.00MB + Index: 0.00MB
wp_newsletter_user_logs Data: 0.00MB + Index: 0.00MB
wp_nf3_actions Data: 0.00MB + Index: 0.00MB
wp_nf3_action_meta Data: 0.03MB + Index: 0.01MB
wp_nf3_chunks Data: 0.00MB + Index: 0.00MB
wp_nf3_fields Data: 0.00MB + Index: 0.00MB
wp_nf3_field_meta Data: 0.09MB + Index: 0.01MB
wp_nf3_forms Data: 0.00MB + Index: 0.00MB
wp_nf3_form_meta Data: 0.03MB + Index: 0.01MB
wp_nf3_objects Data: 0.00MB + Index: 0.00MB
wp_nf3_object_meta Data: 0.00MB + Index: 0.00MB
wp_nf3_relationships Data: 0.00MB + Index: 0.00MB
wp_nf3_upgrades Data: 0.07MB + Index: 0.00MB
wp_ngg_album Data: 0.00MB + Index: 0.00MB
wp_ngg_gallery Data: 0.00MB + Index: 0.00MB
wp_ngg_pictures Data: 0.00MB + Index: 0.00MB
wp_options Data: 1.82MB + Index: 0.08MB
wp_postmeta Data: 2.24MB + Index: 0.77MB
wp_posts Data: 1.56MB + Index: 0.14MB
wp_redirection_404 Data: 0.00MB + Index: 0.00MB
wp_redirection_groups Data: 0.00MB + Index: 0.00MB
wp_redirection_items Data: 0.00MB + Index: 0.02MB
wp_redirection_logs Data: 0.00MB + Index: 0.00MB
wp_termmeta Data: 0.00MB + Index: 0.01MB
wp_terms Data: 0.01MB + Index: 0.02MB
wp_term_relationships Data: 0.03MB + Index: 0.07MB
wp_term_taxonomy Data: 0.01MB + Index: 0.01MB
wp_totalsoft_new_plugin Data: 0.00MB + Index: 0.00MB
wp_totalsoft_portfolio_albums Data: 0.00MB + Index: 0.00MB
wp_totalsoft_portfolio_dbt Data: 0.00MB + Index: 0.00MB
wp_totalsoft_portfolio_dbt_1 Data: 0.01MB + Index: 0.00MB
wp_totalsoft_portfolio_dbt_2 Data: 0.00MB + Index: 0.00MB
wp_totalsoft_portfolio_dbt_3 Data: 0.00MB + Index: 0.00MB
wp_totalsoft_portfolio_dbt_4 Data: 0.00MB + Index: 0.00MB
wp_totalsoft_portfolio_id Data: 0.00MB + Index: 0.00MB
wp_totalsoft_portfolio_images Data: 0.00MB + Index: 0.00MB
wp_totalsoft_portfolio_manager Data: 0.00MB + Index: 0.00MB
wp_usermeta Data: 0.10MB + Index: 0.02MB
wp_users Data: 0.00MB + Index: 0.01MB
wp_wc_download_log Data: 0.00MB + Index: 0.00MB
wp_wc_product_meta_lookup Data: 0.01MB + Index: 0.02MB
wp_wc_webhooks Data: 0.00MB + Index: 0.00MB
Post Type Counts
attachment 243
custom_css 1
is_search_form 1
jetpack_migration 2
jp_img_sitemap 1
jp_sitemap 1
jp_sitemap_master 1
nav_menu_item 28
nf_sub 9
page 28
polylang_mo 2
portfolio 19
post 10
product 16
product_variation 376
revision 397
scheduled-action 5
shop_order 4
woocarousel 1
wp_block 4
wpcf7_contact_form 1
Security
Secure connection (HTTPS):
Hide errors from visitors
Active plugins (26)
Polylang by Frédéric Demarle – 2.5.4
Ivory Search by Ivory Search – 4.2.1
Contact Widgets by GoDaddy – 1.6.2
Enhanced Media Library by wpUXsolutions – 2.7.2
Insert Headers and Footers by WPBeginner – 1.4.4
Kadence Blocks - Gutenberg Page Builder Toolkit by Kadence Themes – 1.5.6
Kadence Importer by Kadence Themes – 2.0.5
Limit Login Attempts Reloaded by WPChef – 2.8.1
Newsletter by Stefano Lissa & The Newsletter Team – 6.0.6
Ninja Forms by The WP Ninjas – 3.4.13
WooCommerce Product Carousel Slider by AazzTech – 3.3.2 – Not tested with the active version of WooCommerce
Redirection by John Godley – 4.3.1
Page Builder by SiteOrigin by SiteOrigin – 2.10.5
SiteOrigin Widgets Bundle by SiteOrigin – 1.15.7
Under Construction by WebFactory Ltd – 3.45
Kadence Toolkit by Kadence Themes – 4.9.2
Visual Portfolio by nK – 1.12.0
WooCommerce Weight Based Shipping by weightbasedshipping.com – 5.2.6
WooCommerce Blocks by Automattic – 2.1.0
Hyyan WooCommerce Polylang Integration by Hyyan Abo Fakher – 1.3.0 – Not tested with the active version of WooCommerce
WooCommerce For Japan by Artisan Workshop – 1.2.27
WooCommerce PayPal Checkout Gateway by WooCommerce – 1.6.14
WooCommerce Stripe Gateway by WooCommerce – 4.2.0
WooCommerce Services by Automattic – 1.20.0
WooCommerce by Automattic – 3.6.4
YITH Pre-Order for WooCommerce by YITH – 1.1.8
Inactive plugins (9)
Akismet Anti-Spam by Automattic – 4.1.2
Classic Editor by WordPress Contributors – 1.5
Contact Form 7 by Takayuki Miyoshi – 5.1.3
Gallery Portfolio by Total-Soft – 1.3.0
GoDaddy Email Marketing by GoDaddy – 1.4.2
Jetpack by WordPress.com by Automattic – 7.4
Lingotek Translation by Lingotek and Frédéric Demarle – 1.4.2
WP BASIC Auth by wokamoto – 1.1.3
WP Mail SMTP by WPForms – 1.4.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: –
WooCommerce pages
Shop base: #815 - /shop/
Cart: #816 - /cart/
Checkout: #6 - /checkout/
My account: #7 - /my-account/
Terms and conditions: #3645 - /terms-and-conditions/
Theme
Name: Virtue
Version: 3.3.4
Author URL: https://kadencethemes.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 virtue/woocommerce/archive-product.php,
virtue/woocommerce/content-product.php,
virtue/woocommerce/content-product_cat.php,
virtue/woocommerce/content-single-product.php,
virtue/woocommerce/loop/loop-end.php,
virtue/woocommerce/loop/loop-start.php,
virtue/woocommerce/loop/price.php,
virtue/woocommerce/loop/rating.php,
virtue/woocommerce/loop/sale-flash.php,
virtue/woocommerce/single-product/add-to-cart/external.php,
virtue/woocommerce/single-product/add-to-cart/grouped.php,
virtue/woocommerce/single-product/add-to-cart/simple.php,
virtue/woocommerce/single-product/add-to-cart/variable.php,
virtue/woocommerce/single-product/price.php,
virtue/woocommerce/single-product/product-image.php,
virtue/woocommerce/single-product/product-thumbnails.php,
virtue/woocommerce/single-product/sale-flash.php,
virtue/woocommerce/single-product.php,
virtue/woocommerce/taxonomy-product_cat.php,
virtue/woocommerce/taxonomy-product_tag.php
Action Scheduler
Action Status Count Oldest Scheduled Date Newest Scheduled Date
Complete 4 2019-05-16 13:00:00 +0000 2019-06-06 13:38:07 +0000
Pending 1 2019-06-13 13:38:08 +0000 2019-06-13 13:38:08 +0000
Canceled 0 – –
In-progress 0 – –
Failed 0 – –