WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Multilingual - run WooCommerce with WPML
[resolved] WCML do not sync Product Type between languages (4 posts)

  1. thiella
    Member
    Posted 1 year ago #

    Hi,

    I just configured WP 3.51 Woocommerce 2.0.12, WPML (al modules with latest versions) and WCML 2.3.2 .

    The only field I cannot sync is "Product type" that ha 4 options: simple, grouped, external and variable.

    Also adding in wpml-config.xml the follwing row

    <custom-field action="copy">product-type</custom-field>

    when I save the product in original language as "Variable" Product, in second language it remains "Simple" and I have to remember to change it manually.

    Where is the issue?

    Many Thanks!

    http://wordpress.org/extend/plugins/woocommerce-multilingual/

  2. David Garcia Watkins
    Member
    Plugin Author

    Posted 1 year ago #

    This field is synchronized by the wcml plugin and doesnt need to be setup within wpml configuration. You should remove that line from wpml-config.xml and review the Multilingual Content Setup page to make sure its not configured there to translate.

  3. thiella
    Member
    Posted 1 year ago #

    We already removed that line and restored the original wpml-config.xml file.

    Original:

    <wpml-config>
    <custom-fields>
    <custom-field action="copy">_backorders</custom-field>
    <custom-field action="copy">_crosssell_ids</custom-field>
    <custom-field action="copy">_default_attributes</custom-field>
    <custom-field action="copy">_download_limit</custom-field>
    <custom-field action="copy">_downloadable</custom-field>
    <custom-field action="copy">_featured</custom-field>
    <custom-field action="copy">_file_path</custom-field>
    <custom-field action="copy">_manage_stock</custom-field>
    <custom-field action="copy">_product_attributes</custom-field>
    <custom-field action="copy">_purchase_note</custom-field>
    <custom-field action="copy">_sale_price_dates_from</custom-field>
    <custom-field action="copy">_sale_price_dates_to</custom-field>
    <custom-field action="copy">_sku</custom-field>
    <custom-field action="copy">_stock</custom-field>
    <custom-field action="copy">_stock_status</custom-field>
    <custom-field action="copy">_subscription_length</custom-field>
    <custom-field action="copy">_subscription_period</custom-field>
    <custom-field action="copy">_subscription_period_interval</custom-field>
    <custom-field action="copy">_subscription_price</custom-field>
    <custom-field action="copy">_subscription_sign_up_fee</custom-field>
    <custom-field action="copy">_subscription_trial_length</custom-field>
    <custom-field action="copy">_subscription_trial_period</custom-field>
    <custom-field action="copy">_tax_class</custom-field>
    <custom-field action="copy">_tax_status</custom-field>
    <custom-field action="copy">_upsell_ids</custom-field>
    <custom-field action="copy">_virtual</custom-field>
    <custom-field action="copy">_visibility</custom-field>
    <custom-field action="copy">_weight</custom-field>
    <custom-field action="copy">_width</custom-field>
    <custom-field action="copy">_height</custom-field>
    <custom-field action="copy">_length</custom-field>
    <custom-field action="copy">_woocommerce_exclude_image</custom-field>
    <custom-field action="copy">total_sales</custom-field>
    </custom-fields>
    <custom-types>
    <custom-type translate="1">product</custom-type>
    <custom-type translate="1">product_variation</custom-type>
    <custom-type translate="0">shop_order</custom-type>
    </custom-types>
    <taxonomies>
    <taxonomy translate="1">product_cat</taxonomy>
    <taxonomy translate="0">product_type</taxonomy>
    <taxonomy translate="0">shop_order_status</taxonomy>
    <taxonomy translate="1">product_tag</taxonomy>
    <taxonomy translate="0">product_shipping_class</taxonomy>
    </taxonomies>
    <admin-texts>
    <key name="woocommerce_shop_page_title" />
    <key name="woocommerce_email_footer_text" />
    </admin-texts>
    </wpml-config>

    In WPML -> Translation management -> Multilingual Content Setup we don't see options to enable od disable "Product Type" translation.

    I go to the product in original language, set "Variable Product", Save, go to Translated product, and the product is still "Simple".

    Please help! :(

  4. David Garcia Watkins
    Member
    Plugin Author

    Posted 1 year ago #

    Are you using the translation editor? If so, this is not supported yet.

    We will be releasing an update in a couple of weeks with support for the translation editor: http://wpml.org/2013/06/whats-up-with-wpml-and-woocommerce-multilingual/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic