• I have a WooCommerce installation with several languages and polylang/polylang-wc. When I create one new product variation in a language everything works fine and that variation is synced to all the other languages. I find the following in the term_taxonomy table (I created the variation in the language “no”):

    # term_taxonomy_id, term_id, taxonomy, description, parent, count
    55983, 55983, post_translations, a:5:{s:2:”en”;i:59872;s:2:”no”;i:59871;s:2:”se”;i:59873;s:2:”fi”;i:59874;s:2:”de”;i:59875;}, 0, 5

    If I then create another variation without doing anything with the first variation, a new variation is created in the langauge I create it in, but there is no new variation created in the other languages. I now find the following in that same row in the table:

    # term_taxonomy_id, term_id, taxonomy, description, parent, count
    55983, 55983, post_translations, a:5:{s:2:”en”;i:59872;s:2:”se”;i:59873;s:2:”fi”;i:59874;s:2:”de”;i:59875;s:2:”no”;i:59876;}, 0, 6

    As you can see, the ID for the variation in language “no” has been updated to a new value, but the other ones are still the same value.

    Looking into the code, I see that for some reason the code believes that when the variation in the other languages is supposed to be created, it finds the existing variation (probably due to them being linked to the new variation for “no” in the database row mentioned above) and therefore updates the existing variation instead of creating a new one.

    These are my plugins:
    +—————————————————-+—————-+———–+————-+
    | name | status | update | version |
    +—————————————————-+—————-+———–+————-+
    | acf-content-analysis-for-yoast-seo | active | none | 2.2.0 |
    | aryo-activity-log | active-network | none | 2.5.2 |
    | admin-columns-pro | inactive | none | 4.5.4 |
    | acf-gravityforms | active | none | 1.1.0 |
    | advanced-custom-fields-pro | active-network | none | 5.7.13 |
    | acf-options-for-polylang-master | active-network | none | 1.0.1 |
    | dekode-jwt | active | none | 0.1.0 |
    | dekode-monitoring-tool-client | active | none | 1.0.4 |
    | dekode-pdf-generator | active | none | 0.1.0 |
    | duplicate-post | active-network | none | 3.2.2 |
    | enable-media-replace | active-network | none | 3.2.9 |
    | duracelltomi-google-tag-manager | active | none | 1.9.2 |
    | gravityforms | active | available | 2.3.6.8 |
    | gravityforms-repeater | active | none | 1.1.0-dev14 |
    | gravity-forms-pdf-extended | active | none | 5.1.4 |
    | intuitive-custom-post-order | active | none | 3.1.2 |
    | physical-custom-upload-folder | active-network | none | 1.0.5 |
    | polylang-wc | active | available | 1.1.1 |
    | polylang-pro | active-network | available | 2.5.1 |
    | query-monitor | inactive | none | 3.3.2 |
    | redirection | active-network | none | 3.7.3 |
    | regenerate-thumbnails | active-network | none | 3.1.0 |
    | relevanssi-premium | active | none | 2.1.3 |
    | safe-svg | active | none | 1.9.3 |
    | sendgrid-email-delivery-simplified | active-network | none | 1.11.8 |
    | user-role-editor | inactive | none | 4.50 |
    | user-switching | inactive | none | 1.4.2 |
    | woocommerce | active | none | 3.5.6 |
    | woocommerce-ajax-add-to-cart-for-variable-products | active | none | 1.2.9 |
    | woocommerce-ajax-cart | active | none | 1.2.8 |
    | woocommerce-dynamic-pricing | inactive | none | 3.1.5 |
    | woocommerce-extra-charges-to-payment-gateways | active | none | 1.0.12.9 |
    | woocommerce-gateway-stripe | active | none | 4.1.15 |
    | wp-crontrol | active | none | 1.6.2 |
    | wp-migrate-db-pro | active-network | none | 1.9.5 |
    | wp-migrate-db-pro-media-files | active-network | none | 1.4.13 |
    | real-media-library | active | none | 3.4.8 |
    | wordpress-seo-premium | active | none | 10.0 |
    | acf-remove-pll-post-translation-taxonomy | must-use | none | |
    | acf | must-use | none | |
    | bypass-image-cache-in-control-panel | must-use | none | |
    | claims-handler-cleanup | must-use | none | 1.0 |
    | dekode-content | must-use | none | |
    | disable-xmlrpc | must-use | none | |
    | generator | must-use | none | |
    | gtm-for-wordpress-planck-support | must-use | none | 1.0 |
    | logging | must-use | none | |
    | dekode-remote-images | must-use | none | 1.43 |
    | remove-blog-slug | must-use | none | |
    | remove-x-pingback-header | must-use | none | |
    | rename-post-to-news | must-use | none | |
    | responsive-video-embeds | must-use | none | 1.0 |
    | searchwp | must-use | none | |
    | translation-helper | must-use | none | |
    | wc-add-language-to-filters-in-admin-list | must-use | none | |
    | wp-password-bcrypt | must-use | none | 1.0 |
    | object-cache.php | dropin | none | |
    | sunrise.php | dropin | none | |
    +—————————————————-+—————-+———–+————-+

Viewing 1 replies (of 1 total)
  • Polylang WC is a paid add-on, so you should use the support you pay for. In this forum it is not allowed to support paid plugins or add-ons.

Viewing 1 replies (of 1 total)
  • The topic ‘New Variations in WooCommerce are not synced’ is closed to new replies.