• Resolved gatenet

    (@gatenet)


    When i create a product with attributes in one language then i translate it to the other. all fine so far, but when i change something in the default language and update then the attributes of the other language are lost and i have to go again there to define again the attributes. Is there a solution?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    if you are referring to general product data, then you can choose which data are synchronized using:
    https://github.com/hyyan/woo-poly-integration/wiki/Settings-Metas

    if you are referring specifically to Product Attributes, when you save the product these should be copied across from the base language to any translations.

    You can choose whether individual Product Attributes are copied or not using the Polylang settings page Languages, Settings, Custom post types and Taxonomies /wp-admin/admin.php?page=mlang_settings
    This works best if you actually translate the Product Attributes under Products, Attributes. see also:
    https://github.com/hyyan/woo-poly-integration/wiki/Product-Attributes

    Thread Starter gatenet

    (@gatenet)

    jonmoore thank you for your answer, i have done all that you are saying, the problem is when i change something in one lang and update the product then in the other lang the attributes are getting to choice “any attribute”

    • This reply was modified 6 years, 5 months ago by gatenet.
    Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    Try creating a new attribute, translating it, and using it in a new product.

    If that works then your previous attribute is corrupt in some way – this can happen in Polylang in some circumstances for example if someone has changed the language of a translated item when they meant to translate it, then the polylang translation links could be messed up. – eg the id of the ‘translation’ turns out to be in the wrong language so can’t be found when the language filter is applied.

    Thread Starter gatenet

    (@gatenet)

    jonmoore you are right, done all that and worked, is there any solution that i can do so i will not have to start all over again?

    Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    I suggest:
    – delete the translations of the problem attribute
    – retranslate the problem attribute
    – re-save the affected products in base language, and the translations should pick up the translated attribute correctly (this should work in bulk edit too)

    Thread Starter gatenet

    (@gatenet)

    thank you i will test that

    Thread Starter gatenet

    (@gatenet)

    well jonmoore thank you very much for your help but nothing is working, i even installed a new wordpress in localhost (both are in localhost) and tryed to recreate the attributes and the varations but it still dosent sync. i dont know if there is a conflict with other plugins, i have installed the oceanwp theme with elementor, min max quantity for woocommerce, timyMCe advanced and woocommerce varations swatches. The steps i made is these: i created a product with 2 attributes (color) and (power) (i had already setup the terms and their translations)(the attributes where in button mode and color mode from the swatches plugin) then publish it, after that i pushed the plus button to translate it to english (from greek) and all was copied fine but the varations was still in “any term”. then i changed the attributes to choice mode and updated the greek version, when i went to english version still no effect

    • This reply was modified 6 years, 5 months ago by gatenet.
    Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    So what happened with your comment above:
    “jonmoore you are right, done all that and worked..”
    then 2 hours later “nothing is working” – so what was the difference between these two situations?

    This should work fine but it is worth rechecking with a standard theme eg StoreFront to confirm if it is a theme compatibility issue.
    And testing with the other plugins disabled to confirm whether it is a plugin compatibility issue.

    If you can’t resolve it, post with more details including the plugin versions and system status report here:
    https://github.com/hyyan/woo-poly-integration/issues/

    [as per this plugin documentation there is no actual support on this forum]

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Attributes Once more’ is closed to new replies.