Is it compatible with the WPML plugin?

Top WooCommerce & WordPress Plugins Forums Cost of Goods for WooCommerce Is it compatible with the WPML plugin?

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #95000
    Leon Keemer
    Participant

    Hi,

    At this moment the costs of goods are not calculated when a customer orders from our translated website. Is the plugin compatible with WPML (Woocommerce Multilingual) and if so how can I sync the costs between languages?

    regards
    Leon

    #95018
    Pablo
    Moderator
    Plugin Support

    Hi Leon,

    We have created the wpml-config.xml some time ago with the _alg_wc_cog_cost meta set up. It’s meant to copy the costs between translations, as the regular price is. This is our xml file:

    <wpml-config>
        <custom-fields>
            <custom-field action="copy">_alg_wc_cog_cost</custom-field>
        </custom-fields>
    </wpml-config>
    
    #103497
    Leon Keemer
    Participant

    Tnx! I am not sure were to put this file. Can you elaborate?

    #103508
    Pablo
    Moderator
    Plugin Support

    Hi,

    You don’t need to put this file anywhere. It is located in the plugin’s root folder. It will work out of the box.

    With that file, every time you create a translation of a product, its price will be copied along, i.e., the cost will be synced between translations, as the default price is.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.